//
// GJCompactUserCell::onViewProfile from 0x10023fe90 to 0x10023fec0 (48 bytes)
//
// 1 xrefs:
// > GJCompactUserCell::loadFromScore @ 0x100231c29
//
// 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 12:27:17 +0000
//
__int64 __fastcall GJCompactUserCell::onViewProfile(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rdi
__int64 v3; // rax
result = *(_QWORD *)(a1 + 552);
if ( result )
{
v2 = *(unsigned int *)(result + 376);
if ( (int)v2 > 0 )
{
v3 = ProfilePage::create(v2, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
}
return result;
}