// // sub_72696 from 0x72696 to 0x72710 (122 bytes) // // 1 xrefs: // > sub_720DC @ 0x720dc // // 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_72696(int a1, int a2, int a3, _DWORD *a4) { int v6; // r4 int v8; // r5 int v9; // r0 int v10; // r4 int result; // r0 int v12; // [sp+4h] [bp-24h] BYREF int v13; // [sp+8h] [bp-20h] BYREF v6 = a3; v13 = a3; v12 = 0; *a4 = 0; while ( v6 ) { if ( sub_D0F74(*(_DWORD *)(a1 + 256), 0, 0) ) { v8 = v12; v9 = sub_D0F74(*(_DWORD *)(a1 + 256), a2 + 4 * *(_DWORD *)(*(_DWORD *)(a1 + 4) + 8) * v12, v6); v10 = v6 - v9; v12 = v9 + v8; v13 = v10; sub_D1060(*(_DWORD *)(a1 + 256)); if ( !v10 ) break; } result = sub_725B8(a1, a2, &v13, &v12); if ( result ) return result; v6 = v13; } *a4 = v12; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source