{"type": "func", "start": 5369973632, "end": 5369973853, "name": "CreateGuidelinesLayer::FLAlert_Clicked", "pseudocode": "// \n// CreateGuidelinesLayer::FLAlert_Clicked from 0x140134b80 to 0x140134c5d (221 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140736128\n// > <???> @ 0x140736138\n// > <???> @ 0x14091706c\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=2\n__int64 __fastcall CreateGuidelinesLayer::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 result; // rax\n  __int64 v6; // rcx\n  void **v7; // rcx\n  void **v8; // rdx\n  void *Src[2]; // [rsp+20h] [rbp-28h] BYREF\n  size_t Size; // [rsp+30h] [rbp-18h]\n  unsigned __int64 v11; // [rsp+38h] [rbp-10h]\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  if ( (_DWORD)result == 1 )\n  {\n    if ( a3 )\n    {\n      result = (**(__int64 (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 40) + 360LL))(\n                 *(_QWORD *)(a1 + 40) + 360LL,\n                 \"Guidelines cleared\");\n      v6 = *(_QWORD *)(a1 + 8);\n      if ( v6 )\n      {\n        *(_OWORD *)Src = 0;\n        Size = 0;\n        v11 = 15;\n        LOBYTE(Src[0]) = 0;\n        v7 = (void **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 24LL))(v6) + 392);\n        if ( v7 != Src )\n        {\n          v8 = Src;\n          if ( v11 > 0xF )\n            v8 = (void **)Src[0];\n          sub_1400405A0(v7, v8, Size);\n        }\n        sub_14003D310((__int64)Src);\n        result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 24LL))(*(_QWORD *)(a1 + 8));\n        *(_BYTE *)(result + 424) = 1;\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreateGuidelinesLayer::FLAlert_Clicked from 0x140134b80 to 0x140134c5d (221 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140736128\n; > <???> @ 0x140736138\n; > <???> @ 0x14091706c\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140134b80\npush    rdi                                                            ; +0x5, 0x140134b85\nsub     rsp, 40h                                                       ; +0x6, 0x140134b86\nmovzx   edi, r8b                                                       ; +0xa, 0x140134b8a\nmov     rbx, rcx                                                       ; +0xe, 0x140134b8e\nmov     rax, [rdx]                                                     ; +0x11, 0x140134b91\nmov     rcx, rdx                                                       ; +0x14, 0x140134b94\ncall    qword ptr [rax+38h]                                            ; +0x17, 0x140134b97\ncmp     eax, 1                                                         ; +0x1a, 0x140134b9a\njnz     loc_140134C52                                                  ; +0x1d, 0x140134b9d\ntest    dil, dil                                                       ; +0x23, 0x140134ba3\njz      loc_140134C52                                                  ; +0x26, 0x140134ba6\nmov     rcx, [rbx+28h]                                                 ; +0x2c, 0x140134bac\nadd     rcx, 168h                                                      ; +0x30, 0x140134bb0\nmov     rax, [rcx]                                                     ; +0x37, 0x140134bb7\nlea     rdx, aGuidelinesClea; \"Guidelines cleared\"                     ; +0x3a, 0x140134bba\ncall    qword ptr [rax]                                                ; +0x41, 0x140134bc1\nmov     rcx, [rbx+8]                                                   ; +0x43, 0x140134bc3\ntest    rcx, rcx                                                       ; +0x47, 0x140134bc7\njz      loc_140134C52                                                  ; +0x4a, 0x140134bca\nlea     rax, [rsp+48h+Src]                                             ; +0x50, 0x140134bd0\nmov     [rsp+48h+arg_8], rax                                           ; +0x55, 0x140134bd5\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x140134bda\nmovups  xmmword ptr [rsp+48h+Src], xmm0                                ; +0x5d, 0x140134bdd\nmov     [rsp+48h+Size], 0                                              ; +0x62, 0x140134be2\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x6b, 0x140134beb\nmov     byte ptr [rsp+48h+Src], 0                                      ; +0x74, 0x140134bf4\nlea     rax, [rsp+48h+Src]                                             ; +0x79, 0x140134bf9\nmov     [rsp+48h+arg_18], rax                                          ; +0x7e, 0x140134bfe\nmov     rax, [rcx]                                                     ; +0x83, 0x140134c03\ncall    qword ptr [rax+18h]                                            ; +0x86, 0x140134c06\nnop                                                                    ; +0x89, 0x140134c09\nlea     rcx, [rax+188h]; void *                                        ; +0x8a, 0x140134c0a\nlea     rax, [rsp+48h+Src]                                             ; +0x91, 0x140134c11\ncmp     rcx, rax                                                       ; +0x96, 0x140134c16\njz      short loc_140134C37                                            ; +0x99, 0x140134c19\nlea     rdx, [rsp+48h+Src]                                             ; +0x9b, 0x140134c1b\ncmp     [rsp+48h+var_10], 0Fh                                          ; +0xa0, 0x140134c20\ncmova   rdx, [rsp+48h+Src]; Src                                        ; +0xa6, 0x140134c26\nmov     r8, [rsp+48h+Size]; Size                                       ; +0xac, 0x140134c2c\ncall    sub_1400405A0                                                  ; +0xb1, 0x140134c31\nnop                                                                    ; +0xb6, 0x140134c36\nlea     rcx, [rsp+48h+Src]                                             ; +0xb7, 0x140134c37\ncall    sub_14003D310                                                  ; +0xbc, 0x140134c3c\nmov     rcx, [rbx+8]                                                   ; +0xc1, 0x140134c41\nmov     rax, [rcx]                                                     ; +0xc5, 0x140134c45\ncall    qword ptr [rax+18h]                                            ; +0xc8, 0x140134c48\nmov     byte ptr [rax+1A8h], 1                                         ; +0xcb, 0x140134c4b\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xd2, 0x140134c52\nadd     rsp, 40h                                                       ; +0xd7, 0x140134c57\npop     rdi                                                            ; +0xdb, 0x140134c5b\nretn                                                                   ; +0xdc, 0x140134c5c", "xrefs": ["<???> @ 0x140736128", "<???> @ 0x140736138", "<???> @ 0x14091706c"], "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"}