//
// sub_1005DB574 from 0x1005db574 to 0x1005db5b8 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x100861008
//
// 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_1005DB574(__int64 a1)
{
_QWORD *v2; // x8
v2 = sub_1005D9DA0();
if ( !v2 )
return 0;
*(_DWORD *)(a1 + 24) = 1;
*(_DWORD *)(a1 + 28) = 1;
*(_DWORD *)(a1 + 40) = -1;
*(_QWORD *)(a1 + 48) = v2;
return 1;
}