//
// LevelInfoLayer::onViewProfile from 0x1002bf7e0 to 0x1002bf853 (115 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1002bdc7d
//
// 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 LevelInfoLayer::onViewProfile(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v2; // rax
ProfilePage *v3; // rax
if ( !a1->m_isBusy && a1->m_level->m_accountID.random > a1->m_level->m_accountID.seed )
{
v2 = GameManager::sharedState();
GameManager::setGameVariable(v2, "0047", 1);
v3 = ProfilePage::create(a1->m_level->m_accountID.random - a1->m_level->m_accountID.seed, 0);
((void (__fastcall *)(ProfilePage *))v3->show)(v3);
}
}