// // FriendsProfilePage::updateCountLabel from 0xa5019c to 0xa50338 (412 bytes) // // 2 xrefs: // > FriendsProfilePage::rebuildList @ 0xa50348 // > @ 0x71278 // // This function is hookable on this platform (idp: arm, 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 13:00:04 +0000 // __int64 __fastcall FriendsProfilePage::updateCountLabel(cocos2d::CCArray **this) { cocos2d::CCArray *ActiveUserList; // x0 unsigned int v3; // w21 cocos2d::CCArray *v4; // x0 int v6; // w0 const char *v7; // x20 __int64 v8; // x1 __int64 v9; // x21 cocos2d::CCArray *v10; // x0 __int64 (__fastcall *v11)(__int64, __int64); // x19 unsigned int v12; // w0 cocos2d::CCString *v13; // x0 __int64 v14; // x0 __int64 v15; // x19 __int64 (__fastcall *v16)(__int64, __int64); // x20 cocos2d::CCString *v17; // x0 __int64 CString; // x0 __int64 v19; // x20 cocos2d::CCArray *v20; // x0 __int64 (__fastcall *v21)(__int64, __int64); // x19 unsigned int v22; // w0 cocos2d::CCString *v23; // x0 __int64 v24; // x0 ActiveUserList = (cocos2d::CCArray *)FriendsProfilePage::getActiveUserList((FriendsProfilePage *)this); if ( !ActiveUserList ) { v3 = 0; if ( !*((_BYTE *)this + 920) ) goto LABEL_3; LABEL_15: v15 = (__int64)*(this + 103); v16 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 928LL); v17 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Found: %i users", (const char *)v3); CString = cocos2d::CCString::getCString(v17); return v16(v15, CString); } v3 = cocos2d::CCArray::count(ActiveUserList); if ( *((_BYTE *)this + 920) ) goto LABEL_15; LABEL_3: v4 = *(this + 107); if ( !v4 || !(unsigned int)cocos2d::CCArray::count(v4) ) return (*(__int64 (__fastcall **)(_QWORD, char *))(*(_QWORD *)*(this + 103) + 928LL))(*(this + 103), &byte_11E1A70); v6 = *((_DWORD *)this + 204); switch ( v6 ) { case 1: v7 = "Total blocked"; break; case 3: v7 = "Total following"; break; case 4: v7 = "Total muted"; break; default: v7 = "Total friends"; break; } v8 = *((_BYTE *)this + 880) >> 1; if ( (*(_BYTE *)(this + 110) & 1) != 0 ) v8 = (__int64)*(this + 111); if ( v8 ) { v19 = (__int64)*(this + 103); v20 = *(this + 107); v21 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v19 + 928LL); v22 = cocos2d::CCArray::count(v20); v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Found: %i / %i", (const char *)v3, v22); v24 = cocos2d::CCString::getCString(v23); return v21(v19, v24); } else { v9 = (__int64)*(this + 103); v10 = *(this + 107); v11 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 928LL); v12 = cocos2d::CCArray::count(v10); v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s: %i", v7, v12); v14 = cocos2d::CCString::getCString(v13); return v11(v9, v14); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source