{"type": "func", "start": 5369730864, "end": 5369731254, "name": "InvitesPopup::FLAlert_Clicked", "pseudocode": "// \n// InvitesPopup::FLAlert_Clicked from 0x1400f9730 to 0x1400f98b6 (390 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072b4d0\n// > <???> @ 0x1409153e0\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:26:39 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall InvitesPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  __int64 v5; // rbx\n  __int64 v6; // rcx\n  char updated; // bp\n  void *v8; // r8\n  __int64 v9; // rax\n  void *v10; // [rsp+30h] [rbp-48h]\n  void *v11; // [rsp+30h] [rbp-48h]\n  void *Block[2]; // [rsp+38h] [rbp-40h] BYREF\n  __int64 v13; // [rsp+48h] [rbp-30h]\n  unsigned __int64 v14; // [rsp+50h] [rbp-28h]\n\n  if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 6 )\n  {\n    if ( !a3 || *(int *)(a1 + 24) <= 0 )\n      goto LABEL_17;\n    *(_OWORD *)Block = 0;\n    v5 = 0;\n    v13 = 0;\n    v14 = 15;\n    LOBYTE(Block[0]) = 0;\n    v6 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v10 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v6 = *(_QWORD *)&qword_14090BFB0;\n    }\n    updated = GameLevelManager::updateThread(v6, *(unsigned int *)(a1 + 24), 9, Block);\n    if ( v14 > 0xF )\n    {\n      v8 = Block[0];\n      if ( v14 + 1 >= 0x1000 )\n      {\n        v8 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v8);\n    }\n    if ( updated )\n    {\n      if ( a1 != 784 )\n        v5 = a1 - 8;\n      v9 = *(_QWORD *)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n      {\n        v11 = operator new(0x690u);\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v11);\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n        v9 = *(_QWORD *)&qword_14090BFB0;\n      }\n      *(_QWORD *)(v9 + 1392) = v5;\n    }\n    else\n    {\nLABEL_17:\n      *(_DWORD *)(a1 + 24) = 0;\n    }\n  }\n}", "assembly": "; \n; InvitesPopup::FLAlert_Clicked from 0x1400f9730 to 0x1400f98b6 (390 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072b4d0\n; > <???> @ 0x1409153e0\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:26:39 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1400f9730\npush    rbp                                                            ; +0x5, 0x1400f9735\npush    rsi                                                            ; +0x6, 0x1400f9736\npush    rdi                                                            ; +0x7, 0x1400f9737\nsub     rsp, 60h                                                       ; +0x8, 0x1400f9738\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x1400f973c\nxor     rax, rsp                                                       ; +0x13, 0x1400f9743\nmov     [rsp+78h+var_20], rax                                          ; +0x16, 0x1400f9746\nmovzx   ebx, r8b                                                       ; +0x1b, 0x1400f974b\nmov     rsi, rcx                                                       ; +0x1f, 0x1400f974f\nmov     rax, [rdx]                                                     ; +0x22, 0x1400f9752\nmov     rcx, rdx                                                       ; +0x25, 0x1400f9755\ncall    qword ptr [rax+38h]                                            ; +0x28, 0x1400f9758\ncmp     eax, 6                                                         ; +0x2b, 0x1400f975b\njnz     loc_1400F9899                                                  ; +0x2e, 0x1400f975e\ntest    bl, bl                                                         ; +0x34, 0x1400f9764\njz      loc_1400F9894                                                  ; +0x36, 0x1400f9766\ncmp     dword ptr [rsi+18h], 0                                         ; +0x3c, 0x1400f976c\njle     loc_1400F9894                                                  ; +0x40, 0x1400f9770\nxorps   xmm0, xmm0                                                     ; +0x46, 0x1400f9776\nmovups  xmmword ptr [rsp+78h+Block], xmm0                              ; +0x49, 0x1400f9779\nxor     ebx, ebx                                                       ; +0x4e, 0x1400f977e\nmov     [rsp+78h+var_30], rbx                                          ; +0x50, 0x1400f9780\nmov     [rsp+78h+var_28], 0Fh                                          ; +0x55, 0x1400f9785\nmov     byte ptr [rsp+78h+Block], bl                                   ; +0x5e, 0x1400f978e\nmov     rcx, cs:qword_14090BFB0                                        ; +0x62, 0x1400f9792\ntest    rcx, rcx                                                       ; +0x69, 0x1400f9799\njnz     short loc_1400F97D0                                            ; +0x6c, 0x1400f979c\nmov     ecx, 690h; Size                                                ; +0x6e, 0x1400f979e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x73, 0x1400f97a3\nmov     [rsp+78h+var_48], rax                                          ; +0x78, 0x1400f97a8\nmov     rcx, rax                                                       ; +0x7d, 0x1400f97ad\ncall    GameLevelManager__GameLevelManager                             ; +0x80, 0x1400f97b0\nnop                                                                    ; +0x85, 0x1400f97b5\nmov     cs:qword_14090BFB0, rax                                        ; +0x86, 0x1400f97b6\nmov     rcx, [rax]                                                     ; +0x8d, 0x1400f97bd\nmov     rdx, [rcx+48h]                                                 ; +0x90, 0x1400f97c0\nmov     rcx, rax                                                       ; +0x94, 0x1400f97c4\ncall    rdx                                                            ; +0x97, 0x1400f97c7\nmov     rcx, cs:qword_14090BFB0                                        ; +0x99, 0x1400f97c9\nlea     r9, [rsp+78h+Block]                                            ; +0xa0, 0x1400f97d0\nmov     r8d, 9                                                         ; +0xa5, 0x1400f97d5\nmov     edx, [rsi+18h]                                                 ; +0xab, 0x1400f97db\ncall    GameLevelManager__updateThread                                 ; +0xae, 0x1400f97de\nmovzx   ebp, al                                                        ; +0xb3, 0x1400f97e3\nmov     rdx, [rsp+78h+var_28]                                          ; +0xb6, 0x1400f97e6\ncmp     rdx, 0Fh                                                       ; +0xbb, 0x1400f97eb\njbe     short loc_1400F9838                                            ; +0xbf, 0x1400f97ef\ninc     rdx                                                            ; +0xc1, 0x1400f97f1\nmov     r8, [rsp+78h+Block]                                            ; +0xc4, 0x1400f97f4\nmov     rcx, r8                                                        ; +0xc9, 0x1400f97f9\ncmp     rdx, 1000h                                                     ; +0xcc, 0x1400f97fc\njb      short loc_1400F9830                                            ; +0xd3, 0x1400f9803\nadd     rdx, 27h ; '''                                                 ; +0xd5, 0x1400f9805\nmov     r8, [r8-8]                                                     ; +0xd9, 0x1400f9809\nsub     rcx, r8                                                        ; +0xdd, 0x1400f980d\nsub     rcx, 8                                                         ; +0xe0, 0x1400f9810\ncmp     rcx, 1Fh                                                       ; +0xe4, 0x1400f9814\njbe     short loc_1400F9830                                            ; +0xe8, 0x1400f9818\nmov     [rsp+78h+Reserved], rbx; Reserved                              ; +0xea, 0x1400f981a\nxor     r9d, r9d; LineNo                                               ; +0xef, 0x1400f981f\nxor     r8d, r8d; FileName                                             ; +0xf2, 0x1400f9822\nxor     edx, edx; FunctionName                                         ; +0xf5, 0x1400f9825\nxor     ecx, ecx; Expression                                           ; +0xf7, 0x1400f9827\ncall    cs:_invoke_watson                                              ; +0xf9, 0x1400f9829\nalign 10h                                                              ; +0xff, 0x1400f982f\nmov     rcx, r8; Block                                                 ; +0x100, 0x1400f9830\ncall    j_j_free                                                       ; +0x103, 0x1400f9833\ntest    bpl, bpl                                                       ; +0x108, 0x1400f9838\njz      short loc_1400F9896                                            ; +0x10b, 0x1400f983b\nlea     rax, [rsi-310h]                                                ; +0x10d, 0x1400f983d\ntest    rax, rax                                                       ; +0x114, 0x1400f9844\njz      short loc_1400F984D                                            ; +0x117, 0x1400f9847\nlea     rbx, [rsi-8]                                                   ; +0x119, 0x1400f9849\nmov     rax, cs:qword_14090BFB0                                        ; +0x11d, 0x1400f984d\ntest    rax, rax                                                       ; +0x124, 0x1400f9854\njnz     short loc_1400F988B                                            ; +0x127, 0x1400f9857\nmov     ecx, 690h; Size                                                ; +0x129, 0x1400f9859\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12e, 0x1400f985e\nmov     [rsp+78h+var_48], rax                                          ; +0x133, 0x1400f9863\nmov     rcx, rax                                                       ; +0x138, 0x1400f9868\ncall    GameLevelManager__GameLevelManager                             ; +0x13b, 0x1400f986b\nnop                                                                    ; +0x140, 0x1400f9870\nmov     cs:qword_14090BFB0, rax                                        ; +0x141, 0x1400f9871\nmov     rcx, [rax]                                                     ; +0x148, 0x1400f9878\nmov     rdx, [rcx+48h]                                                 ; +0x14b, 0x1400f987b\nmov     rcx, rax                                                       ; +0x14f, 0x1400f987f\ncall    rdx                                                            ; +0x152, 0x1400f9882\nmov     rax, cs:qword_14090BFB0                                        ; +0x154, 0x1400f9884\nmov     [rax+570h], rbx                                                ; +0x15b, 0x1400f988b\njmp     short loc_1400F9899                                            ; +0x162, 0x1400f9892\nxor     ebx, ebx                                                       ; +0x164, 0x1400f9894\nmov     [rsi+18h], ebx                                                 ; +0x166, 0x1400f9896\nmov     rcx, [rsp+78h+var_20]                                          ; +0x169, 0x1400f9899\nxor     rcx, rsp; StackCookie                                          ; +0x16e, 0x1400f989e\ncall    __security_check_cookie                                        ; +0x171, 0x1400f98a1\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x176, 0x1400f98a6\nadd     rsp, 60h                                                       ; +0x17e, 0x1400f98ae\npop     rdi                                                            ; +0x182, 0x1400f98b2\npop     rsi                                                            ; +0x183, 0x1400f98b3\npop     rbp                                                            ; +0x184, 0x1400f98b4\nretn                                                                   ; +0x185, 0x1400f98b5", "xrefs": ["<???> @ 0x14072b4d0", "<???> @ 0x1409153e0"], "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"}