// // CreateGuidelinesLayer::toggleItems from 0x6e8060 to 0x6e80fc (156 bytes) // // 5 xrefs: // > CreateGuidelinesLayer::onStop @ 0x6e8120 // > CreateGuidelinesLayer::init @ 0x6e928c // > FindBPMLayer::init @ 0x6e9744 // > CreateGuidelinesLayer::onRecord @ 0x6e99a0 // > @ 0xe6dd0 // // This function is hookable on this platform (idp: arm, 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:51:44 +0000 // __int64 __fastcall CreateGuidelinesLayer::toggleItems(cocos2d::CCArray **this, unsigned __int8 a2) { unsigned int v2; // w21 unsigned int v3; // w22 unsigned int v5; // w19 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 unsigned int v9; // w19 __int64 v10; // x0 __int64 result; // x0 unsigned int v12; // w1 v2 = a2; v3 = a2 ^ 1; v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(*(this + 86)); v8 = v5++; if ( v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(*(this + 86), v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, v3); } v9 = 0; while ( 1 ) { result = cocos2d::CCArray::count(*(this + 87)); v7 = v9 >= (unsigned int)result; v12 = v9++; if ( v7 ) break; v10 = cocos2d::CCArray::objectAtIndex(*(this + 87), v12); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, v2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source