{"type": "func", "start": 5369657376, "end": 5369657714, "name": "FriendPickerPopup::textChanged", "pseudocode": "// \n// FriendPickerPopup::textChanged from 0x1400e7820 to 0x1400e7972 (338 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407286d0\n// > <???> @ 0x140914d2c\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:33 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall FriendPickerPopup::textChanged(__int64 a1, __int64 a2)\n{\n  _BYTE *v3; // rax\n  size_t v4; // r8\n  unsigned __int64 i; // rdi\n  _QWORD *v6; // rdx\n  _QWORD *v7; // rbx\n  void *v8; // rcx\n  _QWORD v10[2]; // [rsp+38h] [rbp-60h] BYREF\n  unsigned __int64 v11; // [rsp+48h] [rbp-50h]\n  unsigned __int64 v12; // [rsp+50h] [rbp-48h]\n  void *Block[2]; // [rsp+58h] [rbp-40h] BYREF\n  __int128 v14; // [rsp+68h] [rbp-30h]\n\n  *(_BYTE *)(a1 + 280) = 0;\n  v3 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a2 + 592) + 600LL) + 8LL))(*(_QWORD *)(a2 + 592) + 600LL);\n  *(_OWORD *)Block = 0;\n  v14 = 0;\n  v4 = -1;\n  do\n    ++v4;\n  while ( v3[v4] );\n  sub_14003D230(Block, v3, v4);\n  sub_14003F4F0((__int64)v10, (__int64)Block);\n  for ( i = 0; i < v11; ++i )\n  {\n    v6 = v10;\n    if ( v12 > 0xF )\n      v6 = (_QWORD *)v10[0];\n    v7 = v10;\n    if ( v12 > 0xF )\n      v7 = (_QWORD *)v10[0];\n    *((_BYTE *)v7 + i) = tolower(*((char *)v6 + i));\n  }\n  sub_140059C40(a1 + 288, (__int64)v10);\n  sub_14003D310((__int64)v10);\n  if ( *((_QWORD *)&v14 + 1) > 0xFu )\n  {\n    v8 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v14 + 1) + 1LL) >= 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  return FriendPickerPopup::buildRows(a1 - 544);\n}", "assembly": "; \n; FriendPickerPopup::textChanged from 0x1400e7820 to 0x1400e7972 (338 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407286d0\n; > <???> @ 0x140914d2c\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:33 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1400e7820\npush    rbp                                                            ; +0x5, 0x1400e7825\npush    rsi                                                            ; +0x6, 0x1400e7826\npush    rdi                                                            ; +0x7, 0x1400e7827\nsub     rsp, 80h                                                       ; +0x8, 0x1400e7828\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1400e782f\nxor     rax, rsp                                                       ; +0x16, 0x1400e7836\nmov     [rsp+98h+var_20], rax                                          ; +0x19, 0x1400e7839\nmov     rbp, rcx                                                       ; +0x1e, 0x1400e783e\nmov     byte ptr [rcx+118h], 0                                         ; +0x21, 0x1400e7841\nmov     rcx, [rdx+250h]                                                ; +0x28, 0x1400e7848\nadd     rcx, 258h                                                      ; +0x2f, 0x1400e784f\nmov     rax, [rcx]                                                     ; +0x36, 0x1400e7856\ncall    qword ptr [rax+8]                                              ; +0x39, 0x1400e7859\nxorps   xmm0, xmm0                                                     ; +0x3c, 0x1400e785c\nmovups  xmmword ptr [rsp+98h+Block], xmm0                              ; +0x3f, 0x1400e785f\nxorps   xmm1, xmm1                                                     ; +0x44, 0x1400e7864\nmovdqu  [rsp+98h+var_30], xmm1                                         ; +0x47, 0x1400e7867\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4d, 0x1400e786d\ninc     r8                                                             ; +0x54, 0x1400e7874\ncmp     byte ptr [rax+r8], 0                                           ; +0x57, 0x1400e7877\njnz     short loc_1400E7874                                            ; +0x5c, 0x1400e787c\nmov     rdx, rax                                                       ; +0x5e, 0x1400e787e\nlea     rcx, [rsp+98h+Block]                                           ; +0x61, 0x1400e7881\ncall    sub_14003D230                                                  ; +0x66, 0x1400e7886\nnop                                                                    ; +0x6b, 0x1400e788b\nlea     rdx, [rsp+98h+Block]                                           ; +0x6c, 0x1400e788c\nlea     rcx, [rsp+98h+var_60]                                          ; +0x71, 0x1400e7891\ncall    sub_14003F4F0                                                  ; +0x76, 0x1400e7896\nxor     edi, edi                                                       ; +0x7b, 0x1400e789b\ncmp     [rsp+98h+var_50], rdi                                          ; +0x7d, 0x1400e789d\njbe     short loc_1400E78D7                                            ; +0x82, 0x1400e78a2\nlea     rdx, [rsp+98h+var_60]                                          ; +0x84, 0x1400e78a4\ncmp     [rsp+98h+var_48], 0Fh                                          ; +0x89, 0x1400e78a9\ncmova   rdx, [rsp+98h+var_60]                                          ; +0x8f, 0x1400e78af\nlea     rbx, [rsp+98h+var_60]                                          ; +0x95, 0x1400e78b5\ncmova   rbx, [rsp+98h+var_60]                                          ; +0x9a, 0x1400e78ba\nmovsx   ecx, byte ptr [rdx+rdi]; C                                     ; +0xa0, 0x1400e78c0\ncall    cs:tolower                                                     ; +0xa4, 0x1400e78c4\nmov     [rbx+rdi], al                                                  ; +0xaa, 0x1400e78ca\ninc     rdi                                                            ; +0xad, 0x1400e78cd\ncmp     rdi, [rsp+98h+var_50]                                          ; +0xb0, 0x1400e78d0\njb      short loc_1400E78A4                                            ; +0xb5, 0x1400e78d5\nlea     rcx, [rbp+120h]                                                ; +0xb7, 0x1400e78d7\nlea     rdx, [rsp+98h+var_60]                                          ; +0xbe, 0x1400e78de\ncall    sub_140059C40                                                  ; +0xc3, 0x1400e78e3\nlea     rcx, [rsp+98h+var_60]                                          ; +0xc8, 0x1400e78e8\ncall    sub_14003D310                                                  ; +0xcd, 0x1400e78ed\nnop                                                                    ; +0xd2, 0x1400e78f2\nmov     rdx, qword ptr [rsp+98h+var_30+8]                              ; +0xd3, 0x1400e78f3\ncmp     rdx, 0Fh                                                       ; +0xd8, 0x1400e78f8\njbe     short loc_1400E7946                                            ; +0xdc, 0x1400e78fc\ninc     rdx                                                            ; +0xde, 0x1400e78fe\nmov     rcx, [rsp+98h+Block]; Block                                    ; +0xe1, 0x1400e7901\nmov     rax, rcx                                                       ; +0xe6, 0x1400e7906\ncmp     rdx, 1000h                                                     ; +0xe9, 0x1400e7909\njb      short loc_1400E7941                                            ; +0xf0, 0x1400e7910\nadd     rdx, 27h ; '''                                                 ; +0xf2, 0x1400e7912\nmov     rcx, [rcx-8]                                                   ; +0xf6, 0x1400e7916\nsub     rax, rcx                                                       ; +0xfa, 0x1400e791a\nsub     rax, 8                                                         ; +0xfd, 0x1400e791d\ncmp     rax, 1Fh                                                       ; +0x101, 0x1400e7921\njbe     short loc_1400E7941                                            ; +0x105, 0x1400e7925\nmov     [rsp+98h+Reserved], 0; Reserved                                ; +0x107, 0x1400e7927\nxor     r9d, r9d; LineNo                                               ; +0x110, 0x1400e7930\nxor     r8d, r8d; FileName                                             ; +0x113, 0x1400e7933\nxor     edx, edx; FunctionName                                         ; +0x116, 0x1400e7936\nxor     ecx, ecx; Expression                                           ; +0x118, 0x1400e7938\ncall    cs:_invoke_watson                                              ; +0x11a, 0x1400e793a\ndb 0CCh                                                                ; +0x120, 0x1400e7940\ncall    j_j_free                                                       ; +0x121, 0x1400e7941\nlea     rcx, [rbp-220h]                                                ; +0x126, 0x1400e7946\ncall    FriendPickerPopup__buildRows                                   ; +0x12d, 0x1400e794d\nmov     rcx, [rsp+98h+var_20]                                          ; +0x132, 0x1400e7952\nxor     rcx, rsp; StackCookie                                          ; +0x137, 0x1400e7957\ncall    __security_check_cookie                                        ; +0x13a, 0x1400e795a\nmov     rbx, [rsp+98h+arg_10]                                          ; +0x13f, 0x1400e795f\nadd     rsp, 80h                                                       ; +0x147, 0x1400e7967\npop     rdi                                                            ; +0x14e, 0x1400e796e\npop     rsi                                                            ; +0x14f, 0x1400e796f\npop     rbp                                                            ; +0x150, 0x1400e7970\nretn                                                                   ; +0x151, 0x1400e7971", "xrefs": ["<???> @ 0x1407286d0", "<???> @ 0x140914d2c"], "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"}