//
// sub_1005D6588 from 0x1005d6588 to 0x1005d65f8 (112 bytes)
//
// 1 xrefs:
// > sub_1005D7928 @ 0x1005d799c
//
// 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
//
_BYTE *__fastcall sub_1005D6588(__int64 a1)
{
_BYTE *result; // x0
if ( qword_100882D10 || (result = (_BYTE *)sub_1005DE4A4(a1), (qword_100882D10 = (__int64)result) != 0) )
{
result = sub_100588710(8, (__int64)"eng_lib.c", 168);
if ( result )
{
*(_QWORD *)result = a1;
return (_BYTE *)sub_1005DE538(qword_100882D10, result, 0);
}
}
return result;
}