// // cocos2d::CCMenuItemFont::recreateLabel from 0xaf5db4 to 0xaf5e28 (116 bytes) // // 3 xrefs: // > cocos2d::CCMenuItemFont::setFontSizeObj @ 0xaf5e2c // > cocos2d::CCMenuItemFont::setFontNameObj @ 0xaf5e70 // > @ 0x60450 // // 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::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *a1) { unsigned int v1; // w1 const void *v3; // x0 void *v4; // x0 cocos2d::CCLabelTTF *v5; // x0 cocos2d::CCLabelTTF *v6; // x0 v3 = *(const void **)&a1[1].m_uID; if ( v3 ) { v4 = _dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); v5 = (cocos2d::CCLabelTTF *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v4 + 8LL))(v4); v6 = cocos2d::CCLabelTTF::create( v5, *(char **)&a1[1].m_uIndexInArray, (const char *)a1[1].m_uAutoReleaseCount, (float)a1[1].m_uAutoReleaseCount); a1->setLabel(a1, v6); } else { __break(0x3E8u); cocos2d::CCMenuItemFont::setFontSizeObj((cocos2d::CCMenuItemFont *)0x10102464C457FLL, v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source