//
// CCNodeContainer::create from 0x140352fa0 to 0x140353024 (132 bytes)
//
// 11 xrefs:
// > GJBaseGameLayer::setupLayers @ 0x14030fbfd
// > GJBaseGameLayer::setupLayers @ 0x14030fc26
// > GJBaseGameLayer::setupLayers @ 0x14030fc4f
// > GJBaseGameLayer::setupLayers @ 0x14030fc78
// > GJBaseGameLayer::setupLayers @ 0x14030fca1
// > GJBaseGameLayer::setupLayers @ 0x14030fcca
// > GJBaseGameLayer::setupLayers @ 0x14030fcf3
// > GJBaseGameLayer::setupLayers @ 0x14030fd1c
// > GJBaseGameLayer::setupLayers @ 0x14030fd45
// > GJBaseGameLayer::parentForZLayer @ 0x140315366
// > ??> @ 0x1409203fc
//
// 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:48 +0000
//
// Hidden C++ exception states: #wind=1
void *CCNodeContainer::create()
{
void *v0; // rbx
v0 = operator new(0x140u);
memset(v0, 0, 0x140u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);
*(_QWORD *)v0 = &CCNodeContainer::`vftable';
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return v0;
}
else
{
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}