{"type": "func", "start": 4299962880, "end": 4299963260, "name": "EndLevelLayer::EndLevelLayer", "pseudocode": "// \n// EndLevelLayer::EndLevelLayer from 0x1004c3a00 to 0x1004c3b7c (380 bytes)\n// \n// 1 xrefs:\n// > EndLevelLayer::create @ 0x1004bfc4a\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\nEndLevelLayer *__fastcall EndLevelLayer::EndLevelLayer(EndLevelLayer *a1)\n{\n  EndLevelLayer *result; // rax\n\n  cocos2d::CCLayerColor::CCLayerColor((__int64)a1);\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EndLevelLayer_vtbl *)off_100978158;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1009786C0;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100978730;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100978748;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100978768;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100978788;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1009787B0;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100978830;\n  sub_10028CC30(&a1->m_endPosition);\n  sub_10028CC30(&a1->m_startPosition);\n  a1->m_delegate = nullptr;\n  a1->m_fastMenu = 0;\n  *(_OWORD *)&a1->m_buttonMenu = 0;\n  *(_OWORD *)((char *)&a1->m_listLayer + 1) = 0;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EndLevelLayer_vtbl *)off_10094EE58;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10094F3C8;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10094F438;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10094F450;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10094F470;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10094F490;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10094F4B8;\n  a1->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_10094F538;\n  a1->m_playLayer = nullptr;\n  *(PlayLayer **)((char *)&a1->m_playLayer + 6) = nullptr;\n  *(_OWORD *)&a1->m_sideMenu = 0;\n  sub_10028CC30(&a1->m_starsPosition);\n  sub_10028CC30(&a1->m_orbsPosition);\n  sub_10028CC30(&a1->m_diamondsPosition);\n  a1->m_hidden = 0;\n  *(_OWORD *)&a1->m_orbs = 0;\n  return result;\n}", "assembly": "; \n; EndLevelLayer::EndLevelLayer from 0x1004c3a00 to 0x1004c3b7c (380 bytes)\n; \n; 1 xrefs:\n; > EndLevelLayer::create @ 0x1004bfc4a\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\npush    rbp                                                            ; +0x0, 0x1004c3a00\nmov     rbp, rsp                                                       ; +0x1, 0x1004c3a01\npush    r14                                                            ; +0x4, 0x1004c3a04\npush    rbx                                                            ; +0x6, 0x1004c3a06\nmov     rbx, rdi                                                       ; +0x7, 0x1004c3a07\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0xa, 0x1004c3a0a\nlea     rax, _ZTV15GJDropDownLayer; `vtable for'GJDropDownLayer        ; +0xf, 0x1004c3a0f\nlea     rcx, [rax+10h]                                                 ; +0x16, 0x1004c3a16\nmov     [rbx], rcx                                                     ; +0x1a, 0x1004c3a1a\nlea     rcx, [rax+578h]                                                ; +0x1d, 0x1004c3a1d\nmov     [rbx+140h], rcx                                                ; +0x24, 0x1004c3a24\nlea     rcx, [rax+5E8h]                                                ; +0x2b, 0x1004c3a2b\nmov     [rbx+148h], rcx                                                ; +0x32, 0x1004c3a32\nlea     rcx, [rax+600h]                                                ; +0x39, 0x1004c3a39\nmov     [rbx+150h], rcx                                                ; +0x40, 0x1004c3a40\nlea     rcx, [rax+620h]                                                ; +0x47, 0x1004c3a47\nmov     [rbx+158h], rcx                                                ; +0x4e, 0x1004c3a4e\nlea     rcx, [rax+640h]                                                ; +0x55, 0x1004c3a55\nmov     [rbx+160h], rcx                                                ; +0x5c, 0x1004c3a5c\nlea     rcx, [rax+668h]                                                ; +0x63, 0x1004c3a63\nmov     [rbx+198h], rcx                                                ; +0x6a, 0x1004c3a6a\nadd     rax, 6E8h                                                      ; +0x71, 0x1004c3a71\nmov     [rbx+1B0h], rax                                                ; +0x77, 0x1004c3a77\nlea     rdi, [rbx+220h]                                                ; +0x7e, 0x1004c3a7e\ncall    sub_10028CC30                                                  ; +0x85, 0x1004c3a85\nlea     rdi, [rbx+228h]                                                ; +0x8a, 0x1004c3a8a\ncall    sub_10028CC30                                                  ; +0x91, 0x1004c3a91\nmov     qword ptr [rbx+250h], 0                                        ; +0x96, 0x1004c3a96\nmov     byte ptr [rbx+258h], 0                                         ; +0xa1, 0x1004c3aa1\nxorps   xmm0, xmm0                                                     ; +0xa8, 0x1004c3aa8\nmovups  xmmword ptr [rbx+230h], xmm0                                   ; +0xab, 0x1004c3aab\nmovups  xmmword ptr [rbx+239h], xmm0                                   ; +0xb2, 0x1004c3ab2\nlea     rax, off_10094EE58                                             ; +0xb9, 0x1004c3ab9\nmov     [rbx], rax                                                     ; +0xc0, 0x1004c3ac0\nlea     rax, off_10094F3C8                                             ; +0xc3, 0x1004c3ac3\nmov     [rbx+140h], rax                                                ; +0xca, 0x1004c3aca\nlea     rax, off_10094F438                                             ; +0xd1, 0x1004c3ad1\nmov     [rbx+148h], rax                                                ; +0xd8, 0x1004c3ad8\nlea     rax, off_10094F450                                             ; +0xdf, 0x1004c3adf\nmov     [rbx+150h], rax                                                ; +0xe6, 0x1004c3ae6\nlea     rax, off_10094F470                                             ; +0xed, 0x1004c3aed\nmov     [rbx+158h], rax                                                ; +0xf4, 0x1004c3af4\nlea     rax, off_10094F490                                             ; +0xfb, 0x1004c3afb\nmov     [rbx+160h], rax                                                ; +0x102, 0x1004c3b02\nlea     rax, off_10094F4B8                                             ; +0x109, 0x1004c3b09\nmov     [rbx+198h], rax                                                ; +0x110, 0x1004c3b10\nlea     rax, off_10094F538                                             ; +0x117, 0x1004c3b17\nmov     [rbx+1B0h], rax                                                ; +0x11e, 0x1004c3b1e\nlea     rdi, [rbx+280h]                                                ; +0x125, 0x1004c3b25\nmov     qword ptr [rbx+260h], 0                                        ; +0x12c, 0x1004c3b2c\nmov     qword ptr [rbx+266h], 0                                        ; +0x137, 0x1004c3b37\nmovups  xmmword ptr [rbx+270h], xmm0                                   ; +0x142, 0x1004c3b42\ncall    sub_10028CC30                                                  ; +0x149, 0x1004c3b49\nlea     rdi, [rbx+288h]                                                ; +0x14e, 0x1004c3b4e\ncall    sub_10028CC30                                                  ; +0x155, 0x1004c3b55\nlea     rdi, [rbx+290h]                                                ; +0x15a, 0x1004c3b5a\ncall    sub_10028CC30                                                  ; +0x161, 0x1004c3b61\nmov     byte ptr [rbx+2A9h], 0                                         ; +0x166, 0x1004c3b66\nxorps   xmm0, xmm0                                                     ; +0x16d, 0x1004c3b6d\nmovups  xmmword ptr [rbx+298h], xmm0                                   ; +0x170, 0x1004c3b70\npop     rbx                                                            ; +0x177, 0x1004c3b77\npop     r14                                                            ; +0x178, 0x1004c3b78\npop     rbp                                                            ; +0x17a, 0x1004c3b7a\nretn                                                                   ; +0x17b, 0x1004c3b7b", "xrefs": ["EndLevelLayer::create @ 0x1004bfc4a"], "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"}