//
// SecretLayer5::finishLoadingState from 0xbc4774 to 0xbc4788 (20 bytes)
//
// 3 xrefs:
// > ??> @ 0xd7a58
// > SecretLayer5::onSubmit @ 0xbc7d30
// > ??> @ 0x1546718
//
// This function is hookable on this platform (idp: arm, 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 13:03:31 +0000
//
__int64 __fastcall SecretLayer5::finishLoadingState(__int64 this, long double a2)
{
int v2; // w2
v2 = *(_DWORD *)(this + 516);
*(_BYTE *)(this + 512) = 0;
if ( v2 )
return SecretLayer5::handleSecretResponse((LoadingCircleSprite **)this, a2);
return this;
}