//
// SongSelectNode::audioPrevious from 0x1001c6100 to 0x1001c6134 (52 bytes)
//
// 1 xrefs:
// > SongSelectNode::init @ 0x1001c5a8c
//
// 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:00:17 +0000
//
void __fastcall SongSelectNode::audioPrevious(__int64 a1)
{
int v1; // w8
v1 = *(_DWORD *)(a1 + 344);
if ( v1 )
{
if ( v1 >= 22 )
v1 = 22;
if ( v1 <= 1 )
v1 = 1;
*(_DWORD *)(a1 + 344) = v1 - 1;
*(_BYTE *)(a1 + 349) = 1;
SongSelectNode::updateAudioLabel(a1);
}
}