//
// sub_1005F032C from 0x1005f032c to 0x1005f0350 (36 bytes)
//
// 4 xrefs:
// > sub_1005C22CC @ 0x1005c25b0
// > sub_1005C7F00 @ 0x1005c8170
// > sub_1005D3E70 @ 0x1005d446c
// > sub_10062A5F4 @ 0x10062a618
//
// 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_1005F032C(unsigned int *a1)
{
__int64 v1; // x8
__int64 result; // x0
v1 = *((_QWORD *)a1 + 1);
result = *a1;
if ( !v1 )
{
if ( (_DWORD)result == 5 )
return 5;
else
return 0;
}
return result;
}