//
// cocos2d::CCMenuItemLabel::setLabel from 0xd6575c to 0xd6582c (208 bytes)
//
// 4 xrefs:
// > ??> @ 0xa19f8
// > ??> @ 0x1524ac8
// > ??> @ 0x1524fa8
// > ??> @ 0x1525948
//
// This function is hookable on this platform (idp: arm, 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 13:07:53 +0000
//
__int64 __fastcall cocos2d::CCMenuItemLabel::setLabel(cocos2d::CCMenuItemLabel *this, cocos2d::CCNode *a2)
{
void (__fastcall *v4)(cocos2d::CCNode *, float *); // x22
void (__fastcall *v5)(cocos2d::CCMenuItemLabel *, __int64); // x22
__int64 v6; // x0
__int64 v7; // x1
float v9; // [xsp+40h] [xbp+40h] BYREF
if ( a2 )
{
(*(void (__fastcall **)(cocos2d::CCMenuItemLabel *))(*(_QWORD *)this + 456LL))(this);
v4 = *(void (__fastcall **)(cocos2d::CCNode *, float *))(*(_QWORD *)a2 + 296LL);
cocos2d::CCPoint::CCPoint(&v9, 0.0, 0.0);
v4(a2, &v9);
v5 = *(void (__fastcall **)(cocos2d::CCMenuItemLabel *, __int64))(*(_QWORD *)this + 320LL);
v6 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)a2 + 328LL))(a2);
v5(this, v6);
}
v7 = *((_QWORD *)this + 48);
if ( v7 )
(*(void (__fastcall **)(cocos2d::CCMenuItemLabel *, __int64, __int64))(*(_QWORD *)this + 552LL))(this, v7, 1);
*((_QWORD *)this + 48) = a2;
return _stack_chk_guard;
}