//
// sub_1005FBF10 from 0x1005fbf10 to 0x1005fbf8c (124 bytes)
//
// 2 xrefs:
// > sub_1005EADE4 @ 0x1005eaed0
// > sub_1005EAEE8 @ 0x1005eaf44
//
// 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_1005FBF10(__int64 a1, char *a2, int a3)
{
_BYTE *v6; // x0
_QWORD *v7; // x20
v6 = sub_1005FBAFC(4);
v7 = v6;
if ( !v6 )
return 0;
if ( (unsigned int)sub_1005FB850((__int64)v6, a2, a3) )
{
sub_1005F0350(a1, 4, (__int64)v7);
return 1;
}
else
{
sub_1005FBA78(v7);
return 0;
}
}