{"type": "func", "start": 4302532256, "end": 4302532373, "name": "FriendsProfilePage::sortUsers", "pseudocode": "// \n// FriendsProfilePage::sortUsers from 0x100736ea0 to 0x100736f15 (117 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\nvoid __fastcall FriendsProfilePage::sortUsers(__int64 a1)\n{\n  __int64 v2; // rdi\n  void **v3; // rax\n  size_t v4; // rsi\n  int (__cdecl *v5)(const void *, const void *); // rcx\n\n  v2 = *(_QWORD *)(a1 + 856);\n  if ( v2 && (unsigned int)sub_1007FEF90(v2) >= 2 )\n  {\n    v3 = *(void ***)(*(_QWORD *)(a1 + 856) + 56LL);\n    v4 = *(unsigned int *)v3;\n    v5 = (int (__cdecl *)(const void *, const void *))sub_100734500;\n    if ( *(_BYTE *)(a1 + 944) )\n      v5 = (int (__cdecl *)(const void *, const void *))sub_100734680;\n    qsort(v3[2], v4, 8u, v5);\n    if ( *(_BYTE *)(a1 + 968) == 1 )\n      sub_1007FF280(*(_QWORD *)(a1 + 856), v4);\n  }\n}", "assembly": "; \n; FriendsProfilePage::sortUsers from 0x100736ea0 to 0x100736f15 (117 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, 0x100736ea0\nmov     rbp, rsp                                                       ; +0x1, 0x100736ea1\npush    rbx                                                            ; +0x4, 0x100736ea4\npush    rax                                                            ; +0x5, 0x100736ea5\nmov     rbx, rdi                                                       ; +0x6, 0x100736ea6\nmov     rdi, [rdi+358h]                                                ; +0x9, 0x100736ea9\ntest    rdi, rdi                                                       ; +0x10, 0x100736eb0\njz      short loc_100736F0E                                            ; +0x13, 0x100736eb3\ncall    sub_1007FEF90                                                  ; +0x15, 0x100736eb5\ncmp     eax, 2                                                         ; +0x1a, 0x100736eba\njb      short loc_100736F0E                                            ; +0x1d, 0x100736ebd\nmov     rax, [rbx+358h]                                                ; +0x1f, 0x100736ebf\nmov     rax, [rax+38h]                                                 ; +0x26, 0x100736ec6\nmov     rdi, [rax+10h]; __base                                         ; +0x2a, 0x100736eca\nmov     esi, [rax]; __nel                                              ; +0x2e, 0x100736ece\nlea     rax, sub_100734680                                             ; +0x30, 0x100736ed0\nlea     rcx, sub_100734500                                             ; +0x37, 0x100736ed7\ncmp     byte ptr [rbx+3B0h], 0                                         ; +0x3e, 0x100736ede\ncmovnz  rcx, rax; __compar                                             ; +0x45, 0x100736ee5\nmov     edx, 8; __width                                                ; +0x49, 0x100736ee9\ncall    _qsort                                                         ; +0x4e, 0x100736eee\ncmp     byte ptr [rbx+3C8h], 1                                         ; +0x53, 0x100736ef3\njnz     short loc_100736F0E                                            ; +0x5a, 0x100736efa\nmov     rdi, [rbx+358h]                                                ; +0x5c, 0x100736efc\nadd     rsp, 8                                                         ; +0x63, 0x100736f03\npop     rbx                                                            ; +0x67, 0x100736f07\npop     rbp                                                            ; +0x68, 0x100736f08\njmp     sub_1007FF280                                                  ; +0x69, 0x100736f09\nadd     rsp, 8                                                         ; +0x6e, 0x100736f0e\npop     rbx                                                            ; +0x72, 0x100736f12\npop     rbp                                                            ; +0x73, 0x100736f13\nretn                                                                   ; +0x74, 0x100736f14", "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"}