//
// GameObject::createWithFrame from 0x354744 to 0x354782 (62 bytes)
//
// 6 xrefs:
// > PlayLayer::addObject @ 0x311108
// > PlayLayer::addObject @ 0x3112f6
// > PlayLayer::createCheckpoint @ 0x31f06e
// > GameObject::createWithKey @ 0x362528
// > EditorUI::alignObjects @ 0x39d36c
// > LevelPage::addSecretCoin @ 0x40a768
//
// 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
//
GameObject *GameObject::createWithFrame(const char *a1)
{
GameObject *v2; // r4
GameObject_vtbl *v3; // r3
GameObject *v4; // r0
v2 = (GameObject *)operator new(0x488u);
GameObject::GameObject(v2);
if ( GameObject::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~GameObject_0(v4);
}
return v2;
}