//
// AudioEffectsLayer::resetAudioVars from 0x8b84a8 to 0x8b84f4 (76 bytes)
//
// 3 xrefs:
// > PlayLayer::resetLevel @ 0x711434
// > AudioEffectsLayer::init @ 0x8b8b70
// > ??> @ 0x6e758
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:56:26 +0000
//
float __fastcall AudioEffectsLayer::resetAudioVars(AudioEffectsLayer *this, cocos2d::CCArray *a2)
{
cocos2d::CCArray *v3; // x0
cocos2d::CCObject *v4; // x0
v3 = *((cocos2d::CCArray **)this + 70);
if ( v3 )
{
cocos2d::CCArray::removeAllObjects(v3);
cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 70));
*((_QWORD *)this + 70) = 0;
}
v4 = (cocos2d::CCObject *)cocos2d::CCArray::createWithArray(*((cocos2d::CCArray **)this + 69), a2);
*((_QWORD *)this + 70) = v4;
cocos2d::CCObject::retain(v4);
*((_DWORD *)this + 142) = 0;
return 0.0;
}