// // MoreSearchLayer::onSongMode from 0x10070b790 to 0x10070b8c5 (309 bytes) // // 3 xrefs: // > MoreSearchLayer::init @ 0x10070ae26 // > MoreSearchLayer::init @ 0x10070a7b5 // > MoreSearchLayer::init @ 0x10070a8ad // // This function is hookable on this platform (idp: pc, 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:36:03 +0000 // __int64 __fastcall MoreSearchLayer::onSongMode(__int64 a1, __int64 a2) { int v3; // r14d __int64 v4; // rax char BoolForKey; // r13 __int64 v6; // rax __int64 v7; // rax _QWORD *v8; // rdi __int64 v9; // rax bool v10; // zf _BOOL4 v11; // r15d const char *v12; // r14 const char *v13; // rsi __int64 v14; // rax __int64 v15; // rax unsigned __int8 v16; // al _WORD v18[8]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = GameLevelManager::sharedState(); BoolForKey = GameLevelManager::getBoolForKey(v4, "customsong_filter"); v6 = GameLevelManager::sharedState(); sub_1005823D0(v6, v3 == 2, "customsong_filter"); if ( (v3 == 2) != BoolForKey ) { v7 = GameLevelManager::sharedState(); GameLevelManager::setIntForKey(v7, v3 != 2, "song_filter"); v8 = *(_QWORD **)(a1 + 704); v18[0] = 0; CCTextInputNode::setString(v8, (__int64)v18); if ( (v18[0] & 1) != 0 ) operator delete(__p); } v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 688) + 1072LL))(*(_QWORD *)(a1 + 688)); v10 = v3 == 2; v11 = v3 == 2; v12 = "GJ_button_04.png"; v13 = "GJ_button_01.png"; if ( v10 ) { v13 = "GJ_button_04.png"; v12 = "GJ_button_01.png"; } ButtonSprite::updateBGImage(v9, (__int64)v13); v14 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 696) + 1072LL))(*(_QWORD *)(a1 + 696)); ButtonSprite::updateBGImage(v14, (__int64)v12); v15 = GameLevelManager::sharedState(); v16 = GameLevelManager::getBoolForKey(v15, "enable_songFilter"); MoreSearchLayer::toggleSongNodes(a1, v11, v16 ^ 1u); return MoreSearchLayer::updateAudioLabel(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source