// // sub_1004EDEE0 from 0x1004edee0 to 0x1004edfe0 (256 bytes) // // 0 xrefs: // // 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 // void __fastcall sub_1004EDEE0(__int64 a1) { __int64 v2; // x20 float v3; // s8 __int64 v4; // x8 int v5; // w22 __int64 v6; // x23 if ( *(int *)(a1 + 128) >= 2 && *(_DWORD *)(a1 + 8) ) { v2 = sub_1004EC818(a1, -1); v3 = sub_1004EC600(a1, -1); v4 = *(int *)(a1 + 64); v5 = 2 * v4 - 1; do { v6 = v4 - 1; if ( v4 < 1 ) break; v2 -= *(_QWORD *)(*(_QWORD *)(a1 + 96) + 8LL * v5); v3 = v3 - sub_1004EC600(a1, v4 - 1); v5 -= 2; v4 = v6; } while ( *(_QWORD *)(a1 + 120) < v2 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source