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

GD Web Decomp

Raw Source