//
// AudioEffectsLayer::audioStep from 0x1003c470c to 0x1003c47c8 (188 bytes)
//
// 1 xrefs:
// > PlayLayer::postUpdate @ 0x10011f678
//
// 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 __fastcall AudioEffectsLayer::audioStep(AudioEffectsLayer *a1, float a2)
{
cocos2d::CCArray *m_unk1c0; // x0
cocos2d::CCString *v4; // x0
cocos2d::CCString *v5; // x0
float v6; // s8
a1->m_timeElapsed = a1->m_timeElapsed + a2;
m_unk1c0 = a1->m_unk1c0;
if ( m_unk1c0 )
{
if ( (unsigned int)sub_10024A36C((__int64)m_unk1c0) )
{
v4 = (cocos2d::CCString *)sub_10024A388((__int64)a1->m_unk1c0, 0);
if ( cocos2d::CCString::floatValue(v4) < a1->m_timeElapsed )
{
v5 = (cocos2d::CCString *)sub_10024A388((__int64)a1->m_unk1c0, 1u);
v6 = cocos2d::CCString::floatValue(v5);
sub_10024A44C((__int64)a1->m_unk1c0, 0, 1);
sub_10024A44C((__int64)a1->m_unk1c0, 0, 1);
if ( !GameManager::sharedState()->m_playLayer->m_isPracticeMode )
AudioEffectsLayer::triggerEffect(a1, v6);
}
}
}
}