//
// AudioEffectsLayer::audioStep from 0x1004af950 to 0x1004afa18 (200 bytes)
//
// 1 xrefs:
// > PlayLayer::postUpdate @ 0x1000baee3
//
// 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; // rdi
cocos2d::CCString *v4; // rax
cocos2d::CCString *v5; // rax
float v6; // [rsp+0h] [rbp-Ch]
a1->m_timeElapsed = a2 + a1->m_timeElapsed;
m_unk1c0 = a1->m_unk1c0;
if ( m_unk1c0 )
{
if ( (unsigned int)sub_100720070(m_unk1c0) )
{
v4 = (cocos2d::CCString *)sub_1007200C0(a1->m_unk1c0, 0);
if ( a1->m_timeElapsed > cocos2d::CCString::floatValue(v4) )
{
v5 = (cocos2d::CCString *)sub_1007200C0(a1->m_unk1c0, 1);
v6 = cocos2d::CCString::floatValue(v5);
sub_100720230(a1->m_unk1c0, 0, 1);
sub_100720230(a1->m_unk1c0, 0, 1);
if ( !GameManager::sharedState()->m_playLayer->m_isPracticeMode )
AudioEffectsLayer::triggerEffect(a1, v6);
}
}
}
}