//
// FriendPickerPopup::updateCountLabel from 0x1400e8990 to 0x1400e8a35 (165 bytes)
//
// 5 xrefs:
// > FriendPickerPopup::init @ 0x1400e7404
// > FriendPickerPopup::buildRows @ 0x1400e8170
// > ??> @ 0x1408936dc
// > ??> @ 0x1408936ec
// > ??> @ 0x140914d80
//
// 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:26:33 +0000
//
void __fastcall FriendPickerPopup::updateCountLabel(__int64 a1)
{
__int64 v2; // rcx
int v3; // esi
__int64 v4; // rdi
__int64 v5; // rcx
void (__fastcall **v6)(__int64, const char *); // rbx
int v7; // eax
int v8; // r8d
int v9; // edx
cocos2d::CCString *v10; // rax
const char *CString; // rax
if ( *(_QWORD *)(a1 + 880) )
{
v2 = *(_QWORD *)(a1 + 792);
if ( v2 )
{
v3 = (*(__int64 (**)(void))(*(_QWORD *)v2 + 16LL))();
v4 = *(_QWORD *)(a1 + 880);
if ( *(_BYTE *)(a1 + 828) )
{
v5 = *(_QWORD *)(a1 + 792);
v6 = *(void (__fastcall ***)(__int64, const char *))(v4 + 360);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 56LL))(v5);
v8 = 10;
v9 = v3 + v7;
}
else
{
v6 = *(void (__fastcall ***)(__int64, const char *))(v4 + 360);
v8 = 9;
v9 = v3;
}
v10 = cocos2d::CCString::createWithFormat("%i/%i", v9, v8);
CString = cocos2d::CCString::getCString(v10);
(*v6)(v4 + 360, CString);
}
}
}