// File: acherkaoui[P]HTOP/core/Parser.cpp
// Function: Parser::setModuleActive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int Parser::setModuleActive(std::string str) {
	if (str.find('=') == std::string::npos ||
		!isMandatoryModule(str.substr(0, str.find('='))))
		return (1);
	if (!this->isBool(str.substr(str.find('=') + 1)))
		return (1);
	this->_map[str.substr(0, str.find('='))] =
		str.substr(str.find('=') + 1);
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rsi, -0xd0(%rbp)
movq %rdi, %rax
movq -0xd0(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
movq %rax, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xc0(%rbp)
movl $0x3d, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x4580
movq %rax, %rcx
movb $0x0, -0x39(%rbp)
movb $0x1, %al
cmpq $-0x1, %rcx
movb %al, -0xb1(%rbp)
je 0xa3b3
movq -0xc8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, -0xe8(%rbp)
movl $0x3d, %esi
callq 0x4580
movq -0xc8(%rbp), %rsi
movq -0xe8(%rbp), %rdx
movq %rax, %rcx
leaq -0x38(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0x4440
movq -0xc0(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movb $0x1, -0x39(%rbp)
callq 0x9b50
movb %al, -0xd1(%rbp)
jmp 0xa3a5
movb -0xd1(%rbp), %al
xorb $-0x1, %al
movb %al, -0xb1(%rbp)
movb -0xb1(%rbp), %al
movb %al, -0xe9(%rbp)
testb $0x1, -0x39(%rbp)
jne 0xa3c7
jmp 0xa3d0
leaq -0x38(%rbp), %rdi
callq 0x42a0
movb -0xe9(%rbp), %al
testb $0x1, %al
jne 0xa3dc
jmp 0xa40a
movl $0x1, -0x4(%rbp)
jmp 0xa5b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0x39(%rbp)
jne 0xa3fc
jmp 0xa405
leaq -0x38(%rbp), %rdi
callq 0x42a0
jmp 0xa5c3
movq -0xc8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movl $0x3d, %esi
callq 0x4580
movq -0xc8(%rbp), %rsi
movq %rax, %rdx
incq %rdx
leaq -0x70(%rbp), %rdi
movq %rdi, -0xf8(%rbp)
movq $-0x1, %rcx
callq 0x4440
movq -0xc0(%rbp), %rdi
movq -0xf8(%rbp), %rsi
callq 0xa5d0
movb %al, -0xea(%rbp)
jmp 0xa45e
movb -0xea(%rbp), %al
xorb $-0x1, %al
movb %al, -0xf9(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x42a0
movb -0xf9(%rbp), %al
testb $0x1, %al
jne 0xa481
jmp 0xa4a7
movl $0x1, -0x4(%rbp)
jmp 0xa5b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x42a0
jmp 0xa5c3
movq -0xc8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, -0x108(%rbp)
movl $0x3d, %esi
movl %esi, -0x114(%rbp)
callq 0x4580
movq -0xc8(%rbp), %rsi
movq %rax, %rdx
incq %rdx
leaq -0x90(%rbp), %rdi
movq $-0x1, %rcx
callq 0x4440
movq -0xc0(%rbp), %rax
movl -0x114(%rbp), %esi
movq -0xc8(%rbp), %rdi
movq -0x108(%rbp), %rdx
addq $0x8, %rax
movq %rax, -0x110(%rbp)
callq 0x4580
movq -0xc8(%rbp), %rsi
movq -0x108(%rbp), %rdx
movq %rax, %rcx
leaq -0xb0(%rbp), %rdi
callq 0x4440
jmp 0xa533
movq -0x110(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x6fd0
movq %rax, -0x120(%rbp)
jmp 0xa54f
movq -0x120(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x4510
leaq -0xb0(%rbp), %rdi
callq 0x42a0
leaq -0x90(%rbp), %rdi
callq 0x42a0
movl $0x0, -0x4(%rbp)
jmp 0xa5b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xa5a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x42a0
leaq -0x90(%rbp), %rdi
callq 0x42a0
jmp 0xa5c3
movl -0x4(%rbp), %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x46f0
nopl (%rax)