//
// SecretLayer5::handleSecretResponse from 0x1403f57b0 to 0x1403f580a (90 bytes)
//
// 4 xrefs:
// > SecretLayer5::finishLoadingState @ 0x1403f579e
// > SecretLayer5::onlineRewardStatusFinished @ 0x1403f6b55
// > SecretLayer5::onlineRewardStatusFailed @ 0x1403f6bc5
// > ??> @ 0x1406d8240
//
// 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)
{
bool v1; // dl
_BOOL8 v3; // rdx
LoadingCircleSprite::fadeInCircle(a1->m_circleSprite, v1, 0.5, 0.0);
LOBYTE(v3) = 1;
a1->m_wraithButton->setEnabled(a1->m_wraithButton, v3);
if ( a1->m_rewardStatus == 1 )
{
SecretLayer5::showSuccessAnimation(a1);
}
else
{
SecretLayer5::showFailAnimation(a1);
SecretLayer5::showTextInput(a1);
}
}