//
// CCNodeContainer::create from 0x9f3cb8 to 0x9f3d54 (156 bytes)
//
// 11 xrefs:
// > GJBaseGameLayer::setupLayers @ 0x9f4cc4
// > GJBaseGameLayer::setupLayers @ 0x9f4ce8
// > GJBaseGameLayer::setupLayers @ 0x9f4d0c
// > GJBaseGameLayer::setupLayers @ 0x9f4d30
// > GJBaseGameLayer::setupLayers @ 0x9f4d54
// > GJBaseGameLayer::setupLayers @ 0x9f4d78
// > GJBaseGameLayer::setupLayers @ 0x9f4d9c
// > GJBaseGameLayer::setupLayers @ 0x9f4dc0
// > GJBaseGameLayer::setupLayers @ 0x9f4de4
// > GJBaseGameLayer::parentForZLayer @ 0x9f61a4
// > ??> @ 0x6ee48
//
// This function is hookable on this platform (idp: arm, 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 12:59:12 +0000
//
void *__fastcall CCNodeContainer::create(CCNodeContainer *this)
{
void *v1; // x19
v1 = (void *)operator new(0x140u);
memset(v1, 0, 0x140u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_QWORD *)v1 = &off_1475A00;
if ( (unsigned __int8)CCNodeContainer::init((CCNodeContainer *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}