//
// GJThreadCell::onViewProfile from 0x7356bc to 0x7356f4 (56 bytes)
//
// 3 xrefs:
// > ??> @ 0x4f5b8
// > GJThreadCell::loadFromThread @ 0x73e1ec
// > ??> @ 0x1541a98
//
// This function is hookable on this platform (idp: arm, 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:52:38 +0000
//
__int64 __fastcall GJThreadCell::onViewProfile(GJThreadCell *this, cocos2d::CCObject *a2, bool a3)
{
__int64 result; // x0
__int64 v4; // x0
result = *((_QWORD *)this + 69);
if ( result )
{
result = *(unsigned int *)(result + 60);
if ( (int)result > 0 )
{
v4 = ProfilePage::create((ProfilePage *)result, 0, a3);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
}
return result;
}