; ; FriendsProfilePage::onToggleSort from 0x140214ba0 to 0x140214c34 (148 bytes) ; ; 2 xrefs: ; > FriendsProfilePage::init @ 0x140213ff8 ; > @ 0x14091b668 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:28:20 +0000 ; push rbx ; +0x0, 0x140214ba0 sub rsp, 20h ; +0x2, 0x140214ba2 mov rbx, rcx ; +0x6, 0x140214ba6 movzx ecx, byte ptr [rcx+3B8h] ; +0x9, 0x140214ba9 test cl, cl ; +0x10, 0x140214bb0 setz al ; +0x12, 0x140214bb2 mov r8, [rbx+3B0h] ; +0x15, 0x140214bb5 mov [rbx+3B8h], al ; +0x1c, 0x140214bbc test r8, r8 ; +0x22, 0x140214bc2 jz short loc_140214C09 ; +0x25, 0x140214bc5 movzx eax, byte ptr [rbx+3D0h] ; +0x27, 0x140214bc7 test cl, cl ; +0x2e, 0x140214bce jnz short loc_140214BE2 ; +0x30, 0x140214bd0 lea rcx, aOld; "Old" ; +0x32, 0x140214bd2 lea rdx, aNew_0; "New" ; +0x39, 0x140214bd9 jmp short loc_140214BF0 ; +0x40, 0x140214be0 lea rcx, aZA; "Z-A" ; +0x42, 0x140214be2 lea rdx, aAZ; "A-Z" ; +0x49, 0x140214be9 test al, al ; +0x50, 0x140214bf0 cmovnz rdx, rcx ; +0x52, 0x140214bf2 mov rcx, [r8+278h] ; +0x56, 0x140214bf6 add rcx, 168h ; +0x5d, 0x140214bfd mov rax, [rcx] ; +0x64, 0x140214c04 call qword ptr [rax] ; +0x67, 0x140214c07 mov rcx, rbx ; +0x69, 0x140214c09 call FriendsProfilePage__sortUsers ; +0x6c, 0x140214c0c lea rdx, [rbx+370h] ; +0x71, 0x140214c11 cmp qword ptr [rdx+10h], 0 ; +0x78, 0x140214c18 jz short loc_140214C27 ; +0x7d, 0x140214c1d mov rcx, rbx ; +0x7f, 0x140214c1f call FriendsProfilePage__filterUsersWithQuery ; +0x82, 0x140214c22 mov rcx, rbx ; +0x87, 0x140214c27 add rsp, 20h ; +0x8a, 0x140214c2a pop rbx ; +0x8e, 0x140214c2e jmp FriendsProfilePage__updateCountLabel ; +0x8f, 0x140214c2f