//
// CreateGuidelinesLayer::toggleItems from 0x10050c420 to 0x10050c4db (187 bytes)
//
// 4 xrefs:
// > CreateGuidelinesLayer::init @ 0x10050c177
// > CreateGuidelinesLayer::onStop @ 0x10050c3e0
// > CreateGuidelinesLayer::onRecord @ 0x10050c5e0
// > FindBPMLayer::init @ 0x10050d7c4
//
// 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 __fastcall CreateGuidelinesLayer::toggleItems(CreateGuidelinesLayer *a1, bool a2)
{
unsigned int v2; // r15d
__int64 v3; // rax
unsigned int v4; // r15d
__int64 v5; // rax
if ( (unsigned int)sub_100720070(a1->m_nonRecordingObjects) )
{
v2 = 0;
do
{
v3 = sub_1007200C0(a1->m_nonRecordingObjects, v2);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, !a2);
++v2;
}
while ( v2 < (unsigned int)sub_100720070(a1->m_nonRecordingObjects) );
}
if ( (unsigned int)sub_100720070(a1->m_recordingObjects) )
{
v4 = 0;
do
{
v5 = sub_1007200C0(a1->m_recordingObjects, v4);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v5 + 328LL))(v5, a2);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(a1->m_recordingObjects) );
}
}