// // cocos2d::CCLabelTTF::getTextDefinition from 0x5ce7a0 to 0x5ce82c (140 bytes) // // 0 xrefs: // // 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 // cocos2d::ccFontDefinition *cocos2d::CCLabelTTF::getTextDefinition(cocos2d::CCLabelTTF *a1) { int v2; // r4 GLubyte b; // r3^2 float m_strokeSize; // r1 cocos2d::ccFontDefinition v6; // [sp+4h] [bp-40h] BYREF v2 = operator new(0x38u); cocos2d::_ccFontDefinition::_ccFontDefinition((cocos2d::_ccFontDefinition *)v2); cocos2d::CCLabelTTF::_prepareTextDefinition(&v6, a1, 0); sub_774794(v2, &v6); *(_DWORD *)(v2 + 4) = v6.m_fontSize; *(_DWORD *)(v2 + 8) = v6.m_alignment; *(_DWORD *)(v2 + 12) = v6.m_vertAlignment; cocos2d::CCSize::operator=((cocos2d::CCSize *)(v2 + 16), &v6.m_dimensions.width); b = v6.m_fontFillColor.b; *(_WORD *)(v2 + 24) = *(_WORD *)&v6.m_fontFillColor.r; *(_BYTE *)(v2 + 26) = b; *(_BYTE *)(v2 + 28) = v6.m_shadow.m_shadowEnabled; cocos2d::CCSize::operator=((cocos2d::CCSize *)(v2 + 32), &v6.m_shadow.m_shadowOffset.width); *(float *)(v2 + 40) = v6.m_shadow.m_shadowBlur; *(float *)(v2 + 44) = v6.m_shadow.m_shadowOpacity; m_strokeSize = v6.m_stroke.m_strokeSize; *(_DWORD *)(v2 + 48) = *(_DWORD *)&v6.m_stroke.m_strokeEnabled; *(float *)(v2 + 52) = m_strokeSize; sub_774008(&v6); return (cocos2d::ccFontDefinition *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source