{"type": "func", "start": 5456036, "end": 5456146, "name": "EndLevelLayer::goEdit", "pseudocode": "// \n// EndLevelLayer::goEdit from 0x5340a4 to 0x534112 (110 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:06 +0000\n// \n\ncocos2d::CCObject *__fastcall EndLevelLayer::goEdit(cocos2d::CCNode **this)\n{\n  cocos2d::CCDirector *v2; // r0\n  int v3; // r0\n  cocos2d::CCTouchDispatcher *v4; // r0\n  int v5; // r5\n  bool v6; // r2\n  cocos2d::CCObject *result; // r0\n  cocos2d::CCObject *v8; // r7\n\n  (*((void (__fastcall **)(cocos2d::CCNode **, _DWORD))*this + 165))(this, 0);\n  cocos2d::CCNode::stopAllActions(*(this + 120));\n  cocos2d::CCNode::unscheduleAllSelectors(*(this + 120));\n  v2 = (cocos2d::CCDirector *)GJBaseGameLayer::resetAudio(*(this + 120));\n  v3 = cocos2d::CCDirector::sharedDirector(v2);\n  v4 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 80))(v3);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, (cocos2d::CCObject *)this);\n  v5 = (int)*(this + 120);\n  result = (cocos2d::CCObject *)GJGameLoadingLayer::transitionToLoadingLayer(\n                                  *(GJGameLoadingLayer **)(v5 + 1408),\n                                  (GJGameLevel *)((char *)&dword_0 + 1),\n                                  v6);\n  v8 = result;\n  if ( *(cocos2d::CCObject **)(v5 + 11572) != result )\n  {\n    if ( result )\n      cocos2d::CCObject::retain(result);\n    result = *(cocos2d::CCObject **)(v5 + 11572);\n    if ( result )\n      result = (cocos2d::CCObject *)cocos2d::CCObject::release(result);\n    *(_DWORD *)(v5 + 11572) = v8;\n  }\n  *(this + 120) = nullptr;\n  return result;\n}", "assembly": "; \n; EndLevelLayer::goEdit from 0x5340a4 to 0x534112 (110 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:52:06 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x5340a4\nMOVS            R1, #0                                                 ; +0x2, 0x5340a6\nLDR             R3, [R0]                                               ; +0x4, 0x5340a8\nMOV             R4, R0                                                 ; +0x6, 0x5340aa\nLDR.W           R3, [R3,#0x294]                                        ; +0x8, 0x5340ac\nBLX             R3                                                     ; +0xc, 0x5340b0\nLDR.W           R0, [R4,#0x1E0]; this                                  ; +0xe, 0x5340b2\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x12, 0x5340b6\nLDR.W           R0, [R4,#0x1E0]; this                                  ; +0x16, 0x5340ba\nBL              _ZN7cocos2d6CCNode22unscheduleAllSelectorsEv; cocos2d::CCNode::unscheduleAllSelectors(void) ; +0x1a, 0x5340be\nLDR.W           R0, [R4,#0x1E0]; this                                  ; +0x1e, 0x5340c2\nBL              _ZN15GJBaseGameLayer10resetAudioEv; GJBaseGameLayer::resetAudio(void) ; +0x22, 0x5340c6\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x26, 0x5340ca\nLDR             R3, [R0]                                               ; +0x2a, 0x5340ce\nLDR             R3, [R3,#0x50]                                         ; +0x2c, 0x5340d0\nBLX             R3                                                     ; +0x2e, 0x5340d2\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x30, 0x5340d4\nBL              _ZN7cocos2d17CCTouchDispatcher19unregisterForcePrioEPNS_8CCObjectE; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x32, 0x5340d6\nLDR.W           R5, [R4,#0x1E0]                                        ; +0x36, 0x5340da\nMOVS            R1, #(dword_0+1); GJGameLevel *                        ; +0x3a, 0x5340de\nLDR.W           R0, [R5,#0x580]; this                                  ; +0x3c, 0x5340e0\nBL              _ZN18GJGameLoadingLayer24transitionToLoadingLayerEP11GJGameLevelb; GJGameLoadingLayer::transitionToLoadingLayer(GJGameLevel *,bool) ; +0x40, 0x5340e4\nMOVW            R3, #0x2D34                                            ; +0x44, 0x5340e8\nLDR             R2, [R5,R3]                                            ; +0x48, 0x5340ec\nMOV             R6, R3                                                 ; +0x4a, 0x5340ee\nCMP             R2, R0                                                 ; +0x4c, 0x5340f0\nMOV             R7, R0                                                 ; +0x4e, 0x5340f2\nBEQ             loc_53410A                                             ; +0x50, 0x5340f4\nCBZ             R0, loc_5340FC                                         ; +0x52, 0x5340f6\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x54, 0x5340f8\nLDR             R0, [R5,R6]; this                                      ; +0x58, 0x5340fc\nCBZ             R0, loc_534104                                         ; +0x5a, 0x5340fe\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x5c, 0x534100\nMOVW            R3, #0x2D34                                            ; +0x60, 0x534104\nSTR             R7, [R5,R3]                                            ; +0x64, 0x534108\nMOVS            R3, #0                                                 ; +0x66, 0x53410a\nSTR.W           R3, [R4,#0x1E0]                                        ; +0x68, 0x53410c\nPOP             {R3-R7,PC}                                             ; +0x6c, 0x534110", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}