{"type": "func", "start": 4299122140, "end": 4299122240, "name": "LevelEditorLayer::scene", "pseudocode": "// \n// LevelEditorLayer::scene from 0x1003f65dc to 0x1003f6640 (100 bytes)\n// \n// 3 xrefs:\n// > sub_10002A588 @ 0x10002a660\n// > EditLevelLayer::onEdit @ 0x1001102e0\n// > sub_1002A65BC @ 0x1002a65ec\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 11:04:33 +0000\n// \n\n_DWORD *__fastcall LevelEditorLayer::scene(__int64 a1, __int64 a2)\n{\n  _DWORD *v4; // x21\n  __int64 v5; // x1\n  __int64 v6; // x0\n\n  v4 = cocos2d::CCScene::create();\n  *(_QWORD *)(AppDelegate::get((__int64)v4, v5) + 24) = v4;\n  v6 = LevelEditorLayer::create(a1, a2);\n  (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v4 + 456LL))(v4, v6);\n  v4[7] = 6;\n  return v4;\n}", "assembly": "; \n; LevelEditorLayer::scene from 0x1003f65dc to 0x1003f6640 (100 bytes)\n; \n; 3 xrefs:\n; > sub_10002A588 @ 0x10002a660\n; > EditLevelLayer::onEdit @ 0x1001102e0\n; > sub_1002A65BC @ 0x1002a65ec\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 11:04:33 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003f65dc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003f65e0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003f65e4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003f65e8\nMOV             X19, X1                                                ; +0x10, 0x1003f65ec\nMOV             X20, X0                                                ; +0x14, 0x1003f65f0\nBL              cocos2d__CCScene__create                               ; +0x18, 0x1003f65f4\nMOV             X21, X0                                                ; +0x1c, 0x1003f65f8\nBL              AppDelegate__get                                       ; +0x20, 0x1003f65fc\nSTR             X21, [X0,#0x18]                                        ; +0x24, 0x1003f6600\nMOV             X0, X20                                                ; +0x28, 0x1003f6604\nMOV             X1, X19                                                ; +0x2c, 0x1003f6608\nBL              LevelEditorLayer__create                               ; +0x30, 0x1003f660c\nMOV             X1, X0                                                 ; +0x34, 0x1003f6610\nLDR             X8, [X21]                                              ; +0x38, 0x1003f6614\nLDR             X8, [X8,#0x1C8]                                        ; +0x3c, 0x1003f6618\nMOV             X0, X21                                                ; +0x40, 0x1003f661c\nBLR             X8                                                     ; +0x44, 0x1003f6620\nMOV             W8, #6                                                 ; +0x48, 0x1003f6624\nSTR             W8, [X21,#0x1C]                                        ; +0x4c, 0x1003f6628\nMOV             X0, X21                                                ; +0x50, 0x1003f662c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x1003f6630\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x1003f6634\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x1003f6638\nRET                                                                    ; +0x60, 0x1003f663c", "xrefs": ["sub_10002A588 @ 0x10002a660", "EditLevelLayer::onEdit @ 0x1001102e0", "sub_1002A65BC @ 0x1002a65ec"], "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"}