{"type": "func", "start": 4295930316, "end": 4295930468, "name": "EditLevelLayer::confirmClone", "pseudocode": "// \n// EditLevelLayer::confirmClone from 0x1000eb1cc to 0x1000eb264 (152 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1000e9a7c\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::confirmClone(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, \"Create a <cl>copy</c> of this <cg>level</c>?\");\n  v3 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Clone Level\", __p, \"NO\", \"YES\", 300.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 7);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);\n}", "assembly": "; \n; EditLevelLayer::confirmClone from 0x1000eb1cc to 0x1000eb264 (152 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1000e9a7c\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, 0x1000eb1cc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000eb1d0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000eb1d4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000eb1d8\nMOV             X19, X0                                                ; +0x10, 0x1000eb1dc\nADRL            X1, aCreateAClCopyC; \"Create a <cl>copy</c> of this <cg>level\"... ; +0x14, 0x1000eb1e0\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x1000eb1e8\nBL              sub_100009900                                          ; +0x20, 0x1000eb1ec\nADRL            X1, aCloneLevel; \"Clone Level\"                         ; +0x24, 0x1000eb1f0\nADRL            X3, aNo; \"NO\"                                          ; +0x2c, 0x1000eb1f8\nADRL            X4, aYes; \"YES\"                                        ; +0x34, 0x1000eb200\nMOV             W8, #0x43960000                                        ; +0x3c, 0x1000eb208\nFMOV            S0, W8                                                 ; +0x40, 0x1000eb20c\nADD             X0, X19, #0x1A0                                        ; +0x44, 0x1000eb210\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x1000eb214\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x1000eb218\nMOV             X19, X0                                                ; +0x50, 0x1000eb21c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x1000eb220\nTBZ             W8, #0x1F, loc_1000EB230                               ; +0x58, 0x1000eb224\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x1000eb228\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1000eb22c\nLDR             X8, [X19]                                              ; +0x64, 0x1000eb230\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x1000eb234\nMOV             X0, X19                                                ; +0x6c, 0x1000eb238\nMOV             W1, #7                                                 ; +0x70, 0x1000eb23c\nBLR             X8                                                     ; +0x74, 0x1000eb240\nLDR             X8, [X19]                                              ; +0x78, 0x1000eb244\nLDR             X8, [X8,#0x508]                                        ; +0x7c, 0x1000eb248\nMOV             X0, X19                                                ; +0x80, 0x1000eb24c\nBLR             X8                                                     ; +0x84, 0x1000eb250\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x1000eb254\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x1000eb258\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x1000eb25c\nRET                                                                    ; +0x94, 0x1000eb260", "xrefs": ["EditLevelLayer::init @ 0x1000e9a7c"], "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"}