{"type": "func", "start": 5372530384, "end": 5372530942, "name": "GJMessagePopup::FLAlert_Clicked", "pseudocode": "// \n// GJMessagePopup::FLAlert_Clicked from 0x1403a4ed0 to 0x1403a50fe (558 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14077a130\n// > <???> @ 0x14092372c\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:31:18 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall GJMessagePopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  int v4; // eax\n  __int64 v5; // rcx\n  __int64 v6; // rsi\n  __int64 v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rcx\n  __int64 v10; // rcx\n  cocos2d::CCObject *v11; // rax\n  __int128 v12; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v13; // [rsp+30h] [rbp-18h]\n  __int64 v14; // [rsp+38h] [rbp-10h]\n  void *v15; // [rsp+68h] [rbp+20h]\n  void *v16; // [rsp+68h] [rbp+20h]\n  void *v17; // [rsp+68h] [rbp+20h]\n\n  if ( a3 )\n  {\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) - 1;\n    if ( v4 )\n    {\n      if ( v4 == 1 )\n      {\n        v5 = *(_QWORD *)&qword_14090BFB0;\n        if ( !*(_QWORD *)&qword_14090BFB0 )\n        {\n          v15 = operator new(0x690u);\n          *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v15);\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n          v5 = *(_QWORD *)&qword_14090BFB0;\n        }\n        if ( (unsigned __int8)GameLevelManager::deleteUserMessages(\n                                v5,\n                                *(struct cocos2d::CCObject **)(a1 + 32),\n                                nullptr,\n                                *(_BYTE *)(*(_QWORD *)(a1 + 32) + 465LL)) )\n        {\n          v6 = a1 - 16;\n          if ( a1 == 680 )\n            v6 = 0;\n          v7 = *(_QWORD *)&qword_14090BFB0;\n          if ( !*(_QWORD *)&qword_14090BFB0 )\n          {\n            v16 = operator new(0x690u);\n            *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v16);\n            (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n            v7 = *(_QWORD *)&qword_14090BFB0;\n          }\n          *(_QWORD *)(v7 + 1488) = v6;\n          v8 = *(_QWORD *)(a1 + 56);\n          if ( v8 )\n            *(_QWORD *)(v8 + 664) = 0;\n          v12 = 0;\n          *(_QWORD *)&v12 = sub_14003D460(0x20u);\n          v13 = 19;\n          v14 = 31;\n          strcpy((char *)v12, \"Deleting message...\");\n          v9 = a1 - 8;\n          if ( a1 == 680 )\n            v9 = 0;\n          goto LABEL_20;\n        }\n      }\n    }\n    else\n    {\n      v10 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v17 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v17);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v10 = *(_QWORD *)&qword_14090BFB0;\n      }\n      if ( GameLevelManager::blockUser(v10, *(_DWORD *)(*(_QWORD *)(a1 + 32) + 324LL)) )\n      {\n        v12 = 0;\n        *(_QWORD *)&v12 = sub_14003D460(0x20u);\n        v13 = 16;\n        v14 = 31;\n        strcpy((char *)v12, \"Blocking user...\");\n        v9 = a1 - 8;\nLABEL_20:\n        v11 = UploadActionPopup::create(v9, (__int64)&v12);\n        *(_QWORD *)(a1 + 56) = v11;\n        (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v11 + 1064LL))(v11);\n      }\n    }\n  }\n}", "assembly": "; \n; GJMessagePopup::FLAlert_Clicked from 0x1403a4ed0 to 0x1403a50fe (558 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14077a130\n; > <???> @ 0x14092372c\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:31:18 +0000\n; \ntest    r8b, r8b                                                       ; +0x0, 0x1403a4ed0\njz      locret_1403A50FD                                               ; +0x3, 0x1403a4ed3\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x1403a4ed9\nmov     [rsp+arg_8], rbp                                               ; +0xe, 0x1403a4ede\nmov     [rsp+arg_10], rsi                                              ; +0x13, 0x1403a4ee3\npush    rdi                                                            ; +0x18, 0x1403a4ee8\nsub     rsp, 40h                                                       ; +0x19, 0x1403a4ee9\nmov     rbx, rcx                                                       ; +0x1d, 0x1403a4eed\nmov     rax, [rdx]                                                     ; +0x20, 0x1403a4ef0\nmov     rcx, rdx                                                       ; +0x23, 0x1403a4ef3\ncall    qword ptr [rax+38h]                                            ; +0x26, 0x1403a4ef6\nsub     eax, 1                                                         ; +0x29, 0x1403a4ef9\njz      loc_1403A5034                                                  ; +0x2c, 0x1403a4efc\ncmp     eax, 1                                                         ; +0x32, 0x1403a4f02\njnz     loc_1403A50E9                                                  ; +0x35, 0x1403a4f05\nmov     rcx, cs:qword_14090BFB0                                        ; +0x3b, 0x1403a4f0b\ntest    rcx, rcx                                                       ; +0x42, 0x1403a4f12\njnz     short loc_1403A4F49                                            ; +0x45, 0x1403a4f15\nmov     ecx, 690h; Size                                                ; +0x47, 0x1403a4f17\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4c, 0x1403a4f1c\nmov     [rsp+48h+arg_18], rax                                          ; +0x51, 0x1403a4f21\nmov     rcx, rax                                                       ; +0x56, 0x1403a4f26\ncall    GameLevelManager__GameLevelManager                             ; +0x59, 0x1403a4f29\nnop                                                                    ; +0x5e, 0x1403a4f2e\nmov     cs:qword_14090BFB0, rax                                        ; +0x5f, 0x1403a4f2f\nmov     rcx, [rax]                                                     ; +0x66, 0x1403a4f36\nmov     rdx, [rcx+48h]                                                 ; +0x69, 0x1403a4f39\nmov     rcx, rax                                                       ; +0x6d, 0x1403a4f3d\ncall    rdx                                                            ; +0x70, 0x1403a4f40\nmov     rcx, cs:qword_14090BFB0                                        ; +0x72, 0x1403a4f42\nmov     rdx, [rbx+20h]                                                 ; +0x79, 0x1403a4f49\nmovzx   r9d, byte ptr [rdx+1D1h]                                       ; +0x7d, 0x1403a4f4d\nxor     r8d, r8d                                                       ; +0x85, 0x1403a4f55\ncall    GameLevelManager__deleteUserMessages                           ; +0x88, 0x1403a4f58\ntest    al, al                                                         ; +0x8d, 0x1403a4f5d\njz      loc_1403A50E9                                                  ; +0x8f, 0x1403a4f5f\nlea     rbp, [rbx-2A8h]                                                ; +0x95, 0x1403a4f65\nlea     rsi, [rbx-10h]                                                 ; +0x9c, 0x1403a4f6c\nxor     edi, edi                                                       ; +0xa0, 0x1403a4f70\ntest    rbp, rbp                                                       ; +0xa2, 0x1403a4f72\ncmovz   rsi, rdi                                                       ; +0xa5, 0x1403a4f75\nmov     rax, cs:qword_14090BFB0                                        ; +0xa9, 0x1403a4f79\ntest    rax, rax                                                       ; +0xb0, 0x1403a4f80\njnz     short loc_1403A4FB7                                            ; +0xb3, 0x1403a4f83\nmov     ecx, 690h; Size                                                ; +0xb5, 0x1403a4f85\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xba, 0x1403a4f8a\nmov     [rsp+48h+arg_18], rax                                          ; +0xbf, 0x1403a4f8f\nmov     rcx, rax                                                       ; +0xc4, 0x1403a4f94\ncall    GameLevelManager__GameLevelManager                             ; +0xc7, 0x1403a4f97\nnop                                                                    ; +0xcc, 0x1403a4f9c\nmov     cs:qword_14090BFB0, rax                                        ; +0xcd, 0x1403a4f9d\nmov     rcx, [rax]                                                     ; +0xd4, 0x1403a4fa4\nmov     rdx, [rcx+48h]                                                 ; +0xd7, 0x1403a4fa7\nmov     rcx, rax                                                       ; +0xdb, 0x1403a4fab\ncall    rdx                                                            ; +0xde, 0x1403a4fae\nmov     rax, cs:qword_14090BFB0                                        ; +0xe0, 0x1403a4fb0\nmov     [rax+5D0h], rsi                                                ; +0xe7, 0x1403a4fb7\nmov     rax, [rbx+38h]                                                 ; +0xee, 0x1403a4fbe\ntest    rax, rax                                                       ; +0xf2, 0x1403a4fc2\njz      short loc_1403A4FCE                                            ; +0xf5, 0x1403a4fc5\nmov     [rax+298h], rdi                                                ; +0xf7, 0x1403a4fc7\nxorps   xmm0, xmm0                                                     ; +0xfe, 0x1403a4fce\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x101, 0x1403a4fd1\nmov     [rsp+48h+var_18], rdi                                          ; +0x106, 0x1403a4fd6\nmov     [rsp+48h+var_10], rdi                                          ; +0x10b, 0x1403a4fdb\nmov     ecx, 20h ; ' '                                                 ; +0x110, 0x1403a4fe0\ncall    sub_14003D460                                                  ; +0x115, 0x1403a4fe5\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x11a, 0x1403a4fea\nmov     [rsp+48h+var_18], 13h                                          ; +0x11f, 0x1403a4fef\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x128, 0x1403a4ff8\nmovups  xmm0, cs:xmmword_14073A3D8                                     ; +0x131, 0x1403a5001\nmovups  xmmword ptr [rax], xmm0                                        ; +0x138, 0x1403a5008\nmovzx   ecx, cs:word_14073A3E8                                         ; +0x13b, 0x1403a500b\nmov     [rax+10h], cx                                                  ; +0x142, 0x1403a5012\nmovzx   ecx, cs:byte_14073A3EA                                         ; +0x146, 0x1403a5016\nmov     [rax+12h], cl                                                  ; +0x14d, 0x1403a501d\nmov     byte ptr [rax+13h], 0                                          ; +0x150, 0x1403a5020\nlea     rcx, [rbx-8]                                                   ; +0x154, 0x1403a5024\ntest    rbp, rbp                                                       ; +0x158, 0x1403a5028\ncmovz   rcx, rdi                                                       ; +0x15b, 0x1403a502b\njmp     loc_1403A50CC                                                  ; +0x15f, 0x1403a502f\nmov     rcx, cs:qword_14090BFB0                                        ; +0x164, 0x1403a5034\ntest    rcx, rcx                                                       ; +0x16b, 0x1403a503b\njnz     short loc_1403A5072                                            ; +0x16e, 0x1403a503e\nmov     ecx, 690h; Size                                                ; +0x170, 0x1403a5040\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x175, 0x1403a5045\nmov     [rsp+48h+arg_18], rax                                          ; +0x17a, 0x1403a504a\nmov     rcx, rax                                                       ; +0x17f, 0x1403a504f\ncall    GameLevelManager__GameLevelManager                             ; +0x182, 0x1403a5052\nnop                                                                    ; +0x187, 0x1403a5057\nmov     cs:qword_14090BFB0, rax                                        ; +0x188, 0x1403a5058\nmov     rcx, [rax]                                                     ; +0x18f, 0x1403a505f\nmov     rdx, [rcx+48h]                                                 ; +0x192, 0x1403a5062\nmov     rcx, rax                                                       ; +0x196, 0x1403a5066\ncall    rdx                                                            ; +0x199, 0x1403a5069\nmov     rcx, cs:qword_14090BFB0                                        ; +0x19b, 0x1403a506b\nmov     rdx, [rbx+20h]                                                 ; +0x1a2, 0x1403a5072\nmov     edx, [rdx+144h]                                                ; +0x1a6, 0x1403a5076\ncall    GameLevelManager__blockUser                                    ; +0x1ac, 0x1403a507c\ntest    al, al                                                         ; +0x1b1, 0x1403a5081\njz      short loc_1403A50E9                                            ; +0x1b3, 0x1403a5083\nxorps   xmm0, xmm0                                                     ; +0x1b5, 0x1403a5085\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x1b8, 0x1403a5088\nxor     edi, edi                                                       ; +0x1bd, 0x1403a508d\nmov     [rsp+48h+var_18], rdi                                          ; +0x1bf, 0x1403a508f\nmov     [rsp+48h+var_10], rdi                                          ; +0x1c4, 0x1403a5094\nmov     ecx, 20h ; ' '                                                 ; +0x1c9, 0x1403a5099\ncall    sub_14003D460                                                  ; +0x1ce, 0x1403a509e\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x1d3, 0x1403a50a3\nmov     [rsp+48h+var_18], 10h                                          ; +0x1d8, 0x1403a50a8\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x1e1, 0x1403a50b1\nmovups  xmm0, cs:xmmword_140776878                                     ; +0x1ea, 0x1403a50ba\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1f1, 0x1403a50c1\nmov     [rax+10h], dil                                                 ; +0x1f4, 0x1403a50c4\nlea     rcx, [rbx-8]                                                   ; +0x1f8, 0x1403a50c8\nlea     rdx, [rsp+48h+var_28]                                          ; +0x1fc, 0x1403a50cc\ncall    UploadActionPopup__create                                      ; +0x201, 0x1403a50d1\nmov     [rbx+38h], rax                                                 ; +0x206, 0x1403a50d6\nmov     rcx, [rax]                                                     ; +0x20a, 0x1403a50da\nmov     rdx, [rcx+428h]                                                ; +0x20d, 0x1403a50dd\nmov     rcx, rax                                                       ; +0x214, 0x1403a50e4\ncall    rdx                                                            ; +0x217, 0x1403a50e7\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x219, 0x1403a50e9\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x21e, 0x1403a50ee\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x223, 0x1403a50f3\nadd     rsp, 40h                                                       ; +0x228, 0x1403a50f8\npop     rdi                                                            ; +0x22c, 0x1403a50fc\nretn                                                                   ; +0x22d, 0x1403a50fd", "xrefs": ["<???> @ 0x14077a130", "<???> @ 0x14092372c"], "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"}