//
// LevelInfoLayer::onViewProfile from 0x6d5774 to 0x6d57e8 (116 bytes)
//
// 3 xrefs:
// > ??> @ 0x30fd8
// > LevelInfoLayer::init @ 0x6db7d8
// > ??> @ 0x1229738
//
// 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; // x0
ProfilePage *v4; // x0
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);
}
}