{"type": "func", "start": 4300269296, "end": 4300269444, "name": "CreateGuidelinesLayer::FLAlert_Clicked", "pseudocode": "// \n// CreateGuidelinesLayer::FLAlert_Clicked from 0x10050e6f0 to 0x10050e784 (148 bytes)\n// \n// 3 xrefs:\n// > sub_10050E7A0 @ 0x10050e7ac\n// > <???> @ 0x100b68b00\n// > <???> @ 0x100b692c8\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\nchar __fastcall CreateGuidelinesLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // rdi\n  __int64 v6; // rax\n  std::string __str; // [rsp+8h] [rbp-28h] BYREF\n\n  LOBYTE(v4) = a3 ^ 1 | ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 1);\n  if ( !(_BYTE)v4 )\n  {\n    LOBYTE(v4) = (*(__int64 (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))(\n                   *(_QWORD *)(a1 + 704),\n                   \"Guidelines cleared\");\n    v5 = *(_QWORD *)(a1 + 672);\n    if ( v5 )\n    {\n      v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 24LL))(v5);\n      *(_WORD *)&__str.__r_.__value_.__l.0 = 0;\n      std::string::operator=((std::string *)(v6 + 392), &__str);\n      if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )\n        operator delete(__str.__r_.__value_.__l.__data_);\n      v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672));\n      *(_BYTE *)(v4 + 416) = 1;\n    }\n  }\n  return v4;\n}", "assembly": "; \n; CreateGuidelinesLayer::FLAlert_Clicked from 0x10050e6f0 to 0x10050e784 (148 bytes)\n; \n; 3 xrefs:\n; > sub_10050E7A0 @ 0x10050e7ac\n; > <???> @ 0x100b68b00\n; > <???> @ 0x100b692c8\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, 0x10050e6f0\nmov     rbp, rsp                                                       ; +0x1, 0x10050e6f1\npush    r14                                                            ; +0x4, 0x10050e6f4\npush    rbx                                                            ; +0x6, 0x10050e6f6\nsub     rsp, 20h                                                       ; +0x7, 0x10050e6f7\nmov     r14d, edx                                                      ; +0xb, 0x10050e6fb\nmov     rbx, rdi                                                       ; +0xe, 0x10050e6fe\nxor     r14b, 1                                                        ; +0x11, 0x10050e701\nmov     rax, [rsi]                                                     ; +0x15, 0x10050e705\nmov     rdi, rsi                                                       ; +0x18, 0x10050e708\ncall    qword ptr [rax+40h]                                            ; +0x1b, 0x10050e70b\ncmp     eax, 1                                                         ; +0x1e, 0x10050e70e\nsetnz   al                                                             ; +0x21, 0x10050e711\nor      al, r14b                                                       ; +0x24, 0x10050e714\njnz     short loc_10050E77B                                            ; +0x27, 0x10050e717\nmov     rdi, [rbx+2C0h]                                                ; +0x29, 0x10050e719\nmov     rax, [rdi]                                                     ; +0x30, 0x10050e720\nlea     rsi, aGuidelinesClea; \"Guidelines cleared\"                     ; +0x33, 0x10050e723\ncall    qword ptr [rax+3A0h]                                           ; +0x3a, 0x10050e72a\nmov     rdi, [rbx+2A0h]                                                ; +0x40, 0x10050e730\ntest    rdi, rdi                                                       ; +0x47, 0x10050e737\njz      short loc_10050E77B                                            ; +0x4a, 0x10050e73a\nmov     rax, [rdi]                                                     ; +0x4c, 0x10050e73c\ncall    qword ptr [rax+18h]                                            ; +0x4f, 0x10050e73f\nmov     word ptr [rbp+__str.__r_.__value_], 0                          ; +0x52, 0x10050e742\nlea     rdi, [rax+188h]; this                                          ; +0x58, 0x10050e748\nlea     rsi, [rbp+__str]; __str                                        ; +0x5f, 0x10050e74f\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x63, 0x10050e753\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0x68, 0x10050e758\njz      short loc_10050E767                                            ; +0x6c, 0x10050e75c\nmov     rdi, qword ptr [rbp+__str.__r_.__value_+10h]; __p              ; +0x6e, 0x10050e75e\ncall    __ZdlPv; operator delete(void *)                               ; +0x72, 0x10050e762\nmov     rdi, [rbx+2A0h]                                                ; +0x77, 0x10050e767\nmov     rax, [rdi]                                                     ; +0x7e, 0x10050e76e\ncall    qword ptr [rax+18h]                                            ; +0x81, 0x10050e771\nmov     byte ptr [rax+1A0h], 1                                         ; +0x84, 0x10050e774\nadd     rsp, 20h                                                       ; +0x8b, 0x10050e77b\npop     rbx                                                            ; +0x8f, 0x10050e77f\npop     r14                                                            ; +0x90, 0x10050e780\npop     rbp                                                            ; +0x92, 0x10050e782\nretn                                                                   ; +0x93, 0x10050e783", "xrefs": ["sub_10050E7A0 @ 0x10050e7ac", "<???> @ 0x100b68b00", "<???> @ 0x100b692c8"], "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"}