{"type": "func", "start": 5370893824, "end": 5370894026, "name": "FriendsProfilePage::getUserListFailed", "pseudocode": "// \n// FriendsProfilePage::getUserListFailed from 0x140215600 to 0x1402156ca (202 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140757458\n// > <???> @ 0x14091b6bc\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:28:20 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::getUserListFailed(__int64 a1, __int64 a2, int a3)\n{\n  __int64 result; // rax\n  __int64 v4; // rdi\n  __int64 v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  const char *v9; // rdx\n  __int64 v10; // rcx\n\n  result = *(unsigned int *)(a1 + 8);\n  v4 = a1 - 808;\n  if ( (_DWORD)a2 == 2 )\n  {\n    if ( (_DWORD)result == 1 )\n      return result;\n    v7 = *(_QWORD *)(a1 - 112);\n    if ( v7 )\n      LoadingCircle::fadeAndRemove(v7);\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 104) + 336LL))(*(_QWORD *)(a1 + 104), a2);\n    if ( a3 == -2 )\n    {\n      v8 = *(cocos2d::CCObject **)(v4 + 872);\n      if ( v8 )\n      {\n        cocos2d::CCObject::release(v8);\n        *(_QWORD *)(a1 + 64) = 0;\n      }\n      *(_BYTE *)(a1 + 120) = 1;\n      FriendsProfilePage::updateCountLabel(v4);\n      v9 = \"Nothing found\";\n      return PagedListPopup::showStatus(v4, v9);\n    }\n    goto LABEL_13;\n  }\n  if ( (_DWORD)result != (_DWORD)a2 )\n    return result;\n  v10 = *(_QWORD *)(a1 - 112);\n  if ( v10 )\n    LoadingCircle::fadeAndRemove(v10);\n  LOBYTE(a2) = 1;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 104) + 336LL))(*(_QWORD *)(a1 + 104), a2);\n  v9 = \"Nothing found\";\n  if ( a3 != -2 )\nLABEL_13:\n    v9 = \"Something went wrong\";\n  return PagedListPopup::showStatus(v4, v9);\n}", "assembly": "; \n; FriendsProfilePage::getUserListFailed from 0x140215600 to 0x1402156ca (202 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140757458\n; > <???> @ 0x14091b6bc\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:28:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140215600\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140215605\npush    rdi                                                            ; +0xa, 0x14021560a\nsub     rsp, 20h                                                       ; +0xb, 0x14021560b\nmov     eax, [rcx+8]                                                   ; +0xf, 0x14021560f\nlea     rdi, [rcx-328h]                                                ; +0x12, 0x140215612\nmov     esi, r8d                                                       ; +0x19, 0x140215619\nmov     rbx, rcx                                                       ; +0x1c, 0x14021561c\ncmp     edx, 2                                                         ; +0x1f, 0x14021561f\njnz     short loc_14021567E                                            ; +0x22, 0x140215622\ncmp     eax, 1                                                         ; +0x24, 0x140215624\njz      loc_1402156BA                                                  ; +0x27, 0x140215627\nmov     rcx, [rcx-70h]                                                 ; +0x2d, 0x14021562d\ntest    rcx, rcx                                                       ; +0x31, 0x140215631\njz      short loc_14021563B                                            ; +0x34, 0x140215634\ncall    LoadingCircle__fadeAndRemove                                   ; +0x36, 0x140215636\nmov     rcx, [rbx+68h]                                                 ; +0x3b, 0x14021563b\nmov     dl, 1                                                          ; +0x3f, 0x14021563f\nmov     rax, [rcx]                                                     ; +0x41, 0x140215641\ncall    qword ptr [rax+150h]                                           ; +0x44, 0x140215644\ncmp     esi, 0FFFFFFFEh                                                ; +0x4a, 0x14021564a\njnz     short loc_1402156AB                                            ; +0x4d, 0x14021564d\nmov     rcx, [rdi+368h]                                                ; +0x4f, 0x14021564f\ntest    rcx, rcx                                                       ; +0x56, 0x140215656\njz      short loc_140215669                                            ; +0x59, 0x140215659\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x5b, 0x14021565b\nmov     qword ptr [rbx+40h], 0                                         ; +0x61, 0x140215661\nmov     rcx, rdi                                                       ; +0x69, 0x140215669\nmov     byte ptr [rbx+78h], 1                                          ; +0x6c, 0x14021566c\ncall    FriendsProfilePage__updateCountLabel                           ; +0x70, 0x140215670\nlea     rdx, aNothingFound; \"Nothing found\"                            ; +0x75, 0x140215675\njmp     short loc_1402156B2                                            ; +0x7c, 0x14021567c\ncmp     eax, edx                                                       ; +0x7e, 0x14021567e\njnz     short loc_1402156BA                                            ; +0x80, 0x140215680\nmov     rcx, [rcx-70h]                                                 ; +0x82, 0x140215682\ntest    rcx, rcx                                                       ; +0x86, 0x140215686\njz      short loc_140215690                                            ; +0x89, 0x140215689\ncall    LoadingCircle__fadeAndRemove                                   ; +0x8b, 0x14021568b\nmov     rcx, [rbx+68h]                                                 ; +0x90, 0x140215690\nmov     dl, 1                                                          ; +0x94, 0x140215694\nmov     rax, [rcx]                                                     ; +0x96, 0x140215696\ncall    qword ptr [rax+150h]                                           ; +0x99, 0x140215699\nlea     rdx, aNothingFound; \"Nothing found\"                            ; +0x9f, 0x14021569f\ncmp     esi, 0FFFFFFFEh                                                ; +0xa6, 0x1402156a6\njz      short loc_1402156B2                                            ; +0xa9, 0x1402156a9\nlea     rdx, aSomethingWentW_0; \"Something went wrong\"                 ; +0xab, 0x1402156ab\nmov     rcx, rdi                                                       ; +0xb2, 0x1402156b2\ncall    PagedListPopup__showStatus                                     ; +0xb5, 0x1402156b5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xba, 0x1402156ba\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xbf, 0x1402156bf\nadd     rsp, 20h                                                       ; +0xc4, 0x1402156c4\npop     rdi                                                            ; +0xc8, 0x1402156c8\nretn                                                                   ; +0xc9, 0x1402156c9", "xrefs": ["<???> @ 0x140757458", "<???> @ 0x14091b6bc"], "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"}