//
// sub_1005E20EC from 0x1005e20ec to 0x1005e2144 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083b850
//
// 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
//
_QWORD *__fastcall sub_1005E20EC(_QWORD *result)
{
_QWORD *v1; // x19
v1 = result;
if ( result && *result )
{
result = (_QWORD *)sub_100588508(&dword_100883224, 0xFFFFFFFFLL, 1, (__int64)"err.c", 473);
if ( (int)result <= 0 )
*v1 = 0;
}
return result;
}