// // sub_10073E970 from 0x10073e970 to 0x10073ea09 (153 bytes) // // 8 xrefs: // > sub_10073E940 @ 0x10073e966 // > sub_10073EA90 @ 0x10073eadc // > sub_10073EB10 @ 0x10073eb5d // > sub_10073EB90 @ 0x10073ec12 // > sub_10073EDA0 @ 0x10073ee2d // > sub_10073EF70 @ 0x10073f084 // > sub_10073F8F0 @ 0x10073f956 // > cocos2d::cc_utf8_strlen @ 0x10073fab6 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:36:28 +0000 // _BOOL8 __fastcall sub_10073E970(char *a1, int a2) { char *v2; // rax char v3; // al char v5; // cl v2 = &a1[a2]; switch ( a2 ) { case 1: v3 = *a1; LABEL_3: if ( v3 < -62 ) return 0; return (unsigned __int8)v3 < 0xF5u; case 2: goto LABEL_9; case 3: goto LABEL_7; case 4: if ( *(v2 - 1) > -65 ) return 0; --v2; LABEL_7: if ( *(v2 - 1) <= -65 ) { --v2; LABEL_9: v5 = *(v2 - 1); if ( v5 <= -65 ) { v3 = *a1; switch ( *a1 ) { case -32: v3 = -32; if ( (unsigned __int8)v5 >= 0xA0u ) return (unsigned __int8)v3 < 0xF5u; return 0; case -19: v3 = -19; if ( (unsigned __int8)v5 <= 0x9Fu ) return (unsigned __int8)v3 < 0xF5u; return 0; case -16: v3 = -16; if ( (unsigned __int8)v5 >= 0x90u ) return (unsigned __int8)v3 < 0xF5u; return 0; case -12: v3 = -12; if ( (unsigned __int8)v5 <= 0x8Fu ) return (unsigned __int8)v3 < 0xF5u; return 0; default: goto LABEL_3; } } } return 0; default: return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source