//
// SecretRewardsLayer::fadeInOutMusic from 0xb9ab30 to 0xb9ab9c (108 bytes)
//
// 2 xrefs:
// > SecretRewardsLayer::onGoldChest @ 0xb9ebf8
// > ??> @ 0x7cfd8
//
// 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:02:43 +0000
//
__int64 __fastcall SecretRewardsLayer::fadeInOutMusic(SecretRewardsLayer *this)
{
FMODAudioEngine *v2; // x0
cocos2d::CCDelayTime *v3; // x0
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x0
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
v3 = (cocos2d::CCDelayTime *)FMODAudioEngine::fadeMusic(v2, 1.0, 0, 1.0, 0.2);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v3, 3.2);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, SecretRewardsLayer::fadeInMusic, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
return cocos2d::CCNode::runAction(this, v6);
}