// // std::__ndk1::locale::operator== from 0x96f06c to 0x96f134 (200 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:05:51 +0000 // bool __fastcall std::locale::operator==(int *a1, int *a2) { int v4; // r1 int v5; // r4 unsigned int v6; // r3 size_t v7; // r2 size_t v8; // r6 unsigned int v9; // r0 int v10; // r6 unsigned int v11; // r5 unsigned __int8 *v12; // r1 unsigned __int8 *v13; // r6 int v14; // r0 v4 = *a2; v5 = *a1; if ( *a1 == v4 ) return 1; v6 = *(unsigned __int8 *)(v5 + 144); v7 = *(_DWORD *)(v5 + 148); v8 = v7; if ( (v6 & 1) == 0 ) v8 = v6 >> 1; if ( v8 == 1 ) { if ( !std::string::compare((unsigned __int8 *)(v5 + 144), 0, 0xFFFFFFFF, "*", 1u) ) return 0; v5 = *a1; v4 = *a2; v7 = *(_DWORD *)(*a1 + 148); v6 = *(unsigned __int8 *)(*a1 + 144); } v10 = v4 + 144; v9 = *(unsigned __int8 *)(v4 + 144); v11 = *(_DWORD *)(v4 + 148); if ( (v6 & 1) == 0 ) v7 = v6 >> 1; if ( (v9 & 1) == 0 ) v11 = v9 >> 1; if ( v7 != v11 ) return 0; v12 = *(unsigned __int8 **)(v4 + 152); if ( (v9 & 1) == 0 ) v12 = (unsigned __int8 *)(v10 + 1); v13 = (unsigned __int8 *)(v5 + 145); if ( (v6 & 1) != 0 ) { if ( v7 ) return memcmp(*(const void **)(v5 + 152), v12, v7) == 0; } else if ( v7 ) { v14 = -(v6 >> 1); while ( *v13 == *v12 ) { ++v14; ++v12; ++v13; if ( !v14 ) return 1; } return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source