//
// sub_5C144 from 0x5c144 to 0x5c194 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c818
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}