//
// sub_53AC0 from 0x53ac0 to 0x53b14 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c2a0
//
// 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 12:13:48 +0000
//
__int64 sub_53AC0()
{
__int64 v0; // x19
__int64 v1; // x0
__int64 result; // x0
__int64 v3; // x8
int v4; // w10
v1 = sub_53E3C();
result = ((__int64 (__fastcall *)(__int64))loc_52624)(v1);
if ( !(_DWORD)result )
{
v3 = *(_QWORD *)(v0 + 744);
if ( v3 )
goto LABEL_4;
v3 = *(_QWORD *)(v0 + 736);
if ( v3 )
goto LABEL_4;
if ( *(_QWORD *)(v0 + 664) )
{
v3 = v0 + 112;
LABEL_4:
v4 = *(_DWORD *)(v3 + 616);
*(_DWORD *)(v3 + 612) = *(_DWORD *)(v0 + 84);
*(_DWORD *)(v3 + 616) = v4 + 1;
}
}
return result;
}