//
// sub_100564C7C from 0x100564c7c to 0x100564d1c (160 bytes)
//
// 1 xrefs:
// > sub_100564A9C @ 0x100564bec
//
// 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:08:09 +0000
//
__int64 __fastcall sub_100564C7C(_QWORD *a1, __int64 a2)
{
_QWORD *v4; // x22
__int64 i; // x8
_QWORD *v6; // x21
__int64 result; // x0
_QWORD *v8; // x20
_QWORD *v9; // x21
v4 = a1 + 62;
for ( i = a1[109]; ; i = v6[47] )
{
v6 = i ? (_QWORD *)(i - 376) : nullptr;
if ( v6 == v4 )
break;
result = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v6 + 120LL))(v6, a2);
if ( (_DWORD)result )
return result;
}
v8 = a1 + 8732;
v9 = (_QWORD *)(*v8 + 400LL);
while ( 1 )
{
v9 = (_QWORD *)*v9;
if ( v9 == (_QWORD *)(*v8 + 400LL) )
break;
result = sub_1005812C8(v9[2], a2);
if ( (_DWORD)result )
return result;
}
return 0;
}