//
// GJEffectManager::create from 0x14025ac80 to 0x14025acda (90 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::init @ 0x14020744a
// > LevelSettingsObject::init @ 0x1402eac83
// > ??> @ 0x1406cfc30
//
// 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
//
// Hidden C++ exception states: #wind=1
GJEffectManager *GJEffectManager::create()
{
__int64 v0; // rax
GJEffectManager *v1; // rbx
void *v3; // [rsp+30h] [rbp+8h]
v3 = operator new(0x820u);
v0 = sub_140258050((__int64)v3);
v1 = (GJEffectManager *)v0;
if ( v0 )
{
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v0 + 72LL))(v0) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
((void (__fastcall *)(GJEffectManager *, __int64))v1->~GJEffectManager)(v1, 1);
return nullptr;
}
return v1;
}