//
// sub_503EA from 0x503ea to 0x50432 (72 bytes)
//
// 2 xrefs:
// > sub_4CE80 @ 0x4cee6
// > ??> @ 0x4eb4a
//
// 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
//
bool __fastcall sub_503EA(int *a1, int a2, int a3, _DWORD *a4, _DWORD *a5)
{
int v5; // r0
_DWORD v7[2]; // [sp+14h] [bp-1Ch] BYREF
char v8; // [sp+1Ch] [bp-14h]
v5 = *a1;
if ( !v5 )
return 1;
v8 = 0;
v7[0] = a2;
v7[1] = a3;
sub_50432(v5, *a4, a4[1], a4[2], *a5, a5[1], a5[2], v7);
return v8 == 0;
}