{"type": "func", "start": 4297746592, "end": 4297746713, "name": "FriendRequestPopup::FLAlert_Clicked", "pseudocode": "// \n// FriendRequestPopup::FLAlert_Clicked from 0x1002a68a0 to 0x1002a6919 (121 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fa7f8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall FriendRequestPopup::FLAlert_Clicked(FriendRequestPopup *a1, FLAlertLayer *a2, bool a3)\n{\n  GameLevelManager *v3; // rax\n  char *v4; // rax\n  __int128 v5[2]; // [rsp-28h] [rbp-28h] BYREF\n\n  if ( a3 && ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 1 )\n  {\n    v3 = GameLevelManager::sharedState();\n    if ( GameLevelManager::blockUser(v3, a1->m_request->m_accountID) )\n    {\n      strcpy((char *)v5, \" Blocking user...\");\n      v4 = UploadActionPopup::create((__int64)&a1->UploadPopupDelegate, v5);\n      a1->m_popup = (UploadActionPopup *)v4;\n      (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1288LL))(v4);\n    }\n  }\n}", "assembly": "; \n; FriendRequestPopup::FLAlert_Clicked from 0x1002a68a0 to 0x1002a6919 (121 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fa7f8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    edx, edx                                                       ; +0x0, 0x1002a68a0\njz      short locret_1002A6918                                         ; +0x2, 0x1002a68a2\npush    rbp                                                            ; +0x4, 0x1002a68a4\nmov     rbp, rsp                                                       ; +0x5, 0x1002a68a5\npush    rbx                                                            ; +0x8, 0x1002a68a8\nsub     rsp, 18h                                                       ; +0x9, 0x1002a68a9\nmov     rbx, rdi                                                       ; +0xd, 0x1002a68ad\nmov     rax, [rsi]                                                     ; +0x10, 0x1002a68b0\nmov     rdi, rsi                                                       ; +0x13, 0x1002a68b3\ncall    qword ptr [rax+40h]                                            ; +0x16, 0x1002a68b6\ncmp     eax, 1                                                         ; +0x19, 0x1002a68b9\njnz     short loc_1002A6912                                            ; +0x1c, 0x1002a68bc\ncall    GameLevelManager__sharedState                                  ; +0x1e, 0x1002a68be\nmov     rcx, [rbx+298h]                                                ; +0x23, 0x1002a68c3\nmov     esi, [rcx+140h]                                                ; +0x2a, 0x1002a68ca\nmov     rdi, rax                                                       ; +0x30, 0x1002a68d0\ncall    GameLevelManager__blockUser                                    ; +0x33, 0x1002a68d3\ntest    al, al                                                         ; +0x38, 0x1002a68d8\njz      short loc_1002A6912                                            ; +0x3a, 0x1002a68da\nlea     rdi, [rbx+280h]                                                ; +0x3c, 0x1002a68dc\nmov     byte ptr [rbp-20h], 20h ; ' '                                  ; +0x43, 0x1002a68e3\nmovups  xmm0, xmmword ptr cs:aBlockingUser; \"Blocking user...\"         ; +0x47, 0x1002a68e7\nmovups  xmmword ptr [rbp-1Fh], xmm0                                    ; +0x4e, 0x1002a68ee\nmov     byte ptr [rbp-0Fh], 0                                          ; +0x52, 0x1002a68f2\nlea     rsi, [rbp-20h]                                                 ; +0x56, 0x1002a68f6\ncall    UploadActionPopup__create                                      ; +0x5a, 0x1002a68fa\nmov     [rbx+2B0h], rax                                                ; +0x5f, 0x1002a68ff\nmov     rcx, [rax]                                                     ; +0x66, 0x1002a6906\nmov     rdi, rax                                                       ; +0x69, 0x1002a6909\ncall    qword ptr [rcx+508h]                                           ; +0x6c, 0x1002a690c\nadd     rsp, 18h                                                       ; +0x72, 0x1002a6912\npop     rbx                                                            ; +0x76, 0x1002a6916\npop     rbp                                                            ; +0x77, 0x1002a6917\nretn                                                                   ; +0x78, 0x1002a6918", "xrefs": ["<???> @ 0x1008fa7f8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}