// // sub_998A28 from 0x998a28 to 0x998a90 (104 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:42 +0000 // int __fastcall sub_998A28(int result, int *a2) { _DWORD *v2; // r2 int v3; // r12 unsigned int i; // r3 unsigned int v5; // r5 _DWORD *v6; // lr int j; // r1 int v8; // r3 int v9; // r4 bool v10; // zf v2 = a2 + 1; v3 = *a2; if ( *a2 ) { for ( i = 0; ; ++i ) { v5 = i; if ( !v2[i] ) break; } v6 = a2 + 2; while ( 2 ) { for ( j = 0; ; ++j ) { v8 = *(_DWORD *)(result + 4 * j); if ( v8 == v3 ) break; if ( !v8 ) return 0; } result += 4 * j; if ( result && v5 ) { if ( v3 != *v2 ) { LABEL_6: result += 4; continue; } v9 = 0; while ( v9 + 1 < v5 ) { v10 = *(_DWORD *)(result + 4 + 4 * v9) == v6[v9]; ++v9; if ( !v10 ) goto LABEL_6; } } break; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source