//
// SongSelectNode::audioPrevious from 0x1001477fc to 0x100147830 (52 bytes)
//
// 1 xrefs:
// > SongSelectNode::init @ 0x10014718c
//
// 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; // w8
m_selectedSongID = a1->m_selectedSongID;
if ( m_selectedSongID )
{
if ( m_selectedSongID >= 22 )
m_selectedSongID = 22;
if ( m_selectedSongID <= 1 )
m_selectedSongID = 1;
a1->m_selectedSongID = m_selectedSongID - 1;
a1->m_songChanged = 1;
SongSelectNode::updateAudioLabel(a1);
}
}