//
// sub_10054ABC4 from 0x10054abc4 to 0x10054ac2c (104 bytes)
//
// 2 xrefs:
// > sub_10054DB30 @ 0x10054f7fc
// > sub_10054F830 @ 0x10054f8dc
//
// 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_10054ABC4(void **a1)
{
void **v2; // x20
void **v3; // x22
v2 = (void **)*a1;
if ( *a1 )
{
do
{
v3 = (void **)*v2;
if ( *((_DWORD *)v2 + 2) <= 1u )
off_10085DEB8(v2[2]);
off_10085DEB8(v2);
v2 = v3;
}
while ( v3 );
*a1 = nullptr;
}
}