// // MoreSearchLayer::toggleSongNodes from 0x140317050 to 0x14031718e (318 bytes) // // 2 xrefs: // > MoreSearchLayer::onSongMode @ 0x140317016 // > @ 0x1406d4988 // // 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) { unsigned int v4; // ebp unsigned int i; // esi struct cocos2d::CCObject *v8; // rax __int64 v9; // rdx unsigned int j; // esi struct cocos2d::CCObject *v11; // rax __int64 v12; // rdx bool v13; // di struct cocos2d::CCObject *v14; // rax v4 = 0; for ( i = 0; i < cocos2d::CCArray::count(a1->m_normalSongNodes); ++i ) { v8 = cocos2d::CCArray::objectAtIndex(a1->m_normalSongNodes, i); if ( a2 || a3 ) v9 = 0; else LOBYTE(v9) = 1; ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v8->__vftable[4].update)(v8, v9); } for ( j = 0; j < cocos2d::CCArray::count(a1->m_customSongNodes); ++j ) { v11 = cocos2d::CCArray::objectAtIndex(a1->m_customSongNodes, j); if ( !a2 || a3 ) v12 = 0; else LOBYTE(v12) = 1; ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v11->__vftable[4].update)(v11, v12); } if ( cocos2d::CCArray::count(a1->m_commonSongNodes) ) { v13 = !a3; do { v14 = cocos2d::CCArray::objectAtIndex(a1->m_commonSongNodes, v4); ((void (__fastcall *)(struct cocos2d::CCObject *, bool))v14->__vftable[4].update)(v14, v13); ++v4; } while ( v4 < cocos2d::CCArray::count(a1->m_commonSongNodes) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source