//
// sub_611FE0 from 0x611fe0 to 0x612018 (56 bytes)
//
// 2 xrefs:
// > sub_614288 @ 0x61435a
// > sub_6154B8 @ 0x616aae
//
// 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_611FE0(void ***a1)
{
void **v1; // r4
void **v3; // r5
void **v4; // r0
v1 = *a1;
if ( *a1 )
{
do
{
while ( 1 )
{
v3 = (void **)*v1;
if ( (unsigned int)v1[1] <= 2 )
break;
off_ABAEB0(v1);
v1 = v3;
if ( !v3 )
goto LABEL_6;
}
off_ABAEB0(v1[2]);
v4 = v1;
v1 = v3;
off_ABAEB0(v4);
}
while ( v3 );
LABEL_6:
*a1 = v3;
}
}