{"type": "func", "start": 4295708528, "end": 4295708616, "name": "CreatorLayer::scene", "pseudocode": "// \n// CreatorLayer::scene from 0x1000b4f70 to 0x1000b4fc8 (88 bytes)\n// \n// 6 xrefs:\n// > GauntletSelectLayer::onBack @ 0x1001bf0e4\n// > MenuLayer::onCreator @ 0x100267850\n// > SecretRewardsLayer::onBack @ 0x1002e99e8\n// > SecretLayer2::onBack @ 0x10030a734\n// > GameManager::returnToLastScene @ 0x10031d628\n// > GameManager::returnToLastScene @ 0x10031d7ac\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\ncocos2d::CCScene *__fastcall CreatorLayer::scene()\n{\n  cocos2d::CCScene *v0; // x19\n  CreatorLayer *v1; // x20\n  cocos2d::CCSceneDelegate *v2; // x8\n\n  v0 = cocos2d::CCScene::create();\n  AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage = (char *)v0;\n  v1 = CreatorLayer::create();\n  ((void (__fastcall *)(cocos2d::CCScene *, CreatorLayer *))v0->addChild)(v0, v1);\n  v2 = (cocos2d::CCSceneDelegate *)&v1->cocos2d::CCSceneTransitionDelegate;\n  if ( !v1 )\n    v2 = nullptr;\n  v0->m_pDelegate = v2;\n  return v0;\n}", "assembly": "; \n; CreatorLayer::scene from 0x1000b4f70 to 0x1000b4fc8 (88 bytes)\n; \n; 6 xrefs:\n; > GauntletSelectLayer::onBack @ 0x1001bf0e4\n; > MenuLayer::onCreator @ 0x100267850\n; > SecretRewardsLayer::onBack @ 0x1002e99e8\n; > SecretLayer2::onBack @ 0x10030a734\n; > GameManager::returnToLastScene @ 0x10031d628\n; > GameManager::returnToLastScene @ 0x10031d7ac\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, 0x1000b4f70\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000b4f74\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000b4f78\nBL              cocos2d__CCScene__create                               ; +0xc, 0x1000b4f7c\nMOV             X19, X0                                                ; +0x10, 0x1000b4f80\nBL              AppDelegate__get                                       ; +0x14, 0x1000b4f84\nSTR             X19, [X0,#0x18]                                        ; +0x18, 0x1000b4f88\nBL              CreatorLayer__create                                   ; +0x1c, 0x1000b4f8c\nMOV             X20, X0                                                ; +0x20, 0x1000b4f90\nLDR             X8, [X19]                                              ; +0x24, 0x1000b4f94\nLDR             X8, [X8,#0x1B8]                                        ; +0x28, 0x1000b4f98\nMOV             X0, X19                                                ; +0x2c, 0x1000b4f9c\nMOV             X1, X20                                                ; +0x30, 0x1000b4fa0\nBLR             X8                                                     ; +0x34, 0x1000b4fa4\nADD             X8, X20, #0x198                                        ; +0x38, 0x1000b4fa8\nCMP             X20, #0                                                ; +0x3c, 0x1000b4fac\nCSEL            X8, XZR, X8, EQ                                        ; +0x40, 0x1000b4fb0\nSTR             X8, [X19,#0x140]                                       ; +0x44, 0x1000b4fb4\nMOV             X0, X19                                                ; +0x48, 0x1000b4fb8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1000b4fbc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1000b4fc0\nRET                                                                    ; +0x54, 0x1000b4fc4", "xrefs": ["GauntletSelectLayer::onBack @ 0x1001bf0e4", "MenuLayer::onCreator @ 0x100267850", "SecretRewardsLayer::onBack @ 0x1002e99e8", "SecretLayer2::onBack @ 0x10030a734", "GameManager::returnToLastScene @ 0x10031d628", "GameManager::returnToLastScene @ 0x10031d7ac"], "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"}