mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 05:28:43 -04:00
JMessage work (#296)
* daalink / z2linkmgr wip * first cleanup of JASGlobalInstance data * fix sInstance stuff part 2 * more d_a_alink_swim work * remove asm * JMessage work * remove asm
This commit is contained in:
@@ -24,21 +24,44 @@ extern "C" void parseCharacter_UTF8__Q28JMessage6localeFPPCc();
|
||||
|
||||
/* 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 void JMessage::locale::parseCharacter_ShiftJIS(char const** param_0) {
|
||||
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 void JMessage::locale::parseCharacter_UTF8(char const** param_0) {
|
||||
asm int JMessage::locale::parseCharacter_UTF8(char const** param_0) {
|
||||
nofralloc
|
||||
#include "asm/JSystem/JMessage/locale/parseCharacter_UTF8__Q28JMessage6localeFPPCc.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user