//
// GJEffectManager::create from 0x140364ef0 to 0x140364f4d (93 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::init @ 0x14030d462
// > LevelSettingsObject::init @ 0x14040ea33
// > ??> @ 0x1409215c0
//
// This function is hookable on this platform (idp: pc, 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 11:30:54 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *GJEffectManager::create()
{
__int64 v0; // rax
cocos2d::CCObject *v1; // rbx
void *v3; // [rsp+30h] [rbp+8h]
v3 = operator new(0x828u);
v0 = sub_140362520((__int64)v3);
v1 = (cocos2d::CCObject *)v0;
if ( v0 )
{
if ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v0 + 72LL))(v0) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v1 + 8LL))(v1, 1);
return nullptr;
}
return v1;
}