//
// SecretLayer5::onlineRewardStatusFailed from 0x14058c420 to 0x14058c464 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407e3578
// > ??> @ 0x14092cb7c
//
// 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
//
void **__fastcall SecretLayer5::onlineRewardStatusFailed(__int64 a1)
{
void **result; // rax
__int64 v3; // rdx
*(_DWORD *)(a1 + 84) = 2;
result = sub_1400405A0((void **)(a1 + 88), &byte_1406ED6E0, 0);
if ( !*(_BYTE *)(a1 + 80) )
return (void **)SecretLayer5::handleSecretResponse(a1 - 432, v3);
return result;
}