{"type": "func", "start": 4297674688, "end": 4297674973, "name": "GJMessagePopup::FLAlert_Clicked", "pseudocode": "// \n// GJMessagePopup::FLAlert_Clicked from 0x100294fc0 to 0x1002950dd (285 bytes)\n// \n// 2 xrefs:\n// > sub_1002950E0 @ 0x1002950ec\n// > <???> @ 0x100b022f8\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:27:50 +0000\n// \n\nvoid __fastcall GJMessagePopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3, double a4)\n{\n  int v4; // eax\n  __int64 v5; // rax\n  char *v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rax\n  char *v9; // rax\n  _BYTE v10[24]; // [rsp+8h] [rbp-38h] BYREF\n  __int128 v11[2]; // [rsp+20h] [rbp-20h] BYREF\n\n  if ( a3 )\n  {\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    if ( v4 == 2 )\n    {\n      v7 = GameLevelManager::sharedState(a4);\n      if ( (unsigned __int8)GameLevelManager::deleteUserMessages(\n                              v7,\n                              *(_QWORD *)(a1 + 712),\n                              0,\n                              *(unsigned __int8 *)(*(_QWORD *)(a1 + 712) + 425LL)) )\n      {\n        *(_QWORD *)(GameLevelManager::sharedState(a4) + 1360) = a1 + 664;\n        v8 = *(_QWORD *)(a1 + 736);\n        if ( v8 )\n          *(_QWORD *)(v8 + 664) = 0;\n        strcpy((char *)v11, \"&Deleting message...\");\n        v9 = UploadActionPopup::create(a1 + 672, v11);\n        *(_QWORD *)(a1 + 736) = v9;\n        (*(void (__fastcall **)(char *))(*(_QWORD *)v9 + 1312LL))(v9);\n      }\n    }\n    else if ( v4 == 1 )\n    {\n      v5 = GameLevelManager::sharedState(a4);\n      if ( (unsigned __int8)sub_10057C0D0(v5, *(unsigned int *)(*(_QWORD *)(a1 + 712) + 320LL)) )\n      {\n        strcpy(v10, \" Blocking user...\");\n        v6 = UploadActionPopup::create(a1 + 672, (__int128 *)v10);\n        *(_QWORD *)(a1 + 736) = v6;\n        (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);\n      }\n    }\n  }\n}", "assembly": "; \n; GJMessagePopup::FLAlert_Clicked from 0x100294fc0 to 0x1002950dd (285 bytes)\n; \n; 2 xrefs:\n; > sub_1002950E0 @ 0x1002950ec\n; > <???> @ 0x100b022f8\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:27:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x100294fc0\nmov     rbp, rsp                                                       ; +0x1, 0x100294fc1\npush    rbx                                                            ; +0x4, 0x100294fc4\nsub     rsp, 38h                                                       ; +0x5, 0x100294fc5\ntest    edx, edx                                                       ; +0x9, 0x100294fc9\njz      loc_1002950D6                                                  ; +0xb, 0x100294fcb\nmov     rbx, rdi                                                       ; +0x11, 0x100294fd1\nmov     rax, [rsi]                                                     ; +0x14, 0x100294fd4\nmov     rdi, rsi                                                       ; +0x17, 0x100294fd7\ncall    qword ptr [rax+40h]                                            ; +0x1a, 0x100294fda\ncmp     eax, 2                                                         ; +0x1d, 0x100294fdd\njz      short loc_100295048                                            ; +0x20, 0x100294fe0\ncmp     eax, 1                                                         ; +0x22, 0x100294fe2\njnz     loc_1002950D6                                                  ; +0x25, 0x100294fe5\ncall    GameLevelManager__sharedState                                  ; +0x2b, 0x100294feb\nmov     rcx, [rbx+2C8h]                                                ; +0x30, 0x100294ff0\nmov     esi, [rcx+140h]                                                ; +0x37, 0x100294ff7\nmov     rdi, rax                                                       ; +0x3d, 0x100294ffd\ncall    sub_10057C0D0                                                  ; +0x40, 0x100295000\ntest    al, al                                                         ; +0x45, 0x100295005\njz      loc_1002950D6                                                  ; +0x47, 0x100295007\nlea     rdi, [rbx+2A0h]                                                ; +0x4d, 0x10029500d\nmov     [rbp+var_38], 20h ; ' '                                        ; +0x54, 0x100295014\nmovups  xmm0, xmmword ptr cs:aBlockingUser; \"Blocking user...\"         ; +0x58, 0x100295018\nmovups  xmmword ptr [rbp+var_38+1], xmm0                               ; +0x5f, 0x10029501f\nmov     [rbp+var_38+11h], 0                                            ; +0x63, 0x100295023\nlea     rsi, [rbp+var_38]                                              ; +0x67, 0x100295027\ncall    UploadActionPopup__create                                      ; +0x6b, 0x10029502b\nmov     [rbx+2E0h], rax                                                ; +0x70, 0x100295030\nmov     rcx, [rax]                                                     ; +0x77, 0x100295037\nmov     rdi, rax                                                       ; +0x7a, 0x10029503a\ncall    qword ptr [rcx+520h]                                           ; +0x7d, 0x10029503d\njmp     loc_1002950D6                                                  ; +0x83, 0x100295043\ncall    GameLevelManager__sharedState                                  ; +0x88, 0x100295048\nmov     rsi, [rbx+2C8h]                                                ; +0x8d, 0x10029504d\nmovzx   ecx, byte ptr [rsi+1A9h]                                       ; +0x94, 0x100295054\nmov     rdi, rax                                                       ; +0x9b, 0x10029505b\nxor     edx, edx                                                       ; +0x9e, 0x10029505e\ncall    GameLevelManager__deleteUserMessages                           ; +0xa0, 0x100295060\ntest    al, al                                                         ; +0xa5, 0x100295065\njz      short loc_1002950D6                                            ; +0xa7, 0x100295067\ncall    GameLevelManager__sharedState                                  ; +0xa9, 0x100295069\nlea     rcx, [rbx+298h]                                                ; +0xae, 0x10029506e\nmov     [rax+550h], rcx                                                ; +0xb5, 0x100295075\nmov     rax, [rbx+2E0h]                                                ; +0xbc, 0x10029507c\ntest    rax, rax                                                       ; +0xc3, 0x100295083\njz      short loc_100295093                                            ; +0xc6, 0x100295086\nmov     qword ptr [rax+298h], 0                                        ; +0xc8, 0x100295088\nlea     rdi, [rbx+2A0h]                                                ; +0xd3, 0x100295093\nmov     [rbp+var_20], 26h ; '&'                                        ; +0xda, 0x10029509a\nmovups  xmm0, xmmword ptr cs:aDeletingMessag_0; \"Deleting message...\"  ; +0xde, 0x10029509e\nmovups  xmmword ptr [rbp+var_20+1], xmm0                               ; +0xe5, 0x1002950a5\nmov     dword ptr [rbp+var_20+10h], 2E2E2E65h                          ; +0xe9, 0x1002950a9\nmov     [rbp+var_20+14h], 0                                            ; +0xf0, 0x1002950b0\nlea     rsi, [rbp+var_20]                                              ; +0xf4, 0x1002950b4\ncall    UploadActionPopup__create                                      ; +0xf8, 0x1002950b8\nmov     [rbx+2E0h], rax                                                ; +0xfd, 0x1002950bd\nmov     rcx, [rax]                                                     ; +0x104, 0x1002950c4\nmov     rdi, rax                                                       ; +0x107, 0x1002950c7\nadd     rsp, 38h                                                       ; +0x10a, 0x1002950ca\npop     rbx                                                            ; +0x10e, 0x1002950ce\npop     rbp                                                            ; +0x10f, 0x1002950cf\njmp     qword ptr [rcx+520h]                                           ; +0x110, 0x1002950d0\nadd     rsp, 38h                                                       ; +0x116, 0x1002950d6\npop     rbx                                                            ; +0x11a, 0x1002950da\npop     rbp                                                            ; +0x11b, 0x1002950db\nretn                                                                   ; +0x11c, 0x1002950dc", "xrefs": ["sub_1002950E0 @ 0x1002950ec", "<???> @ 0x100b022f8"], "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"}