// // MoreSearchLayer::toggleSongNodes from 0x6d34d4 to 0x6d35c8 (244 bytes) // // 4 xrefs: // > MoreSearchLayer::onSongFilter @ 0x6d364c // > MoreSearchLayer::onSongFilter @ 0x6d3690 // > MoreSearchLayer::onSongMode @ 0x6d37c0 // > @ 0x33630 // // 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 MoreSearchLayer::toggleSongNodes(MoreSearchLayer *a1, bool a2, bool a3) { _BOOL4 v3; // w21 _BOOL4 v4; // w23 _BOOL4 v5; // w22 unsigned int v7; // w20 __int64 v8; // x0 bool v9; // cf unsigned int v10; // w1 unsigned int v11; // w20 __int64 v12; // x0 unsigned int v13; // w1 unsigned int v14; // w20 unsigned int i; // w21 __int64 v16; // x0 unsigned int v17; // w1 v3 = a3; v4 = a2; v5 = !a2 && !a3; v7 = 0; while ( 1 ) { v9 = v7 >= (unsigned int)cocos2d::CCArray::count(a1->m_normalSongNodes); v10 = v7++; if ( v9 ) break; v8 = cocos2d::CCArray::objectAtIndex(a1->m_normalSongNodes, v10); (*(void (__fastcall **)(__int64, _BOOL4))(*(_QWORD *)v8 + 328LL))(v8, v5); } v11 = 0; while ( 1 ) { v9 = v11 >= (unsigned int)cocos2d::CCArray::count(a1->m_customSongNodes); v13 = v11++; if ( v9 ) break; v12 = cocos2d::CCArray::objectAtIndex(a1->m_customSongNodes, v13); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v12 + 328LL))(v12, v4 && !v3); } v14 = 0; for ( i = !v3; ; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 328LL))(v16, i) ) { v9 = v14 >= (unsigned int)cocos2d::CCArray::count(a1->m_commonSongNodes); v17 = v14++; if ( v9 ) break; v16 = cocos2d::CCArray::objectAtIndex(a1->m_commonSongNodes, v17); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source