//
// LevelCell::onViewProfile from 0x7356f4 to 0x735730 (60 bytes)
//
// 3 xrefs:
// > ??> @ 0x63bc8
// > LevelCell::loadCustomLevelCell @ 0x745ecc
// > ??> @ 0x1542670
//
// 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 LevelCell::onViewProfile(LevelCell *this, cocos2d::CCObject *a2, bool a3)
{
__int64 result; // x0
__int64 v4; // x0
result = (unsigned int)(*(_DWORD *)(*((_QWORD *)this + 70) + 588LL) - *(_DWORD *)(*((_QWORD *)this + 70) + 592LL));
if ( (int)result > 0 )
{
v4 = ProfilePage::create((ProfilePage *)result, 0, a3);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return result;
}