{"type": "func", "start": 6443265616, "end": 6443265753, "name": "cocos2d::CCMenuItem::CCMenuItem", "pseudocode": "// \n// cocos2d::CCMenuItem::CCMenuItem from 0x1800c6e50 to 0x1800c6ed9 (137 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800c6f90\n// > cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800c7010\n// > cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800c70a0\n// > cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800c7110\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b99b4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCMenuItem *__fastcall cocos2d::CCMenuItem::CCMenuItem(\n        cocos2d::CCMenuItem *this,\n        const struct cocos2d::CCMenuItem *a2)\n{\n  cocos2d::CCNodeRGBA::CCNodeRGBA(this, a2);\n  this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMenuItem_vtbl *)&cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'};\n  this->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'};\n  this->m_bSelected = a2->m_bSelected;\n  this->m_bEnabled = a2->m_bEnabled;\n  this->m_pListener = a2->m_pListener;\n  this->m_pfnSelector = a2->m_pfnSelector;\n  return this;\n}", "assembly": "; \n; cocos2d::CCMenuItem::CCMenuItem from 0x1800c6e50 to 0x1800c6ed9 (137 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800c6f90\n; > cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800c7010\n; > cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800c70a0\n; > cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800c7110\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b99b4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c6e50\npush    rdi                                                            ; +0x5, 0x1800c6e55\nsub     rsp, 20h                                                       ; +0x6, 0x1800c6e56\nmov     rbx, rdx                                                       ; +0xa, 0x1800c6e5a\nmov     rdi, rcx                                                       ; +0xd, 0x1800c6e5d\ncall    ??0CCNodeRGBA@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCNodeRGBA::CCNodeRGBA(cocos2d::CCNodeRGBA const &) ; +0x10, 0x1800c6e60\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x15, 0x1800c6e65\nmov     [rdi], rax                                                     ; +0x1c, 0x1800c6e6c\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x1f, 0x1800c6e6f\nmov     [rdi+140h], rax                                                ; +0x26, 0x1800c6e76\nmovzx   eax, byte ptr [rbx+158h]                                       ; +0x2d, 0x1800c6e7d\nmov     [rdi+158h], al                                                 ; +0x34, 0x1800c6e84\nmovzx   eax, byte ptr [rbx+159h]                                       ; +0x3a, 0x1800c6e8a\nmov     [rdi+159h], al                                                 ; +0x41, 0x1800c6e91\nmov     rax, [rbx+160h]                                                ; +0x47, 0x1800c6e97\nmov     [rdi+160h], rax                                                ; +0x4e, 0x1800c6e9e\nmov     rax, [rbx+168h]                                                ; +0x55, 0x1800c6ea5\nmov     [rdi+168h], rax                                                ; +0x5c, 0x1800c6eac\nmov     eax, [rbx+170h]                                                ; +0x63, 0x1800c6eb3\nmov     [rdi+170h], eax                                                ; +0x69, 0x1800c6eb9\nmov     eax, [rbx+174h]                                                ; +0x6f, 0x1800c6ebf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x75, 0x1800c6ec5\nmov     [rdi+174h], eax                                                ; +0x7a, 0x1800c6eca\nmov     rax, rdi                                                       ; +0x80, 0x1800c6ed0\nadd     rsp, 20h                                                       ; +0x83, 0x1800c6ed3\npop     rdi                                                            ; +0x87, 0x1800c6ed7\nretn                                                                   ; +0x88, 0x1800c6ed8", "xrefs": ["cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800c6f90", "cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800c7010", "cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800c70a0", "cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800c7110", "<???> @ 0x1801438a8", "<???> @ 0x1801b99b4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}