// // sub_1005E4D1C from 0x1005e4d1c to 0x1005e4e14 (248 bytes) // // 1 xrefs: // > @ 0x10083b8f0 // // 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_1005E4D1C(__int64 a1, _BYTE *a2, __int64 a3, unsigned __int64 a4) { unsigned __int64 v4; // x20 __int64 v5; // x23 _BYTE *v6; // x19 _BYTE *v8; // x26 __int64 v9; // x0 unsigned __int64 v11; // [xsp+8h] [xbp-68h] unsigned __int64 v12; // [xsp+10h] [xbp-60h] __int64 v13; // [xsp+18h] [xbp-58h] v4 = a4; v5 = a3; v6 = a2; if ( a4 >> 62 ) { v12 = a4 - 0x4000000000000000LL; v11 = (a4 - 0x4000000000000000LL) & 0xC000000000000000LL; v13 = a3 + v11 + 0x4000000000000000LL; v8 = a2; do { sub_10059678C( v5, v8, 0x4000000000000000LL, *(_QWORD *)(a1 + 120), (unsigned __int8 *)(a1 + 40), (int *)(a1 + 88), *(_DWORD *)(a1 + 16)); v4 -= 0x4000000000000000LL; v5 += 0x4000000000000000LL; v8 += 0x4000000000000000LL; } while ( v4 >> 62 ); v6 += v11 + 0x4000000000000000LL; v4 = v12 - v11; v9 = v13; } else { v9 = a3; } if ( v4 ) sub_10059678C( v9, v6, v4, *(_QWORD *)(a1 + 120), (unsigned __int8 *)(a1 + 40), (int *)(a1 + 88), *(_DWORD *)(a1 + 16)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source