// // sub_10050A760 from 0x10050a760 to 0x10050a798 (56 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 // unsigned __int64 __fastcall sub_10050A760(__int64 a1, unsigned __int64 *a2, unsigned __int64 a3) { unsigned __int64 v3; // x8 unsigned __int64 v4; // x9 unsigned __int64 v5; // x10 unsigned __int64 v6; // x8 LODWORD(v3) = *((_DWORD *)a2 + 9); if ( (_DWORD)v3 ) v3 = (unsigned int)v3; else v3 = 1; v4 = *(_QWORD *)(a1 + 24); if ( v4 <= *a2 ) v4 = *a2; v5 = (v4 - a3) / v3; v6 = (a3 - v4) / v3; if ( v4 > a3 ) return -(__int64)v5; else return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source