//
// GJRequestCell::onViewProfile from 0x1400bb500 to 0x1400bb537 (55 bytes)
//
// 3 xrefs:
// > GJUserCell::loadFromScore @ 0x1400baff3
// > GJRequestCell::loadFromScore @ 0x1400bc6e2
// > ??> @ 0x1406c7d40
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Merged with: GJRequestCell::onViewProfile, GJUserCell::onViewProfile
__int64 __fastcall GJRequestCell::onViewProfile(__int64 a1)
{
__int64 result; // rax
int v2; // ecx
ProfilePage *v3; // rax
result = *(_QWORD *)(a1 + 584);
if ( result )
{
v2 = *(_DWORD *)(result + 392);
if ( v2 > 0 )
{
v3 = ProfilePage::create(v2, 0);
return ((__int64 (__fastcall *)(ProfilePage *))v3->show)(v3);
}
}
return result;
}