//
// sub_4C2D8 from 0x4c2d8 to 0x4c308 (48 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:40:41 +0000
//
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;
}