//
// MoreSearchLayer::audioNext from 0x10005f580 to 0x10005f5c8 (72 bytes)
//
// 1 xrefs:
// > MoreSearchLayer::init @ 0x10005e84c
//
// This function is hookable on this platform (idp: arm, 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 10:57:49 +0000
//
__int64 __fastcall MoreSearchLayer::audioNext(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
v2 = GameLevelManager::sharedState(a1);
result = GameLevelManager::getIntForKey(v2, "song_filter");
if ( (_DWORD)result != 22 )
return MoreSearchLayer::selectSong(a1, (unsigned int)(result + 1));
return result;
}