// // cocos2d::CCLabelTTF::_updateWithTextDefinition from 0x1003bda60 to 0x1003bdb11 (177 bytes) // // 3 xrefs: // > cocos2d::CCLabelTTF::createWithFontDefinition @ 0x1003bd906 // > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0x1003bd9db // > cocos2d::CCLabelTTF::setTextDefinition @ 0x1003be13f // // 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 // void __fastcall cocos2d::CCLabelTTF::_updateWithTextDefinition( cocos2d::CCLabelTTF *a1, cocos2d::ccFontDefinition *a2, bool a3) { double v4; // xmm0_8 std::string *v5; // rax std::string *v6; // r12 float v7[10]; // [rsp+8h] [rbp-28h] BYREF *(_QWORD *)&v4 = LODWORD(a2->m_dimensions.width); sub_10028CBF0(v7, *(float *)&v4, a2->m_dimensions.height); sub_10028CFF0(&a1->m_tDimensions, v7); *(_QWORD *)&a1->m_hAlignment = *(_QWORD *)&a2->m_alignment; v5 = (std::string *)operator new(0x18u); v6 = v5; if ( (a2->m_fontName.m_data.m_short.sizex2 & 1) != 0 ) sub_100006B70(v5, a2->m_fontName.m_data.m_long.longStorage, a2->m_fontName.m_data.m_long.size, v4); else *v5 = a2->m_fontName; a1->m_pFontName = v6; a1->m_fFontSize = (float)a2->m_fontSize; if ( a3 ) cocos2d::CCLabelTTF::updateTexture(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source