{"type": "func", "start": 5369657008, "end": 5369657364, "name": "FriendPickerPopup::getUserListFailed", "pseudocode": "// \n// FriendPickerPopup::getUserListFailed from 0x1400e76b0 to 0x1400e7814 (356 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072b648\n// > <???> @ 0x140914d20\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\nvoid __fastcall FriendPickerPopup::getUserListFailed(__int64 a1, int a2, int a3)\n{\n  __int64 v5; // rcx\n  cocos2d::CCObject *v6; // rcx\n  __int64 *v7; // rdi\n  __int64 v8; // rbx\n  __int64 v9; // rdx\n  __int64 v10; // r8\n  __int64 v11; // rax\n  __int64 v12; // rcx\n  _WORD v13[8]; // [rsp+30h] [rbp-48h] BYREF\n  __int64 v14; // [rsp+40h] [rbp-38h]\n  __int64 v15; // [rsp+48h] [rbp-30h]\n  __int128 v16; // [rsp+50h] [rbp-28h] BYREF\n  __int64 v17; // [rsp+60h] [rbp-18h]\n  __int64 v18; // [rsp+68h] [rbp-10h]\n\n  if ( a2 == 2 )\n  {\n    v5 = *(_QWORD *)(a1 - 88);\n    if ( v5 )\n      LoadingCircle::fadeAndRemove(v5);\n    if ( a3 == -2 )\n    {\n      v6 = *(cocos2d::CCObject **)(a1 + 24);\n      if ( v6 )\n      {\n        cocos2d::CCObject::release(v6);\n        *(_QWORD *)(a1 + 24) = 0;\n      }\n      *(_BYTE *)(a1 + 40) = 1;\n      FriendPickerPopup::buildRows(a1 - 784);\n    }\n    else\n    {\n      v7 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v5) + 272);\n      v16 = 0;\n      v17 = 0;\n      v18 = 15;\n      LOBYTE(v16) = 0;\n      v13[7] = 0;\n      v14 = 13;\n      v15 = 15;\n      strcpy((char *)v13, \"Search failed\");\n      v8 = *v7;\n      v11 = TextAlertPopup::create(v13, v9, v10, 150, &v16);\n      (*(void (__fastcall **)(__int64 *, __int64, __int64))(v8 + 456))(v7, v11, 1000);\n    }\n  }\n  else if ( !a2 )\n  {\n    v12 = *(_QWORD *)(a1 - 88);\n    if ( v12 )\n      LoadingCircle::fadeAndRemove(v12);\n    PagedListPopup::showStatus(a1 - 784, (const char *)&xmmword_140726660);\n  }\n}", "assembly": "; \n; FriendPickerPopup::getUserListFailed from 0x1400e76b0 to 0x1400e7814 (356 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072b648\n; > <???> @ 0x140914d20\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_0], rbx                                               ; +0x0, 0x1400e76b0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1400e76b5\npush    rdi                                                            ; +0xa, 0x1400e76ba\nsub     rsp, 70h                                                       ; +0xb, 0x1400e76bb\nmov     esi, r8d                                                       ; +0xf, 0x1400e76bf\nmov     rbx, rcx                                                       ; +0x12, 0x1400e76c2\ncmp     edx, 2                                                         ; +0x15, 0x1400e76c5\njnz     loc_1400E77DD                                                  ; +0x18, 0x1400e76c8\nmov     rcx, [rcx-58h]                                                 ; +0x1e, 0x1400e76ce\ntest    rcx, rcx                                                       ; +0x22, 0x1400e76d2\njz      short loc_1400E76DC                                            ; +0x25, 0x1400e76d5\ncall    LoadingCircle__fadeAndRemove                                   ; +0x27, 0x1400e76d7\ncmp     esi, 0FFFFFFFEh                                                ; +0x2c, 0x1400e76dc\njnz     short loc_1400E7717                                            ; +0x2f, 0x1400e76df\nmov     rcx, [rbx+18h]                                                 ; +0x31, 0x1400e76e1\ntest    rcx, rcx                                                       ; +0x35, 0x1400e76e5\njz      short loc_1400E76F6                                            ; +0x38, 0x1400e76e8\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3a, 0x1400e76ea\nxor     eax, eax                                                       ; +0x40, 0x1400e76f0\nmov     [rbx+18h], rax                                                 ; +0x42, 0x1400e76f2\nmov     byte ptr [rbx+28h], 1                                          ; +0x46, 0x1400e76f6\nlea     rcx, [rbx-310h]                                                ; +0x4a, 0x1400e76fa\nlea     r11, [rsp+78h+var_8]                                           ; +0x51, 0x1400e7701\nmov     rbx, [r11+10h]                                                 ; +0x56, 0x1400e7706\nmov     rsi, [r11+18h]                                                 ; +0x5a, 0x1400e770a\nmov     rsp, r11                                                       ; +0x5e, 0x1400e770e\npop     rdi                                                            ; +0x61, 0x1400e7711\njmp     FriendPickerPopup__buildRows                                   ; +0x62, 0x1400e7712\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x67, 0x1400e7717\nmov     rdi, [rax+110h]                                                ; +0x6d, 0x1400e771d\nlea     rax, [rsp+78h+var_28]                                          ; +0x74, 0x1400e7724\nmov     [rsp+78h+arg_18], rax                                          ; +0x79, 0x1400e7729\nxorps   xmm0, xmm0                                                     ; +0x81, 0x1400e7731\nmovups  [rsp+78h+var_28], xmm0                                         ; +0x84, 0x1400e7734\nxor     eax, eax                                                       ; +0x89, 0x1400e7739\nmov     [rsp+78h+var_18], rax                                          ; +0x8b, 0x1400e773b\nmov     [rsp+78h+var_10], 0Fh                                          ; +0x90, 0x1400e7740\nmov     byte ptr [rsp+78h+var_28], al                                  ; +0x99, 0x1400e7749\nmov     word ptr [rsp+78h+var_48+0Eh], ax                              ; +0x9d, 0x1400e774d\nmov     [rsp+78h+var_38], 0Dh                                          ; +0xa2, 0x1400e7752\nmov     [rsp+78h+var_30], 0Fh                                          ; +0xab, 0x1400e775b\nmovsd   xmm0, cs:qword_140726E58                                       ; +0xb4, 0x1400e7764\nmovsd   qword ptr [rsp+78h+var_48], xmm0                               ; +0xbc, 0x1400e776c\nmov     eax, cs:dword_140726E60                                        ; +0xc2, 0x1400e7772\nmov     dword ptr [rsp+78h+var_48+8], eax                              ; +0xc8, 0x1400e7778\nmovzx   eax, cs:byte_140726E64                                         ; +0xcc, 0x1400e777c\nmov     [rsp+78h+var_48+0Ch], al                                       ; +0xd3, 0x1400e7783\nmov     [rsp+78h+var_48+0Dh], 0                                        ; +0xd7, 0x1400e7787\nmov     rbx, [rdi]                                                     ; +0xdc, 0x1400e778c\nlea     rax, [rsp+78h+var_28]                                          ; +0xdf, 0x1400e778f\nmov     [rsp+78h+var_58], rax                                          ; +0xe4, 0x1400e7794\nmov     r9d, 96h                                                       ; +0xe9, 0x1400e7799\nmovss   xmm2, cs:dword_140834F64                                       ; +0xef, 0x1400e779f\nmovss   xmm1, cs:dword_140834F20                                       ; +0xf7, 0x1400e77a7\nlea     rcx, [rsp+78h+var_48]                                          ; +0xff, 0x1400e77af\ncall    TextAlertPopup__create                                         ; +0x104, 0x1400e77b4\nmov     rdx, rax                                                       ; +0x109, 0x1400e77b9\nmov     r8d, 3E8h                                                      ; +0x10c, 0x1400e77bc\nmov     rcx, rdi                                                       ; +0x112, 0x1400e77c2\ncall    qword ptr [rbx+1C8h]                                           ; +0x115, 0x1400e77c5\nlea     r11, [rsp+78h+var_8]                                           ; +0x11b, 0x1400e77cb\nmov     rbx, [r11+10h]                                                 ; +0x120, 0x1400e77d0\nmov     rsi, [r11+18h]                                                 ; +0x124, 0x1400e77d4\nmov     rsp, r11                                                       ; +0x128, 0x1400e77d8\npop     rdi                                                            ; +0x12b, 0x1400e77db\nretn                                                                   ; +0x12c, 0x1400e77dc\ntest    edx, edx                                                       ; +0x12d, 0x1400e77dd\njnz     short loc_1400E7802                                            ; +0x12f, 0x1400e77df\nmov     rcx, [rcx-58h]                                                 ; +0x131, 0x1400e77e1\ntest    rcx, rcx                                                       ; +0x135, 0x1400e77e5\njz      short loc_1400E77EF                                            ; +0x138, 0x1400e77e8\ncall    LoadingCircle__fadeAndRemove                                   ; +0x13a, 0x1400e77ea\nlea     rdx, xmmword_140726660                                         ; +0x13f, 0x1400e77ef\nlea     rcx, [rbx-310h]                                                ; +0x146, 0x1400e77f6\ncall    PagedListPopup__showStatus                                     ; +0x14d, 0x1400e77fd\nlea     r11, [rsp+78h+var_8]                                           ; +0x152, 0x1400e7802\nmov     rbx, [r11+10h]                                                 ; +0x157, 0x1400e7807\nmov     rsi, [r11+18h]                                                 ; +0x15b, 0x1400e780b\nmov     rsp, r11                                                       ; +0x15f, 0x1400e780f\npop     rdi                                                            ; +0x162, 0x1400e7812\nretn                                                                   ; +0x163, 0x1400e7813", "xrefs": ["<???> @ 0x14072b648", "<???> @ 0x140914d20"], "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"}