//
// SecretRewardsLayer::fadeInOutMusic from 0x6cabec to 0x6cac3c (80 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::onGoldChest @ 0x6cdd26
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:58 +0000
//
int __fastcall SecretRewardsLayer::fadeInOutMusic(SecretRewardsLayer *this)
{
FMODAudioEngine *v2; // r0
float v3; // r1
cocos2d::CCSequence *v4; // r6
cocos2d::CCFiniteTimeAction *v5; // r0
cocos2d::CCAction *v6; // r0
v2 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
FMODAudioEngine::fadeMusic(v2, 1.0, 0, 1.0, 0.2);
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x404CCCCD, v3);
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);
}