{"type": "func", "start": 6442780752, "end": 6442780953, "name": "cocos2d::CCLayer::CCLayer", "pseudocode": "// \n// cocos2d::CCLayer::CCLayer from 0x180050850 to 0x180050919 (201 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x180050a69\n// > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x180050ae9\n// > cocos2d::CCLayer::create @ 0x18005153d\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbf8c\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:21:45 +0000\n// \n\n// Hidden C++ exception states: #wind=2\ncocos2d::CCLayer *__fastcall cocos2d::CCLayer::CCLayer(cocos2d::CCLayer *this)\n{\n  float *v2; // rax\n  float v4; // [rsp+38h] [rbp+10h] BYREF\n\n  cocos2d::CCNode::CCNode(this);\n  *(_QWORD *)this = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'};\n  *((_QWORD *)this + 40) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'};\n  *((_QWORD *)this + 41) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'};\n  *((_QWORD *)this + 42) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'};\n  *((_QWORD *)this + 43) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'};\n  *((_QWORD *)this + 44) = &cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'};\n  *((_DWORD *)this + 90) = 0;\n  *((_BYTE *)this + 364) = 0;\n  *((_QWORD *)this + 46) = 0;\n  *((_QWORD *)this + 47) = 0;\n  *((_QWORD *)this + 48) = 0;\n  *((_QWORD *)this + 49) = 0;\n  *((_DWORD *)this + 100) = 0;\n  *((_BYTE *)this + 287) = 1;\n  v2 = kmVec2Fill(&v4, 0.5, 0.5);\n  cocos2d::CCNode::setAnchorPoint(this, (const struct cocos2d::CCPoint *)v2);\n  return this;\n}", "assembly": "; \n; cocos2d::CCLayer::CCLayer from 0x180050850 to 0x180050919 (201 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x180050a69\n; > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x180050ae9\n; > cocos2d::CCLayer::create @ 0x18005153d\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbf8c\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:21:45 +0000\n; \nmov     [rsp+arg_0], rcx                                               ; +0x0, 0x180050850\npush    rbx                                                            ; +0x5, 0x180050855\nsub     rsp, 20h                                                       ; +0x6, 0x180050856\nmov     rbx, rcx                                                       ; +0xa, 0x18005085a\ncall    ??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)      ; +0xd, 0x18005085d\nnop                                                                    ; +0x12, 0x180050862\nlea     rax, ??_7CCLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'} ; +0x13, 0x180050863\nmov     [rbx], rax                                                     ; +0x1a, 0x18005086a\nlea     rax, ??_7CCLayer@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x1d, 0x18005086d\nmov     [rbx+140h], rax                                                ; +0x24, 0x180050874\nlea     rax, ??_7CCLayer@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x2b, 0x18005087b\nmov     [rbx+148h], rax                                                ; +0x32, 0x180050882\nlea     rax, ??_7CCLayer@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x39, 0x180050889\nmov     [rbx+150h], rax                                                ; +0x40, 0x180050890\nlea     rax, ??_7CCLayer@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x47, 0x180050897\nmov     [rbx+158h], rax                                                ; +0x4e, 0x18005089e\nlea     rax, ??_7CCLayer@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x55, 0x1800508a5\nmov     [rbx+160h], rax                                                ; +0x5c, 0x1800508ac\nmov     dword ptr [rbx+168h], 0                                        ; +0x63, 0x1800508b3\nmov     byte ptr [rbx+16Ch], 0                                         ; +0x6d, 0x1800508bd\nxor     eax, eax                                                       ; +0x74, 0x1800508c4\nmov     [rbx+170h], rax                                                ; +0x76, 0x1800508c6\nmov     [rbx+178h], rax                                                ; +0x7d, 0x1800508cd\nmov     [rbx+180h], rax                                                ; +0x84, 0x1800508d4\nmov     [rbx+188h], rax                                                ; +0x8b, 0x1800508db\nmov     [rbx+190h], eax                                                ; +0x92, 0x1800508e2\nmov     byte ptr [rbx+11Fh], 1                                         ; +0x98, 0x1800508e8\nmovss   xmm1, cs:dword_1800EC358                                       ; +0x9f, 0x1800508ef\nmovaps  xmm2, xmm1                                                     ; +0xa7, 0x1800508f7\nlea     rcx, [rsp+28h+arg_8]                                           ; +0xaa, 0x1800508fa\ncall    kmVec2Fill                                                     ; +0xaf, 0x1800508ff\nmov     rdx, rax; struct cocos2d::CCPoint *                            ; +0xb4, 0x180050904\nmov     rcx, rbx; this                                                 ; +0xb7, 0x180050907\ncall    ?setAnchorPoint@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setAnchorPoint(cocos2d::CCPoint const &) ; +0xba, 0x18005090a\nnop                                                                    ; +0xbf, 0x18005090f\nmov     rax, rbx                                                       ; +0xc0, 0x180050910\nadd     rsp, 20h                                                       ; +0xc3, 0x180050913\npop     rbx                                                            ; +0xc7, 0x180050917\nretn                                                                   ; +0xc8, 0x180050918", "xrefs": ["cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x180050a69", "cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x180050ae9", "cocos2d::CCLayer::create @ 0x18005153d", "<???> @ 0x18014cf68", "<???> @ 0x1801bbf8c"], "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"}