{"type": "func", "start": 4296076232, "end": 4296076308, "name": "EditLevelLayer::scene", "pseudocode": "// \n// EditLevelLayer::scene from 0x10010ebc8 to 0x10010ec14 (76 bytes)\n// \n// 6 xrefs:\n// > LevelInfoLayer::onClone @ 0x10002e274\n// > GameLevelManager::gotoLevelPage @ 0x1000ad69c\n// > EditLevelLayer::onClone @ 0x100112548\n// > sub_100314B60 @ 0x100314b8c\n// > GameManager::returnToLastScene @ 0x1003bb2f0\n// > LevelBrowserLayer::createNewLevel @ 0x10049a70c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:59:07 +0000\n// \n\n__int64 __fastcall EditLevelLayer::scene(__int64 a1)\n{\n  __int64 v2; // x20\n  __int64 v3; // x0\n\n  v2 = cocos2d::CCScene::create();\n  *(_QWORD *)(AppDelegate::get(v2) + 24) = v2;\n  v3 = EditLevelLayer::create(a1);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 456LL))(v2, v3);\n  return v2;\n}", "assembly": "; \n; EditLevelLayer::scene from 0x10010ebc8 to 0x10010ec14 (76 bytes)\n; \n; 6 xrefs:\n; > LevelInfoLayer::onClone @ 0x10002e274\n; > GameLevelManager::gotoLevelPage @ 0x1000ad69c\n; > EditLevelLayer::onClone @ 0x100112548\n; > sub_100314B60 @ 0x100314b8c\n; > GameManager::returnToLastScene @ 0x1003bb2f0\n; > LevelBrowserLayer::createNewLevel @ 0x10049a70c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 10:59:07 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10010ebc8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10010ebcc\nADD             X29, SP, #0x10                                         ; +0x8, 0x10010ebd0\nMOV             X19, X0                                                ; +0xc, 0x10010ebd4\nBL              cocos2d__CCScene__create                               ; +0x10, 0x10010ebd8\nMOV             X20, X0                                                ; +0x14, 0x10010ebdc\nBL              AppDelegate__get                                       ; +0x18, 0x10010ebe0\nSTR             X20, [X0,#0x18]                                        ; +0x1c, 0x10010ebe4\nMOV             X0, X19                                                ; +0x20, 0x10010ebe8\nBL              EditLevelLayer__create                                 ; +0x24, 0x10010ebec\nMOV             X1, X0                                                 ; +0x28, 0x10010ebf0\nLDR             X8, [X20]                                              ; +0x2c, 0x10010ebf4\nLDR             X8, [X8,#0x1C8]                                        ; +0x30, 0x10010ebf8\nMOV             X0, X20                                                ; +0x34, 0x10010ebfc\nBLR             X8                                                     ; +0x38, 0x10010ec00\nMOV             X0, X20                                                ; +0x3c, 0x10010ec04\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10010ec08\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10010ec0c\nRET                                                                    ; +0x48, 0x10010ec10", "xrefs": ["LevelInfoLayer::onClone @ 0x10002e274", "GameLevelManager::gotoLevelPage @ 0x1000ad69c", "EditLevelLayer::onClone @ 0x100112548", "sub_100314B60 @ 0x100314b8c", "GameManager::returnToLastScene @ 0x1003bb2f0", "LevelBrowserLayer::createNewLevel @ 0x10049a70c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}