// // cocos2d::CCLabelTTF::initWithStringAndTextDefinition from 0x18004e5d0 to 0x18004e65f (143 bytes) // // 5 xrefs: // > cocos2d::CCLabelTTF::createWithFontDefinition @ 0x18004dfa6 // > @ 0x180137dcc // > @ 0x180137ddc // > @ 0x1801438a8 // > @ 0x1801b1ca4 // // 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 // char __fastcall cocos2d::CCLabelTTF::initWithStringAndTextDefinition( cocos2d::CCLabelTTF *this, const char *a2, struct cocos2d::_ccFontDefinition *a3) { cocos2d::CCLabelTTF_vtbl *v6; // rbx cocos2d::CCShaderCache *v7; // rax struct cocos2d::CCGLProgram *v8; // rax if ( !cocos2d::CCSprite::init(this) ) return 0; v6 = this->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v7 = cocos2d::CCShaderCache::sharedShaderCache(); v8 = cocos2d::CCShaderCache::programForKey(v7, "ShaderPositionTextureColor"); ((void (__fastcall *)(cocos2d::CCLabelTTF *, struct cocos2d::CCGLProgram *))v6->setShaderProgram)(this, v8); cocos2d::CCLabelTTF::_updateWithTextDefinition(this, a3, 0); ((void (__fastcall *)(cocos2d::CCLabelProtocol *, const char *))this->setString)(&this->cocos2d::CCLabelProtocol, a2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source