//
// ThreadRequestPopup::onViewProfile from 0x1400ffe60 to 0x1400ffe92 (50 bytes)
//
// 3 xrefs:
// > ThreadRequestPopup::init @ 0x1400ff050
// > ??> @ 0x140915614
// > ??> @ 0x140915620
//
// 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:42 +0000
//
__int64 __fastcall ThreadRequestPopup::onViewProfile(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rcx
__int64 v3; // rax
result = *(_QWORD *)(a1 + 664);
v2 = *(unsigned int *)(result + 60);
if ( (int)v2 > 0 )
{
v3 = ProfilePage::create(v2, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1064LL))(v3);
}
return result;
}