//
// sub_1005A617C from 0x1005a617c to 0x1005a61d0 (84 bytes)
//
// 0 xrefs:
//
// 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:09:04 +0000
//
__int64 __fastcall sub_1005A617C(__int64 a1, __int64 a2, _DWORD *a3, _DWORD *a4)
{
unsigned __int16 *v4; // x8
int v5; // w8
if ( a3 )
*a3 = 0;
if ( a4 )
{
*a4 = 64;
v4 = *(unsigned __int16 **)(a1 + 552);
if ( v4 && (*v4 | 2) != 3 )
{
v5 = v4[9];
if ( v5 )
goto LABEL_9;
}
else if ( *(_DWORD *)(a1 + 164) != 2 )
{
v5 = 0;
LABEL_9:
*a4 = v5;
}
}
return 0;
}