// // TextGameObject::create from 0x1002549c4 to 0x100254a58 (148 bytes) // // 2 xrefs: // > GameObject::createWithKey @ 0x100254944 // > EditorUI::getCreateBtn @ 0x1003ea26c // // 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 // TextGameObject *__fastcall TextGameObject::create(cocos2d::CCTexture2D *a1) { TextGameObject *v2; // x19 v2 = (TextGameObject *)operator new(0x568u); GameObject::GameObject(v2); v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TextGameObject_vtbl *)off_1007D0880; v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007D0FA0; v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1007D1020; v2->m_text.m_data.m_long.capacitym1 = 0; v2->m_text.m_data.m_long.longStorage = nullptr; v2->m_text.m_data.m_long.size = 0; v2->m_kerning = 0; if ( CCSpritePlus::initWithTexture(v2, a1) ) { GameObject::commonSetup(v2); cocos2d::CCObject::autorelease(v2); } else { ((void (__fastcall *)(TextGameObject *))v2->~TextGameObject_0)(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source