{"type": "func", "start": 5369970768, "end": 5369971067, "name": "CreateGuidelinesLayer::onClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::onClearGuidelines from 0x140134050 to 0x14013417b (299 bytes)\n// \n// 3 xrefs:\n// > CreateGuidelinesLayer::init @ 0x140133717\n// > <???> @ 0x140916fd0\n// > <???> @ 0x140916fdc\n// \n// This function is hookable on this platform (idp: pc, 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:27:04 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall CreateGuidelinesLayer::onClearGuidelines(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // 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  v1 = a1 + 664;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x30u);\n  v6 = 46;\n  v7 = 47;\n  strcpy((char *)v5, \"<cr>Delete</c> the current <cl>guidelines</c>?\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)\"Clear Guidelines\",\n         v2,\n         (__int64)\"No\",\n         (__int64)\"Yes\",\n         1132068864,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 1);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; CreateGuidelinesLayer::onClearGuidelines from 0x140134050 to 0x14013417b (299 bytes)\n; \n; 3 xrefs:\n; > CreateGuidelinesLayer::init @ 0x140133717\n; > <???> @ 0x140916fd0\n; > <???> @ 0x140916fdc\n; \n; This function is hookable on this platform (idp: pc, 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:27:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x140134050\nsub     rsp, 90h                                                       ; +0x2, 0x140134052\nlea     rbx, [rcx+298h]                                                ; +0x9, 0x140134059\nxor     eax, eax                                                       ; +0x10, 0x140134060\ntest    rcx, rcx                                                       ; +0x12, 0x140134062\ncmovz   rbx, rax                                                       ; +0x15, 0x140134065\nxorps   xmm0, xmm0                                                     ; +0x19, 0x140134069\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x14013406c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x140134071\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x140134076\nmov     ecx, 30h ; '0'                                                 ; +0x2b, 0x14013407b\ncall    sub_14003D460                                                  ; +0x30, 0x140134080\nmov     rdx, rax                                                       ; +0x35, 0x140134085\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x38, 0x140134088\nmov     [rsp+98h+var_38], 2Eh ; '.'                                    ; +0x3d, 0x14013408d\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x46, 0x140134096\nmovups  xmm0, cs:xmmword_140736DB8                                     ; +0x4f, 0x14013409f\nmovups  xmmword ptr [rax], xmm0                                        ; +0x56, 0x1401340a6\nmovups  xmm1, cs:xmmword_140736DC8                                     ; +0x59, 0x1401340a9\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x60, 0x1401340b0\nmovsd   xmm0, cs:qword_140736DD8                                       ; +0x64, 0x1401340b4\nmovsd   qword ptr [rax+20h], xmm0                                      ; +0x6c, 0x1401340bc\nmov     ecx, cs:dword_140736DE0                                        ; +0x71, 0x1401340c1\nmov     [rax+28h], ecx                                                 ; +0x77, 0x1401340c7\nmovzx   eax, cs:word_140736DE4                                         ; +0x7a, 0x1401340ca\nmov     [rdx+2Ch], ax                                                  ; +0x81, 0x1401340d1\nmov     byte ptr [rdx+2Eh], 0                                          ; +0x85, 0x1401340d5\nlea     rax, [rsp+98h+var_48]                                          ; +0x89, 0x1401340d9\nmov     [rsp+98h+arg_0], rax                                           ; +0x8e, 0x1401340de\nlea     rdx, [rsp+98h+var_48]                                          ; +0x96, 0x1401340e6\nlea     rcx, [rsp+98h+var_28]                                          ; +0x9b, 0x1401340eb\ncall    sub_14003F4F0                                                  ; +0xa0, 0x1401340f0\nmovss   xmm0, cs:flt_140835080                                         ; +0xa5, 0x1401340f5\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xad, 0x1401340fd\nxorps   xmm1, xmm1                                                     ; +0xb3, 0x140134103\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xb6, 0x140134106\nmov     [rsp+98h+var_68], 0                                            ; +0xbc, 0x14013410c\nmovss   xmm0, cs:dword_14083595C                                       ; +0xc1, 0x140134111\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xc9, 0x140134119\nlea     rcx, aYes; \"Yes\"                                               ; +0xcf, 0x14013411f\nmov     [rsp+98h+var_78], rcx                                          ; +0xd6, 0x140134126\nlea     r9, aNo; \"No\"                                                  ; +0xdb, 0x14013412b\nmov     r8, rax                                                        ; +0xe2, 0x140134132\nlea     rdx, aClearGuideline; \"Clear Guidelines\"                       ; +0xe5, 0x140134135\nmov     rcx, rbx                                                       ; +0xec, 0x14013413c\ncall    FLAlertLayer__create                                           ; +0xef, 0x14013413f\nmov     rbx, rax                                                       ; +0xf4, 0x140134144\nlea     rcx, [rsp+98h+var_48]                                          ; +0xf7, 0x140134147\ncall    sub_14003D310                                                  ; +0xfc, 0x14013414c\nmov     rcx, [rbx]                                                     ; +0x101, 0x140134151\nmov     r8, [rcx+40h]                                                  ; +0x104, 0x140134154\nmov     edx, 1                                                         ; +0x108, 0x140134158\nmov     rcx, rbx                                                       ; +0x10d, 0x14013415d\ncall    r8                                                             ; +0x110, 0x140134160\nmov     rcx, [rbx]                                                     ; +0x113, 0x140134163\nmov     rdx, [rcx+428h]                                                ; +0x116, 0x140134166\nmov     rcx, rbx                                                       ; +0x11d, 0x14013416d\ncall    rdx                                                            ; +0x120, 0x140134170\nadd     rsp, 90h                                                       ; +0x122, 0x140134172\npop     rbx                                                            ; +0x129, 0x140134179\nretn                                                                   ; +0x12a, 0x14013417a", "xrefs": ["CreateGuidelinesLayer::init @ 0x140133717", "<???> @ 0x140916fd0", "<???> @ 0x140916fdc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}