; ; FriendsProfilePage::updateCountLabel from 0x1402145a0 to 0x140214736 (406 bytes) ; ; 9 xrefs: ; > FriendsProfilePage::onToggleSort @ 0x140214c2f ; > FriendsProfilePage::onToggleSortDir @ 0x140214d33 ; > FriendsProfilePage::getUserListFinished @ 0x140214dab ; > FriendsProfilePage::getUserListFinished @ 0x140214eb0 ; > FriendsProfilePage::getUserListFailed @ 0x140215670 ; > FriendsProfilePage::forceReloadList @ 0x140215762 ; > FriendsProfilePage::textChanged @ 0x140216415 ; > FriendsProfilePage::onClearSearch @ 0x140216c42 ; > @ 0x14091b644 ; ; 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 ; mov [rsp+arg_18], rbp ; +0x0, 0x1402145a0 push rsi ; +0x5, 0x1402145a5 sub rsp, 20h ; +0x6, 0x1402145a6 cmp byte ptr [rcx+3A0h], 0 ; +0xa, 0x1402145aa mov rsi, rcx ; +0x11, 0x1402145b1 jz short loc_1402145BF ; +0x14, 0x1402145b4 mov rcx, [rcx+368h] ; +0x16, 0x1402145b6 jmp short loc_1402145D2 ; +0x1d, 0x1402145bd mov rcx, [rcx+360h] ; +0x1f, 0x1402145bf test rcx, rcx ; +0x26, 0x1402145c6 jnz short loc_1402145D7 ; +0x29, 0x1402145c9 mov rcx, [rsi+358h] ; +0x2b, 0x1402145cb test rcx, rcx ; +0x32, 0x1402145d2 jz short loc_1402145E1 ; +0x35, 0x1402145d5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x37, 0x1402145d7 mov ebp, eax ; +0x3d, 0x1402145dd jmp short loc_1402145E3 ; +0x3f, 0x1402145df xor ebp, ebp ; +0x41, 0x1402145e1 cmp byte ptr [rsi+3A0h], 0 ; +0x43, 0x1402145e3 mov [rsp+28h+arg_0], rbx ; +0x4a, 0x1402145ea mov [rsp+28h+arg_8], rdi ; +0x4f, 0x1402145ef mov [rsp+28h+arg_10], r14 ; +0x54, 0x1402145f4 jz short loc_140214632 ; +0x59, 0x1402145f9 mov rdi, [rsi+338h] ; +0x5b, 0x1402145fb lea rcx, aFoundIUsers; "Found: %i users" ; +0x62, 0x140214602 mov edx, ebp ; +0x69, 0x140214609 mov rbx, [rdi+168h] ; +0x6b, 0x14021460b call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x72, 0x140214612 mov rcx, rax ; +0x78, 0x140214618 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x7b, 0x14021461b mov rdx, rax ; +0x81, 0x140214621 lea rcx, [rdi+168h] ; +0x84, 0x140214624 call qword ptr [rbx] ; +0x8b, 0x14021462b jmp loc_14021470E ; +0x8d, 0x14021462d mov rcx, [rsi+358h] ; +0x92, 0x140214632 test rcx, rcx ; +0x99, 0x140214639 jz loc_1402146F4 ; +0x9c, 0x14021463c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa2, 0x140214642 test eax, eax ; +0xa8, 0x140214648 jz loc_1402146F4 ; +0xaa, 0x14021464a mov eax, [rsi+330h] ; +0xb0, 0x140214650 lea rcx, aTotalFriends; "Total friends" ; +0xb6, 0x140214656 cmp eax, 1 ; +0xbd, 0x14021465d jnz short loc_14021466B ; +0xc0, 0x140214660 lea rbx, aTotalBlocked; "Total blocked" ; +0xc2, 0x140214662 jmp short loc_140214687 ; +0xc9, 0x140214669 cmp eax, 3 ; +0xcb, 0x14021466b jnz short loc_140214679 ; +0xce, 0x14021466e lea rbx, aTotalFollowing; "Total following" ; +0xd0, 0x140214670 jmp short loc_140214687 ; +0xd7, 0x140214677 cmp eax, 4 ; +0xd9, 0x140214679 lea rbx, aTotalMuted; "Total muted" ; +0xdc, 0x14021467c cmovnz rbx, rcx ; +0xe3, 0x140214683 cmp qword ptr [rsi+380h], 0 ; +0xe7, 0x140214687 mov rdi, [rsi+338h] ; +0xef, 0x14021468f mov rcx, [rsi+358h] ; +0xf6, 0x140214696 mov rax, [rdi+168h] ; +0xfd, 0x14021469d mov r14, [rax] ; +0x104, 0x1402146a4 jnz short loc_1402146C4 ; +0x107, 0x1402146a7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x109, 0x1402146a9 mov rdx, rbx ; +0x10f, 0x1402146af lea rcx, aSI_2; "%s: %i" ; +0x112, 0x1402146b2 mov r8d, eax ; +0x119, 0x1402146b9 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x11c, 0x1402146bc jmp short loc_1402146DC ; +0x122, 0x1402146c2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x124, 0x1402146c4 mov edx, ebp ; +0x12a, 0x1402146ca lea rcx, aFoundII; "Found: %i / %i" ; +0x12c, 0x1402146cc mov r8d, eax ; +0x133, 0x1402146d3 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x136, 0x1402146d6 mov rcx, rax ; +0x13c, 0x1402146dc call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x13f, 0x1402146df mov rdx, rax ; +0x145, 0x1402146e5 lea rcx, [rdi+168h] ; +0x148, 0x1402146e8 call r14 ; +0x14f, 0x1402146ef jmp short loc_14021470E ; +0x152, 0x1402146f2 mov rcx, [rsi+338h] ; +0x154, 0x1402146f4 lea rdx, asc_1406ED6E4; " " ; +0x15b, 0x1402146fb add rcx, 168h ; +0x162, 0x140214702 mov rax, [rcx] ; +0x169, 0x140214709 call qword ptr [rax] ; +0x16c, 0x14021470c mov rcx, [rsi+2B0h] ; +0x16e, 0x14021470e xorps xmm1, xmm1 ; +0x175, 0x140214715 mov r14, [rsp+28h+arg_10] ; +0x178, 0x140214718 mov rdi, [rsp+28h+arg_8] ; +0x17d, 0x14021471d mov rbx, [rsp+28h+arg_0] ; +0x182, 0x140214722 mov rbp, [rsp+28h+arg_18] ; +0x187, 0x140214727 add rsp, 20h ; +0x18c, 0x14021472c pop rsi ; +0x190, 0x140214730 jmp ScrollableContentLayer__reloadVirtualRows ; +0x191, 0x140214731