// // sub_10007FA28 from 0x10007fa28 to 0x10007fab0 (136 bytes) // // 1 xrefs: // > sub_10007F97C @ 0x10007f9e0 // // 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 10:58:16 +0000 // __int64 __fastcall sub_10007FA28(__int64 a1, __int64 a2, _QWORD *a3) { __int64 v3; // x29 __int64 v4; // x30 __int64 result; // x0 __int64 v6; // x8 unsigned __int64 v7; // x20 unsigned __int64 v9; // x8 __int64 v10; // x9 unsigned __int64 v11; // x0 _QWORD v12[12]; // [xsp+0h] [xbp-60h] BYREF result = a3[1]; v6 = result - *a3; if ( result != *a3 ) { v12[10] = v3; v12[11] = v4; v7 = v6 + 1; if ( v6 == -1 ) { sub_10007FAB0(v12, a2, 64); return sub_10007FBA4(v12); } else { v9 = __clz(v7); v10 = 63; if ( ((v7 << v9) & 0x7FFFFFFFFFFFFFFFLL) != 0 ) v10 = 64; sub_10007FAB0(v12, a2, v10 - v9); do v11 = sub_10007FBA4(v12); while ( v11 >= v7 ); return *a3 + v11; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source