//
// AudioEffectsLayer::audioStep from 0x10046df10 to 0x10046dfcc (188 bytes)
//
// 1 xrefs:
// > PlayLayer::postUpdate @ 0x1001489fc
//
// 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:05:36 +0000
//
void __fastcall AudioEffectsLayer::audioStep(__int64 a1, float a2)
{
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
float v6; // s8
__n128 v7; // q0
*(float *)(a1 + 568) = *(float *)(a1 + 568) + a2;
v3 = *(_QWORD *)(a1 + 560);
if ( v3 )
{
if ( (unsigned int)sub_1002E757C(v3) )
{
v4 = sub_1002E75A0(*(_QWORD *)(a1 + 560), 0);
if ( cocos2d::CCString::floatValue(v4) < *(float *)(a1 + 568) )
{
v5 = sub_1002E75A0(*(_QWORD *)(a1 + 560), 1u);
v6 = cocos2d::CCString::floatValue(v5);
sub_1002E7664(*(_QWORD *)(a1 + 560), 0, 1);
sub_1002E7664(*(_QWORD *)(a1 + 560), 0, 1);
if ( (*(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 12544LL) & 1) == 0 )
{
v7.n128_f32[0] = v6;
sub_10046DFCC(a1, v7);
}
}
}
}
}