//
// sub_1005BB8FC from 0x1005bb8fc to 0x1005bb970 (116 bytes)
//
// 2 xrefs:
// > sub_1005BCFE8 @ 0x1005bd1a8
// > sub_1005BD8D4 @ 0x1005bdd54
//
// 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
//
char *sub_1005BB8FC()
{
__int64 v0; // x0
char *v1; // x0
char *v2; // x19
v0 = sub_1005BFCDC();
v1 = (char *)sub_1005B7020(v0);
v2 = v1;
if ( !v1 )
return nullptr;
if ( !(unsigned int)sub_1005B7DC0((__int64)v1) )
{
sub_1005B7278(v2);
return nullptr;
}
return v2;
}