{"type": "func", "start": 4300266256, "end": 4300266373, "name": "CreateGuidelinesLayer::doClearGuidelines", "pseudocode": "// \n// CreateGuidelinesLayer::doClearGuidelines from 0x10050db10 to 0x10050db85 (117 bytes)\n// \n// 0 xrefs:\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::doClearGuidelines(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  __int64 v4; // rax\n  std::string __str; // [rsp+0h] [rbp-20h] BYREF\n\n  result = (*(__int64 (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))(\n             *(_QWORD *)(a1 + 704),\n             \"Guidelines cleared\");\n  v3 = *(_QWORD *)(a1 + 672);\n  if ( v3 )\n  {\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 24LL))(v3);\n    *(_WORD *)&__str.__r_.__value_.__l.0 = 0;\n    std::string::operator=((std::string *)(v4 + 392), &__str);\n    if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )\n      operator delete(__str.__r_.__value_.__l.__data_);\n    result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672));\n    *(_BYTE *)(result + 416) = 1;\n  }\n  return result;\n}", "assembly": "; \n; CreateGuidelinesLayer::doClearGuidelines from 0x10050db10 to 0x10050db85 (117 bytes)\n; \n; 0 xrefs:\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, 0x10050db10\nmov     rbp, rsp                                                       ; +0x1, 0x10050db11\npush    rbx                                                            ; +0x4, 0x10050db14\nsub     rsp, 18h                                                       ; +0x5, 0x10050db15\nmov     rbx, rdi                                                       ; +0x9, 0x10050db19\nmov     rdi, [rdi+2C0h]                                                ; +0xc, 0x10050db1c\nmov     rax, [rdi]                                                     ; +0x13, 0x10050db23\nlea     rsi, aGuidelinesClea; \"Guidelines cleared\"                     ; +0x16, 0x10050db26\ncall    qword ptr [rax+3A0h]                                           ; +0x1d, 0x10050db2d\nmov     rdi, [rbx+2A0h]                                                ; +0x23, 0x10050db33\ntest    rdi, rdi                                                       ; +0x2a, 0x10050db3a\njz      short loc_10050DB7E                                            ; +0x2d, 0x10050db3d\nmov     rax, [rdi]                                                     ; +0x2f, 0x10050db3f\ncall    qword ptr [rax+18h]                                            ; +0x32, 0x10050db42\nmov     word ptr [rbp+__str.__r_.__value_], 0                          ; +0x35, 0x10050db45\nlea     rdi, [rax+188h]; this                                          ; +0x3b, 0x10050db4b\nlea     rsi, [rbp+__str]; __str                                        ; +0x42, 0x10050db52\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x46, 0x10050db56\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0x4b, 0x10050db5b\njz      short loc_10050DB6A                                            ; +0x4f, 0x10050db5f\nmov     rdi, qword ptr [rbp+__str.__r_.__value_+10h]; __p              ; +0x51, 0x10050db61\ncall    __ZdlPv; operator delete(void *)                               ; +0x55, 0x10050db65\nmov     rdi, [rbx+2A0h]                                                ; +0x5a, 0x10050db6a\nmov     rax, [rdi]                                                     ; +0x61, 0x10050db71\ncall    qword ptr [rax+18h]                                            ; +0x64, 0x10050db74\nmov     byte ptr [rax+1A0h], 1                                         ; +0x67, 0x10050db77\nadd     rsp, 18h                                                       ; +0x6e, 0x10050db7e\npop     rbx                                                            ; +0x72, 0x10050db82\npop     rbp                                                            ; +0x73, 0x10050db83\nretn                                                                   ; +0x74, 0x10050db84", "xrefs": [], "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"}