//
// sub_E0ABBC from 0xe0abbc to 0xe0ac80 (196 bytes)
//
// 0 xrefs:
//
// 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:35 +0000
//
__int64 __fastcall sub_E0ABBC(
__int64 a1,
void *(*a2)(size_t byte_count),
void (*a3)(void *p),
void *(*a4)(void *p, size_t byte_count),
char *(*a5)(const char *),
void *(*a6)(size_t item_count, size_t item_size))
{
if ( !a2 || !a3 || a4 == nullptr || a5 == nullptr || !a6 )
return 2;
if ( dword_1562810 )
{
++dword_1562810;
return 0;
}
dword_1562810 = 1;
off_154A3C0 = a2;
off_154A3C8 = a3;
off_154A3D8 = a5;
off_154A3D0 = a4;
off_154A3E0 = a6;
if ( (a1 & 1) != 0 && !(unsigned int)sub_E30030() )
return 2;
sub_E156EC();
if ( (a1 & 4) != 0 )
dword_1562820 = 1;
qword_1562818 = a1;
sub_E01444();
return 0;
}