//
// sub_10021271C from 0x10021271c to 0x10021276c (80 bytes)
//
// 1 xrefs:
// > sub_1002120BC @ 0x1002124b4
//
// 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 11:01:03 +0000
//
_QWORD *__fastcall sub_10021271C(__int64 a1)
{
__int64 v2; // x0
_QWORD *result; // x0
__int64 v4; // x19
__int64 v5; // x0
__int64 updated; // x0
__int64 v7; // x0
v2 = FMODAudioEngine::sharedEngine();
result = FMODAudioEngine::stopAllEffects(v2);
v4 = *(_QWORD *)(a1 + 680);
if ( v4 )
{
v5 = FMODAudioEngine::sharedEngine();
updated = FMODAudioEngine::updateReverb(v5, *(_DWORD *)(v4 + 1968), 0);
v7 = GameManager::sharedState(updated);
return (_QWORD *)sub_1003AF1A8(v7, v4);
}
return result;
}