//
// sub_1005B71E4 from 0x1005b71e4 to 0x1005b7234 (80 bytes)
//
// 2 xrefs:
// > sub_1005BF684 @ 0x1005bf6f0
// > sub_1005BF710 @ 0x1005bf7d4
//
// 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_1005B71E4(void **a1)
{
void (__fastcall **v2)(_QWORD); // x20
void (__fastcall *v3)(_QWORD); // x21
if ( a1 )
{
v2 = (void (__fastcall **)(_QWORD))*a1;
if ( *a1 )
{
do
{
v3 = *v2;
v2[3](v2[1]);
sub_100588C44(v2);
v2 = (void (__fastcall **)(_QWORD))v3;
}
while ( v3 );
}
*a1 = nullptr;
}
}