{"type": "func", "start": 4302532384, "end": 4302532476, "name": "FriendsProfilePage::updateSortLabel", "pseudocode": "// \n// FriendsProfilePage::updateSortLabel from 0x100736f20 to 0x100736f7c (92 bytes)\n// \n// 0 xrefs:\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 12:36:25 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::updateSortLabel(__int64 a1)\n{\n  __int64 result; // rax\n  const char *v2; // rdx\n  const char *v3; // rsi\n\n  result = *(_QWORD *)(a1 + 936);\n  if ( result )\n  {\n    v2 = \"New\";\n    if ( *(_BYTE *)(a1 + 968) )\n      v2 = \"Old\";\n    v3 = \"A-Z\";\n    if ( *(_BYTE *)(a1 + 968) )\n      v3 = \"Z-A\";\n    if ( *(_BYTE *)(a1 + 944) )\n      v3 = v2;\n    return (*(__int64 (__fastcall **)(_QWORD, const char *, const char *))(**(_QWORD **)(result + 624) + 928LL))(\n             *(_QWORD *)(result + 624),\n             v3,\n             v2);\n  }\n  return result;\n}", "assembly": "; \n; FriendsProfilePage::updateSortLabel from 0x100736f20 to 0x100736f7c (92 bytes)\n; \n; 0 xrefs:\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 12:36:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x100736f20\nmov     rbp, rsp                                                       ; +0x1, 0x100736f21\nmov     rax, [rdi+3A8h]                                                ; +0x4, 0x100736f24\ntest    rax, rax                                                       ; +0xb, 0x100736f2b\njz      short loc_100736F7A                                            ; +0xe, 0x100736f2e\nlea     rcx, aOld; \"Old\"                                               ; +0x10, 0x100736f30\nlea     rdx, aNew_0; \"New\"                                             ; +0x17, 0x100736f37\ncmp     byte ptr [rdi+3C8h], 0                                         ; +0x1e, 0x100736f3e\ncmovnz  rdx, rcx                                                       ; +0x25, 0x100736f45\nlea     rcx, aZA; \"Z-A\"                                                ; +0x29, 0x100736f49\nlea     rsi, aAZ; \"A-Z\"                                                ; +0x30, 0x100736f50\ncmovnz  rsi, rcx                                                       ; +0x37, 0x100736f57\ncmp     byte ptr [rdi+3B0h], 0                                         ; +0x3b, 0x100736f5b\ncmovnz  rsi, rdx                                                       ; +0x42, 0x100736f62\nmov     rdi, [rax+270h]                                                ; +0x46, 0x100736f66\nmov     rax, [rdi]                                                     ; +0x4d, 0x100736f6d\nmov     rax, [rax+3A0h]                                                ; +0x50, 0x100736f70\npop     rbp                                                            ; +0x57, 0x100736f77\njmp     rax                                                            ; +0x58, 0x100736f78\npop     rbp                                                            ; +0x5a, 0x100736f7a\nretn                                                                   ; +0x5b, 0x100736f7b", "xrefs": [], "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"}