//
// LevelSelectLayer::updatePageWithObject from 0x100432a80 to 0x100432aea (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009376a8
//
// 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 LevelSelectLayer::updatePageWithObject(
LevelSelectLayer *a1,
cocos2d::CCObject *a2,
cocos2d::CCObject *a3)
{
LevelPage::updateDynamicPage((LevelPage *)a2, (GJGameLevel *)a3);
if ( !a1->m_masterDetectiveUnlocked && a1->m_scrolls >= 61 && a3[5].m_uOrderOfArrival - a3[5].m_unknown5 == -1 )
{
a1->m_masterDetectiveUnlocked = 1;
LevelPage::addSecretCoin((LevelPage *)a2);
}
}