//
// sub_1005B7378 from 0x1005b7378 to 0x1005b73d0 (88 bytes)
//
// 3 xrefs:
// > sub_1005BB970 @ 0x1005bc438
// > sub_1005BC5D8 @ 0x1005bc62c
// > sub_1005BEBF4 @ 0x1005beca4
//
// 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
//
void __fastcall sub_1005B7378(char *a1)
{
void (__fastcall *v2)(char *); // x8
if ( a1 )
{
v2 = *(void (__fastcall **)(char *))(*(_QWORD *)a1 + 88LL);
if ( v2 || (v2 = *(void (__fastcall **)(char *))(*(_QWORD *)a1 + 80LL)) != nullptr )
v2(a1);
sub_10058A3A8(a1, 0x58u);
sub_100588C44(a1);
}
}