//
// sub_47C40 from 0x47c40 to 0x47c54 (20 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_47C40(int a1, int a2)
{
int v2; // r2
unsigned int v3; // r3
v2 = *(_DWORD *)(a1 + 40);
v3 = v2 | 0x20;
if ( a2 )
v3 = v2 & 0xFFFFFFDF;
*(_DWORD *)(a1 + 40) = v3;
return 0;
}