//
// SecretLayer5::handleSecretResponse from 0xa92808 to 0xa92874 (108 bytes)
//
// 4 xrefs:
// > SecretLayer5::finishLoadingState @ 0xa92884
// > SecretLayer5::onlineRewardStatusFailed @ 0xa928d4
// > SecretLayer5::onlineRewardStatusFinished @ 0xa929e8
// > ??> @ 0x4d280
//
// 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);
}
}