//
// sub_503EA from 0x503ea to 0x50432 (72 bytes)
//
// 2 xrefs:
// > sub_4CE80 @ 0x4cee6
// > ??> @ 0x4eb4a
//
// 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
//
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;
}