//
// LevelSelectLayer::updatePageWithObject from 0x1004023b4 to 0x100402430 (124 bytes)
//
// 2 xrefs:
// > sub_100403510 @ 0x100403514
// > ??> @ 0x100817950
//
// 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);
}
}