{"type": "func", "start": 5370896128, "end": 5370896714, "name": "FriendsProfilePage::FLAlert_Clicked", "pseudocode": "// \n// FriendsProfilePage::FLAlert_Clicked from 0x140215f00 to 0x14021614a (586 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140757478\n// > <???> @ 0x14091b704\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:28:21 +0000\n// \n\n// Hidden C++ exception states: #wind=4\nvoid __fastcall FriendsProfilePage::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rdi\n  __int64 v8; // rax\n  __int64 v9; // rax\n  __int64 v10; // rcx\n  __int64 v11; // rax\n  __int64 v12; // rcx\n  __int128 v13; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v14; // [rsp+30h] [rbp-18h]\n  __int64 v15; // [rsp+38h] [rbp-10h]\n  void *v16; // [rsp+68h] [rbp+20h]\n  void *v17; // [rsp+68h] [rbp+20h]\n  void *v18; // [rsp+68h] [rbp+20h]\n  void *v19; // [rsp+68h] [rbp+20h]\n\n  if ( a3 && *(_QWORD *)(a1 + 56) )\n  {\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 )\n    {\n      v5 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v16 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v16);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v5 = *(_QWORD *)&qword_14090BFB0;\n      }\n      GameLevelManager::followUserOnline(v5, *(unsigned int *)(*(_QWORD *)(a1 + 56) + 392LL), 0);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 )\n    {\n      v6 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v17 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v17);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v6 = *(_QWORD *)&qword_14090BFB0;\n      }\n      if ( (unsigned __int8)GameLevelManager::unblockUser(v6, *(unsigned int *)(*(_QWORD *)(a1 + 56) + 392LL)) )\n      {\n        v7 = a1 + 8;\n        if ( a1 == 784 )\n          v7 = 0;\n        v8 = *(_QWORD *)&qword_14090BFB0;\n        if ( !*(_QWORD *)&qword_14090BFB0 )\n        {\n          v18 = operator new(0x690u);\n          *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v18);\n          (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n          v8 = *(_QWORD *)&qword_14090BFB0;\n        }\n        *(_QWORD *)(v8 + 1488) = v7;\n        v9 = *(_QWORD *)(a1 + 64);\n        if ( v9 )\n          *(_QWORD *)(v9 + 664) = 0;\n        v13 = 0;\n        *(_QWORD *)&v13 = sub_14003D460(0x20u);\n        v14 = 18;\n        v15 = 31;\n        strcpy((char *)v13, \"Unblocking user...\");\n        v10 = a1 + 16;\n        if ( a1 == 784 )\n          v10 = 0;\n        v11 = UploadActionPopup::create(v10, &v13);\n        *(_QWORD *)(a1 + 64) = v11;\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)v11 + 1064LL))(v11);\n      }\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 3 )\n    {\n      v12 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v19 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v19);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v12 = *(_QWORD *)&qword_14090BFB0;\n      }\n      GameLevelManager::muteUser(v12, *(unsigned int *)(*(_QWORD *)(a1 + 56) + 392LL), 0);\n    }\n  }\n}", "assembly": "; \n; FriendsProfilePage::FLAlert_Clicked from 0x140215f00 to 0x14021614a (586 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140757478\n; > <???> @ 0x14091b704\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:28:21 +0000\n; \ntest    r8b, r8b                                                       ; +0x0, 0x140215f00\njz      locret_140216149                                               ; +0x3, 0x140215f03\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x140215f09\nmov     [rsp+arg_8], rbp                                               ; +0xe, 0x140215f0e\nmov     [rsp+arg_10], rsi                                              ; +0x13, 0x140215f13\npush    rdi                                                            ; +0x18, 0x140215f18\nsub     rsp, 40h                                                       ; +0x19, 0x140215f19\nmov     rdi, rdx                                                       ; +0x1d, 0x140215f1d\nmov     rbx, rcx                                                       ; +0x20, 0x140215f20\ncmp     qword ptr [rcx+38h], 0                                         ; +0x23, 0x140215f23\njz      loc_140216135                                                  ; +0x28, 0x140215f28\nmov     rax, [rdx]                                                     ; +0x2e, 0x140215f2e\nmov     rcx, rdx                                                       ; +0x31, 0x140215f31\ncall    qword ptr [rax+38h]                                            ; +0x34, 0x140215f34\ncmp     eax, 1                                                         ; +0x37, 0x140215f37\njnz     short loc_140215F91                                            ; +0x3a, 0x140215f3a\nmov     rcx, cs:qword_14090BFB0                                        ; +0x3c, 0x140215f3c\ntest    rcx, rcx                                                       ; +0x43, 0x140215f43\njnz     short loc_140215F7A                                            ; +0x46, 0x140215f46\nmov     ecx, 690h; Size                                                ; +0x48, 0x140215f48\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4d, 0x140215f4d\nmov     [rsp+48h+arg_18], rax                                          ; +0x52, 0x140215f52\nmov     rcx, rax                                                       ; +0x57, 0x140215f57\ncall    GameLevelManager__GameLevelManager                             ; +0x5a, 0x140215f5a\nnop                                                                    ; +0x5f, 0x140215f5f\nmov     cs:qword_14090BFB0, rax                                        ; +0x60, 0x140215f60\nmov     rcx, [rax]                                                     ; +0x67, 0x140215f67\nmov     rdx, [rcx+48h]                                                 ; +0x6a, 0x140215f6a\nmov     rcx, rax                                                       ; +0x6e, 0x140215f6e\ncall    rdx                                                            ; +0x71, 0x140215f71\nmov     rcx, cs:qword_14090BFB0                                        ; +0x73, 0x140215f73\nmov     rdx, [rbx+38h]                                                 ; +0x7a, 0x140215f7a\nxor     r8d, r8d                                                       ; +0x7e, 0x140215f7e\nmov     edx, [rdx+188h]                                                ; +0x81, 0x140215f81\ncall    GameLevelManager__followUserOnline                             ; +0x87, 0x140215f87\njmp     loc_140216135                                                  ; +0x8c, 0x140215f8c\nmov     rax, [rdi]                                                     ; +0x91, 0x140215f91\nmov     rcx, rdi                                                       ; +0x94, 0x140215f94\ncall    qword ptr [rax+38h]                                            ; +0x97, 0x140215f97\ncmp     eax, 2                                                         ; +0x9a, 0x140215f9a\njnz     loc_1402160D7                                                  ; +0x9d, 0x140215f9d\nmov     rcx, cs:qword_14090BFB0                                        ; +0xa3, 0x140215fa3\ntest    rcx, rcx                                                       ; +0xaa, 0x140215faa\njnz     short loc_140215FE1                                            ; +0xad, 0x140215fad\nmov     ecx, 690h; Size                                                ; +0xaf, 0x140215faf\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb4, 0x140215fb4\nmov     [rsp+48h+arg_18], rax                                          ; +0xb9, 0x140215fb9\nmov     rcx, rax                                                       ; +0xbe, 0x140215fbe\ncall    GameLevelManager__GameLevelManager                             ; +0xc1, 0x140215fc1\nnop                                                                    ; +0xc6, 0x140215fc6\nmov     cs:qword_14090BFB0, rax                                        ; +0xc7, 0x140215fc7\nmov     rcx, [rax]                                                     ; +0xce, 0x140215fce\nmov     rdx, [rcx+48h]                                                 ; +0xd1, 0x140215fd1\nmov     rcx, rax                                                       ; +0xd5, 0x140215fd5\ncall    rdx                                                            ; +0xd8, 0x140215fd8\nmov     rcx, cs:qword_14090BFB0                                        ; +0xda, 0x140215fda\nmov     rdx, [rbx+38h]                                                 ; +0xe1, 0x140215fe1\nmov     edx, [rdx+188h]                                                ; +0xe5, 0x140215fe5\ncall    GameLevelManager__unblockUser                                  ; +0xeb, 0x140215feb\ntest    al, al                                                         ; +0xf0, 0x140215ff0\njz      loc_140216135                                                  ; +0xf2, 0x140215ff2\nlea     rsi, [rbx-310h]                                                ; +0xf8, 0x140215ff8\nlea     rdi, [rbx+8]                                                   ; +0xff, 0x140215fff\nxor     ebp, ebp                                                       ; +0x103, 0x140216003\ntest    rsi, rsi                                                       ; +0x105, 0x140216005\ncmovz   rdi, rbp                                                       ; +0x108, 0x140216008\nmov     rax, cs:qword_14090BFB0                                        ; +0x10c, 0x14021600c\ntest    rax, rax                                                       ; +0x113, 0x140216013\njnz     short loc_14021604A                                            ; +0x116, 0x140216016\nmov     ecx, 690h; Size                                                ; +0x118, 0x140216018\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x11d, 0x14021601d\nmov     [rsp+48h+arg_18], rax                                          ; +0x122, 0x140216022\nmov     rcx, rax                                                       ; +0x127, 0x140216027\ncall    GameLevelManager__GameLevelManager                             ; +0x12a, 0x14021602a\nnop                                                                    ; +0x12f, 0x14021602f\nmov     cs:qword_14090BFB0, rax                                        ; +0x130, 0x140216030\nmov     rcx, [rax]                                                     ; +0x137, 0x140216037\nmov     rdx, [rcx+48h]                                                 ; +0x13a, 0x14021603a\nmov     rcx, rax                                                       ; +0x13e, 0x14021603e\ncall    rdx                                                            ; +0x141, 0x140216041\nmov     rax, cs:qword_14090BFB0                                        ; +0x143, 0x140216043\nmov     [rax+5D0h], rdi                                                ; +0x14a, 0x14021604a\nmov     rax, [rbx+40h]                                                 ; +0x151, 0x140216051\ntest    rax, rax                                                       ; +0x155, 0x140216055\njz      short loc_140216061                                            ; +0x158, 0x140216058\nmov     [rax+298h], rbp                                                ; +0x15a, 0x14021605a\nxorps   xmm0, xmm0                                                     ; +0x161, 0x140216061\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x164, 0x140216064\nmov     [rsp+48h+var_18], rbp                                          ; +0x169, 0x140216069\nmov     [rsp+48h+var_10], rbp                                          ; +0x16e, 0x14021606e\nmov     ecx, 20h ; ' '                                                 ; +0x173, 0x140216073\ncall    sub_14003D460                                                  ; +0x178, 0x140216078\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x17d, 0x14021607d\nmov     [rsp+48h+var_18], 12h                                          ; +0x182, 0x140216082\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x18b, 0x14021608b\nmovups  xmm0, cs:xmmword_140756900                                     ; +0x194, 0x140216094\nmovups  xmmword ptr [rax], xmm0                                        ; +0x19b, 0x14021609b\nmovzx   ecx, cs:word_140756910                                         ; +0x19e, 0x14021609e\nmov     [rax+10h], cx                                                  ; +0x1a5, 0x1402160a5\nmov     byte ptr [rax+12h], 0                                          ; +0x1a9, 0x1402160a9\nlea     rcx, [rbx+10h]                                                 ; +0x1ad, 0x1402160ad\ntest    rsi, rsi                                                       ; +0x1b1, 0x1402160b1\ncmovz   rcx, rbp                                                       ; +0x1b4, 0x1402160b4\nlea     rdx, [rsp+48h+var_28]                                          ; +0x1b8, 0x1402160b8\ncall    UploadActionPopup__create                                      ; +0x1bd, 0x1402160bd\nmov     [rbx+40h], rax                                                 ; +0x1c2, 0x1402160c2\nmov     rcx, [rax]                                                     ; +0x1c6, 0x1402160c6\nmov     rdx, [rcx+428h]                                                ; +0x1c9, 0x1402160c9\nmov     rcx, rax                                                       ; +0x1d0, 0x1402160d0\ncall    rdx                                                            ; +0x1d3, 0x1402160d3\njmp     short loc_140216135                                            ; +0x1d5, 0x1402160d5\nmov     rax, [rdi]                                                     ; +0x1d7, 0x1402160d7\nmov     rcx, rdi                                                       ; +0x1da, 0x1402160da\ncall    qword ptr [rax+38h]                                            ; +0x1dd, 0x1402160dd\ncmp     eax, 3                                                         ; +0x1e0, 0x1402160e0\njnz     short loc_140216135                                            ; +0x1e3, 0x1402160e3\nmov     rcx, cs:qword_14090BFB0                                        ; +0x1e5, 0x1402160e5\ntest    rcx, rcx                                                       ; +0x1ec, 0x1402160ec\njnz     short loc_140216123                                            ; +0x1ef, 0x1402160ef\nmov     ecx, 690h; Size                                                ; +0x1f1, 0x1402160f1\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f6, 0x1402160f6\nmov     [rsp+48h+arg_18], rax                                          ; +0x1fb, 0x1402160fb\nmov     rcx, rax                                                       ; +0x200, 0x140216100\ncall    GameLevelManager__GameLevelManager                             ; +0x203, 0x140216103\nnop                                                                    ; +0x208, 0x140216108\nmov     cs:qword_14090BFB0, rax                                        ; +0x209, 0x140216109\nmov     rcx, [rax]                                                     ; +0x210, 0x140216110\nmov     rdx, [rcx+48h]                                                 ; +0x213, 0x140216113\nmov     rcx, rax                                                       ; +0x217, 0x140216117\ncall    rdx                                                            ; +0x21a, 0x14021611a\nmov     rcx, cs:qword_14090BFB0                                        ; +0x21c, 0x14021611c\nmov     rdx, [rbx+38h]                                                 ; +0x223, 0x140216123\nxor     r8d, r8d                                                       ; +0x227, 0x140216127\nmov     edx, [rdx+188h]                                                ; +0x22a, 0x14021612a\ncall    GameLevelManager__muteUser                                     ; +0x230, 0x140216130\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x235, 0x140216135\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x23a, 0x14021613a\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x23f, 0x14021613f\nadd     rsp, 40h                                                       ; +0x244, 0x140216144\npop     rdi                                                            ; +0x248, 0x140216148\nretn                                                                   ; +0x249, 0x140216149", "xrefs": ["<???> @ 0x140757478", "<???> @ 0x14091b704"], "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"}