//
// sub_E32A44 from 0xe32a44 to 0xe32ac8 (132 bytes)
//
// 1 xrefs:
// > sub_E39FDC @ 0xe3a080
//
// 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:09:56 +0000
//
__int64 __fastcall sub_E32A44(__int64 a1, __int64 a2, int a3, int a4)
{
int v5; // w22
void *v9; // x0
size_t v10; // [xsp+38h] [xbp+38h]
if ( *(_QWORD *)(a1 + 96) )
return 1;
v5 = a4 - a3;
v10 = a4 - a3;
v9 = (void *)sub_E35A4C(0, v10);
*(_DWORD *)(a1 + 104) = v5;
*(_QWORD *)(a1 + 96) = v9;
*(_DWORD *)(a1 + 108) = 0;
memcpy(v9, (const void *)(a2 + a3), v10);
return 0;
}