//
// sub_10E1EA8 from 0x10e1ea8 to 0x10e1efc (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1410840
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:17:49 +0000
//
__int64 __fastcall sub_10E1EA8(const void **a1, void **a2)
{
__int64 result; // x0
if ( !a2 )
return *(unsigned int *)a1;
memcpy(*a2, a1[1], *(int *)a1);
result = *(unsigned int *)a1;
*a2 = (char *)*a2 + (int)result;
return result;
}