// // sub_8F470 from 0x8f470 to 0x8f4ae (62 bytes) // // 3 xrefs: // > sub_8EEA4 @ 0x8eeaa // > @ 0x8f450 // > sub_8F4EC @ 0x8f69e // // 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_8F470(int a1) { int v1; // r1 int v2; // r2 int v3; // r3 int v4; // r3 v1 = 0; *(_DWORD *)(a1 + 592) = 0; while ( v1 != 16 ) { v2 = a1 + 4 * v1++; v3 = *(_DWORD *)(v2 + 512); if ( v3 ) v4 = *(_DWORD *)(a1 + 588) - v3; else v4 = 0; *(_DWORD *)(v2 + 596) = v4; } if ( *(_DWORD *)(a1 + 576) ) memset(*(void **)(a1 + 576), 0, *(_DWORD *)(a1 + 584)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source