{"type": "func", "start": 4297537284, "end": 4297537516, "name": "FriendsProfilePage::getUserListFailed", "pseudocode": "// \n// FriendsProfilePage::getUserListFailed from 0x100273704 to 0x1002737ec (232 bytes)\n// \n// 2 xrefs:\n// > sub_1002737EC @ 0x1002737f0\n// > <???> @ 0x100918320\n// \n// This function is hookable on this platform (idp: arm, 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:01:48 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::getUserListFailed(__int64 result, int a2, int a3)\n{\n  __int64 v4; // x19\n  int v5; // w8\n  _DWORD *v6; // x0\n  const char *v7; // x1\n\n  v4 = result;\n  v5 = *(_DWORD *)(result + 816);\n  if ( a2 == 2 )\n  {\n    if ( v5 != 1 )\n    {\n      sub_10051B1EC(result);\n      (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 904) + 344LL))(*(_QWORD *)(v4 + 904), 1);\n      if ( a3 == -2 )\n      {\n        v6 = *(_DWORD **)(v4 + 872);\n        if ( v6 )\n        {\n          cocos2d::CCObject::release(v6);\n          *(_QWORD *)(v4 + 872) = 0;\n        }\n        *(_BYTE *)(v4 + 920) = 1;\n        sub_1002726C0(v4);\n        sub_100526440(*(_QWORD *)(v4 + 688), 0.0);\n        v7 = \"Nothing found\";\n      }\n      else\n      {\n        v7 = \"Something went wrong\";\n      }\n      return sub_10051B1FC(v4, v7);\n    }\n  }\n  else if ( v5 == a2 )\n  {\n    sub_10051B1EC(result);\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 904) + 344LL))(*(_QWORD *)(v4 + 904), 1);\n    if ( a3 == -2 )\n      v7 = \"Nothing found\";\n    else\n      v7 = \"Something went wrong\";\n    return sub_10051B1FC(v4, v7);\n  }\n  return result;\n}", "assembly": "; \n; FriendsProfilePage::getUserListFailed from 0x100273704 to 0x1002737ec (232 bytes)\n; \n; 2 xrefs:\n; > sub_1002737EC @ 0x1002737f0\n; > <???> @ 0x100918320\n; \n; This function is hookable on this platform (idp: arm, 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:01:48 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100273704\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100273708\nADD             X29, SP, #0x10                                         ; +0x8, 0x10027370c\nMOV             X20, X2                                                ; +0xc, 0x100273710\nMOV             X19, X0                                                ; +0x10, 0x100273714\nLDR             W8, [X0,#0x330]                                        ; +0x14, 0x100273718\nCMP             W1, #2                                                 ; +0x18, 0x10027371c\nB.NE            loc_100273788                                          ; +0x1c, 0x100273720\nCMP             W8, #1                                                 ; +0x20, 0x100273724\nB.EQ            loc_1002737C8                                          ; +0x24, 0x100273728\nMOV             X0, X19                                                ; +0x28, 0x10027372c\nBL              sub_10051B1EC                                          ; +0x2c, 0x100273730\nLDR             X0, [X19,#0x388]                                       ; +0x30, 0x100273734\nLDR             X8, [X0]                                               ; +0x34, 0x100273738\nLDR             X8, [X8,#0x158]                                        ; +0x38, 0x10027373c\nMOV             W1, #1                                                 ; +0x3c, 0x100273740\nBLR             X8                                                     ; +0x40, 0x100273744\nCMN             W20, #2                                                ; +0x44, 0x100273748\nB.NE            loc_1002737D4                                          ; +0x48, 0x10027374c\nLDR             X0, [X19,#0x368]                                       ; +0x4c, 0x100273750\nCBZ             X0, loc_100273760                                      ; +0x50, 0x100273754\nBL              cocos2d__CCObject__release                             ; +0x54, 0x100273758\nSTR             XZR, [X19,#0x368]                                      ; +0x58, 0x10027375c\nMOV             W8, #1                                                 ; +0x5c, 0x100273760\nSTRB            W8, [X19,#0x398]                                       ; +0x60, 0x100273764\nMOV             X0, X19                                                ; +0x64, 0x100273768\nBL              sub_1002726C0                                          ; +0x68, 0x10027376c\nLDR             X0, [X19,#0x2B0]                                       ; +0x6c, 0x100273770\nFMOV            S0, WZR                                                ; +0x70, 0x100273774\nBL              sub_100526440                                          ; +0x74, 0x100273778\nADRL            X1, aNothingFound; \"Nothing found\"                     ; +0x78, 0x10027377c\nB               loc_1002737DC                                          ; +0x80, 0x100273784\nCMP             W8, W1                                                 ; +0x84, 0x100273788\nB.NE            loc_1002737C8                                          ; +0x88, 0x10027378c\nMOV             X0, X19                                                ; +0x8c, 0x100273790\nBL              sub_10051B1EC                                          ; +0x90, 0x100273794\nLDR             X0, [X19,#0x388]                                       ; +0x94, 0x100273798\nLDR             X8, [X0]                                               ; +0x98, 0x10027379c\nLDR             X8, [X8,#0x158]                                        ; +0x9c, 0x1002737a0\nMOV             W1, #1                                                 ; +0xa0, 0x1002737a4\nBLR             X8                                                     ; +0xa4, 0x1002737a8\nADRL            X8, aSomethingWentW_2; \"Something went wrong\"          ; +0xa8, 0x1002737ac\nADRL            X9, aNothingFound; \"Nothing found\"                     ; +0xb0, 0x1002737b4\nCMN             W20, #2                                                ; +0xb8, 0x1002737bc\nCSEL            X1, X9, X8, EQ                                         ; +0xbc, 0x1002737c0\nB               loc_1002737DC                                          ; +0xc0, 0x1002737c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc4, 0x1002737c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xc8, 0x1002737cc\nRET                                                                    ; +0xcc, 0x1002737d0\nADRL            X1, aSomethingWentW_2; \"Something went wrong\"          ; +0xd0, 0x1002737d4\nMOV             X0, X19                                                ; +0xd8, 0x1002737dc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xdc, 0x1002737e0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xe0, 0x1002737e4\nB               sub_10051B1FC                                          ; +0xe4, 0x1002737e8", "xrefs": ["sub_1002737EC @ 0x1002737f0", "<???> @ 0x100918320"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}