{"type": "func", "start": 4300265760, "end": 4300265929, "name": "CreateGuidelinesLayer::onClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::onClearGuidelines from 0x10050d920 to 0x10050d9c9 (169 bytes)\n// \n// 1 xrefs:\n// > CreateGuidelinesLayer::init @ 0x10050cff3\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 12:31:35 +0000\n// \n\n__int64 __fastcall CreateGuidelinesLayer::onClearGuidelines(__int64 a1)\n{\n  __int64 v1; // rbx\n  __int128 v3; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x30u);\n  *(_QWORD *)&v3 = 49;\n  *((_QWORD *)&v3 + 1) = 46;\n  strcpy((char *)__p, \"<cr>Delete</c> the current <cl>guidelines</c>?\");\n  v1 = sub_100493AB0(a1 + 664, (__int64)\"Clear Guidelines\", &v3, (__int64)\"No\", (__int64)\"Yes\");\n  if ( (v3 & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 72LL))(v1, 1);\n  return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);\n}", "assembly": "; \n; CreateGuidelinesLayer::onClearGuidelines from 0x10050d920 to 0x10050d9c9 (169 bytes)\n; \n; 1 xrefs:\n; > CreateGuidelinesLayer::init @ 0x10050cff3\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 12:31:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x10050d920\nmov     rbp, rsp                                                       ; +0x1, 0x10050d921\npush    rbx                                                            ; +0x4, 0x10050d924\nsub     rsp, 18h                                                       ; +0x5, 0x10050d925\nmov     rbx, rdi                                                       ; +0x9, 0x10050d929\nadd     rbx, 298h                                                      ; +0xc, 0x10050d92c\nmov     edi, 30h ; '0'; __sz                                           ; +0x13, 0x10050d933\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x10050d938\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x10050d93d\nmov     [rbp+var_20], 31h ; '1'                                        ; +0x21, 0x10050d941\nmov     [rbp+var_18], 2Eh ; '.'                                        ; +0x29, 0x10050d949\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu+1Eh; \">guidelines</c>?\"   ; +0x31, 0x10050d951\nmovups  xmmword ptr [rax+1Eh], xmm0                                    ; +0x38, 0x10050d958\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu+10h; \"he current <cl>guidelines</c>?\" ; +0x3c, 0x10050d95c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x43, 0x10050d963\nmovups  xmm0, xmmword ptr cs:aCrDeleteCTheCu; \"<cr>Delete</c> the current <cl>guidelin\"... ; +0x47, 0x10050d967\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4e, 0x10050d96e\nmov     byte ptr [rax+2Eh], 0                                          ; +0x51, 0x10050d971\nlea     rsi, aClearGuideline; \"Clear Guidelines\"                       ; +0x55, 0x10050d975\nlea     rcx, aNo_0; \"No\"                                               ; +0x5c, 0x10050d97c\nlea     r8, aYes; \"Yes\"                                                ; +0x63, 0x10050d983\nlea     rdx, [rbp+var_20]                                              ; +0x6a, 0x10050d98a\nmov     rdi, rbx                                                       ; +0x6e, 0x10050d98e\ncall    sub_100493AB0                                                  ; +0x71, 0x10050d991\nmov     rbx, rax                                                       ; +0x76, 0x10050d996\ntest    byte ptr [rbp+var_20], 1                                       ; +0x79, 0x10050d999\njz      short loc_10050D9A8                                            ; +0x7d, 0x10050d99d\nmov     rdi, [rbp+__p]; __p                                            ; +0x7f, 0x10050d99f\ncall    __ZdlPv; operator delete(void *)                               ; +0x83, 0x10050d9a3\nmov     rax, [rbx]                                                     ; +0x88, 0x10050d9a8\nmov     rdi, rbx                                                       ; +0x8b, 0x10050d9ab\nmov     esi, 1                                                         ; +0x8e, 0x10050d9ae\ncall    qword ptr [rax+48h]                                            ; +0x93, 0x10050d9b3\nmov     rax, [rbx]                                                     ; +0x96, 0x10050d9b6\nmov     rdi, rbx                                                       ; +0x99, 0x10050d9b9\ncall    qword ptr [rax+520h]                                           ; +0x9c, 0x10050d9bc\nadd     rsp, 18h                                                       ; +0xa2, 0x10050d9c2\npop     rbx                                                            ; +0xa6, 0x10050d9c6\npop     rbp                                                            ; +0xa7, 0x10050d9c7\nretn                                                                   ; +0xa8, 0x10050d9c8", "xrefs": ["CreateGuidelinesLayer::init @ 0x10050cff3"], "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"}