//
// SongSelectNode::audioNext from 0x1001fc980 to 0x1001fc9bb (59 bytes)
//
// 1 xrefs:
// > SongSelectNode::init @ 0x1001fc37e
//
// 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:26:50 +0000
//
void __fastcall SongSelectNode::audioNext(__int64 a1)
{
int v1; // eax
int v2; // ecx
int v3; // eax
v1 = *(_DWORD *)(a1 + 344);
if ( v1 != 21 )
{
v2 = 20;
if ( v1 < 20 )
v2 = *(_DWORD *)(a1 + 344);
v3 = -1;
if ( v2 >= 0 )
v3 = v2;
*(_DWORD *)(a1 + 344) = v3 + 1;
*(_BYTE *)(a1 + 349) = 1;
SongSelectNode::updateAudioLabel(a1);
}
}