//
// sub_4C60C from 0x4c60c to 0x4c638 (44 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_4C60C(int a1, _DWORD *a2)
{
int v2; // r2
int result; // r0
int v4; // r0
v2 = *(_DWORD *)(a1 + 332);
if ( !v2 || !*(_DWORD *)(a1 + 16) )
return 30;
if ( !*(_DWORD *)(v2 + 20) )
{
v4 = *(_DWORD *)(v2 + 24);
if ( v4 )
{
*a2 = *(unsigned __int16 *)(v4 + 192);
return 0;
}
return 30;
}
result = sub_55C0E();
if ( !result )
return 0;
return result;
}