// // sub_10048C900 from 0x10048c900 to 0x10048c954 (84 bytes) // // 1 xrefs: // > @ 0x1008516e0 // // 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_10048C900(__int64 *a1, int a2, unsigned int a3) { __int64 v3; // x8 float v4; // s0 __int64 result; // x0 unsigned int v6; // w9 bool v7; // cf unsigned int v8; // w9 v3 = *a1; v4 = *(float *)(*a1 + 628); if ( v4 < 0.0 ) return 0; if ( a2 ) { v6 = *(_DWORD *)(v3 + 624); if ( !v6 ) return 11; } else { v6 = (unsigned int)(float)(v4 * (float)*(int *)(*(_QWORD *)(v3 + 168) + 1744LL)); } result = 0; v7 = v6 >= a3; v8 = v6 - a3; if ( !v7 ) v8 = 0; *(_DWORD *)(v3 + 624) = v8; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source