//
// SecretLayer5::handleSecretResponse from 0x59d4cc to 0x59d50e (66 bytes)
//
// 3 xrefs:
// > SecretLayer5::finishLoadingState @ 0x59d51a
// > SecretLayer5::onlineRewardStatusFailed @ 0x59d542
// > SecretLayer5::onlineRewardStatusFinished @ 0x59d5cc
//
// 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 SecretLayer5::handleSecretResponse(SecretLayer5 *a1)
{
LoadingCircleSprite::fadeInCircle(a1->m_circleSprite, 0, 0.5, 0.0);
a1->m_wraithButton->setEnabled(a1->m_wraithButton, 1);
if ( a1->m_rewardStatus == 1 )
{
SecretLayer5::showSuccessAnimation(a1);
}
else
{
SecretLayer5::showFailAnimation(a1);
SecretLayer5::showTextInput(a1);
}
}