// // cocos2d::CCMenuItemLabel::setString from 0x5d5780 to 0x5d57ca (74 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 cocos2d::CCMenuItemLabel::setString(cocos2d::CCMenuItemLabel *a1, const char *a2) { const void *m_uID; // r0 void (__fastcall ***v5)(void *, const char *); // r0 void (__fastcall *setContentSize)(cocos2d::CCNode *__hidden, const cocos2d::CCSize *); // r5 int v7; // r0 m_uID = (const void *)a1[1].m_uID; if ( !m_uID ) __und(0xFFu); v5 = (void (__fastcall ***)(void *, const char *))_dynamic_cast( m_uID, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); (**v5)(v5, a2); setContentSize = a1->setContentSize; v7 = (*(int (__fastcall **)(unsigned int))(*(_DWORD *)a1[1].m_uID + 156))(a1[1].m_uID); setContentSize(a1, (const cocos2d::CCSize *)v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source