//
// sub_61201C from 0x61201c to 0x61206c (80 bytes)
//
// 1 xrefs:
// > sub_61201C @ 0x61204a
//
// 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_61201C(void *a1)
{
void *v1; // r4
void *v2; // r0
void *v3; // r6
int v4; // r3
v1 = a1;
if ( a1 )
{
do
{
v3 = *(void **)v1;
sub_61201C(*((_DWORD *)v1 + 9));
v4 = *((_DWORD *)v1 + 10);
if ( (v4 & 4) != 0 )
{
if ( (v4 & 0x58) == 0 )
goto LABEL_7;
}
else
{
off_ABAEB0(*((void **)v1 + 1));
if ( (*((_DWORD *)v1 + 10) & 0x58) == 0 )
LABEL_7:
off_ABAEB0(*((void **)v1 + 3));
}
off_ABAEB0(*((void **)v1 + 7));
off_ABAEB0(*((void **)v1 + 11));
v2 = v1;
v1 = v3;
off_ABAEB0(v2);
}
while ( v3 );
}
}