//
// AudioEffectsLayer::resetAudioVars from 0x78ee70 to 0x78eebc (76 bytes)
//
// 3 xrefs:
// > PlayLayer::resetLevel @ 0x5e54d4
// > AudioEffectsLayer::init @ 0x78f114
// > ??> @ 0x4f038
//
// 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; // x1
cocos2d::CCArray *m_unk1c0; // x0
cocos2d::CCArray *v4; // x0
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;
}