{"type": "func", "start": 5371887856, "end": 5371888089, "name": "LevelListLayer::confirmClone", "pseudocode": "// \n// LevelListLayer::confirmClone from 0x1403080f0 to 0x1403081d9 (233 bytes)\n// \n// 3 xrefs:\n// > LevelListLayer::init @ 0x140304721\n// > LevelListLayer::init @ 0x140304ca0\n// > <???> @ 0x1406d4574\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\n// Hidden C++ exception states: #wind=1\nvoid LevelListLayer::confirmClone(LevelListLayer *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebx\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !a1->m_exiting )\n  {\n    v2 = (_DWORD)a1 + 552;\n    if ( !a1 )\n      v2 = 0;\n    v5 = 0;\n    v6 = 0;\n    v7 = 0;\n    sub_14003A930(&v5, \"Create a <cl>copy</c> of this <cl>list</c>?\", 0x2Bu);\n    v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n    v4 = FLAlertLayer::create(\n           v2,\n           (int)\"Clone List\",\n           v3,\n           (__int64)&unk_140547160,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003A830((__int64)&v5);\n    v4->setTag(v4, 1005);\n    v4->show(v4);\n  }\n}", "assembly": "; \n; LevelListLayer::confirmClone from 0x1403080f0 to 0x1403081d9 (233 bytes)\n; \n; 3 xrefs:\n; > LevelListLayer::init @ 0x140304721\n; > LevelListLayer::init @ 0x140304ca0\n; > <???> @ 0x1406d4574\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    rbx                                                            ; +0x0, 0x1403080f0\nsub     rsp, 90h                                                       ; +0x2, 0x1403080f2\ncmp     byte ptr [rcx+398h], 0                                         ; +0x9, 0x1403080f9\njnz     loc_1403081D0                                                  ; +0x10, 0x140308100\nlea     rbx, [rcx+228h]                                                ; +0x16, 0x140308106\nxor     eax, eax                                                       ; +0x1d, 0x14030810d\ntest    rcx, rcx                                                       ; +0x1f, 0x14030810f\ncmovz   rbx, rax                                                       ; +0x22, 0x140308112\nxorps   xmm0, xmm0                                                     ; +0x26, 0x140308116\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x29, 0x140308119\nmov     [rsp+98h+var_38], rax                                          ; +0x2e, 0x14030811e\nmov     [rsp+98h+var_30], rax                                          ; +0x33, 0x140308123\nlea     r8d, [rax+2Bh]                                                 ; +0x38, 0x140308128\nlea     rdx, aCreateAClCopyC_0; \"Create a <cl>copy</c> of this <cl>list<\"... ; +0x3c, 0x14030812c\nlea     rcx, [rsp+98h+var_48]                                          ; +0x43, 0x140308133\ncall    sub_14003A930                                                  ; +0x48, 0x140308138\nlea     rax, [rsp+98h+var_48]                                          ; +0x4d, 0x14030813d\nmov     [rsp+98h+arg_0], rax                                           ; +0x52, 0x140308142\nlea     rdx, [rsp+98h+var_48]                                          ; +0x5a, 0x14030814a\nlea     rcx, [rsp+98h+var_28]                                          ; +0x5f, 0x14030814f\ncall    sub_14003BDB0                                                  ; +0x64, 0x140308154\nmovss   xmm0, cs:flt_140622C24                                         ; +0x69, 0x140308159\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x71, 0x140308161\nxorps   xmm1, xmm1                                                     ; +0x77, 0x140308167\nmovss   [rsp+98h+var_60], xmm1                                         ; +0x7a, 0x14030816a\nmov     [rsp+98h+var_68], 0                                            ; +0x80, 0x140308170\nmovss   xmm0, cs:dword_14062343C                                       ; +0x85, 0x140308175\nmovss   [rsp+98h+var_70], xmm0                                         ; +0x8d, 0x14030817d\nlea     rcx, aYes_0; \"YES\"                                             ; +0x93, 0x140308183\nmov     [rsp+98h+var_78], rcx                                          ; +0x9a, 0x14030818a\nlea     r9, unk_140547160                                              ; +0x9f, 0x14030818f\nmov     r8, rax                                                        ; +0xa6, 0x140308196\nlea     rdx, aCloneList; \"Clone List\"                                  ; +0xa9, 0x140308199\nmov     rcx, rbx                                                       ; +0xb0, 0x1403081a0\ncall    FLAlertLayer__create                                           ; +0xb3, 0x1403081a3\nmov     rbx, rax                                                       ; +0xb8, 0x1403081a8\nlea     rcx, [rsp+98h+var_48]                                          ; +0xbb, 0x1403081ab\ncall    sub_14003A830                                                  ; +0xc0, 0x1403081b0\nmov     r8, [rbx]                                                      ; +0xc5, 0x1403081b5\nmov     edx, 3EDh                                                      ; +0xc8, 0x1403081b8\nmov     rcx, rbx                                                       ; +0xcd, 0x1403081bd\ncall    qword ptr [r8+40h]                                             ; +0xd0, 0x1403081c0\nmov     rdx, [rbx]                                                     ; +0xd4, 0x1403081c4\nmov     rcx, rbx                                                       ; +0xd7, 0x1403081c7\ncall    qword ptr [rdx+410h]                                           ; +0xda, 0x1403081ca\nadd     rsp, 90h                                                       ; +0xe0, 0x1403081d0\npop     rbx                                                            ; +0xe7, 0x1403081d7\nretn                                                                   ; +0xe8, 0x1403081d8", "xrefs": ["LevelListLayer::init @ 0x140304721", "LevelListLayer::init @ 0x140304ca0", "<???> @ 0x1406d4574"], "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"}