{"type": "func", "start": 4302534832, "end": 4302535158, "name": "FriendsProfilePage::FLAlert_Clicked", "pseudocode": "// \n// FriendsProfilePage::FLAlert_Clicked from 0x1007378b0 to 0x1007379f6 (326 bytes)\n// \n// 2 xrefs:\n// > sub_100737A10 @ 0x100737a1c\n// > <???> @ 0x100b9a2d8\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:36:25 +0000\n// \n\nvoid __fastcall FriendsProfilePage::FLAlert_Clicked(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  char *v6; // rax\n  __int64 v7; // rax\n  __int128 v8[2]; // [rsp+8h] [rbp-28h] BYREF\n\n  if ( a3 && *(_QWORD *)(a1 + 840) )\n  {\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )\n    {\n      v3 = GameLevelManager::sharedState();\n      sub_100576170(v3, *(unsigned int *)(*(_QWORD *)(a1 + 840) + 376LL), 0);\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )\n    {\n      v4 = GameLevelManager::sharedState();\n      if ( sub_10057C640(v4, *(_DWORD *)(*(_QWORD *)(a1 + 840) + 376LL)) )\n      {\n        *(_QWORD *)(GameLevelManager::sharedState() + 1360) = a1 + 792;\n        v5 = *(_QWORD *)(a1 + 848);\n        if ( v5 )\n          *(_QWORD *)(v5 + 664) = 0;\n        strcpy((char *)v8, \"$Unblocking user...\");\n        v6 = UploadActionPopup::create(a1 + 800, v8);\n        *(_QWORD *)(a1 + 848) = v6;\n        if ( (v8[0] & 1) != 0 )\n        {\n          operator delete(*(void **)&v8[1]);\n          v6 = *(char **)(a1 + 848);\n        }\n        (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);\n      }\n    }\n    else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 )\n    {\n      v7 = GameLevelManager::sharedState();\n      sub_100575DD0(v7, *(unsigned int *)(*(_QWORD *)(a1 + 840) + 376LL), 0);\n    }\n  }\n}", "assembly": "; \n; FriendsProfilePage::FLAlert_Clicked from 0x1007378b0 to 0x1007379f6 (326 bytes)\n; \n; 2 xrefs:\n; > sub_100737A10 @ 0x100737a1c\n; > <???> @ 0x100b9a2d8\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:36:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x1007378b0\nmov     rbp, rsp                                                       ; +0x1, 0x1007378b1\npush    r14                                                            ; +0x4, 0x1007378b4\npush    rbx                                                            ; +0x6, 0x1007378b6\nsub     rsp, 20h                                                       ; +0x7, 0x1007378b7\ntest    edx, edx                                                       ; +0xb, 0x1007378bb\njz      loc_1007379ED                                                  ; +0xd, 0x1007378bd\nmov     rbx, rdi                                                       ; +0x13, 0x1007378c3\ncmp     qword ptr [rdi+348h], 0                                        ; +0x16, 0x1007378c6\njz      loc_1007379ED                                                  ; +0x1e, 0x1007378ce\nmov     rax, [rsi]                                                     ; +0x24, 0x1007378d4\nmov     r14, rsi                                                       ; +0x27, 0x1007378d7\nmov     rdi, rsi                                                       ; +0x2a, 0x1007378da\ncall    qword ptr [rax+40h]                                            ; +0x2d, 0x1007378dd\ncmp     eax, 1                                                         ; +0x30, 0x1007378e0\njnz     short loc_100737909                                            ; +0x33, 0x1007378e3\ncall    GameLevelManager__sharedState                                  ; +0x35, 0x1007378e5\nmov     rcx, [rbx+348h]                                                ; +0x3a, 0x1007378ea\nmov     esi, [rcx+178h]                                                ; +0x41, 0x1007378f1\nmov     rdi, rax                                                       ; +0x47, 0x1007378f7\nxor     edx, edx                                                       ; +0x4a, 0x1007378fa\nadd     rsp, 20h                                                       ; +0x4c, 0x1007378fc\npop     rbx                                                            ; +0x50, 0x100737900\npop     r14                                                            ; +0x51, 0x100737901\npop     rbp                                                            ; +0x53, 0x100737903\njmp     sub_100576170                                                  ; +0x54, 0x100737904\nmov     rdi, r14                                                       ; +0x59, 0x100737909\nmov     rax, [r14]                                                     ; +0x5c, 0x10073790c\ncall    qword ptr [rax+40h]                                            ; +0x5f, 0x10073790f\ncmp     eax, 2                                                         ; +0x62, 0x100737912\njnz     loc_1007379BB                                                  ; +0x65, 0x100737915\ncall    GameLevelManager__sharedState                                  ; +0x6b, 0x10073791b\nmov     rcx, [rbx+348h]                                                ; +0x70, 0x100737920\nmov     esi, [rcx+178h]                                                ; +0x77, 0x100737927\nmov     rdi, rax                                                       ; +0x7d, 0x10073792d\ncall    sub_10057C640                                                  ; +0x80, 0x100737930\ntest    al, al                                                         ; +0x85, 0x100737935\njz      loc_1007379ED                                                  ; +0x87, 0x100737937\ncall    GameLevelManager__sharedState                                  ; +0x8d, 0x10073793d\nlea     rcx, [rbx+318h]                                                ; +0x92, 0x100737942\nmov     [rax+550h], rcx                                                ; +0x99, 0x100737949\nmov     rax, [rbx+350h]                                                ; +0xa0, 0x100737950\ntest    rax, rax                                                       ; +0xa7, 0x100737957\njz      short loc_100737967                                            ; +0xaa, 0x10073795a\nmov     qword ptr [rax+298h], 0                                        ; +0xac, 0x10073795c\nlea     rdi, [rbx+320h]                                                ; +0xb7, 0x100737967\nmov     [rbp+var_28], 24h ; '$'                                        ; +0xbe, 0x10073796e\nmovups  xmm0, xmmword ptr cs:aUnblockingUser; \"Unblocking user...\"     ; +0xc2, 0x100737972\nmovups  xmmword ptr [rbp+var_28+1], xmm0                               ; +0xc9, 0x100737979\nmov     word ptr [rbp+var_28+11h], 2E2Eh                               ; +0xcd, 0x10073797d\nmov     [rbp+var_28+13h], 0                                            ; +0xd3, 0x100737983\nlea     rsi, [rbp+var_28]                                              ; +0xd7, 0x100737987\ncall    UploadActionPopup__create                                      ; +0xdb, 0x10073798b\nmov     [rbx+350h], rax                                                ; +0xe0, 0x100737990\ntest    [rbp+var_28], 1                                                ; +0xe7, 0x100737997\njz      short loc_1007379AD                                            ; +0xeb, 0x10073799b\nmov     rdi, qword ptr [rbp+var_28+10h]; __p                           ; +0xed, 0x10073799d\ncall    __ZdlPv; operator delete(void *)                               ; +0xf1, 0x1007379a1\nmov     rax, [rbx+350h]                                                ; +0xf6, 0x1007379a6\nmov     rcx, [rax]                                                     ; +0xfd, 0x1007379ad\nmov     rdi, rax                                                       ; +0x100, 0x1007379b0\ncall    qword ptr [rcx+520h]                                           ; +0x103, 0x1007379b3\njmp     short loc_1007379ED                                            ; +0x109, 0x1007379b9\nmov     rdi, r14                                                       ; +0x10b, 0x1007379bb\nmov     rax, [r14]                                                     ; +0x10e, 0x1007379be\ncall    qword ptr [rax+40h]                                            ; +0x111, 0x1007379c1\ncmp     eax, 3                                                         ; +0x114, 0x1007379c4\njnz     short loc_1007379ED                                            ; +0x117, 0x1007379c7\ncall    GameLevelManager__sharedState                                  ; +0x119, 0x1007379c9\nmov     rcx, [rbx+348h]                                                ; +0x11e, 0x1007379ce\nmov     esi, [rcx+178h]                                                ; +0x125, 0x1007379d5\nmov     rdi, rax                                                       ; +0x12b, 0x1007379db\nxor     edx, edx                                                       ; +0x12e, 0x1007379de\nadd     rsp, 20h                                                       ; +0x130, 0x1007379e0\npop     rbx                                                            ; +0x134, 0x1007379e4\npop     r14                                                            ; +0x135, 0x1007379e5\npop     rbp                                                            ; +0x137, 0x1007379e7\njmp     sub_100575DD0                                                  ; +0x138, 0x1007379e8\nadd     rsp, 20h                                                       ; +0x13d, 0x1007379ed\npop     rbx                                                            ; +0x141, 0x1007379f1\npop     r14                                                            ; +0x142, 0x1007379f2\npop     rbp                                                            ; +0x144, 0x1007379f4\nretn                                                                   ; +0x145, 0x1007379f5", "xrefs": ["sub_100737A10 @ 0x100737a1c", "<???> @ 0x100b9a2d8"], "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"}