//
// FriendPickerPopup::onShowProfile from 0x1400e8810 to 0x1400e884f (63 bytes)
//
// 5 xrefs:
// > FriendPickerPopup::mountVirtualRow @ 0x1400e8606
// > MemberListPopup::buildRows @ 0x1400ec872
// > MemberListPopup::buildRows @ 0x1400ecb87
// > FriendsProfilePage::mountVirtualRow @ 0x1402148f6
// > ??> @ 0x140914d68
//
// 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
//
// Merged with: FriendPickerPopup::onShowProfile, FriendsProfilePage::onViewProfile, MemberListPopup::onMemberProfile
__int64 __fastcall FriendPickerPopup::onShowProfile(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rcx
__int64 v4; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 632LL))(a2);
if ( result )
{
v3 = *(unsigned int *)(result + 392);
if ( (int)v3 > 0 )
{
v4 = ProfilePage::create(v3, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4);
}
}
return result;
}