//
// cocos2d::CCMenuItemLabel::initWithLabel from 0x1003bed30 to 0x1003bee0c (220 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall cocos2d::CCMenuItemLabel::initWithLabel(
cocos2d::CCMenuItemLabel *a1,
cocos2d::CCNode *a2,
cocos2d::CCObject *a3,
cocos2d::SEL_MenuHandler a4)
{
size_t adj; // r15
void (__cdecl *ptr)(cocos2d::CCObject *); // r12
float v9; // [rsp+0h] [rbp-40h] BYREF
cocos2d::CCNode *v10; // [rsp+8h] [rbp-38h]
_WORD v11[22]; // [rsp+14h] [rbp-2Ch] BYREF
adj = a4.adj;
ptr = a4.ptr;
v10 = a2;
sub_10028CBE0(&v9, 0.5, 0.5);
((void (__fastcall *)(cocos2d::CCMenuItemLabel *, float *))a1->setAnchorPoint)(a1, &v9);
a1->m_pListener = a3;
a1->m_pfnSelector.ptr = ptr;
a1->m_pfnSelector.adj = adj;
*(_WORD *)&a1->m_bSelected = 256;
a1[1].m_uReference = 1065353216;
LOWORD(a1[1].m_nTag) = -1;
BYTE2(a1[1].m_nTag) = -1;
memset(v11, 126, 3);
((void (__fastcall *)(cocos2d::CCMenuItemLabel *, _WORD *))a1->setDisabledColor)(a1, v11);
((void (__fastcall *)(cocos2d::CCMenuItemLabel *, cocos2d::CCNode *))a1->setLabel)(a1, v10);
((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))a1->setCascadeColorEnabled)(a1, 1);
((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))a1->setCascadeOpacityEnabled)(a1, 1);
return 1;
}