//
// MoreSearchLayer::selectSong from 0x6d33f8 to 0x6d343c (68 bytes)
//
// 4 xrefs:
// > MoreSearchLayer::audioNext @ 0x6d3478
// > MoreSearchLayer::audioPrevious @ 0x6d34c4
// > MoreSearchLayer::onSongFilter @ 0x6d3664
// > ??> @ 0x31a88
//
// 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 MoreSearchLayer::selectSong(MoreSearchLayer *a1, int a2)
{
int v3; // w19
GameLevelManager *v4; // x0
int v5; // w1
if ( a2 > 22 )
v3 = 22;
else
v3 = a2;
v4 = GameLevelManager::sharedState();
if ( v3 <= 0 )
v5 = 1;
else
v5 = v3;
GameLevelManager::setIntForKey(v4, v5, "song_filter");
MoreSearchLayer::updateAudioLabel(a1);
}