; ; 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 ; mov [rsp+arg_10], rbx ; +0x0, 0x14009b340 mov [rsp+arg_18], rdi ; +0x5, 0x14009b345 push r14 ; +0xa, 0x14009b34a sub rsp, 20h ; +0xc, 0x14009b34c mov rdi, rcx ; +0x10, 0x14009b350 mov [rsp+28h+arg_8], rsi ; +0x13, 0x14009b353 mov rcx, [rcx+290h] ; +0x18, 0x14009b358 xor ebx, ebx ; +0x1f, 0x14009b35f mov esi, ebx ; +0x21, 0x14009b361 movzx r14d, dl ; +0x23, 0x14009b363 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x27, 0x14009b367 test eax, eax ; +0x2d, 0x14009b36d jz short loc_14009B3B8 ; +0x2f, 0x14009b36f mov [rsp+28h+arg_0], rbp ; +0x31, 0x14009b371 movzx ebp, r14b ; +0x36, 0x14009b376 xor bpl, 1 ; +0x3a, 0x14009b37a xchg ax, ax ; +0x3e, 0x14009b37e mov rcx, [rdi+290h] ; +0x40, 0x14009b380 mov edx, esi ; +0x47, 0x14009b387 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x14009b389 movzx edx, bpl ; +0x4f, 0x14009b38f mov rcx, rax ; +0x53, 0x14009b393 mov r8, [rax] ; +0x56, 0x14009b396 call qword ptr [r8+140h] ; +0x59, 0x14009b399 mov rcx, [rdi+290h] ; +0x60, 0x14009b3a0 inc esi ; +0x67, 0x14009b3a7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x69, 0x14009b3a9 cmp esi, eax ; +0x6f, 0x14009b3af jb short loc_14009B380 ; +0x71, 0x14009b3b1 mov rbp, [rsp+28h+arg_0] ; +0x73, 0x14009b3b3 mov rcx, [rdi+298h] ; +0x78, 0x14009b3b8 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7f, 0x14009b3bf mov rsi, [rsp+28h+arg_8] ; +0x85, 0x14009b3c5 test eax, eax ; +0x8a, 0x14009b3ca jz short loc_14009B403 ; +0x8c, 0x14009b3cc xchg ax, ax ; +0x8e, 0x14009b3ce mov rcx, [rdi+298h] ; +0x90, 0x14009b3d0 mov edx, ebx ; +0x97, 0x14009b3d7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x99, 0x14009b3d9 movzx edx, r14b ; +0x9f, 0x14009b3df mov rcx, rax ; +0xa3, 0x14009b3e3 mov r8, [rax] ; +0xa6, 0x14009b3e6 call qword ptr [r8+140h] ; +0xa9, 0x14009b3e9 mov rcx, [rdi+298h] ; +0xb0, 0x14009b3f0 inc ebx ; +0xb7, 0x14009b3f7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xb9, 0x14009b3f9 cmp ebx, eax ; +0xbf, 0x14009b3ff jb short loc_14009B3D0 ; +0xc1, 0x14009b401 mov rbx, [rsp+28h+arg_10] ; +0xc3, 0x14009b403 mov rdi, [rsp+28h+arg_18] ; +0xc8, 0x14009b408 add rsp, 20h ; +0xcd, 0x14009b40d pop r14 ; +0xd1, 0x14009b411 retn ; +0xd3, 0x14009b413