//
// SongSelectNode::selectSong from 0x57ba78 to 0x57ba92 (26 bytes)
//
// 2 xrefs:
// > SongSelectNode::audioNext @ 0x57ba9c
// > SongSelectNode::audioPrevious @ 0x57baaa
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:49 +0000
//
int __fastcall SongSelectNode::selectSong(SongSelectNode *this, int a2)
{
*((_BYTE *)this + 281) = 1;
if ( a2 >= 21 )
a2 = 21;
*((_DWORD *)this + 69) = a2 & ~(a2 >> 31);
return SongSelectNode::updateAudioLabel(this);
}