//
// sub_1005800EC from 0x1005800ec to 0x10058010c (32 bytes)
//
// 3 xrefs:
// > sub_1005759F8 @ 0x100575a60
// > sub_100577CA4 @ 0x100577d14
// > sub_1005793F0 @ 0x100579470
//
// 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_1005800EC(__int64 result, __int64 a2)
{
*(_QWORD *)result = a2;
*(_DWORD *)(result + 8) = 0;
*(_DWORD *)(result + 12) = 0;
*(_DWORD *)(result + 16) = -33;
*(_DWORD *)(result + 20) = 0;
*(_WORD *)(result + 24) = 1;
*(_BYTE *)(result + 26) = 0;
return result;
}