//
// sub_1005FEEBC from 0x1005feebc to 0x1005fef60 (164 bytes)
//
// 1 xrefs:
// > sub_1006050BC @ 0x100605174
//
// 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
//
unsigned __int64 __fastcall sub_1005FEEBC(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x19
int *v4; // x0
_BOOL4 v5; // w8
unsigned __int64 result; // x0
_BYTE v7[20]; // [xsp+4h] [xbp-3Ch] BYREF
sub_1005F3824(a1, 0);
v2 = *(_QWORD *)(a1 + 24);
v3 = *(int *)(a1 + 32);
v4 = (int *)sub_1005E8F04();
v5 = sub_1005E33FC(v2, v3, (__int64)v7, nullptr, v4, 0);
result = 0;
if ( v5 )
return v7[0]
| (unsigned __int64)(unsigned __int16)(v7[1] << 8)
| ((unsigned __int64)v7[2] << 16) & 0xFFFFFFFF00FFFFFFLL
| ((unsigned __int64)v7[3] << 24);
return result;
}