//
// LevelInfoLayer::onViewProfile from 0x3b15cc to 0x3b1618 (76 bytes)
//
// 0 xrefs:
//
// 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 LevelInfoLayer::onViewProfile(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
ProfilePage *v4; // r0
if ( !a1->m_isBusy && a1->m_level->m_accountID.random - a1->m_level->m_accountID.seed > 0 )
{
v3 = GameManager::sharedState();
GameManager::setGameVariable(v3, "0047", 1);
v4 = ProfilePage::create(a1->m_level->m_accountID.random - a1->m_level->m_accountID.seed, 0);
v4->show(v4);
}
}