//
// LevelCell::onViewProfile from 0x100252260 to 0x10025228f (47 bytes)
//
// 1 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x10025016a
//
// 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 LevelCell::onViewProfile(LevelCell *a1, cocos2d::CCObject *a2)
{
GJGameLevel *m_level; // rax
int random; // edi
bool v4; // cc
int v5; // edi
ProfilePage *v6; // rax
m_level = a1->m_level;
random = m_level->m_accountID.random;
v4 = random <= m_level->m_accountID.seed;
v5 = random - m_level->m_accountID.seed;
if ( !v4 )
{
v6 = ProfilePage::create(v5, 0);
((void (__fastcall *)(ProfilePage *))v6->show)(v6);
}
}