// // MoreSearchLayer::toggleSongNodes from 0x49568c to 0x495728 (156 bytes) // // 3 xrefs: // > MoreSearchLayer::onSongFilter @ 0x495b1e // > MoreSearchLayer::onSongFilter @ 0x495b36 // > MoreSearchLayer::onSongMode @ 0x497032 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:49:41 +0000 // unsigned int __fastcall MoreSearchLayer::toggleSongNodes(cocos2d::CCArray **this, int a2, int a3) { int v3; // r8 unsigned int i; // r6 int v8; // r0 int v9; // r1 unsigned int j; // r6 int v11; // r0 int v12; // r1 int v13; // r5 unsigned int k; // r6 unsigned int result; // r0 int v16; // r0 v3 = a3 ^ 1; for ( i = 0; i < cocos2d::CCArray::count(*(this + 137)); ++i ) { v8 = cocos2d::CCArray::objectAtIndex(*(this + 137), i); if ( a2 ) v9 = 0; else v9 = v3; (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 172))(v8, v9); } for ( j = 0; j < cocos2d::CCArray::count(*(this + 138)); ++j ) { v11 = cocos2d::CCArray::objectAtIndex(*(this + 138), j); if ( a2 ) v12 = a3 ^ 1; else v12 = 0; (*(void (__fastcall **)(int, int))(*(_DWORD *)v11 + 172))(v11, v12); } v13 = a3 ^ 1; for ( k = 0; ; ++k ) { result = cocos2d::CCArray::count(*(this + 136)); if ( k >= result ) break; v16 = cocos2d::CCArray::objectAtIndex(*(this + 136), k); (*(void (__fastcall **)(int, int))(*(_DWORD *)v16 + 172))(v16, v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source