//
// RewardUnlockLayer::connectionTimeout from 0x10021cee0 to 0x10021cf3e (94 bytes)
//
// 1 xrefs:
// > RewardUnlockLayer::init @ 0x10021cb1e
//
// 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 RewardUnlockLayer::connectionTimeout(RewardUnlockLayer *a1)
{
if ( !a1->m_rewardCollected )
{
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_closeBtn->setVisible)(a1->m_closeBtn, 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_closeBtn->setEnabled)(a1->m_closeBtn, 1);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_wrongLabel->setVisible)(a1->m_wrongLabel, 1);
}
}