// // MoreSearchLayer::toggleSongNodes from 0x140440250 to 0x140440391 (321 bytes) // // 2 xrefs: // > MoreSearchLayer::onSongMode @ 0x14044020d // > @ 0x140927050 // // 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 11:32:21 +0000 // unsigned int __fastcall MoreSearchLayer::toggleSongNodes(cocos2d::CCArray **a1, char a2, char 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 unsigned int result; // eax unsigned __int8 v14; // di struct cocos2d::CCObject *v15; // rax v4 = 0; for ( i = 0; i < cocos2d::CCArray::count(a1[90]); ++i ) { v8 = cocos2d::CCArray::objectAtIndex(a1[90], i); if ( a2 || a3 ) v9 = 0; else LOBYTE(v9) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 336LL))(v8, v9); } for ( j = 0; j < cocos2d::CCArray::count(a1[91]); ++j ) { v11 = cocos2d::CCArray::objectAtIndex(a1[91], j); if ( !a2 || a3 ) v12 = 0; else LOBYTE(v12) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v11 + 336LL))(v11, v12); } result = cocos2d::CCArray::count(a1[89]); if ( result ) { v14 = a3 ^ 1; do { v15 = cocos2d::CCArray::objectAtIndex(a1[89], v4); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v15 + 336LL))(v15, v14); ++v4; result = cocos2d::CCArray::count(a1[89]); } while ( v4 < result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source