// // sub_1004EC6C0 from 0x1004ec6c0 to 0x1004ec730 (112 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 // __int64 __fastcall sub_1004EC6C0(__int64 a1) { __int64 v1; // x8 float v3; // s0 float v4; // s0 if ( *(_DWORD *)(a1 + 8) ) v1 = *(int *)(a1 + 136); else v1 = 0; if ( *(int *)(a1 + 128) < 2 ) return 4294967165LL; v3 = *(float *)(a1 + 144); if ( v3 == 0.0 ) return 0xFFFFFFFFLL; v4 = (float)((float)(*(float *)(a1 + 140) / v3) * (float)*(int *)(*(_QWORD *)(a1 + 104) + 40 * v1 + 8)) + 0.5; *(_DWORD *)(a1 + 140) = 0; *(_DWORD *)(a1 + 144) = 0; return (unsigned int)(int)v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source