// File: chulchultrain[P]FactoryHead/MapGenerator/MapGenerator.cpp
// Function: MapGenerator::MoveIDtoEntryIDVectorMapHelper(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>>&)
void MapGenerator::MoveIDtoEntryIDVectorMapHelper(map<string, vector<string> > &m) {
	m.clear();
	ifstream fin(ENTRYFILE);
	string DexID;
	string EntryID;
	string discard;	
	string move;
	while(getline(fin,EntryID) ) {
		getline(fin,DexID);
		for(unsigned int i = 0; i < 4; i++) {
			getline(fin,move);
			m[move].push_back(EntryID);
		}
		getline(fin,discard);
		while(discard != "") {
			getline(fin,discard);
		}
	}	
	fin.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp            # imm = 0x2D0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x6a50
leaq -0x218(%rbp), %rdi
leaq 0x2a712(%rip), %rsi     # 0x2f02c
movl $0x8, %edx
callq 0x3440
leaq -0x238(%rbp), %rdi
callq 0x3360
leaq -0x258(%rbp), %rdi
callq 0x3360
leaq -0x278(%rbp), %rdi
callq 0x3360
leaq -0x298(%rbp), %rdi
callq 0x3360
leaq -0x218(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x3080
movq %rax, -0x2b0(%rbp)
jmp 0x4970
movq -0x2b0(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3310
movb %al, -0x2b1(%rbp)
jmp 0x498e
movb -0x2b1(%rbp), %al
testb $0x1, %al
jne 0x499d
jmp 0x4acc
leaq -0x218(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x3080
jmp 0x49b2
movl $0x0, -0x2a8(%rbp)
cmpl $0x4, -0x2a8(%rbp)
jae 0x4a72
leaq -0x218(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x3080
jmp 0x49de
movq -0x10(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x6a70
movq %rax, -0x2c0(%rbp)
jmp 0x49f7
movq -0x2c0(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x6b50
jmp 0x4a0c
jmp 0x4a0e
movl -0x2a8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2a8(%rbp)
jmp 0x49bc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2a0(%rbp)
movl %eax, -0x2a4(%rbp)
leaq -0x298(%rbp), %rdi
callq 0x3180
leaq -0x278(%rbp), %rdi
callq 0x3180
leaq -0x258(%rbp), %rdi
callq 0x3180
leaq -0x238(%rbp), %rdi
callq 0x3180
leaq -0x218(%rbp), %rdi
callq 0x30a0
jmp 0x4b1f
leaq -0x218(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x3080
jmp 0x4a87
jmp 0x4a89
leaq 0x2aad0(%rip), %rsi     # 0x2f560
leaq -0x278(%rbp), %rdi
callq 0x6bc0
movb %al, -0x2c1(%rbp)
jmp 0x4aa4
movb -0x2c1(%rbp), %al
testb $0x1, %al
jne 0x4ab0
jmp 0x4ac7
leaq -0x218(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x3080
jmp 0x4ac5
jmp 0x4a89
jmp 0x4954
leaq -0x218(%rbp), %rdi
callq 0x3090
jmp 0x4ada
leaq -0x298(%rbp), %rdi
callq 0x3180
leaq -0x278(%rbp), %rdi
callq 0x3180
leaq -0x258(%rbp), %rdi
callq 0x3180
leaq -0x238(%rbp), %rdi
callq 0x3180
leaq -0x218(%rbp), %rdi
callq 0x30a0
addq $0x2d0, %rsp            # imm = 0x2D0
popq %rbp
retq
movq -0x2a0(%rbp), %rdi
callq 0x3410
nopl (%rax,%rax)