//
// MoreSearchLayer::audioNext from 0x7df110 to 0x7df15c (76 bytes)
//
// 3 xrefs:
// > ??> @ 0x765e8
// > MoreSearchLayer::init @ 0x7e17bc
// > ??> @ 0x1543008
//
// 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 12:54:25 +0000
//
__int64 __fastcall MoreSearchLayer::audioNext(MoreSearchLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
__int64 result; // x0
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = GameLevelManager::getIntForKey(v3, "song_filter");
if ( (_DWORD)result != 22 )
return MoreSearchLayer::selectSong(this, (int)result + 1);
return result;
}