; ; AutoBackupPopup::onToggleRow from 0x1400cc500 to 0x1400cc5ea (234 bytes) ; ; 4 xrefs: ; > AutoBackupPopup::buildRows @ 0x1400cb0c8 ; > @ 0x1408910ec ; > @ 0x1408910fc ; > @ 0x140914054 ; ; 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:26:23 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x1400cc500 push rdi ; +0x5, 0x1400cc505 sub rsp, 30h ; +0x6, 0x1400cc506 mov rax, [rdx] ; +0xa, 0x1400cc50a mov rbx, rcx ; +0xd, 0x1400cc50d mov rcx, rdx ; +0x10, 0x1400cc510 mov rdi, rdx ; +0x13, 0x1400cc513 call qword ptr [rax+38h] ; +0x16, 0x1400cc516 movsxd rcx, eax ; +0x19, 0x1400cc519 test eax, eax ; +0x1c, 0x1400cc51c js loc_1400CC5DF ; +0x1e, 0x1400cc51e mov r9, [rbx+358h] ; +0x24, 0x1400cc524 mov rax, 0C30C30C30C30C30Dh ; +0x2b, 0x1400cc52b mov r8, [rbx+360h] ; +0x35, 0x1400cc535 sub r8, r9 ; +0x3c, 0x1400cc53c imul r8 ; +0x3f, 0x1400cc53f add rdx, r8 ; +0x42, 0x1400cc542 sar rdx, 7 ; +0x45, 0x1400cc545 mov rax, rdx ; +0x49, 0x1400cc549 shr rax, 3Fh ; +0x4c, 0x1400cc54c add rdx, rax ; +0x50, 0x1400cc550 cmp ecx, edx ; +0x53, 0x1400cc553 jge loc_1400CC5DF ; +0x55, 0x1400cc555 mov [rsp+38h+arg_0], rbp ; +0x5b, 0x1400cc55b mov [rsp+38h+arg_8], rsi ; +0x60, 0x1400cc560 imul rsi, rcx, 0A8h ; +0x65, 0x1400cc565 lea rcx, [rbx+3B8h] ; +0x6c, 0x1400cc56c mov [rsp+38h+arg_10], r14 ; +0x73, 0x1400cc573 add rsi, r9 ; +0x78, 0x1400cc578 mov rdx, rsi ; +0x7b, 0x1400cc57b call sub_1400CF6A0 ; +0x7e, 0x1400cc57e test rax, rax ; +0x83, 0x1400cc583 lea rcx, [rbx+3B8h] ; +0x86, 0x1400cc586 setz r14b ; +0x8d, 0x1400cc58d test rax, rax ; +0x91, 0x1400cc591 jnz short loc_1400CC5A5 ; +0x94, 0x1400cc594 mov r8, rsi ; +0x96, 0x1400cc596 lea rdx, [rsp+38h+var_18] ; +0x99, 0x1400cc599 call sub_1400CF4B0 ; +0x9e, 0x1400cc59e jmp short loc_1400CC5AD ; +0xa3, 0x1400cc5a3 mov rdx, rsi ; +0xa5, 0x1400cc5a5 call sub_1400CF7C0 ; +0xa8, 0x1400cc5a8 movzx edx, r14b ; +0xad, 0x1400cc5ad mov rcx, rdi ; +0xb1, 0x1400cc5b1 call CCMenuItemToggler__toggle ; +0xb4, 0x1400cc5b4 mov rcx, [rbx+3E0h] ; +0xb9, 0x1400cc5b9 mov r14, [rsp+38h+arg_10] ; +0xc0, 0x1400cc5c0 mov rsi, [rsp+38h+arg_8] ; +0xc5, 0x1400cc5c5 mov rbp, [rsp+38h+arg_0] ; +0xca, 0x1400cc5ca test rcx, rcx ; +0xcf, 0x1400cc5cf jz short loc_1400CC5DF ; +0xd2, 0x1400cc5d2 mov edx, [rbx+3C0h] ; +0xd4, 0x1400cc5d4 call GJSelectionStrip__setCount ; +0xda, 0x1400cc5da mov rbx, [rsp+38h+arg_18] ; +0xdf, 0x1400cc5df add rsp, 30h ; +0xe4, 0x1400cc5e4 pop rdi ; +0xe8, 0x1400cc5e8 retn ; +0xe9, 0x1400cc5e9