//
// AudioEffectsLayer::resetAudioVars from 0x1004a8ad0 to 0x1004a8b2d (93 bytes)
//
// 1 xrefs:
// > PlayLayer::resetLevel @ 0x10008cd3d
//
// This function is hookable on this platform (idp: pc, 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:30:55 +0000
//
void __fastcall AudioEffectsLayer::resetAudioVars(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rax
v2 = *(_QWORD *)(a1 + 560);
if ( v2 )
{
sub_1007FF190(v2);
cocos2d::CCObject::release(*(_DWORD **)(a1 + 560));
*(_QWORD *)(a1 + 560) = 0;
}
v3 = sub_1007FEC00(*(_QWORD *)(a1 + 552));
*(_QWORD *)(a1 + 560) = v3;
cocos2d::CCObject::retain(v3);
*(_DWORD *)(a1 + 568) = 0;
}