//
// SecretRewardsLayer::fadeInOutMusic from 0x14056d520 to 0x14056d58a (106 bytes)
//
// 2 xrefs:
// > SecretRewardsLayer::onGoldChest @ 0x14056d1f2
// > ??> @ 0x14092c6d8
//
// 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:20 +0000
//
// Hidden C++ exception states: #wind=1
__int64 SecretRewardsLayer::fadeInOutMusic()
{
__int64 v0; // rcx
void *v2; // [rsp+48h] [rbp+10h]
v0 = qword_14090BF60;
if ( !qword_14090BF60 )
{
v2 = operator new(0x8A8u);
qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v2);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);
v0 = qword_14090BF60;
}
return FMODAudioEngine::fadeMusic(v0, 2.0);
}