//
// sub_5032A from 0x5032a to 0x5033c (18 bytes)
//
// 2 xrefs:
// > sub_4D8C4 @ 0x4d9ae
// > sub_4DD08 @ 0x4de18
//
// 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_5032A(int a1, _DWORD *a2)
{
int v2; // r2
v2 = a2[6];
if ( (v2 & 0x400) == 0 )
{
a2[6] = v2 | 0x400;
return sub_501F8(a1, a2);
}
return a1;
}