// // cocos2d::CCMenuItemFont::recreateLabel from 0x1003bf990 to 0x1003bfa07 (119 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 // void __fastcall cocos2d::CCMenuItemFont::recreateLabel(cocos2d::CCMenuItemFont *a1) { void *v1; // rax const char *v2; // rax const char *v3; // rsi cocos2d::CCLabelTTF *v4; // rax v1 = __dynamic_cast( *(const void **)&a1[1].m_uID, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); v2 = (const char *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v1 + 8LL))(v1); if ( (a1[1].m_uIndexInArray & 1) != 0 ) v3 = *(const char **)&a1[1].m_uOrderOfArrival; else v3 = (char *)&a1[1].m_uIndexInArray + 1; v4 = cocos2d::CCLabelTTF::create_2(v2, v3, (float)(int)a1[1].m_uAutoReleaseCount); ((void (__fastcall *)(cocos2d::CCMenuItemFont *, cocos2d::CCLabelTTF *))a1->setLabel)(a1, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source