//
// cocos2d::CCMenuItemLabel::setLabel from 0x7dcfa0 to 0x7dd014 (116 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::setLabel(int this, cocos2d::CCNode *a2, int a3, int a4)
{
_DWORD *v4; // r4
void (__fastcall *v6)(cocos2d::CCNode *, cocos2d::CCNode **); // r8
int (__fastcall *v7)(_DWORD *, int); // r7
int v8; // r0
int v9; // r1
int v10; // [sp+0h] [bp-4h]
cocos2d::CCNode *v11; // [sp+4h] [bp+0h] BYREF
int v12; // [sp+8h] [bp+4h]
int v13; // [sp+Ch] [bp+8h]
v10 = this;
v11 = a2;
v12 = a3;
v13 = a4;
v4 = (_DWORD *)this;
if ( a2 )
{
(*(void (__fastcall **)(int))(*(_DWORD *)this + 228))(this);
v6 = *(void (__fastcall **)(cocos2d::CCNode *, cocos2d::CCNode **))(*(_DWORD *)a2 + 148);
cocos2d::CCPoint::CCPoint((float *)&v11, 0.0, 0.0);
v6(a2, &v11);
v7 = *(int (__fastcall **)(_DWORD *, int))(*v4 + 160);
v8 = (*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 164))(a2);
this = v7(v4, v8);
}
v9 = v4[76];
if ( v9 )
this = (*(int (__fastcall **)(_DWORD *, int, int, _DWORD, int, cocos2d::CCNode *, int, int))(*v4 + 276))(
v4,
v9,
1,
*(_DWORD *)(*v4 + 276),
v10,
v11,
v12,
v13);
v4[76] = a2;
return this;
}