//
// MoreSearchLayer::audioPrevious from 0x10062eb80 to 0x10062ebe6 (102 bytes)
//
// 1 xrefs:
// > MoreSearchLayer::init @ 0x10062dcdd
//
// 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 __fastcall MoreSearchLayer::audioPrevious(MoreSearchLayer *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // rax
int IntForKey; // eax
int v4; // ecx
int v5; // r14d
GameLevelManager *v6; // rax
v2 = GameLevelManager::sharedState();
IntForKey = GameLevelManager::getIntForKey(v2, "song_filter");
if ( IntForKey != 1 )
{
v4 = 23;
if ( IntForKey < 23 )
v4 = IntForKey;
v5 = 2;
if ( v4 >= 3 )
v5 = v4;
v6 = GameLevelManager::sharedState();
GameLevelManager::setIntForKey(v6, v5 - 1, "song_filter");
MoreSearchLayer::updateAudioLabel(a1);
}
}