{"type": "func", "start": 4298081212, "end": 4298081336, "name": "EndLevelLayer::goEdit", "pseudocode": "// \n// EndLevelLayer::goEdit from 0x1002f83bc to 0x1002f8438 (124 bytes)\n// \n// 1 xrefs:\n// > EndLevelLayer::onEdit @ 0x1002f7468\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\nvoid __fastcall EndLevelLayer::goEdit(EndLevelLayer *a1)\n{\n  cocos2d::CCDirector *v2; // x0\n  cocos2d::CCTouchDispatcher *v3; // x0\n  PlayLayer *m_playLayer; // x20\n  GJGameLoadingLayer *v5; // x0\n\n  ((void (__fastcall *)(EndLevelLayer *, _QWORD))a1->exitLayer)(a1, 0);\n  cocos2d::CCNode::stopAllActions(a1->m_playLayer);\n  cocos2d::CCNode::unscheduleAllSelectors(a1->m_playLayer);\n  GJBaseGameLayer::resetAudio(a1->m_playLayer);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1);\n  m_playLayer = a1->m_playLayer;\n  v5 = GJGameLoadingLayer::transitionToLoadingLayer(m_playLayer->m_level, 1);\n  sub_1001436A4((__int64)m_playLayer, v5);\n  a1->m_playLayer = nullptr;\n}", "assembly": "; \n; EndLevelLayer::goEdit from 0x1002f83bc to 0x1002f8438 (124 bytes)\n; \n; 1 xrefs:\n; > EndLevelLayer::onEdit @ 0x1002f7468\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f83bc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f83c0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f83c4\nMOV             X19, X0                                                ; +0xc, 0x1002f83c8\nLDR             X8, [X0]                                               ; +0x10, 0x1002f83cc\nLDR             X8, [X8,#0x518]                                        ; +0x14, 0x1002f83d0\nMOV             X1, #0                                                 ; +0x18, 0x1002f83d4\nBLR             X8                                                     ; +0x1c, 0x1002f83d8\nLDR             X0, [X19,#0x260]                                       ; +0x20, 0x1002f83dc\nBL              cocos2d__CCNode__stopAllActions                        ; +0x24, 0x1002f83e0\nLDR             X0, [X19,#0x260]                                       ; +0x28, 0x1002f83e4\nBL              cocos2d__CCNode__unscheduleAllSelectors                ; +0x2c, 0x1002f83e8\nLDR             X0, [X19,#0x260]                                       ; +0x30, 0x1002f83ec\nBL              GJBaseGameLayer__resetAudio                            ; +0x34, 0x1002f83f0\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x38, 0x1002f83f4\nLDR             X8, [X0]                                               ; +0x3c, 0x1002f83f8\nLDR             X8, [X8,#0xA0]                                         ; +0x40, 0x1002f83fc\nBLR             X8                                                     ; +0x44, 0x1002f8400\nMOV             X1, X19                                                ; +0x48, 0x1002f8404\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x4c, 0x1002f8408\nLDR             X20, [X19,#0x260]                                      ; +0x50, 0x1002f840c\nLDR             X0, [X20,#0x790]                                       ; +0x54, 0x1002f8410\nMOV             W1, #1                                                 ; +0x58, 0x1002f8414\nBL              GJGameLoadingLayer__transitionToLoadingLayer           ; +0x5c, 0x1002f8418\nMOV             X1, X0                                                 ; +0x60, 0x1002f841c\nMOV             X0, X20                                                ; +0x64, 0x1002f8420\nBL              sub_1001436A4                                          ; +0x68, 0x1002f8424\nSTR             XZR, [X19,#0x260]                                      ; +0x6c, 0x1002f8428\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x1002f842c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x1002f8430\nRET                                                                    ; +0x78, 0x1002f8434", "xrefs": ["EndLevelLayer::onEdit @ 0x1002f7468"], "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"}