//
// AudioEffectsLayer::resetAudioVars from 0x140084d70 to 0x140084dd0 (96 bytes)
//
// 2 xrefs:
// > AudioEffectsLayer::init @ 0x140084cd6
// > ??> @ 0x1406c6bc4
//
// 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 *m_unk1c0; // rcx
cocos2d::CCArray *v3; // rax
m_unk1c0 = a1->m_unk1c0;
if ( m_unk1c0 )
{
cocos2d::CCArray::removeAllObjects(m_unk1c0);
cocos2d::CCObject::release(a1->m_unk1c0);
a1->m_unk1c0 = nullptr;
}
v3 = cocos2d::CCArray::createWithArray(a1->m_unk1bc);
a1->m_unk1c0 = v3;
cocos2d::CCObject::retain(v3);
a1->m_timeElapsed = 0.0;
}