{"type": "func", "start": 6443282256, "end": 6443282393, "name": "cocos2d::CCMenuItem::CCMenuItem", "pseudocode": "// \n// cocos2d::CCMenuItem::CCMenuItem from 0x1800caf50 to 0x1800cafd9 (137 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800cb090\n// > cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800cb110\n// > cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800cb1a0\n// > cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800cb210\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3cf0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:28 +0000\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  *(_QWORD *)this = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'};\n  *((_BYTE *)this + 344) = *((_BYTE *)a2 + 344);\n  *((_BYTE *)this + 345) = *((_BYTE *)a2 + 345);\n  *((_QWORD *)this + 44) = *((_QWORD *)a2 + 44);\n  *((_QWORD *)this + 45) = *((_QWORD *)a2 + 45);\n  *((_DWORD *)this + 92) = *((_DWORD *)a2 + 92);\n  *((_DWORD *)this + 93) = *((_DWORD *)a2 + 93);\n  return this;\n}", "assembly": "; \n; cocos2d::CCMenuItem::CCMenuItem from 0x1800caf50 to 0x1800cafd9 (137 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800cb090\n; > cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800cb110\n; > cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800cb1a0\n; > cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800cb210\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3cf0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:28 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800caf50\npush    rdi                                                            ; +0x5, 0x1800caf55\nsub     rsp, 20h                                                       ; +0x6, 0x1800caf56\nmov     rbx, rdx                                                       ; +0xa, 0x1800caf5a\nmov     rdi, rcx                                                       ; +0xd, 0x1800caf5d\ncall    ??0CCNodeRGBA@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCNodeRGBA::CCNodeRGBA(cocos2d::CCNodeRGBA const &) ; +0x10, 0x1800caf60\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCNode'} ; +0x15, 0x1800caf65\nmov     [rdi], rax                                                     ; +0x1c, 0x1800caf6c\nlea     rax, ??_7CCMenuItem@cocos2d@@6BCCRGBAProtocol@1@@; const cocos2d::CCMenuItem::`vftable'{for `cocos2d::CCRGBAProtocol'} ; +0x1f, 0x1800caf6f\nmov     [rdi+140h], rax                                                ; +0x26, 0x1800caf76\nmovzx   eax, byte ptr [rbx+158h]                                       ; +0x2d, 0x1800caf7d\nmov     [rdi+158h], al                                                 ; +0x34, 0x1800caf84\nmovzx   eax, byte ptr [rbx+159h]                                       ; +0x3a, 0x1800caf8a\nmov     [rdi+159h], al                                                 ; +0x41, 0x1800caf91\nmov     rax, [rbx+160h]                                                ; +0x47, 0x1800caf97\nmov     [rdi+160h], rax                                                ; +0x4e, 0x1800caf9e\nmov     rax, [rbx+168h]                                                ; +0x55, 0x1800cafa5\nmov     [rdi+168h], rax                                                ; +0x5c, 0x1800cafac\nmov     eax, [rbx+170h]                                                ; +0x63, 0x1800cafb3\nmov     [rdi+170h], eax                                                ; +0x69, 0x1800cafb9\nmov     eax, [rbx+174h]                                                ; +0x6f, 0x1800cafbf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x75, 0x1800cafc5\nmov     [rdi+174h], eax                                                ; +0x7a, 0x1800cafca\nmov     rax, rdi                                                       ; +0x80, 0x1800cafd0\nadd     rsp, 20h                                                       ; +0x83, 0x1800cafd3\npop     rdi                                                            ; +0x87, 0x1800cafd7\nretn                                                                   ; +0x88, 0x1800cafd8", "xrefs": ["cocos2d::CCMenuItemImage::CCMenuItemImage @ 0x1800cb090", "cocos2d::CCMenuItemLabel::CCMenuItemLabel @ 0x1800cb110", "cocos2d::CCMenuItemSprite::CCMenuItemSprite @ 0x1800cb1a0", "cocos2d::CCMenuItemToggle::CCMenuItemToggle @ 0x1800cb210", "<???> @ 0x18014cf68", "<???> @ 0x1801c3cf0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}