//
// sub_845B5C from 0x845b5c to 0x845b84 (40 bytes)
//
// 6 xrefs:
// > sub_81FF98 @ 0x81ffa8
// > sub_8202A4 @ 0x820402
// > sub_8205A4 @ 0x8205dc
// > sub_8205A4 @ 0x8205f0
// > sub_82066C @ 0x82079a
// > sub_82066C @ 0x820848
//
// 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:02:24 +0000
//
void __fastcall sub_845B5C(int a1)
{
int v1; // r4
int v2; // r6
v1 = a1;
if ( a1 )
{
do
{
off_D200B0(*(void **)(v1 + 24));
off_D200B0(*(void **)(v1 + 20));
v2 = *(_DWORD *)(v1 + 28);
off_D200B0((void *)v1);
v1 = v2;
}
while ( v2 );
}
}