// // sub_A8758 from 0xa8758 to 0xa87e0 (136 bytes) // // 1 xrefs: // > sub_B3A3C @ 0xb3ae8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall sub_A8758(int a1, int a2, int a3) { int v4; // r0 int v5; // r4 int v7; // r6 int v8; // r5 int v10; // [sp+Ch] [bp-24h] BYREF int v11; // [sp+10h] [bp-20h] BYREF v10 = a2; v11 = 0; v4 = *(_DWORD *)(a1 + 8); if ( v4 ) { v5 = v4 - 1; *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a1 + 20) + 4 * (v4 - 1)) + 36) = 0x100000; while ( v5 + 1 >= 1 ) { v7 = *(_DWORD *)(*(_DWORD *)(a1 + 20) + 4 * v5); v8 = *(_DWORD *)(v7 + 88); sub_A87E0(v7, a1); *(_WORD *)(v7 + 72) = v11; *(_WORD *)(v7 + 74) = v10; if ( *(unsigned __int8 *)(v8 + 194) << 31 ) { *(_DWORD *)(v8 + 132) = v8; (*(void (__fastcall **)(int, int, _DWORD, _DWORD, int *, int *))(v8 + 196))(v8 + 132, 1, 0, 0, &v11, &v10); } *(_DWORD *)(v7 + 80) = a3; --v5; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source