{"type": "func", "start": 5370105616, "end": 5370106021, "name": "CommentCell::FLAlert_Clicked", "pseudocode": "// \n// CommentCell::FLAlert_Clicked from 0x140154f10 to 0x1401550a5 (405 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14073ba30\n// > <???> @ 0x140917918\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:19 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall CommentCell::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  int v7; // eax\n  unsigned int v8; // edi\n  __int64 v9; // rcx\n  unsigned int *v10; // rdx\n  __int64 v11; // r9\n  __int64 v12; // r8\n  void *v13; // [rsp+38h] [rbp+10h]\n  void *v14; // [rsp+38h] [rbp+10h]\n  void *v15; // [rsp+38h] [rbp+10h]\n\n  if ( !(*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) )\n  {\n    if ( a3 )\n    {\n      v5 = a1 - 568;\n      v6 = *(_QWORD *)(a1 - 568 + 592);\n      if ( v6 )\n      {\n        v7 = *(_DWORD *)(v6 + 460);\n        switch ( v7 )\n        {\n          case 3:\n            v8 = 6;\n            break;\n          case 4:\n            v8 = 7;\n            break;\n          case 5:\n            v8 = 8;\n            break;\n          default:\n            v9 = *(_QWORD *)&qword_14090BFB0;\n            if ( *(_BYTE *)(v5 + 600) )\n            {\n              if ( !*(_QWORD *)&qword_14090BFB0 )\n              {\n                v15 = operator new(0x690u);\n                *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v15);\n                (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n                v9 = *(_QWORD *)&qword_14090BFB0;\n              }\n              v10 = *(unsigned int **)(v5 + 592);\n              v11 = v10[101];\n              v12 = 1;\n            }\n            else\n            {\n              if ( !*(_QWORD *)&qword_14090BFB0 )\n              {\n                v14 = operator new(0x690u);\n                *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v14);\n                (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n                v9 = *(_QWORD *)&qword_14090BFB0;\n              }\n              v10 = *(unsigned int **)(v5 + 592);\n              v11 = v10[99];\n              v12 = 0;\n            }\n            goto LABEL_20;\n        }\n        v9 = *(_QWORD *)&qword_14090BFB0;\n        if ( !*(_QWORD *)&qword_14090BFB0 )\n        {\n          v13 = operator new(0x690u);\n          *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v13);\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n          v9 = *(_QWORD *)&qword_14090BFB0;\n        }\n        v10 = *(unsigned int **)(v5 + 592);\n        v11 = v10[99];\n        v12 = v8;\nLABEL_20:\n        GameLevelManager::deleteComment(v9, v10[96], v12, v11);\n        *(_BYTE *)(*(_QWORD *)(v5 + 592) + 440LL) = 1;\n        CommentCell::loadFromComment(v5, *(_QWORD *)(v5 + 592));\n      }\n    }\n  }\n}", "assembly": "; \n; CommentCell::FLAlert_Clicked from 0x140154f10 to 0x1401550a5 (405 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14073ba30\n; > <???> @ 0x140917918\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:19 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140154f10\npush    rdi                                                            ; +0x5, 0x140154f15\nsub     rsp, 20h                                                       ; +0x6, 0x140154f16\nmovzx   ebx, r8b                                                       ; +0xa, 0x140154f1a\nmov     rdi, rcx                                                       ; +0xe, 0x140154f1e\nmov     rax, [rdx]                                                     ; +0x11, 0x140154f21\nmov     rcx, rdx                                                       ; +0x14, 0x140154f24\ncall    qword ptr [rax+38h]                                            ; +0x17, 0x140154f27\ntest    eax, eax                                                       ; +0x1a, 0x140154f2a\njnz     loc_14015509A                                                  ; +0x1c, 0x140154f2c\ntest    bl, bl                                                         ; +0x22, 0x140154f32\njz      loc_14015509A                                                  ; +0x24, 0x140154f34\nlea     rbx, [rdi-238h]                                                ; +0x2a, 0x140154f3a\nmov     rax, [rbx+250h]                                                ; +0x31, 0x140154f41\ntest    rax, rax                                                       ; +0x38, 0x140154f48\njz      loc_14015509A                                                  ; +0x3b, 0x140154f4b\nmov     eax, [rax+1CCh]                                                ; +0x41, 0x140154f51\ncmp     eax, 3                                                         ; +0x47, 0x140154f57\njnz     short loc_140154F63                                            ; +0x4a, 0x140154f5a\nmov     edi, 6                                                         ; +0x4c, 0x140154f5c\njmp     short loc_140154F79                                            ; +0x51, 0x140154f61\ncmp     eax, 4                                                         ; +0x53, 0x140154f63\njnz     short loc_140154F6F                                            ; +0x56, 0x140154f66\nmov     edi, 7                                                         ; +0x58, 0x140154f68\njmp     short loc_140154F79                                            ; +0x5d, 0x140154f6d\ncmp     eax, 5                                                         ; +0x5f, 0x140154f6f\njnz     short loc_140154FCD                                            ; +0x62, 0x140154f72\nmov     edi, 8                                                         ; +0x64, 0x140154f74\nmov     rcx, cs:qword_14090BFB0                                        ; +0x69, 0x140154f79\ntest    rcx, rcx                                                       ; +0x70, 0x140154f80\njnz     short loc_140154FB7                                            ; +0x73, 0x140154f83\nmov     ecx, 690h; Size                                                ; +0x75, 0x140154f85\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7a, 0x140154f8a\nmov     [rsp+28h+arg_8], rax                                           ; +0x7f, 0x140154f8f\nmov     rcx, rax                                                       ; +0x84, 0x140154f94\ncall    GameLevelManager__GameLevelManager                             ; +0x87, 0x140154f97\nnop                                                                    ; +0x8c, 0x140154f9c\nmov     cs:qword_14090BFB0, rax                                        ; +0x8d, 0x140154f9d\nmov     rcx, [rax]                                                     ; +0x94, 0x140154fa4\nmov     rdx, [rcx+48h]                                                 ; +0x97, 0x140154fa7\nmov     rcx, rax                                                       ; +0x9b, 0x140154fab\ncall    rdx                                                            ; +0x9e, 0x140154fae\nmov     rcx, cs:qword_14090BFB0                                        ; +0xa0, 0x140154fb0\nmov     rdx, [rbx+250h]                                                ; +0xa7, 0x140154fb7\nmov     r9d, [rdx+18Ch]                                                ; +0xae, 0x140154fbe\nmov     r8d, edi                                                       ; +0xb5, 0x140154fc5\njmp     loc_140155072                                                  ; +0xb8, 0x140154fc8\nmov     rcx, cs:qword_14090BFB0                                        ; +0xbd, 0x140154fcd\ncmp     byte ptr [rbx+258h], 0                                         ; +0xc4, 0x140154fd4\njnz     short loc_140155027                                            ; +0xcb, 0x140154fdb\ntest    rcx, rcx                                                       ; +0xcd, 0x140154fdd\njnz     short loc_140155014                                            ; +0xd0, 0x140154fe0\nmov     ecx, 690h; Size                                                ; +0xd2, 0x140154fe2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xd7, 0x140154fe7\nmov     [rsp+28h+arg_8], rax                                           ; +0xdc, 0x140154fec\nmov     rcx, rax                                                       ; +0xe1, 0x140154ff1\ncall    GameLevelManager__GameLevelManager                             ; +0xe4, 0x140154ff4\nnop                                                                    ; +0xe9, 0x140154ff9\nmov     cs:qword_14090BFB0, rax                                        ; +0xea, 0x140154ffa\nmov     rcx, [rax]                                                     ; +0xf1, 0x140155001\nmov     rdx, [rcx+48h]                                                 ; +0xf4, 0x140155004\nmov     rcx, rax                                                       ; +0xf8, 0x140155008\ncall    rdx                                                            ; +0xfb, 0x14015500b\nmov     rcx, cs:qword_14090BFB0                                        ; +0xfd, 0x14015500d\nmov     rdx, [rbx+250h]                                                ; +0x104, 0x140155014\nmov     r9d, [rdx+18Ch]                                                ; +0x10b, 0x14015501b\nxor     r8d, r8d                                                       ; +0x112, 0x140155022\njmp     short loc_140155072                                            ; +0x115, 0x140155025\ntest    rcx, rcx                                                       ; +0x117, 0x140155027\njnz     short loc_14015505E                                            ; +0x11a, 0x14015502a\nmov     ecx, 690h; Size                                                ; +0x11c, 0x14015502c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x121, 0x140155031\nmov     [rsp+28h+arg_8], rax                                           ; +0x126, 0x140155036\nmov     rcx, rax                                                       ; +0x12b, 0x14015503b\ncall    GameLevelManager__GameLevelManager                             ; +0x12e, 0x14015503e\nnop                                                                    ; +0x133, 0x140155043\nmov     cs:qword_14090BFB0, rax                                        ; +0x134, 0x140155044\nmov     rcx, [rax]                                                     ; +0x13b, 0x14015504b\nmov     rdx, [rcx+48h]                                                 ; +0x13e, 0x14015504e\nmov     rcx, rax                                                       ; +0x142, 0x140155052\ncall    rdx                                                            ; +0x145, 0x140155055\nmov     rcx, cs:qword_14090BFB0                                        ; +0x147, 0x140155057\nmov     rdx, [rbx+250h]                                                ; +0x14e, 0x14015505e\nmov     r9d, [rdx+194h]                                                ; +0x155, 0x140155065\nmov     r8d, 1                                                         ; +0x15c, 0x14015506c\nmov     edx, [rdx+180h]                                                ; +0x162, 0x140155072\ncall    GameLevelManager__deleteComment                                ; +0x168, 0x140155078\nmov     rax, [rbx+250h]                                                ; +0x16d, 0x14015507d\nmov     byte ptr [rax+1B8h], 1                                         ; +0x174, 0x140155084\nmov     rdx, [rbx+250h]                                                ; +0x17b, 0x14015508b\nmov     rcx, rbx                                                       ; +0x182, 0x140155092\ncall    CommentCell__loadFromComment                                   ; +0x185, 0x140155095\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x18a, 0x14015509a\nadd     rsp, 20h                                                       ; +0x18f, 0x14015509f\npop     rdi                                                            ; +0x193, 0x1401550a3\nretn                                                                   ; +0x194, 0x1401550a4", "xrefs": ["<???> @ 0x14073ba30", "<???> @ 0x140917918"], "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"}