// // sub_8902D4 from 0x8902d4 to 0x890364 (144 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:03:21 +0000 // int __fastcall sub_8902D4(_DWORD *a1, int a2, int a3, int a4, int a5, _DWORD *a6) { _DWORD *v7; // r4 unsigned int v11; // r7 int v12; // r0 int result; // r0 unsigned int v14; // r3 unsigned int v15; // r2 int v16; // r3 unsigned int v17; // r5 v7 = (_DWORD *)a1[114]; v11 = v7[6]; if ( v11 ) { v12 = v7[3]; } else { v12 = (*(int (__fastcall **)(_DWORD *))(a1[1] + 28))(a1); v11 = v7[6]; v7[3] = v12; } result = (*(int (__fastcall **)(_DWORD *, int, int, int, int, _DWORD *, _DWORD))(a1[119] + 4))( a1, a2, a3, a4, v12, v7 + 6, v7[4]); v14 = v7[6]; if ( v14 > v11 ) { v17 = v14 - v11; result = (*(int (__fastcall **)(_DWORD *, unsigned int, _DWORD, unsigned int))(a1[121] + 4))( a1, v7[3] + 4 * v11, 0, v14 - v11); *a6 += v17; v14 = v7[6]; } v15 = v7[4]; if ( v15 <= v14 ) { v16 = v7[5]; v7[6] = 0; v7[5] = v15 + v16; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source