//
// sub_4EA48 from 0x4ea48 to 0x4ea78 (48 bytes)
//
// 0 xrefs:
//
// 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:42 +0000
//
int __fastcall sub_4EA48(int a1, signed int a2, int *a3, void *a4, size_t a5)
{
int v6; // r2
v6 = *a3;
if ( (int)(v6 + a5) > a2 )
return 31;
qmemcpy(a4, (const void *)(a1 + v6), a5);
*a3 += a5;
return 0;
}