// // 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 // void __fastcall FriendsProfilePage::updateCountLabel(__int64 a1) { cocos2d::CCArray *v2; // rcx unsigned int v3; // ebp __int64 v4; // rdi void (__fastcall **v5)(__int64, const char *); // rbx cocos2d::CCString *v6; // rax const char *CString; // rax cocos2d::CCArray *v8; // rcx int v9; // eax const char *v10; // rbx __int64 v11; // rdi cocos2d::CCArray *v12; // rcx void (__fastcall *v13)(__int64, const char *); // r14 unsigned int v14; // eax cocos2d::CCString *v15; // rax unsigned int v16; // eax const char *v17; // rax if ( *(_BYTE *)(a1 + 928) ) { v2 = *(cocos2d::CCArray **)(a1 + 872); } else { v2 = *(cocos2d::CCArray **)(a1 + 864); if ( v2 ) { LABEL_6: v3 = cocos2d::CCArray::count(v2); goto LABEL_8; } v2 = *(cocos2d::CCArray **)(a1 + 856); } if ( v2 ) goto LABEL_6; v3 = 0; LABEL_8: if ( *(_BYTE *)(a1 + 928) ) { v4 = *(_QWORD *)(a1 + 824); v5 = *(void (__fastcall ***)(__int64, const char *))(v4 + 360); v6 = cocos2d::CCString::createWithFormat("Found: %i users", v3); CString = cocos2d::CCString::getCString(v6); (*v5)(v4 + 360, CString); } else { v8 = *(cocos2d::CCArray **)(a1 + 856); if ( v8 && cocos2d::CCArray::count(v8) ) { v9 = *(_DWORD *)(a1 + 816); if ( v9 == 1 ) { v10 = "Total blocked"; } else if ( v9 == 3 ) { v10 = "Total following"; } else { v10 = "Total muted"; if ( v9 != 4 ) v10 = "Total friends"; } v11 = *(_QWORD *)(a1 + 824); v12 = *(cocos2d::CCArray **)(a1 + 856); v13 = **(void (__fastcall ***)(__int64, const char *))(v11 + 360); if ( *(_QWORD *)(a1 + 896) ) { v16 = cocos2d::CCArray::count(v12); v15 = cocos2d::CCString::createWithFormat("Found: %i / %i", v3, v16); } else { v14 = cocos2d::CCArray::count(v12); v15 = cocos2d::CCString::createWithFormat("%s: %i", v10, v14); } v17 = cocos2d::CCString::getCString(v15); v13(v11 + 360, v17); } else { (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 824) + 360LL))( *(_QWORD *)(a1 + 824) + 360LL, " "); } } ScrollableContentLayer::reloadVirtualRows(*(_QWORD *)(a1 + 688), 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source