// File: acherkaoui[P]HTOP/core/Core.cpp
// Function: Core::setModuleActive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
void Core::setModuleActive(const std::string name, bool active)
{
	if (parser.toLower(name) == "ram")
		this->data.ram.setActive(active);
	else if (parser.toLower(name) == "user")
		this->data.user.setActive(active);
	else if (parser.toLower(name) == "clock")
		this->data.clock.setActive(active);
	else if (parser.toLower(name) == "network")
		this->data.network.setActive(active);
	else if (parser.toLower(name) == "os")
		this->data.os.setActive(active);
	else if (parser.toLower(name) == "cpu")
		this->data.cpu.setActive(active);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rsi, -0x1c8(%rbp)
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1c0(%rbp)
addq $0x8, %rax
movq %rax, -0x1b8(%rbp)
leaq -0x58(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0x4210
movq -0x1b8(%rbp), %rsi
movq -0x1b0(%rbp), %rdx
leaq -0x38(%rbp), %rdi
callq 0xa230
jmp 0x6280
leaq 0xdda5(%rip), %rsi      # 0x1402c
leaq -0x38(%rbp), %rdi
callq 0x70b0
movb %al, -0x1c9(%rbp)
jmp 0x6298
leaq -0x38(%rbp), %rdi
callq 0x42a0
leaq -0x58(%rbp), %rdi
callq 0x42a0
movb -0x1c9(%rbp), %al
testb $0x1, %al
jne 0x62b6
jmp 0x630b
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x1d0, %rdi            # imm = 0x1D0
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x6770
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x62fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x42a0
leaq -0x58(%rbp), %rdi
callq 0x42a0
jmp 0x6779
movq -0x1c8(%rbp), %rsi
movq -0x1c0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x1e0(%rbp)
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x1d8(%rbp)
callq 0x4210
movq -0x1e0(%rbp), %rsi
movq -0x1d8(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0xa230
jmp 0x6353
leaq 0xdcd6(%rip), %rsi      # 0x14030
leaq -0x88(%rbp), %rdi
callq 0x70b0
movb %al, -0x1e1(%rbp)
jmp 0x636e
leaq -0x88(%rbp), %rdi
callq 0x42a0
leaq -0xa8(%rbp), %rdi
callq 0x42a0
movb -0x1e1(%rbp), %al
testb $0x1, %al
jne 0x6392
jmp 0x63ed
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x248, %rdi            # imm = 0x248
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x676e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x63dc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x42a0
leaq -0xa8(%rbp), %rdi
callq 0x42a0
jmp 0x6779
movq -0x1c8(%rbp), %rsi
movq -0x1c0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x1f8(%rbp)
leaq -0xe8(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x4210
movq -0x1f8(%rbp), %rsi
movq -0x1f0(%rbp), %rdx
leaq -0xc8(%rbp), %rdi
callq 0xa230
jmp 0x6435
leaq 0xdbd7(%rip), %rsi      # 0x14013
leaq -0xc8(%rbp), %rdi
callq 0x70b0
movb %al, -0x1f9(%rbp)
jmp 0x6450
leaq -0xc8(%rbp), %rdi
callq 0x42a0
leaq -0xe8(%rbp), %rdi
callq 0x42a0
movb -0x1f9(%rbp), %al
testb $0x1, %al
jne 0x6474
jmp 0x64cc
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x38, %rdi
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x676c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x64bb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x42a0
leaq -0xe8(%rbp), %rdi
callq 0x42a0
jmp 0x6779
movq -0x1c8(%rbp), %rsi
movq -0x1c0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x210(%rbp)
leaq -0x128(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x4210
movq -0x210(%rbp), %rsi
movq -0x208(%rbp), %rdx
leaq -0x108(%rbp), %rdi
callq 0xa230
jmp 0x6514
leaq 0xdafe(%rip), %rsi      # 0x14019
leaq -0x108(%rbp), %rdi
callq 0x70b0
movb %al, -0x211(%rbp)
jmp 0x652f
leaq -0x108(%rbp), %rdi
callq 0x42a0
leaq -0x128(%rbp), %rdi
callq 0x42a0
movb -0x211(%rbp), %al
testb $0x1, %al
jne 0x6553
jmp 0x65ab
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x68, %rdi
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x676a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x659a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x42a0
leaq -0x128(%rbp), %rdi
callq 0x42a0
jmp 0x6779
movq -0x1c8(%rbp), %rsi
movq -0x1c0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x228(%rbp)
leaq -0x168(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x4210
movq -0x228(%rbp), %rsi
movq -0x220(%rbp), %rdx
leaq -0x148(%rbp), %rdi
callq 0xa230
jmp 0x65f3
leaq 0xda27(%rip), %rsi      # 0x14021
leaq -0x148(%rbp), %rdi
callq 0x70b0
movb %al, -0x229(%rbp)
jmp 0x660e
leaq -0x148(%rbp), %rdi
callq 0x42a0
leaq -0x168(%rbp), %rdi
callq 0x42a0
movb -0x229(%rbp), %al
testb $0x1, %al
jne 0x6632
jmp 0x668d
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0xb8, %rdi
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x6768
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x667c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x148(%rbp), %rdi
callq 0x42a0
leaq -0x168(%rbp), %rdi
callq 0x42a0
jmp 0x6779
movq -0x1c8(%rbp), %rsi
movq -0x1c0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x240(%rbp)
leaq -0x1a8(%rbp), %rdi
movq %rdi, -0x238(%rbp)
callq 0x4210
movq -0x240(%rbp), %rsi
movq -0x238(%rbp), %rdx
leaq -0x188(%rbp), %rdi
callq 0xa230
jmp 0x66d5
leaq 0xe233(%rip), %rsi      # 0x1490f
leaq -0x188(%rbp), %rdi
callq 0x70b0
movb %al, -0x241(%rbp)
jmp 0x66f0
leaq -0x188(%rbp), %rdi
callq 0x42a0
leaq -0x1a8(%rbp), %rdi
callq 0x42a0
movb -0x241(%rbp), %al
testb $0x1, %al
jne 0x6714
jmp 0x6766
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x8, %rdi
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0xbd40
jmp 0x6766
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6758
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x42a0
leaq -0x1a8(%rbp), %rdi
callq 0x42a0
jmp 0x6779
jmp 0x6768
jmp 0x676a
jmp 0x676c
jmp 0x676e
jmp 0x6770
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x46f0
nopw %cs:(%rax,%rax)