; ; CreateGuidelinesLayer::toggleItems from 0x140134930 to 0x140134a08 (216 bytes) ; ; 7 xrefs: ; > CreateGuidelinesLayer::init @ 0x140133ee9 ; > CreateGuidelinesLayer::onRecord @ 0x14013426f ; > CreateGuidelinesLayer::onStop @ 0x140134446 ; > FindBPMLayer::create @ 0x14013504d ; > @ 0x140899068 ; > @ 0x14089909c ; > @ 0x140917024 ; ; This function is hookable on this platform (idp: pc, 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 11:27:04 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x140134930 mov [rsp+arg_18], rdi ; +0x5, 0x140134935 push r14 ; +0xa, 0x14013493a sub rsp, 20h ; +0xc, 0x14013493c mov rdi, rcx ; +0x10, 0x140134940 mov [rsp+28h+arg_8], rsi ; +0x13, 0x140134943 mov rcx, [rcx+2B0h] ; +0x18, 0x140134948 xor ebx, ebx ; +0x1f, 0x14013494f mov esi, ebx ; +0x21, 0x140134951 movzx r14d, dl ; +0x23, 0x140134953 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x27, 0x140134957 test eax, eax ; +0x2d, 0x14013495d jz short loc_1401349AB ; +0x2f, 0x14013495f mov [rsp+28h+arg_0], rbp ; +0x31, 0x140134961 movzx ebp, r14b ; +0x36, 0x140134966 xor bpl, 1 ; +0x3a, 0x14013496a xchg ax, ax ; +0x3e, 0x14013496e mov rcx, [rdi+2B0h] ; +0x40, 0x140134970 mov edx, esi ; +0x47, 0x140134977 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140134979 movzx edx, bpl ; +0x4f, 0x14013497f mov rcx, [rax] ; +0x53, 0x140134983 mov r8, [rcx+150h] ; +0x56, 0x140134986 mov rcx, rax ; +0x5d, 0x14013498d call r8 ; +0x60, 0x140134990 mov rcx, [rdi+2B0h] ; +0x63, 0x140134993 inc esi ; +0x6a, 0x14013499a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6c, 0x14013499c cmp esi, eax ; +0x72, 0x1401349a2 jb short loc_140134970 ; +0x74, 0x1401349a4 mov rbp, [rsp+28h+arg_0] ; +0x76, 0x1401349a6 mov rcx, [rdi+2B8h] ; +0x7b, 0x1401349ab call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x82, 0x1401349b2 mov rsi, [rsp+28h+arg_8] ; +0x88, 0x1401349b8 test eax, eax ; +0x8d, 0x1401349bd jz short loc_1401349F7 ; +0x8f, 0x1401349bf mov rcx, [rdi+2B8h] ; +0x91, 0x1401349c1 mov edx, ebx ; +0x98, 0x1401349c8 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x9a, 0x1401349ca movzx edx, r14b ; +0xa0, 0x1401349d0 mov rcx, [rax] ; +0xa4, 0x1401349d4 mov r8, [rcx+150h] ; +0xa7, 0x1401349d7 mov rcx, rax ; +0xae, 0x1401349de call r8 ; +0xb1, 0x1401349e1 mov rcx, [rdi+2B8h] ; +0xb4, 0x1401349e4 inc ebx ; +0xbb, 0x1401349eb call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xbd, 0x1401349ed cmp ebx, eax ; +0xc3, 0x1401349f3 jb short loc_1401349C1 ; +0xc5, 0x1401349f5 mov rbx, [rsp+28h+arg_10] ; +0xc7, 0x1401349f7 mov rdi, [rsp+28h+arg_18] ; +0xcc, 0x1401349fc add rsp, 20h ; +0xd1, 0x140134a01 pop r14 ; +0xd5, 0x140134a05 retn ; +0xd7, 0x140134a07