//
// AudioEffectsLayer::resetAudioVars from 0x401884 to 0x4018b8 (52 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x31faf8
// > AudioEffectsLayer::init @ 0x401996
//
// 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 AudioEffectsLayer::resetAudioVars(AudioEffectsLayer *a1)
{
cocos2d::CCArray *v1; // r1
cocos2d::CCArray *m_unk1c0; // r0
cocos2d::CCArray *v4; // r0
m_unk1c0 = a1->m_unk1c0;
if ( m_unk1c0 )
{
cocos2d::CCArray::removeAllObjects(m_unk1c0);
cocos2d::CCObject::release(a1->m_unk1c0);
a1->m_unk1c0 = nullptr;
}
v4 = (cocos2d::CCArray *)cocos2d::CCArray::createWithArray(a1->m_unk1bc, v1);
a1->m_unk1c0 = v4;
cocos2d::CCObject::retain(v4);
a1->m_timeElapsed = 0.0;
}