// // sub_1005E8104 from 0x1005e8104 to 0x1005e81e8 (228 bytes) // // 1 xrefs: // > @ 0x10083d310 // // 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_1005E8104(__int64 a1, __int64 a2, __int64 a3, unsigned __int64 a4) { unsigned __int64 v4; // x20 __int64 v5; // x23 __int64 v6; // x19 unsigned __int64 v8; // x27 __int64 v9; // x25 __int64 v10; // x0 unsigned __int64 v12; // [xsp+0h] [xbp-60h] __int64 v13; // [xsp+8h] [xbp-58h] v4 = a4; v5 = a3; v6 = a2; if ( a4 >> 62 ) { v12 = a4 - 0x4000000000000000LL; v8 = (a4 - 0x4000000000000000LL) & 0xC000000000000000LL; v13 = a3 + v8 + 0x4000000000000000LL; v9 = a2; do { sub_1005A4800(v5, v9, 0x4000000000000000LL, *(_QWORD *)(a1 + 120), a1 + 40, *(_DWORD *)(a1 + 16)); v4 -= 0x4000000000000000LL; v5 += 0x4000000000000000LL; v9 += 0x4000000000000000LL; } while ( v4 >> 62 ); v6 += v8 + 0x4000000000000000LL; v10 = v13; v4 = v12 - v8; } else { v10 = a3; } if ( v4 ) sub_1005A4800(v10, v6, v4, *(_QWORD *)(a1 + 120), a1 + 40, *(_DWORD *)(a1 + 16)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source