//
// sub_1005E99E8 from 0x1005e99e8 to 0x1005e9a38 (80 bytes)
//
// 1 xrefs:
// > sub_1005F10A8 @ 0x1005f114c
//
// 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_1005E99E8(__int64 a1)
{
unsigned int *v1; // x0
__int64 v2; // x19
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v1 = (unsigned int *)sub_1005F8FBC(&v4, a1);
if ( v1 )
v2 = *v1;
else
v2 = 0;
if ( v4 )
sub_1005D70C4(v4);
return v2;
}