//
// FriendsProfilePage::virtualRowCount from 0x140214740 to 0x14021476e (46 bytes)
//
// 1 xrefs:
// > ??> @ 0x140757408
//
// 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
//
unsigned int __fastcall FriendsProfilePage::virtualRowCount(__int64 a1)
{
cocos2d::CCArray *v2; // rcx
if ( *(_BYTE *)(a1 + 152) )
{
v2 = *(cocos2d::CCArray **)(a1 + 96);
}
else
{
v2 = *(cocos2d::CCArray **)(a1 + 88);
if ( v2 )
return cocos2d::CCArray::count(v2);
v2 = *(cocos2d::CCArray **)(a1 + 80);
}
if ( v2 )
return cocos2d::CCArray::count(v2);
return 0;
}