{"type": "func", "start": 4295930496, "end": 4295930648, "name": "EditLevelLayer::confirmMoveToTop", "pseudocode": "// \n// EditLevelLayer::confirmMoveToTop from 0x1000eb280 to 0x1000eb318 (152 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1000e9b04\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\nvoid __fastcall EditLevelLayer::confirmMoveToTop(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"Move this level to the top of the created levels list?\");\n  v3 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Move to Top\", __p, \"NO\", \"YES\", 300.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 8);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);\n}", "assembly": "; \n; EditLevelLayer::confirmMoveToTop from 0x1000eb280 to 0x1000eb318 (152 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1000e9b04\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000eb280\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000eb284\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000eb288\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000eb28c\nMOV             X19, X0                                                ; +0x10, 0x1000eb290\nADRL            X1, aMoveThisLevelT_1; \"Move this level to the top of the creat\"... ; +0x14, 0x1000eb294\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x1000eb29c\nBL              sub_100009900                                          ; +0x20, 0x1000eb2a0\nADRL            X1, aMoveToTop; \"Move to Top\"                          ; +0x24, 0x1000eb2a4\nADRL            X3, aNo; \"NO\"                                          ; +0x2c, 0x1000eb2ac\nADRL            X4, aYes; \"YES\"                                        ; +0x34, 0x1000eb2b4\nMOV             W8, #0x43960000                                        ; +0x3c, 0x1000eb2bc\nFMOV            S0, W8                                                 ; +0x40, 0x1000eb2c0\nADD             X0, X19, #0x1A0                                        ; +0x44, 0x1000eb2c4\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x1000eb2c8\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x1000eb2cc\nMOV             X19, X0                                                ; +0x50, 0x1000eb2d0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x1000eb2d4\nTBZ             W8, #0x1F, loc_1000EB2E4                               ; +0x58, 0x1000eb2d8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x1000eb2dc\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1000eb2e0\nLDR             X8, [X19]                                              ; +0x64, 0x1000eb2e4\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x1000eb2e8\nMOV             X0, X19                                                ; +0x6c, 0x1000eb2ec\nMOV             W1, #8                                                 ; +0x70, 0x1000eb2f0\nBLR             X8                                                     ; +0x74, 0x1000eb2f4\nLDR             X8, [X19]                                              ; +0x78, 0x1000eb2f8\nLDR             X8, [X8,#0x508]                                        ; +0x7c, 0x1000eb2fc\nMOV             X0, X19                                                ; +0x80, 0x1000eb300\nBLR             X8                                                     ; +0x84, 0x1000eb304\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x1000eb308\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x1000eb30c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x1000eb310\nRET                                                                    ; +0x94, 0x1000eb314", "xrefs": ["EditLevelLayer::init @ 0x1000e9b04"], "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"}