//
// GJUserCell::onViewProfile from 0x1001115a8 to 0x1001115e0 (56 bytes)
//
// 1 xrefs:
// > GJUserCell::loadFromScore @ 0x100109bac
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJUserCell::onViewProfile(GJUserCell *a1, cocos2d::CCObject *a2)
{
GJUserScore *m_userScore; // x8
int m_accountID; // w0
ProfilePage *v4; // x0
m_userScore = a1->m_userScore;
if ( m_userScore )
{
m_accountID = m_userScore->m_accountID;
if ( m_accountID >= 1 )
{
v4 = ProfilePage::create(m_accountID, 0);
((void (__fastcall *)(ProfilePage *))v4->show)(v4);
}
}
}