{"type": "func", "start": 4300260384, "end": 4300260571, "name": "CreateGuidelinesLayer::toggleItems", "pseudocode": "// \n// CreateGuidelinesLayer::toggleItems from 0x10050c420 to 0x10050c4db (187 bytes)\n// \n// 4 xrefs:\n// > CreateGuidelinesLayer::init @ 0x10050c177\n// > CreateGuidelinesLayer::onStop @ 0x10050c3e0\n// > CreateGuidelinesLayer::onRecord @ 0x10050c5e0\n// > FindBPMLayer::init @ 0x10050d7c4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CreateGuidelinesLayer::toggleItems(CreateGuidelinesLayer *a1, bool a2)\n{\n  unsigned int v2; // r15d\n  __int64 v3; // rax\n  unsigned int v4; // r15d\n  __int64 v5; // rax\n\n  if ( (unsigned int)sub_100720070(a1->m_nonRecordingObjects) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007200C0(a1->m_nonRecordingObjects, v2);\n      (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, !a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a1->m_nonRecordingObjects) );\n  }\n  if ( (unsigned int)sub_100720070(a1->m_recordingObjects) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_1007200C0(a1->m_recordingObjects, v4);\n      (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v5 + 328LL))(v5, a2);\n      ++v4;\n    }\n    while ( v4 < (unsigned int)sub_100720070(a1->m_recordingObjects) );\n  }\n}", "assembly": "; \n; CreateGuidelinesLayer::toggleItems from 0x10050c420 to 0x10050c4db (187 bytes)\n; \n; 4 xrefs:\n; > CreateGuidelinesLayer::init @ 0x10050c177\n; > CreateGuidelinesLayer::onStop @ 0x10050c3e0\n; > CreateGuidelinesLayer::onRecord @ 0x10050c5e0\n; > FindBPMLayer::init @ 0x10050d7c4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10050c420\nmov     rbp, rsp                                                       ; +0x1, 0x10050c421\npush    r15                                                            ; +0x4, 0x10050c424\npush    r14                                                            ; +0x6, 0x10050c426\npush    r12                                                            ; +0x8, 0x10050c428\npush    rbx                                                            ; +0xa, 0x10050c42a\nmov     r14d, esi                                                      ; +0xb, 0x10050c42b\nmov     rbx, rdi                                                       ; +0xe, 0x10050c42e\nmov     rdi, [rdi+290h]                                                ; +0x11, 0x10050c431\ncall    sub_100720070                                                  ; +0x18, 0x10050c438\ntest    eax, eax                                                       ; +0x1d, 0x10050c43d\njz      short loc_10050C482                                            ; +0x1f, 0x10050c43f\nmov     eax, r14d                                                      ; +0x21, 0x10050c441\nxor     al, 1                                                          ; +0x24, 0x10050c444\nxor     r15d, r15d                                                     ; +0x26, 0x10050c446\nmovzx   r12d, al                                                       ; +0x29, 0x10050c449\nnop     dword ptr [rax]                                                ; +0x2d, 0x10050c44d\nmov     rdi, [rbx+290h]                                                ; +0x30, 0x10050c450\nmov     esi, r15d                                                      ; +0x37, 0x10050c457\ncall    sub_1007200C0                                                  ; +0x3a, 0x10050c45a\nmov     rcx, [rax]                                                     ; +0x3f, 0x10050c45f\nmov     rdi, rax                                                       ; +0x42, 0x10050c462\nmov     esi, r12d                                                      ; +0x45, 0x10050c465\ncall    qword ptr [rcx+148h]                                           ; +0x48, 0x10050c468\ninc     r15d                                                           ; +0x4e, 0x10050c46e\nmov     rdi, [rbx+290h]                                                ; +0x51, 0x10050c471\ncall    sub_100720070                                                  ; +0x58, 0x10050c478\ncmp     r15d, eax                                                      ; +0x5d, 0x10050c47d\njb      short loc_10050C450                                            ; +0x60, 0x10050c480\nmov     rdi, [rbx+298h]                                                ; +0x62, 0x10050c482\ncall    sub_100720070                                                  ; +0x69, 0x10050c489\ntest    eax, eax                                                       ; +0x6e, 0x10050c48e\njz      short loc_10050C4D2                                            ; +0x70, 0x10050c490\nxor     r15d, r15d                                                     ; +0x72, 0x10050c492\nmovzx   r14d, r14b                                                     ; +0x75, 0x10050c495\nnop     dword ptr [rax+00000000h]                                      ; +0x79, 0x10050c499\nmov     rdi, [rbx+298h]                                                ; +0x80, 0x10050c4a0\nmov     esi, r15d                                                      ; +0x87, 0x10050c4a7\ncall    sub_1007200C0                                                  ; +0x8a, 0x10050c4aa\nmov     rcx, [rax]                                                     ; +0x8f, 0x10050c4af\nmov     rdi, rax                                                       ; +0x92, 0x10050c4b2\nmov     esi, r14d                                                      ; +0x95, 0x10050c4b5\ncall    qword ptr [rcx+148h]                                           ; +0x98, 0x10050c4b8\ninc     r15d                                                           ; +0x9e, 0x10050c4be\nmov     rdi, [rbx+298h]                                                ; +0xa1, 0x10050c4c1\ncall    sub_100720070                                                  ; +0xa8, 0x10050c4c8\ncmp     r15d, eax                                                      ; +0xad, 0x10050c4cd\njb      short loc_10050C4A0                                            ; +0xb0, 0x10050c4d0\npop     rbx                                                            ; +0xb2, 0x10050c4d2\npop     r12                                                            ; +0xb3, 0x10050c4d3\npop     r14                                                            ; +0xb5, 0x10050c4d5\npop     r15                                                            ; +0xb7, 0x10050c4d7\npop     rbp                                                            ; +0xb9, 0x10050c4d9\nretn                                                                   ; +0xba, 0x10050c4da", "xrefs": ["CreateGuidelinesLayer::init @ 0x10050c177", "CreateGuidelinesLayer::onStop @ 0x10050c3e0", "CreateGuidelinesLayer::onRecord @ 0x10050c5e0", "FindBPMLayer::init @ 0x10050d7c4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}