//
// LevelInfoLayer::onViewProfile from 0x1000264e8 to 0x100026560 (120 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x100024a88
//
// 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 *v3; // x0
ProfilePage *v4; // x0
if ( !a1->m_isBusy && a1->m_level->m_accountID.random > a1->m_level->m_accountID.seed )
{
v3 = GameManager::sharedState();
GameManager::setGameVariable(v3, "0047", 1);
v4 = ProfilePage::create(a1->m_level->m_accountID.random - a1->m_level->m_accountID.seed, 0);
((void (__fastcall *)(ProfilePage *))v4->show)(v4);
}
}