//
// sub_8A2EE8 from 0x8a2ee8 to 0x8a2f34 (76 bytes)
//
// 5 xrefs:
// > GJEffectManager::create @ 0x8b2dc8
// > GJEffectManager::create @ 0x8b2e10
// > GJEffectManager::create @ 0x8b2e4c
// > GJEffectManager::create @ 0x8b2f18
// > GJEffectManager::create @ 0x8b2f70
//
// 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
//
void *__fastcall sub_8A2EE8(unsigned __int64 a1)
{
void *v1; // x19
__int64 v3; // [xsp+28h] [xbp+28h]
if ( a1 > 0x1FFFFFFFFFFFFFFFLL )
sub_D1383C();
v3 = 8 * a1;
v1 = (void *)operator new(8 * a1);
memset(v1, 0, v3);
return v1;
}