//
// CreateGuidelinesLayer::toggleItems from 0x14009b340 to 0x14009b414 (212 bytes)
//
// 8 xrefs:
// > CreateGuidelinesLayer::init @ 0x14009a8d8
// > CreateGuidelinesLayer::onRecord @ 0x14009ac1c
// > CreateGuidelinesLayer::onStop @ 0x14009ade8
// > FindBPMLayer::create @ 0x14009ba87
// > FindBPMLayer::onRecord @ 0x14009bbb9
// > ??> @ 0x140669e00
// > ??> @ 0x140669e34
// > ??> @ 0x1406c7464
//
// 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 CreateGuidelinesLayer::toggleItems(CreateGuidelinesLayer *a1, bool a2)
{
unsigned int v3; // ebx
unsigned int i; // esi
struct cocos2d::CCObject *v6; // rax
struct cocos2d::CCObject *v7; // rax
v3 = 0;
for ( i = 0; i < cocos2d::CCArray::count(a1->m_nonRecordingObjects); ++i )
{
v6 = cocos2d::CCArray::objectAtIndex(a1->m_nonRecordingObjects, i);
((void (__fastcall *)(struct cocos2d::CCObject *, bool))v6->__vftable[4].update)(v6, !a2);
}
if ( cocos2d::CCArray::count(a1->m_recordingObjects) )
{
do
{
v7 = cocos2d::CCArray::objectAtIndex(a1->m_recordingObjects, v3);
((void (__fastcall *)(struct cocos2d::CCObject *, bool))v7->__vftable[4].update)(v7, a2);
++v3;
}
while ( v3 < cocos2d::CCArray::count(a1->m_recordingObjects) );
}
}