//
// sub_5C144 from 0x5c144 to 0x5c194 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c818
//
// 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:51 +0000
//
__int64 __fastcall sub_5C144(__int64 a1, _DWORD *a2)
{
__int64 v2; // x8
__int64 result; // x0
__int64 v4; // x8
v2 = *(_QWORD *)(a1 + 472);
if ( v2 && *(_QWORD *)(a1 + 32) )
{
if ( *(_QWORD *)(v2 + 40) )
{
result = sub_68884();
if ( (_DWORD)result )
return result;
return 0;
}
v4 = *(_QWORD *)(v2 + 48);
if ( v4 )
{
*a2 = *(unsigned __int16 *)(v4 + 280);
return 0;
}
}
return 30;
}