{"type": "func", "start": 8832876, "end": 8833012, "name": "GJGameLoadingLayer::transitionToLoadingLayer", "pseudocode": "// \n// GJGameLoadingLayer::transitionToLoadingLayer from 0x86c76c to 0x86c7f4 (136 bytes)\n// \n// 4 xrefs:\n// > PauseLayer::goEdit @ 0x6c6b8c\n// > EditorPauseLayer::playStep3 @ 0x78ae6c\n// > EndLevelLayer::goEdit @ 0x7d31b0\n// > <???> @ 0xa5f18\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\nGJGameLoadingLayer *GJGameLoadingLayer::transitionToLoadingLayer(GJGameLevel *a1, bool a2)\n{\n  cocos2d::CCScene *v4; // x19\n  GJGameLoadingLayer *v5; // x20\n  cocos2d::CCDirector *v6; // x21\n  cocos2d::CCTransitionFade *v7; // x0\n\n  v4 = cocos2d::CCScene::create();\n  AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = (cocos2d::CCSceneDelegate_vtbl *)v4;\n  v5 = GJGameLoadingLayer::create(a1, a2);\n  v4->addChild(v4, v5);\n  v4->m_eObjType = (unsigned int)&byte_5;\n  v6 = cocos2d::CCDirector::sharedDirector();\n  v7 = cocos2d::CCTransitionFade::create(0.1, v4);\n  cocos2d::CCDirector::replaceScene(v6, v7);\n  return v5;\n}", "assembly": "; \n; GJGameLoadingLayer::transitionToLoadingLayer from 0x86c76c to 0x86c7f4 (136 bytes)\n; \n; 4 xrefs:\n; > PauseLayer::goEdit @ 0x6c6b8c\n; > EditorPauseLayer::playStep3 @ 0x78ae6c\n; > EndLevelLayer::goEdit @ 0x7d31b0\n; > <???> @ 0xa5f18\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x86c76c\nMOV             X29, SP                                                ; +0x4, 0x86c770\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x86c774\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x86c778\nMOV             X20, X0                                                ; +0x10, 0x86c77c\nUXTB            W21, W1                                                ; +0x14, 0x86c780\nBL              _ZN7cocos2d7CCScene6createEv; cocos2d::CCScene::create(void) ; +0x18, 0x86c784\nMOV             X19, X0                                                ; +0x1c, 0x86c788\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x20, 0x86c78c\nMOV             W1, W21; GJGameLevel *                                 ; +0x24, 0x86c790\nSTR             X19, [X0,#0x18]                                        ; +0x28, 0x86c794\nMOV             X0, X20; this                                          ; +0x2c, 0x86c798\nBL              _ZN18GJGameLoadingLayer6createEP11GJGameLevelb; GJGameLoadingLayer::create(GJGameLevel *,bool) ; +0x30, 0x86c79c\nMOV             X1, X0                                                 ; +0x34, 0x86c7a0\nLDR             X2, [X19]                                              ; +0x38, 0x86c7a4\nMOV             X20, X0                                                ; +0x3c, 0x86c7a8\nMOV             X0, X19                                                ; +0x40, 0x86c7ac\nLDR             X2, [X2,#0x1B8]                                        ; +0x44, 0x86c7b0\nBLR             X2                                                     ; +0x48, 0x86c7b4\nMOV             W0, #byte_5; this                                      ; +0x4c, 0x86c7b8\nSTR             W0, [X19,#0x1C]                                        ; +0x50, 0x86c7bc\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x54, 0x86c7c0\nMOV             X21, X0                                                ; +0x58, 0x86c7c4\nLDR             S0, flt_86C7F4; float                                  ; +0x5c, 0x86c7c8\nMOV             X0, X19; this                                          ; +0x60, 0x86c7cc\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x64, 0x86c7d0\nMOV             X1, X0; lpsrc                                          ; +0x68, 0x86c7d4\nMOV             X0, X21; this                                          ; +0x6c, 0x86c7d8\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x70, 0x86c7dc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x74, 0x86c7e0\nMOV             X0, X20                                                ; +0x78, 0x86c7e4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x7c, 0x86c7e8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x80, 0x86c7ec\nRET                                                                    ; +0x84, 0x86c7f0", "xrefs": ["PauseLayer::goEdit @ 0x6c6b8c", "EditorPauseLayer::playStep3 @ 0x78ae6c", "EndLevelLayer::goEdit @ 0x7d31b0", "<???> @ 0xa5f18"], "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"}