//
// sub_E3388 from 0xe3388 to 0xe33f8 (112 bytes)
//
// 3 xrefs:
// > sub_63384 @ 0x633b0
// > sub_87200 @ 0x8733c
// > sub_E33F8 @ 0xe33fc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_E3388(__int64 a1, int a2, int a3, __int64 a4, unsigned int a5, int a6, char a7)
{
int v7; // w19
void *v8; // x0
__int64 v9; // x8
if ( a3 >= 1 )
v7 = a3;
else
v7 = 8;
v8 = sub_E2908(a1, a2 + v7 + 8, a4, a5, a6, a7 & 1);
if ( !v8 )
return 0;
v9 = ((unsigned __int64)v8 + v7 + 7) & ~(__int64)(v7 - 1);
*(_QWORD *)(v9 - 8) = v8;
return v9;
}