// // cocos2d::CCLabelTTF::setFontName from 0x5ce540 to 0x5ce5a0 (96 bytes) // // 3 xrefs: // > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0x5ab3ae // > cocos2d::extension::CCEditBoxImplAndroid::setFont @ 0x5ab3c6 // > cocos2d::extension::CCEditBoxImplAndroid::setPlaceholderFont @ 0x5ab3f6 // // 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 cocos2d::CCLabelTTF::setFontName(cocos2d::CCLabelTTF *a1, const char *a2) { std::string *m_pFontName; // r6 std::string *v5; // r6 stl::StringData::Internal *m_data; // r3 if ( sub_774E98((int)a1->m_pFontName, (char *)a2) ) { m_pFontName = a1->m_pFontName; if ( m_pFontName ) { sub_774008(a1->m_pFontName); operator delete(m_pFontName); } v5 = (std::string *)operator new(4u); sub_776584((int)v5, (char *)a2); m_data = a1->m_string.m_data.m_data; a1->m_pFontName = v5; if ( *((_DWORD *)m_data - 3) ) cocos2d::CCLabelTTF::updateTexture(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source