// // sub_996A38 from 0x996a38 to 0x996ae4 (172 bytes) // // 2 xrefs: // > sub_993ED0 @ 0x9947c8 // > sub_993ED0 @ 0x9947d4 // // 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:40 +0000 // int __fastcall sub_996A38(int result, _DWORD *a2) { unsigned int v3; // r9 int v4; // r6 unsigned int v5; // r4 unsigned int v6; // r8 char v7; // r0 unsigned int v8; // r6 if ( (_UNKNOWN *)result != &unk_C50F20 ) { v3 = result + 20; v4 = result + 20 + 4 * *(_DWORD *)(result + 16); v5 = v4 - 4; v6 = *(_DWORD *)(v4 - 4); result = sub_996410(v6); *a2 = 32 - result; if ( result > 10 ) { if ( v5 > v3 ) v5 = v4 - 8; if ( result != 11 ) { v7 = 43 - result; if ( v5 <= v3 ) v8 = 0; else v8 = *(_DWORD *)(v5 - 4); return v8 >> v7; } } else { return v6 << (result + 21); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source