//
// SongSelectNode::selectSong from 0x1001fca60 to 0x1001fca89 (41 bytes)
//
// 0 xrefs:
//
// 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 12:26:50 +0000
//
void __fastcall SongSelectNode::selectSong(__int64 a1, int a2)
{
int v2; // eax
int v3; // ecx
v2 = 21;
if ( a2 < 21 )
v2 = a2;
v3 = 0;
if ( v2 > 0 )
v3 = v2;
*(_DWORD *)(a1 + 344) = v3;
*(_BYTE *)(a1 + 349) = 1;
SongSelectNode::updateAudioLabel(a1);
}