{"type": "func", "start": 6443264080, "end": 6443264338, "name": "cocos2d::CCLayer::CCLayer", "pseudocode": "// \n// cocos2d::CCLayer::CCLayer from 0x1800c6850 to 0x1800c6952 (258 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x1800c6b90\n// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x1800c6c20\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9954\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::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this, const struct cocos2d::CCLayer *a2)\n{\n  cocos2d::CCNode::CCNode(this, a2);\n  this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayer_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'};\n  this->cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'};\n  this->cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  this->cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  this->cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  this->cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'};\n  this->m_bTouchEnabled = a2->m_bTouchEnabled;\n  this->m_bAccelerometerEnabled = a2->m_bAccelerometerEnabled;\n  this->m_bKeypadEnabled = a2->m_bKeypadEnabled;\n  this->m_bKeyboardEnabled = a2->m_bKeyboardEnabled;\n  this->m_bMouseEnabled = a2->m_bMouseEnabled;\n  this->m_pScriptTouchHandlerEntry = a2->m_pScriptTouchHandlerEntry;\n  this->m_pScriptKeypadHandlerEntry = a2->m_pScriptKeypadHandlerEntry;\n  this->m_pScriptAccelerateHandlerEntry = a2->m_pScriptAccelerateHandlerEntry;\n  this->m_nTouchPriority = a2->m_nTouchPriority;\n  this->m_eTouchMode = a2->m_eTouchMode;\n  this->m_uPreviousPriority = a2->m_uPreviousPriority;\n  return this;\n}", "assembly": "; \n; cocos2d::CCLayer::CCLayer from 0x1800c6850 to 0x1800c6952 (258 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x1800c6b90\n; > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x1800c6c20\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9954\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, 0x1800c6850\npush    rdi                                                            ; +0x5, 0x1800c6855\nsub     rsp, 20h                                                       ; +0x6, 0x1800c6856\nmov     rbx, rdx                                                       ; +0xa, 0x1800c685a\nmov     rdi, rcx                                                       ; +0xd, 0x1800c685d\ncall    ??0CCNode@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCNode::CCNode(cocos2d::CCNode const &) ; +0x10, 0x1800c6860\nlea     rax, ??_7CCLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'} ; +0x15, 0x1800c6865\nmov     [rdi], rax                                                     ; +0x1c, 0x1800c686c\nlea     rax, ??_7CCLayer@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x1f, 0x1800c686f\nmov     [rdi+140h], rax                                                ; +0x26, 0x1800c6876\nlea     rax, ??_7CCLayer@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x2d, 0x1800c687d\nmov     [rdi+148h], rax                                                ; +0x34, 0x1800c6884\nlea     rax, ??_7CCLayer@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x3b, 0x1800c688b\nmov     [rdi+150h], rax                                                ; +0x42, 0x1800c6892\nlea     rax, ??_7CCLayer@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x49, 0x1800c6899\nmov     [rdi+158h], rax                                                ; +0x50, 0x1800c68a0\nlea     rax, ??_7CCLayer@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x57, 0x1800c68a7\nmov     [rdi+160h], rax                                                ; +0x5e, 0x1800c68ae\nmovzx   eax, byte ptr [rbx+168h]                                       ; +0x65, 0x1800c68b5\nmov     [rdi+168h], al                                                 ; +0x6c, 0x1800c68bc\nmovzx   eax, byte ptr [rbx+169h]                                       ; +0x72, 0x1800c68c2\nmov     [rdi+169h], al                                                 ; +0x79, 0x1800c68c9\nmovzx   eax, byte ptr [rbx+16Ah]                                       ; +0x7f, 0x1800c68cf\nmov     [rdi+16Ah], al                                                 ; +0x86, 0x1800c68d6\nmovzx   eax, byte ptr [rbx+16Bh]                                       ; +0x8c, 0x1800c68dc\nmov     [rdi+16Bh], al                                                 ; +0x93, 0x1800c68e3\nmovzx   eax, byte ptr [rbx+16Ch]                                       ; +0x99, 0x1800c68e9\nmov     [rdi+16Ch], al                                                 ; +0xa0, 0x1800c68f0\nmov     rax, [rbx+170h]                                                ; +0xa6, 0x1800c68f6\nmov     [rdi+170h], rax                                                ; +0xad, 0x1800c68fd\nmov     rax, [rbx+178h]                                                ; +0xb4, 0x1800c6904\nmov     [rdi+178h], rax                                                ; +0xbb, 0x1800c690b\nmov     rax, [rbx+180h]                                                ; +0xc2, 0x1800c6912\nmov     [rdi+180h], rax                                                ; +0xc9, 0x1800c6919\nmov     eax, [rbx+188h]                                                ; +0xd0, 0x1800c6920\nmov     [rdi+188h], eax                                                ; +0xd6, 0x1800c6926\nmov     eax, [rbx+18Ch]                                                ; +0xdc, 0x1800c692c\nmov     [rdi+18Ch], eax                                                ; +0xe2, 0x1800c6932\nmov     eax, [rbx+190h]                                                ; +0xe8, 0x1800c6938\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xee, 0x1800c693e\nmov     [rdi+190h], eax                                                ; +0xf3, 0x1800c6943\nmov     rax, rdi                                                       ; +0xf9, 0x1800c6949\nadd     rsp, 20h                                                       ; +0xfc, 0x1800c694c\npop     rdi                                                            ; +0x100, 0x1800c6950\nretn                                                                   ; +0x101, 0x1800c6951", "xrefs": ["cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x1800c6b90", "cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x1800c6c20", "<???> @ 0x1801438a8", "<???> @ 0x1801b9954"], "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"}