{"type": "func", "start": 3846120, "end": 3846166, "name": "CreatorLayer::scene", "pseudocode": "// \n// CreatorLayer::scene from 0x3aafe8 to 0x3ab016 (46 bytes)\n// \n// 8 xrefs:\n// > MenuLayer::onCreator @ 0x30a6e0\n// > GameManager::returnToLastScene @ 0x3245f0\n// > GameManager::returnToLastScene @ 0x32469e\n// > GauntletSelectLayer::onBack @ 0x4d7086\n// > SecretLayer2::onBack @ 0x4eb25c\n// > MapSelectLayer::onBack @ 0x50dcd8\n// > MultiplayerLayer::onBack @ 0x5290b2\n// > SecretRewardsLayer::onBack @ 0x585710\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 *CreatorLayer::scene()\n{\n  cocos2d::CCSceneDelegate_vtbl *v0; // r5\n  CreatorLayer *v1; // r4\n\n  v0 = (cocos2d::CCSceneDelegate_vtbl *)cocos2d::CCScene::create();\n  AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = v0;\n  v1 = CreatorLayer::create();\n  (*((void (__fastcall **)(cocos2d::CCSceneDelegate_vtbl *, CreatorLayer *))v0->willSwitchToScene + 55))(v0, v1);\n  if ( v1 )\n    v1 = (CreatorLayer *)((char *)v1 + 316);\n  v0[66].willSwitchToScene = (void (__fastcall *)(cocos2d::CCSceneDelegate *__hidden, cocos2d::CCScene *))v1;\n  return (cocos2d::CCScene *)v0;\n}", "assembly": "; \n; CreatorLayer::scene from 0x3aafe8 to 0x3ab016 (46 bytes)\n; \n; 8 xrefs:\n; > MenuLayer::onCreator @ 0x30a6e0\n; > GameManager::returnToLastScene @ 0x3245f0\n; > GameManager::returnToLastScene @ 0x32469e\n; > GauntletSelectLayer::onBack @ 0x4d7086\n; > SecretLayer2::onBack @ 0x4eb25c\n; > MapSelectLayer::onBack @ 0x50dcd8\n; > MultiplayerLayer::onBack @ 0x5290b2\n; > SecretRewardsLayer::onBack @ 0x585710\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            {R3-R5,LR}                                             ; +0x0, 0x3aafe8\nBL              _ZN7cocos2d7CCScene6createEv; cocos2d::CCScene::create(void) ; +0x2, 0x3aafea\nMOV             R5, R0                                                 ; +0x6, 0x3aafee\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x8, 0x3aaff0\nSTR             R5, [R0,#0xC]                                          ; +0xc, 0x3aaff4\nBL              _ZN12CreatorLayer6createEv; CreatorLayer::create(void) ; +0xe, 0x3aaff6\nLDR             R3, [R5]                                               ; +0x12, 0x3aaffa\nLDR.W           R3, [R3,#0xDC]                                         ; +0x14, 0x3aaffc\nMOV             R4, R0                                                 ; +0x18, 0x3ab000\nMOV             R0, R5                                                 ; +0x1a, 0x3ab002\nMOV             R1, R4                                                 ; +0x1c, 0x3ab004\nBLX             R3                                                     ; +0x1e, 0x3ab006\nCBZ             R4, loc_3AB00E                                         ; +0x20, 0x3ab008\nADD.W           R4, R4, #0x13C                                         ; +0x22, 0x3ab00a\nSTR.W           R4, [R5,#0x108]                                        ; +0x26, 0x3ab00e\nMOV             R0, R5                                                 ; +0x2a, 0x3ab012\nPOP             {R3-R5,PC}                                             ; +0x2c, 0x3ab014", "xrefs": ["MenuLayer::onCreator @ 0x30a6e0", "GameManager::returnToLastScene @ 0x3245f0", "GameManager::returnToLastScene @ 0x32469e", "GauntletSelectLayer::onBack @ 0x4d7086", "SecretLayer2::onBack @ 0x4eb25c", "MapSelectLayer::onBack @ 0x50dcd8", "MultiplayerLayer::onBack @ 0x5290b2", "SecretRewardsLayer::onBack @ 0x585710"], "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"}