//
// sub_10054C950 from 0x10054c950 to 0x10054c9d4 (132 bytes)
//
// 1 xrefs:
// > sub_10054C6B8 @ 0x10054c740
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:07:51 +0000
//
void __usercall sub_10054C950(_QWORD *a1@, _QWORD *a2@)
{
__int64 v3; // x8
__int64 v4; // x9
__int64 v6; // x21
unsigned __int64 v7; // x22
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
v3 = a1[137];
v4 = a1[136];
if ( v3 != v4 )
{
v6 = 0;
v7 = 0;
do
{
if ( *(_BYTE *)(*(_QWORD *)(v4 + 8 * v7) + 392LL) == 1 )
{
sub_10000D038((__int64)a2, (int *)(a1[133] + v6));
v3 = a1[137];
v4 = a1[136];
}
++v7;
v6 += 4;
}
while ( v7 < (v3 - v4) >> 3 );
}
}