//
// LevelSelectLayer::updatePageWithObject from 0x140319200 to 0x140319267 (103 bytes)
//
// 3 xrefs:
// > ??> @ 0x14058d268
// > ??> @ 0x1406d4a30
// > ??> @ 0x1406d4a3c
//
// 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 LevelSelectLayer::updatePageWithObject(LevelSelectLayer *a1, cocos2d::CCObject *a2, cocos2d::CCObject *a3)
{
LevelPage::updateDynamicPage((LevelPage *)a2, (GJGameLevel *)a3);
if ( !LOBYTE(a1->m_uOrderOfArrival) && (float)a1->m_nZOrder > 60.0 && a3[5].m_uOrderOfArrival - a3[5].m_unknown5 == -1 )
{
LOBYTE(a1->m_uOrderOfArrival) = 1;
LevelPage::addSecretCoin((LevelPage *)a2);
}
}