//
// sub_5032A from 0x5032a to 0x5033c (18 bytes)
//
// 2 xrefs:
// > sub_4D8C4 @ 0x4d9ae
// > sub_4DD08 @ 0x4de18
//
// 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:43 +0000
//
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;
}