//
// SecretLayer5::handleSecretResponse from 0x14058aeb0 to 0x14058af0a (90 bytes)
//
// 4 xrefs:
// > SecretLayer5::finishLoadingState @ 0x14058ae9e
// > SecretLayer5::onlineRewardStatusFinished @ 0x14058c3db
// > SecretLayer5::onlineRewardStatusFailed @ 0x14058c454
// > ??> @ 0x14092cb34
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:34:29 +0000
//
__int64 __fastcall SecretLayer5::handleSecretResponse(__int64 a1, __int64 a2)
{
__int64 v3; // rdx
LoadingCircleSprite::fadeInCircle(*(cocos2d::CCNode **)(a1 + 640), a2, 0.5, 0.0);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 480) + 936LL))(*(_QWORD *)(a1 + 480), v3);
if ( *(_DWORD *)(a1 + 516) == 1 )
return SecretLayer5::showSuccessAnimation(a1);
SecretLayer5::showFailAnimation(a1);
return SecretLayer5::showTextInput(a1);
}