//
// sub_5C41E from 0x5c41e to 0x5c446 (40 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_5C41E(int *a1, int a2, int a3)
{
int v4; // r0
if ( a2 == 2 )
return 68;
v4 = *a1;
if ( a2 == 1 )
{
*(_DWORD *)(v4 + 404) = a3;
return 0;
}
else if ( a2 )
{
return 31;
}
else
{
*(_DWORD *)(v4 + 400) = a3;
return 0;
}
}