{"type": "func", "start": 6443265440, "end": 6443265608, "name": "cocos2d::CCMenu::CCMenu", "pseudocode": "// \n// cocos2d::CCMenu::CCMenu from 0x1800c6da0 to 0x1800c6e48 (168 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b99a8\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::CCMenu *__fastcall cocos2d::CCMenu::CCMenu(cocos2d::CCMenu *this, const struct cocos2d::CCMenu *a2)\n{\n  cocos2d::CCLayerRGBA::CCLayerRGBA(this, a2);\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCMenu_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCNode'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCTouchDelegate'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&cocos2d::CCMenu::`vftable'{for `cocos2d::CCMouseDelegate'};\n  this->cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCMenu::`vftable';\n  this->m_bEnabled = a2->m_bEnabled;\n  this->m_eState = a2->m_eState;\n  this->m_pSelectedItem = a2->m_pSelectedItem;\n  return this;\n}", "assembly": "; \n; cocos2d::CCMenu::CCMenu from 0x1800c6da0 to 0x1800c6e48 (168 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b99a8\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, 0x1800c6da0\npush    rdi                                                            ; +0x5, 0x1800c6da5\nsub     rsp, 20h                                                       ; +0x6, 0x1800c6da6\nmov     rbx, rdx                                                       ; +0xa, 0x1800c6daa\nmov     rdi, rcx                                                       ; +0xd, 0x1800c6dad\ncall    ??0CCLayerRGBA@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCLayerRGBA::CCLayerRGBA(cocos2d::CCLayerRGBA const &) ; +0x10, 0x1800c6db0\nlea     rax, ??_7CCMenu@cocos2d@@6BCCNode@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCNode'} ; +0x15, 0x1800c6db5\nmov     [rdi], rax                                                     ; +0x1c, 0x1800c6dbc\nlea     rax, ??_7CCMenu@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x1f, 0x1800c6dbf\nmov     [rdi+140h], rax                                                ; +0x26, 0x1800c6dc6\nlea     rax, ??_7CCMenu@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x2d, 0x1800c6dcd\nmov     [rdi+148h], rax                                                ; +0x34, 0x1800c6dd4\nlea     rax, ??_7CCMenu@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x3b, 0x1800c6ddb\nmov     [rdi+150h], rax                                                ; +0x42, 0x1800c6de2\nlea     rax, ??_7CCMenu@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x49, 0x1800c6de9\nmov     [rdi+158h], rax                                                ; +0x50, 0x1800c6df0\nlea     rax, ??_7CCMenu@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCMenu::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x57, 0x1800c6df7\nmov     [rdi+160h], rax                                                ; +0x5e, 0x1800c6dfe\nlea     rax, ??_7CCMenu@cocos2d@@6B@; const cocos2d::CCMenu::`vftable' ; +0x65, 0x1800c6e05\nmov     [rdi+198h], rax                                                ; +0x6c, 0x1800c6e0c\nmovzx   eax, byte ptr [rbx+1B0h]                                       ; +0x73, 0x1800c6e13\nmov     [rdi+1B0h], al                                                 ; +0x7a, 0x1800c6e1a\nmov     eax, [rbx+1B4h]                                                ; +0x80, 0x1800c6e20\nmov     [rdi+1B4h], eax                                                ; +0x86, 0x1800c6e26\nmov     rax, [rbx+1B8h]                                                ; +0x8c, 0x1800c6e2c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x93, 0x1800c6e33\nmov     [rdi+1B8h], rax                                                ; +0x98, 0x1800c6e38\nmov     rax, rdi                                                       ; +0x9f, 0x1800c6e3f\nadd     rsp, 20h                                                       ; +0xa2, 0x1800c6e42\npop     rdi                                                            ; +0xa6, 0x1800c6e46\nretn                                                                   ; +0xa7, 0x1800c6e47", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b99a8"], "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"}