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

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rsi, -0x1c8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%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 0x67e9
leaq 0xd83c(%rip), %rsi      # 0x1402c
leaq -0x38(%rbp), %rdi
callq 0x70b0
movb %al, -0x1c9(%rbp)
jmp 0x6801
leaq -0x38(%rbp), %rdi
callq 0x42a0
leaq -0x58(%rbp), %rdi
callq 0x42a0
movb -0x1c9(%rbp), %al
testb $0x1, %al
jne 0x681f
jmp 0x6871
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x1d0, %rdi            # imm = 0x1D0
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6863
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 0x6cd9
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 0x68b9
leaq 0xd770(%rip), %rsi      # 0x14030
leaq -0x88(%rbp), %rdi
callq 0x70b0
movb %al, -0x1e1(%rbp)
jmp 0x68d4
leaq -0x88(%rbp), %rdi
callq 0x42a0
leaq -0xa8(%rbp), %rdi
callq 0x42a0
movb -0x1e1(%rbp), %al
testb $0x1, %al
jne 0x68f8
jmp 0x6950
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x248, %rdi            # imm = 0x248
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x693f
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 0x6cd9
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 0x6998
leaq 0xd674(%rip), %rsi      # 0x14013
leaq -0xc8(%rbp), %rdi
callq 0x70b0
movb %al, -0x1f9(%rbp)
jmp 0x69b3
leaq -0xc8(%rbp), %rdi
callq 0x42a0
leaq -0xe8(%rbp), %rdi
callq 0x42a0
movb -0x1f9(%rbp), %al
testb $0x1, %al
jne 0x69d7
jmp 0x6a2c
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x38, %rdi
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6a1b
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 0x6cd9
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 0x6a74
leaq 0xd59e(%rip), %rsi      # 0x14019
leaq -0x108(%rbp), %rdi
callq 0x70b0
movb %al, -0x211(%rbp)
jmp 0x6a8f
leaq -0x108(%rbp), %rdi
callq 0x42a0
leaq -0x128(%rbp), %rdi
callq 0x42a0
movb -0x211(%rbp), %al
testb $0x1, %al
jne 0x6ab3
jmp 0x6b08
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x68, %rdi
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6af7
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 0x6cd9
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 0x6b50
leaq 0xd4ca(%rip), %rsi      # 0x14021
leaq -0x148(%rbp), %rdi
callq 0x70b0
movb %al, -0x229(%rbp)
jmp 0x6b6b
leaq -0x148(%rbp), %rdi
callq 0x42a0
leaq -0x168(%rbp), %rdi
callq 0x42a0
movb -0x229(%rbp), %al
testb $0x1, %al
jne 0x6b8f
jmp 0x6be7
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0xb8, %rdi
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6bd6
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 0x6cd9
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 0x6c2f
leaq 0xdcd9(%rip), %rsi      # 0x1490f
leaq -0x188(%rbp), %rdi
callq 0x70b0
movb %al, -0x241(%rbp)
jmp 0x6c4a
leaq -0x188(%rbp), %rdi
callq 0x42a0
leaq -0x1a8(%rbp), %rdi
callq 0x42a0
movb -0x241(%rbp), %al
testb $0x1, %al
jne 0x6c6e
jmp 0x6cbd
movq -0x1c0(%rbp), %rdi
addq $0x68, %rdi
addq $0x8, %rdi
callq 0xbd20
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x6ccb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x6caf
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 0x6cd9
jmp 0x6cbf
jmp 0x6cc1
jmp 0x6cc3
jmp 0x6cc5
jmp 0x6cc7
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x46f0
nopw %cs:(%rax,%rax)
nopl (%rax)