//
// InvitesPopup::onViewInviter from 0x1400f9190 to 0x1400f91cc (60 bytes)
//
// 3 xrefs:
// > InvitesPopup::buildRows @ 0x1400f824c
// > InvitesPopup::buildRows @ 0x1400f8484
// > ??> @ 0x14091538c
//
// 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:39 +0000
//
__int64 __fastcall InvitesPopup::onViewInviter(__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 + 60);
if ( (int)v3 > 0 )
{
v4 = ProfilePage::create(v3, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4);
}
}
return result;
}