// // sub_10059E870 from 0x10059e870 to 0x10059e954 (228 bytes) // // 1 xrefs: // > sub_1005E5458 @ 0x1005e54a0 // // 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_10059E870(unsigned int *a1, _BYTE *a2, __int64 a3, int a4) { __int64 result; // x0 unsigned int v6; // w8 unsigned int v7; // w8 unsigned int v8; // [xsp+0h] [xbp-20h] BYREF unsigned int v9; // [xsp+4h] [xbp-1Ch] v8 = _byteswap_ulong(*a1); v9 = _byteswap_ulong(a1[1]); if ( a4 ) result = sub_10059E954(&v8, a3); else result = sub_10059ED90(&v8, a3); v6 = v8; *a2 = HIBYTE(v8); a2[1] = BYTE2(v6); a2[2] = BYTE1(v6); a2[3] = v6; v7 = v9; a2[4] = HIBYTE(v9); a2[5] = BYTE2(v7); a2[6] = BYTE1(v7); a2[7] = v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source