// // sub_180099120 from 0x180099120 to 0x1800991ae (142 bytes) // // 1 xrefs: // > cocos2d::cc_utf8_strlen @ 0x180098a7b // // 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 11:22:10 +0000 // bool __fastcall sub_180099120(_BYTE *a1, int a2) { _BYTE *v3; // r8 int v4; // edx int v5; // edx int v6; // edx char v7; // al char v8; // al unsigned __int8 v9; // dl int v10; // ecx int v11; // ecx int v12; // ecx bool v14; // cf v3 = &a1[a2]; v4 = a2 - 1; if ( !v4 ) goto LABEL_19; v5 = v4 - 1; if ( v5 ) { v6 = v5 - 1; if ( v6 ) { if ( v6 != 1 ) return 0; v7 = *--v3; if ( v7 >= -64 ) return 0; } v8 = *--v3; if ( v8 >= -64 ) return 0; } v9 = *(v3 - 1); if ( (unsigned __int8)(v9 + 0x80) > 0x3Fu ) return 0; v10 = (unsigned __int8)*a1 - 224; if ( !v10 ) { v14 = v9 < 0xA0u; LABEL_18: if ( !v14 ) goto LABEL_19; return 0; } v11 = v10 - 13; if ( !v11 ) { if ( v9 <= 0x9Fu ) goto LABEL_19; return 0; } v12 = v11 - 3; if ( !v12 ) { v14 = v9 < 0x90u; goto LABEL_18; } if ( v12 == 4 && v9 > 0x8Fu ) return 0; LABEL_19: if ( (unsigned __int8)(*a1 + 0x80) <= 0x41u ) return 0; return *a1 <= 0xF4u; }
GD Web Decomp Icon

GD Web Decomp

Raw Source