// // cocos2d::CCMenuItemLabel::setString from 0x18005bcd0 to 0x18005bd3d (109 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b2f7c // // 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::CCMenuItemLabel::setString(cocos2d::CCMenuItemLabel *this, const char *a2) { void (__fastcall ***v4)(_QWORD, const char *); // rax cocos2d::CCMenuItemLabel_vtbl *v5; // rbx __int64 v6; // rax v4 = (void (__fastcall ***)(_QWORD, const char *))_RTDynamicCast( *((_QWORD *)this + 48), 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCLabelProtocol `RTTI Type Descriptor', 0); (**v4)(v4, a2); v5 = this->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 304LL))(*((_QWORD *)this + 48)); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))v5->setContentSize)(this, v6); }