//
// sub_10054D3B4 from 0x10054d3b4 to 0x10054d484 (208 bytes)
//
// 1 xrefs:
// > sub_10054DB30 @ 0x10054ec04
//
// 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_10054D3B4(void **a1, int a2)
{
void **v2; // x19
void **v3; // x21
void **v4; // x21
v2 = a1;
if ( a1 )
{
if ( a2 )
{
do
{
v3 = (void **)*v2;
off_10085DEB8(v2[7]);
off_10085DEB8(v2[5]);
off_10085DEB8(v2[3]);
off_10085DEB8(v2[4]);
off_10085DEB8(v2[1]);
off_10085DEB8(v2[2]);
off_10085DEB8(v2[10]);
off_10085DEB8(v2[9]);
off_10085DEB8(v2);
v2 = v3;
}
while ( v3 );
}
else
{
do
{
v4 = (void **)*v2;
off_10085DEB8(v2);
v2 = v4;
}
while ( v4 );
}
}
}