// // TextGameObject::create from 0x1401a74b0 to 0x1401a7584 (212 bytes) // // 3 xrefs: // > EditorUI::getCreateBtn @ 0x14010ea44 // > GameObject::createWithKey @ 0x14018ba3a // > @ 0x1406cc108 // // 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 // // Hidden C++ exception states: #wind=1 TextGameObject *TextGameObject::create(cocos2d::CCTexture2D *a1) { TextGameObject *v2; // rdi v2 = (TextGameObject *)operator new(0x578u); GameObject::GameObject(v2); v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (TextGameObject_vtbl *)&TextGameObject::`vftable'; v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&TextGameObject::`vftable'; v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&TextGameObject::`vftable'; v2->m_text.m_data.0 = 0; v2->m_text.m_data.m_size = 0; v2->m_text.m_data.m_capacity = 15; v2->m_text.m_data.m_smallStorage._Elems[0] = 0; v2->m_kerning = 0; v2->m_eObjType = GameObjectObjectType; if ( cocos2d::CCSprite::initWithTexture(v2, a1, &stru_1406C13D0) ) { GameObject::commonSetup(v2); cocos2d::CCObject::autorelease(v2); return v2; } else { ((void (__fastcall *)(TextGameObject *, __int64))v2->~TextGameObject)(v2, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source