// // cocos2d::CCMenuItemFont::recreateLabel from 0xd66a9c to 0xd66b1c (128 bytes) // // 3 xrefs: // > cocos2d::CCMenuItemFont::setFontSizeObj @ 0xd66b20 // > cocos2d::CCMenuItemFont::setFontNameObj @ 0xd6765c // > @ 0x83680 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:07:54 +0000 // __int64 __fastcall cocos2d::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *this, unsigned int a2) { const void *v3; // x0 void *v4; // x0 cocos2d::CCLabelTTF *v5; // x0 char *v6; // x1 cocos2d::CCLabelTTF *v7; // x0 v3 = *((const void **)this + 48); 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 = (char *)this + 409; if ( (*((_BYTE *)this + 408) & 1) != 0 ) v6 = *((char **)this + 53); v7 = cocos2d::CCLabelTTF::create( v5, v6, (const char *)*((unsigned int *)this + 100), (float)*((unsigned int *)this + 100)); return (*(__int64 (__fastcall **)(cocos2d::CCMenuItemFont *, cocos2d::CCLabelTTF *))(*(_QWORD *)this + 1096LL))( this, v7); } else { __break(0x3E8u); return cocos2d::CCMenuItemFont::setFontSizeObj((cocos2d::CCMenuItemFont *)0x10102464C457FLL, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source