// File: /workspace/github_cpp_makefile_star2_O3/mehrangoli[P]Static-Data-Extractor/SCmain.cpp
// Function: ScMain::find_module_func(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
NT ScMain:: find_module_func (string line){
	NT NameType;
	vector<string> split_line = split(line, ' ');
	remove_element_vector(split_line, "");

	if ((split_line.size()>1) && (!string_finder(line, "~"))){  			 //------------------- ignore constractor and destrocture function
		int index = find_in_vector(split_line, "(");
		if (index>=0){
			size_t pos = split_line[index].find("("); 
			NameType.first = split_line[index].substr(0,pos);
			NameType.second = split_line[index-1];
		}
	}
	return NameType;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
movq %rsp, %rdi
movq %rdx, %rsi
movl $0x20, %edx
callq 0xa66e
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4ad3(%rip), %rdx      # 0xe4e2
leaq 0x78(%rsp), %rdi
movq %rdx, %rsi
callq 0xa0b2
movq %rsp, %rdi
leaq 0x78(%rsp), %rsi
callq 0xaaa4
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x9a43
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x8(%rsp), %rax
subq (%rsp), %rax
cmpq $0x21, %rax
jb 0x9bd3
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0x3a4c
leaq 0x48(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x49ef(%rip), %rsi      # 0xe473
leaq 0x49e9(%rip), %rdx      # 0xe474
leaq 0x38(%rsp), %rdi
callq 0xa0b2
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0xa604
movl %eax, %ebp
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x9abd
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21d0
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x9ad4
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21d0
testb %bpl, %bpl
jne 0x9bd3
leaq 0x98(%rsp), %rdi
movq %rsp, %rsi
callq 0x9e6a
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4978(%rip), %rsi      # 0xe475
leaq 0x4972(%rip), %rdx      # 0xe476
leaq 0x18(%rsp), %rdi
callq 0xa0b2
leaq 0x98(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xa98a
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x9b39
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21d0
leaq 0x98(%rsp), %rdi
callq 0x36c0
testl %ebp, %ebp
js 0x9bd3
movl %ebp, %r12d
shlq $0x5, %r12
movq (%rsp), %rdi
addq %r12, %rdi
leaq 0x4912(%rip), %rsi      # 0xe475
movl $0x1, %ecx
xorl %edx, %edx
callq 0x22f0
movq (%rsp), %rsi
addq %r12, %rsi
leaq 0xb0(%rsp), %rdi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21f0
leaq 0x20(%rbx), %r14
leaq 0xb0(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2220
movq (%r15), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x9bbf
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x21d0
movq (%rsp), %rax
leaq (%rax,%r12), %rsi
addq $-0x20, %rsi
movq %r14, %rdi
callq 0x2110
movq %rsp, %rdi
callq 0x36c0
movq %rbx, %rax
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9c79
jmp 0x9c79
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x9c17
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x9c17
movq %rax, %r14
leaq 0x98(%rsp), %rdi
callq 0x36c0
jmp 0x9c7c
jmp 0x9c79
movq %rax, %r14
movq 0x38(%rsp), %rdi
cmpq %r12, %rdi
je 0x9c47
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x9c47
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x9c7c
movq 0x68(%rsp), %rsi
jmp 0x9c6f
jmp 0x9c79
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x9c7c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21d0
jmp 0x9c7c
movq %rax, %r14
movq %rsp, %rdi
callq 0x36c0
movq %rbx, %rdi
callq 0x9e0a
movq %r14, %rdi
callq 0x2300
movq %rax, %r14
jmp 0x9c84
nop