//
// SongSelectNode::audioPrevious from 0x1002194b0 to 0x1002194eb (59 bytes)
//
// 1 xrefs:
// > SongSelectNode::init @ 0x100218e3d
//
// 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 SongSelectNode::audioPrevious(SongSelectNode *a1, cocos2d::CCObject *a2)
{
int m_selectedSongID; // eax
int v3; // ecx
int v4; // eax
m_selectedSongID = a1->m_selectedSongID;
if ( m_selectedSongID )
{
v3 = 22;
if ( m_selectedSongID < 22 )
v3 = a1->m_selectedSongID;
v4 = 1;
if ( v3 >= 2 )
v4 = v3;
a1->m_selectedSongID = v4 - 1;
a1->m_songChanged = 1;
SongSelectNode::updateAudioLabel(a1);
}
}