//
// cocos2d::CCMenuItemLabel::setString from 0x7dd9d4 to 0x7dda1e (74 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:46 +0000
//
int __fastcall cocos2d::CCMenuItemLabel::setString(cocos2d::CCMenuItemLabel *this, const char *a2)
{
const void *v3; // r0
void (__fastcall ***v5)(void *, const char *); // r0
int (__fastcall *v6)(cocos2d::CCMenuItemLabel *, int); // r5
int v7; // r0
v3 = *((const void **)this + 76);
if ( !v3 )
__und(0xFFu);
v5 = (void (__fastcall ***)(void *, const char *))_dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol,
-2);
(**v5)(v5, a2);
v6 = *(int (__fastcall **)(cocos2d::CCMenuItemLabel *, int))(*(_DWORD *)this + 160);
v7 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 76) + 164))(*((_DWORD *)this + 76));
return v6(this, v7);
}