//
// sub_A4E4B4 from 0xa4e4b4 to 0xa4e518 (100 bytes)
//
// 3 xrefs:
// > UI_process @ 0xa4fda4
// > UI_process @ 0xa4fdac
// > ??> @ 0xa4fdd0
//
// 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 12:08:21 +0000
//
int __fastcall sub_A4E4B4(int a1, int a2, int *a3)
{
int v3; // r1
int (__fastcall *v4)(int *, _DWORD *); // r3
_DWORD v6[9]; // [sp+0h] [bp-24h] BYREF
v3 = *a3;
memset(&v6[2], 0, 24);
v4 = *(int (__fastcall **)(int *, _DWORD *))(v3 + 8);
v6[1] = a1;
v6[0] = 5;
if ( !v4 )
return 0;
if ( v4(a3, v6) )
return 0;
return -1;
}