{"type": "func", "start": 5372523024, "end": 5372523302, "name": "FriendRequestPopup::FLAlert_Clicked", "pseudocode": "// \n// FriendRequestPopup::FLAlert_Clicked from 0x1403a3210 to 0x1403a3326 (278 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140778b88\n// > <???> @ 0x140923690\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=1\nvoid __fastcall FriendRequestPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v5; // rcx\n  cocos2d::CCObject *v6; // rax\n  __int128 v7; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v8; // [rsp+30h] [rbp-18h]\n  __int64 v9; // [rsp+38h] [rbp-10h]\n  void *v10; // [rsp+68h] [rbp+20h]\n\n  if ( a3 )\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        v10 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v10);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v5 = *(_QWORD *)&qword_14090BFB0;\n      }\n      if ( GameLevelManager::blockUser(v5, *(_DWORD *)(*(_QWORD *)(a1 + 16) + 324LL)) )\n      {\n        v7 = 0;\n        *(_QWORD *)&v7 = sub_14003D460(0x20u);\n        v8 = 16;\n        v9 = 31;\n        strcpy((char *)v7, \"Blocking user...\");\n        v6 = UploadActionPopup::create(a1 - 8, (__int64)&v7);\n        *(_QWORD *)(a1 + 40) = v6;\n        (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v6 + 1064LL))(v6);\n      }\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 )\n    {\n      FriendRequestPopup::onRemove(a1 - 680);\n    }\n  }\n}", "assembly": "; \n; FriendRequestPopup::FLAlert_Clicked from 0x1403a3210 to 0x1403a3326 (278 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140778b88\n; > <???> @ 0x140923690\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, 0x1403a3210\njz      locret_1403A3325                                               ; +0x3, 0x1403a3213\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x1403a3219\npush    rdi                                                            ; +0xe, 0x1403a321e\nsub     rsp, 40h                                                       ; +0xf, 0x1403a321f\nmov     rbx, rdx                                                       ; +0x13, 0x1403a3223\nmov     rdi, rcx                                                       ; +0x16, 0x1403a3226\nmov     rax, [rdx]                                                     ; +0x19, 0x1403a3229\nmov     rcx, rdx                                                       ; +0x1c, 0x1403a322c\ncall    qword ptr [rax+38h]                                            ; +0x1f, 0x1403a322f\ncmp     eax, 1                                                         ; +0x22, 0x1403a3232\njnz     loc_1403A32FF                                                  ; +0x25, 0x1403a3235\nmov     rcx, cs:qword_14090BFB0                                        ; +0x2b, 0x1403a323b\ntest    rcx, rcx                                                       ; +0x32, 0x1403a3242\njnz     short loc_1403A3279                                            ; +0x35, 0x1403a3245\nmov     ecx, 690h; Size                                                ; +0x37, 0x1403a3247\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3c, 0x1403a324c\nmov     [rsp+48h+arg_18], rax                                          ; +0x41, 0x1403a3251\nmov     rcx, rax                                                       ; +0x46, 0x1403a3256\ncall    GameLevelManager__GameLevelManager                             ; +0x49, 0x1403a3259\nnop                                                                    ; +0x4e, 0x1403a325e\nmov     cs:qword_14090BFB0, rax                                        ; +0x4f, 0x1403a325f\nmov     rcx, [rax]                                                     ; +0x56, 0x1403a3266\nmov     rdx, [rcx+48h]                                                 ; +0x59, 0x1403a3269\nmov     rcx, rax                                                       ; +0x5d, 0x1403a326d\ncall    rdx                                                            ; +0x60, 0x1403a3270\nmov     rcx, cs:qword_14090BFB0                                        ; +0x62, 0x1403a3272\nmov     rdx, [rdi+10h]                                                 ; +0x69, 0x1403a3279\nmov     edx, [rdx+144h]                                                ; +0x6d, 0x1403a327d\ncall    GameLevelManager__blockUser                                    ; +0x73, 0x1403a3283\ntest    al, al                                                         ; +0x78, 0x1403a3288\njz      loc_1403A331B                                                  ; +0x7a, 0x1403a328a\nxorps   xmm0, xmm0                                                     ; +0x80, 0x1403a3290\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x83, 0x1403a3293\nxor     eax, eax                                                       ; +0x88, 0x1403a3298\nmov     [rsp+48h+var_18], rax                                          ; +0x8a, 0x1403a329a\nmov     [rsp+48h+var_10], rax                                          ; +0x8f, 0x1403a329f\nmov     ecx, 20h ; ' '                                                 ; +0x94, 0x1403a32a4\ncall    sub_14003D460                                                  ; +0x99, 0x1403a32a9\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x9e, 0x1403a32ae\nmov     [rsp+48h+var_18], 10h                                          ; +0xa3, 0x1403a32b3\nmov     [rsp+48h+var_10], 1Fh                                          ; +0xac, 0x1403a32bc\nmovups  xmm0, cs:xmmword_140776878                                     ; +0xb5, 0x1403a32c5\nmovups  xmmword ptr [rax], xmm0                                        ; +0xbc, 0x1403a32cc\nmov     byte ptr [rax+10h], 0                                          ; +0xbf, 0x1403a32cf\nlea     rcx, [rdi-8]                                                   ; +0xc3, 0x1403a32d3\nlea     rdx, [rsp+48h+var_28]                                          ; +0xc7, 0x1403a32d7\ncall    UploadActionPopup__create                                      ; +0xcc, 0x1403a32dc\nmov     [rdi+28h], rax                                                 ; +0xd1, 0x1403a32e1\nmov     rcx, [rax]                                                     ; +0xd5, 0x1403a32e5\nmov     rdx, [rcx+428h]                                                ; +0xd8, 0x1403a32e8\nmov     rcx, rax                                                       ; +0xdf, 0x1403a32ef\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xe2, 0x1403a32f2\nadd     rsp, 40h                                                       ; +0xe7, 0x1403a32f7\npop     rdi                                                            ; +0xeb, 0x1403a32fb\njmp     rdx                                                            ; +0xec, 0x1403a32fc\nmov     rax, [rbx]                                                     ; +0xef, 0x1403a32ff\nmov     rcx, rbx                                                       ; +0xf2, 0x1403a3302\ncall    qword ptr [rax+38h]                                            ; +0xf5, 0x1403a3305\ncmp     eax, 2                                                         ; +0xf8, 0x1403a3308\njnz     short loc_1403A331B                                            ; +0xfb, 0x1403a330b\nlea     rcx, [rdi-2A8h]                                                ; +0xfd, 0x1403a330d\nxor     edx, edx                                                       ; +0x104, 0x1403a3314\ncall    FriendRequestPopup__onRemove                                   ; +0x106, 0x1403a3316\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x10b, 0x1403a331b\nadd     rsp, 40h                                                       ; +0x110, 0x1403a3320\npop     rdi                                                            ; +0x114, 0x1403a3324\nretn                                                                   ; +0x115, 0x1403a3325", "xrefs": ["<???> @ 0x140778b88", "<???> @ 0x140923690"], "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"}