// // cocos2d::CCMenuItemLabel::create_1 from 0x1003bee10 to 0x1003bef3b (299 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 // cocos2d::CCMenuItemLabel *__fastcall cocos2d::CCMenuItemLabel::create_1(cocos2d::CCNode *a1) { cocos2d::CCMenuItemLabel *v1; // rbx float v3[2]; // [rsp+Ch] [rbp-24h] BYREF _WORD v4[14]; // [rsp+14h] [rbp-1Ch] BYREF v1 = (cocos2d::CCMenuItemLabel *)operator new(0x190u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v1); *(_WORD *)&v1->m_bSelected = 0; *(_OWORD *)&v1->m_pListener = 0; *(_OWORD *)&v1->m_pfnSelector.adj = 0; v1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMenuItemLabel_vtbl *)off_10092B9B0; v1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10092BE00; *(_QWORD *)&v1[1].m_uID = 0; v1[1].m_uReference = 0; sub_10028CBE0(v3, 0.5, 0.5); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, float *))v1->setAnchorPoint)(v1, v3); *(_OWORD *)&v1->m_pListener = 0; v1->m_pfnSelector.adj = 0; *(_WORD *)&v1->m_bSelected = 256; v1[1].m_uReference = 1065353216; LOWORD(v1[1].m_nTag) = -1; BYTE2(v1[1].m_nTag) = -1; memset(v4, 126, 3); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, _WORD *))v1->setDisabledColor)(v1, v4); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, cocos2d::CCNode *))v1->setLabel)(v1, a1); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))v1->setCascadeColorEnabled)(v1, 1); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *, __int64))v1->setCascadeOpacityEnabled)(v1, 1); cocos2d::CCObject::autorelease(v1); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source