//
// FriendsProfilePage::onViewProfile from 0xa4f914 to 0xa4f958 (68 bytes)
//
// 3 xrefs:
// > ??> @ 0x63538
// > FriendsProfilePage::mountVirtualRow @ 0xa4ff14
// > ??> @ 0x1542640
//
// 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 13:00:04 +0000
//
__int64 __fastcall FriendsProfilePage::onViewProfile(FriendsProfilePage *this, cocos2d::CCObject *a2)
{
__int64 result; // x0
bool v3; // w2
__int64 v4; // x0
result = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 640LL))(a2);
if ( result )
{
result = *(unsigned int *)(result + 376);
if ( (int)result > 0 )
{
v4 = ProfilePage::create((ProfilePage *)result, 0, v3);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
}
return result;
}