// // sub_1006308C8 from 0x1006308c8 to 0x100630900 (56 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:10:28 +0000 // unsigned __int64 __fastcall sub_1006308C8(__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