// // MoreSearchLayer::onSongMode from 0x10005f3e0 to 0x10005f520 (320 bytes) // // 2 xrefs: // > MoreSearchLayer::init @ 0x10005eb10 // > MoreSearchLayer::init @ 0x10005e550 // // 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::onSongMode(__int64 a1, __int64 a2) { __int64 v3; // x0 int v4; // w20 _BOOL8 v5; // x21 __int64 v6; // x0 __int64 BoolForKey; // x0 int v8; // w23 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x0 __int64 v12; // x21 __int64 v13; // x0 bool v14; // zf _BOOL8 v15; // x20 const char *v16; // x1 const char *v17; // x21 __int64 v18; // x0 __int64 updated; // x0 __int64 v20; // x0 int v21; // w0 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v24; // [xsp+1Fh] [xbp-31h] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = v3; v5 = (_DWORD)v3 == 2; v6 = GameLevelManager::sharedState(v3); BoolForKey = GameLevelManager::getBoolForKey(v6, "customsong_filter"); v8 = BoolForKey; v9 = GameLevelManager::sharedState(BoolForKey); v10 = sub_1000CDDD4(v9, v5, "customsong_filter"); if ( v5 != v8 ) { v11 = GameLevelManager::sharedState(v10); GameLevelManager::setIntForKey(v11, v4 != 2, "song_filter"); v12 = *(_QWORD *)(a1 + 704); sub_100009900(__p, ""); CCTextInputNode::setString(v12, __p); if ( v24 < 0 ) operator delete(__p[0]); } v13 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 1072LL))(*(_QWORD *)(a1 + 688)); v14 = v4 == 2; v15 = v4 == 2; if ( v14 ) v16 = "GJ_button_04.png"; else v16 = "GJ_button_01.png"; if ( v14 ) v17 = "GJ_button_01.png"; else v17 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v13, v16); v18 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 696) + 1072LL))(*(_QWORD *)(a1 + 696)); updated = ButtonSprite::updateBGImage(v18, v17); v20 = GameLevelManager::sharedState(updated); v21 = GameLevelManager::getBoolForKey(v20, "enable_songFilter"); MoreSearchLayer::toggleSongNodes(a1, v15, v21 ^ 1u); return MoreSearchLayer::updateAudioLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source