//
// sub_82209C from 0x82209c to 0x8220ec (80 bytes)
//
// 1 xrefs:
// > sub_82209C @ 0x8220ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:51 +0000
//
void __fastcall sub_82209C(void *a1)
{
void *v1; // r4
void *v2; // r0
void *v3; // r6
int v4; // r3
v1 = a1;
if ( a1 )
{
do
{
v3 = *(void **)v1;
sub_82209C(*((_DWORD *)v1 + 9));
v4 = *((_DWORD *)v1 + 10);
if ( (v4 & 4) != 0 )
{
if ( (v4 & 0x58) == 0 )
goto LABEL_7;
}
else
{
off_D200B0(*((void **)v1 + 1));
if ( (*((_DWORD *)v1 + 10) & 0x58) == 0 )
LABEL_7:
off_D200B0(*((void **)v1 + 3));
}
off_D200B0(*((void **)v1 + 7));
off_D200B0(*((void **)v1 + 11));
v2 = v1;
v1 = v3;
off_D200B0(v2);
}
while ( v3 );
}
}