// // sub_981CE4 from 0x981ce4 to 0x981db6 (210 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:06:08 +0000 // int __fastcall sub_981CE4(int a1, int a2, int a3, int a4, int a5, int a6) { int v8; // r0 unsigned int v11; // r11 _DWORD *v12; // r6 int v14; // [sp+Ch] [bp-1Ch] v8 = *(_DWORD *)(a2 + 8); if ( a6 == 1 ) { v8 = strcmp(*(const char **)(a1 + 4), *(const char **)(v8 + 4)); if ( !v8 ) return sub_9818D4(v8, a2, a3, a4, a5); } else if ( a1 == v8 ) { return sub_9818D4(v8, a2, a3, a4, a5); } v14 = *(_DWORD *)(a1 + 12); v11 = *(unsigned __int16 *)(a2 + 52); *(_WORD *)(a2 + 52) = 0; sub_981B06((_DWORD *)(a1 + 16), a2); if ( v14 >= 2 ) { v12 = (_DWORD *)(a1 + 24); while ( !*(_BYTE *)(a2 + 54) ) { if ( (unsigned __int8)*(_WORD *)(a2 + 52) ) { if ( *(_DWORD *)(a2 + 24) == 1 || (*(_BYTE *)(a1 + 8) & 2) == 0 ) break; } else if ( *(unsigned __int16 *)(a2 + 52) >= 0x100u && (*(_BYTE *)(a1 + 8) & 1) == 0 ) { break; } *(_WORD *)(a2 + 52) = 0; sub_981B06(v12, a2); v12 += 2; if ( (unsigned int)v12 >= a1 + 16 + 8 * v14 ) break; } } *(_WORD *)(a2 + 52) = v11; return v11 >> 8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source