tp/libs/JSystem/JMessage/locale.cpp

68 lines
1.4 KiB
C++

//
// Generated By: dol2asm
// Translation Unit: locale
//
#include "JSystem/JMessage/locale.h"
#include "dolphin/types.h"
//
// Forward References:
//
extern "C" void parseCharacter_ShiftJIS__Q28JMessage6localeFPPCc();
extern "C" void parseCharacter_UTF8__Q28JMessage6localeFPPCc();
//
// External References:
//
//
// Declarations:
//
/* 802A9528-802A958C 2A3E68 0064+00 0/0 1/0 0/0 .text
* parseCharacter_ShiftJIS__Q28JMessage6localeFPPCc */
#ifdef NONMATCHING
int JMessage::locale::parseCharacter_ShiftJIS(char const** str) {
int c;
int ret;
u8* temp_r4_2;
u8* temp_r5;
temp_r5 = (u8*)*str;
c = *temp_r5;
ret = c;
*str = *str + 1;
if (isLeadByte_ShiftJIS(c)) {
temp_r4_2 = (u8*)*str;
ret = (c << 8) | *temp_r4_2;
*str = *str + 1;
}
return ret;
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm int JMessage::locale::parseCharacter_ShiftJIS(char const** param_0) {
nofralloc
#include "asm/JSystem/JMessage/locale/parseCharacter_ShiftJIS__Q28JMessage6localeFPPCc.s"
}
#pragma pop
#endif
/* 802A958C-802A968C 2A3ECC 0100+00 0/0 1/0 0/0 .text parseCharacter_UTF8__Q28JMessage6localeFPPCc
*/
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm int JMessage::locale::parseCharacter_UTF8(char const** param_0) {
nofralloc
#include "asm/JSystem/JMessage/locale/parseCharacter_UTF8__Q28JMessage6localeFPPCc.s"
}
#pragma pop