//
// SongSelectNode::audioNext from 0x1401687e0 to 0x140168811 (49 bytes)
//
// 1 xrefs:
// > SongSelectNode::init @ 0x1401680fb
//
// 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 11:27:27 +0000
//
void __fastcall SongSelectNode::audioNext(__int64 a1)
{
int v1; // eax
int v2; // eax
v1 = *(_DWORD *)(a1 + 344);
if ( v1 != 21 )
{
v2 = v1 + 1;
*(_BYTE *)(a1 + 349) = 1;
if ( v2 > 21 )
v2 = 21;
if ( v2 < 0 )
v2 = 0;
*(_DWORD *)(a1 + 344) = v2;
SongSelectNode::updateAudioLabel(a1);
}
}