{"type": "func", "start": 4297051632, "end": 4297051809, "name": "EditLevelLayer::confirmClone", "pseudocode": "// \n// EditLevelLayer::confirmClone from 0x1001fcdf0 to 0x1001fcea1 (177 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::init @ 0x1001fb557\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 v2; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x30u);\n  v3[0] = 49;\n  v3[1] = 44;\n  strcpy((char *)__p, \"Create a <cl>copy</c> of this <cg>level</c>?\");\n  v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Clone Level\", v3, \"NO\", \"YES\", 300.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 7);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; EditLevelLayer::confirmClone from 0x1001fcdf0 to 0x1001fcea1 (177 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::init @ 0x1001fb557\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\npush    rbp                                                            ; +0x0, 0x1001fcdf0\nmov     rbp, rsp                                                       ; +0x1, 0x1001fcdf1\npush    rbx                                                            ; +0x4, 0x1001fcdf4\nsub     rsp, 18h                                                       ; +0x5, 0x1001fcdf5\nmov     rbx, rdi                                                       ; +0x9, 0x1001fcdf9\nadd     rbx, 1A0h                                                      ; +0xc, 0x1001fcdfc\nmov     edi, 30h ; '0'; __sz                                           ; +0x13, 0x1001fce03\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1001fce08\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1001fce0d\nmov     [rbp+var_20], 31h ; '1'                                        ; +0x21, 0x1001fce11\nmov     [rbp+var_18], 2Ch ; ','                                        ; +0x29, 0x1001fce19\nmovups  xmm0, xmmword ptr cs:aCreateAClCopyC+1Ch; \"s <cg>level</c>?\"   ; +0x31, 0x1001fce21\nmovups  xmmword ptr [rax+1Ch], xmm0                                    ; +0x38, 0x1001fce28\nmovups  xmm0, xmmword ptr cs:aCreateAClCopyC+10h; \"y</c> of this <cg>level</c>?\" ; +0x3c, 0x1001fce2c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x43, 0x1001fce33\nmovups  xmm0, xmmword ptr cs:aCreateAClCopyC; \"Create a <cl>copy</c> of this <cg>level\"... ; +0x47, 0x1001fce37\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4e, 0x1001fce3e\nmov     byte ptr [rax+2Ch], 0                                          ; +0x51, 0x1001fce41\nlea     rsi, aCloneLevel; \"Clone Level\"                                ; +0x55, 0x1001fce45\nlea     rcx, aNo; \"NO\"                                                 ; +0x5c, 0x1001fce4c\nlea     r8, aYes_0; \"YES\"                                              ; +0x63, 0x1001fce53\nlea     rdx, [rbp+var_20]                                              ; +0x6a, 0x1001fce5a\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x6e, 0x1001fce5e\nmov     rdi, rbx                                                       ; +0x76, 0x1001fce66\ncall    FLAlertLayer__create_1                                         ; +0x79, 0x1001fce69\nmov     rbx, rax                                                       ; +0x7e, 0x1001fce6e\ntest    byte ptr [rbp+var_20], 1                                       ; +0x81, 0x1001fce71\njz      short loc_1001FCE80                                            ; +0x85, 0x1001fce75\nmov     rdi, [rbp+__p]; __p                                            ; +0x87, 0x1001fce77\ncall    __ZdlPv; operator delete(void *)                               ; +0x8b, 0x1001fce7b\nmov     rax, [rbx]                                                     ; +0x90, 0x1001fce80\nmov     rdi, rbx                                                       ; +0x93, 0x1001fce83\nmov     esi, 7                                                         ; +0x96, 0x1001fce86\ncall    qword ptr [rax+48h]                                            ; +0x9b, 0x1001fce8b\nmov     rax, [rbx]                                                     ; +0x9e, 0x1001fce8e\nmov     rdi, rbx                                                       ; +0xa1, 0x1001fce91\ncall    qword ptr [rax+508h]                                           ; +0xa4, 0x1001fce94\nadd     rsp, 18h                                                       ; +0xaa, 0x1001fce9a\npop     rbx                                                            ; +0xae, 0x1001fce9e\npop     rbp                                                            ; +0xaf, 0x1001fce9f\nretn                                                                   ; +0xb0, 0x1001fcea0", "xrefs": ["EditLevelLayer::init @ 0x1001fb557"], "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"}