//
// sub_4C2D8 from 0x4c2d8 to 0x4c308 (48 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_4C2D8(_DWORD *a1, _DWORD *a2, _DWORD *a3)
{
int v3; // r3
v3 = a1[83];
if ( !v3 || !a1[4] )
return 30;
if ( (*(_BYTE *)(v3 + 28) & 0x10) == 0 )
return 40;
if ( a2 )
*a2 = a1[39];
if ( a3 )
*a3 = a1[40];
return 0;
}