//
// cocos2d::CCMenuItemLabel::setString from 0x18005dd00 to 0x18005dd6d (109 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd234
//
// This function is hookable on this platform (idp: pc, 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 11:21:49 +0000
//
void __fastcall cocos2d::CCMenuItemLabel::setString(cocos2d::CCMenuItemLabel *this, const char *a2)
{
void (__fastcall ***v4)(_QWORD, const char *); // rax
__int64 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 = *(_QWORD *)this;
v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 48) + 320LL))(*((_QWORD *)this + 48));
(*(void (__fastcall **)(cocos2d::CCMenuItemLabel *, __int64))(v5 + 312))(this, v6);
}