{"type": "func", "start": 4299694252, "end": 4299694328, "name": "LevelSelectLayer::scene", "pseudocode": "// \n// LevelSelectLayer::scene from 0x1004820ac to 0x1004820f8 (76 bytes)\n// \n// 4 xrefs:\n// > MenuLayer::onPlay @ 0x100304cf4\n// > GameManager::returnToLastScene @ 0x1003bb3b0\n// > sub_1003E2E3C @ 0x1003e2e84\n// > sub_1003F471C @ 0x1003f4768\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:05:47 +0000\n// \n\n_QWORD *__fastcall LevelSelectLayer::scene(__int64 a1)\n{\n  _QWORD *v2; // x20\n  __int64 v3; // x1\n  __int64 v4; // x0\n\n  v2 = cocos2d::CCScene::create();\n  *(_QWORD *)(AppDelegate::get((__int64)v2, v3) + 24) = v2;\n  v4 = LevelSelectLayer::create(a1);\n  (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 456LL))(v2, v4);\n  return v2;\n}", "assembly": "; \n; LevelSelectLayer::scene from 0x1004820ac to 0x1004820f8 (76 bytes)\n; \n; 4 xrefs:\n; > MenuLayer::onPlay @ 0x100304cf4\n; > GameManager::returnToLastScene @ 0x1003bb3b0\n; > sub_1003E2E3C @ 0x1003e2e84\n; > sub_1003F471C @ 0x1003f4768\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:05:47 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004820ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004820b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004820b4\nMOV             X19, X0                                                ; +0xc, 0x1004820b8\nBL              cocos2d__CCScene__create                               ; +0x10, 0x1004820bc\nMOV             X20, X0                                                ; +0x14, 0x1004820c0\nBL              AppDelegate__get                                       ; +0x18, 0x1004820c4\nSTR             X20, [X0,#0x18]                                        ; +0x1c, 0x1004820c8\nMOV             X0, X19                                                ; +0x20, 0x1004820cc\nBL              LevelSelectLayer__create                               ; +0x24, 0x1004820d0\nMOV             X1, X0                                                 ; +0x28, 0x1004820d4\nLDR             X8, [X20]                                              ; +0x2c, 0x1004820d8\nLDR             X8, [X8,#0x1C8]                                        ; +0x30, 0x1004820dc\nMOV             X0, X20                                                ; +0x34, 0x1004820e0\nBLR             X8                                                     ; +0x38, 0x1004820e4\nMOV             X0, X20                                                ; +0x3c, 0x1004820e8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1004820ec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1004820f0\nRET                                                                    ; +0x48, 0x1004820f4", "xrefs": ["MenuLayer::onPlay @ 0x100304cf4", "GameManager::returnToLastScene @ 0x1003bb3b0", "sub_1003E2E3C @ 0x1003e2e84", "sub_1003F471C @ 0x1003f4768"], "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"}