//
// AudioEffectsLayer::resetAudioVars from 0x1003c46c4 to 0x1003c470c (72 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x100121fb0
// > AudioEffectsLayer::init @ 0x1003c45f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall AudioEffectsLayer::resetAudioVars(AudioEffectsLayer *a1)
{
cocos2d::CCArray *m_unk1c0; // x0
cocos2d::CCArray *v3; // x0
m_unk1c0 = a1->m_unk1c0;
if ( m_unk1c0 )
{
sub_10024A45C((__int64)m_unk1c0);
cocos2d::CCObject::release(a1->m_unk1c0);
a1->m_unk1c0 = nullptr;
}
v3 = (cocos2d::CCArray *)sub_10024A2D8(a1->m_unk1bc);
a1->m_unk1c0 = v3;
cocos2d::CCObject::retain(v3);
a1->m_timeElapsed = 0.0;
}