; ; FriendsProfilePage::sortUsers from 0x140214b20 to 0x140214b98 (120 bytes) ; ; 4 xrefs: ; > FriendsProfilePage::onToggleSort @ 0x140214c0c ; > FriendsProfilePage::onToggleSortDir @ 0x140214d10 ; > FriendsProfilePage::getUserListFinished @ 0x140214e1a ; > @ 0x14091b65c ; ; 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, 0x140214b20 sub rsp, 20h ; +0x2, 0x140214b22 mov rbx, rcx ; +0x6, 0x140214b26 mov rcx, [rcx+358h] ; +0x9, 0x140214b29 test rcx, rcx ; +0x10, 0x140214b30 jz short loc_140214B92 ; +0x13, 0x140214b33 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x15, 0x140214b35 cmp eax, 2 ; +0x1b, 0x140214b3b jb short loc_140214B92 ; +0x1e, 0x140214b3e mov rax, [rbx+358h] ; +0x20, 0x140214b40 lea r9, sub_1402130E0 ; +0x27, 0x140214b47 cmp byte ptr [rbx+3B8h], 0 ; +0x2e, 0x140214b4e mov r8d, 8; SizeOfElements ; +0x35, 0x140214b55 mov rcx, [rax+38h] ; +0x3b, 0x140214b5b lea rax, sub_140213180 ; +0x3f, 0x140214b5f cmovnz r9, rax; CompareFunction ; +0x46, 0x140214b66 mov edx, [rcx]; NumOfElements ; +0x4a, 0x140214b6a mov rcx, [rcx+10h]; Base ; +0x4c, 0x140214b6c call cs:qsort ; +0x50, 0x140214b70 cmp byte ptr [rbx+3D0h], 0 ; +0x56, 0x140214b76 jz short loc_140214B92 ; +0x5d, 0x140214b7d mov rcx, [rbx+358h] ; +0x5f, 0x140214b7f add rsp, 20h ; +0x66, 0x140214b86 pop rbx ; +0x6a, 0x140214b8a jmp cs:?reverseObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::reverseObjects(void) ; +0x6b, 0x140214b8b add rsp, 20h ; +0x72, 0x140214b92 pop rbx ; +0x76, 0x140214b96 retn ; +0x77, 0x140214b97