// File: /workspace/github_cpp_makefile_star2_O2/chulchultrain[P]FactoryHead/MapGenerator/MapGenerator.cpp
// Function: MapGenerator::MoveIDToMoveDataMapHelper(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, MoveData, 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, MoveData>>>&)
void MapGenerator::MoveIDToMoveDataMapHelper(map <string, MoveData> &m) {
	m.clear();
	ifstream fin(MOVESFILE);
	string moveID;
	string moveName;
	string moveType;
	string moveCat;
	string damageStr;
	string discard;
	int damage;
	while(getline(fin,moveID)) {
		getline(fin,moveName);
		getline(fin,moveType);
		getline(fin,moveCat);
		fin >> damage;
		getline(fin,discard);
		getline(fin,discard);
		MoveData md(moveID,moveName,moveType,moveCat,damage);
		m[moveID] = md; 
		//if(moveID < "100")
		//cout << moveID << ' ' << moveName << ' ' << moveType << ' ' << moveCat << ' ' << damage << endl;
	}
	fin.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %rsi, %rdi
movq %rsi, -0x38(%rbp)
callq 0x8c6c
leaq 0xe50c(%rip), %rsi      # 0x12045
leaq -0x408(%rbp), %r14
pushq $0x8
popq %rdx
movq %r14, %rdi
callq 0x2300
leaq -0x48(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
leaq -0xc8(%rbp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
leaq -0xa8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
andq $0x0, -0x8(%rsi)
movb %cl, (%rax)
movb %cl, (%rdx)
leaq -0x88(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
leaq -0x128(%rbp), %rdx
movq %rdx, -0x10(%rdx)
andq $0x0, -0x8(%rdx)
movb %cl, (%rsi)
movb %cl, (%rax)
movb %cl, (%rdx)
leaq -0x68(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq -0x178(%rbp), %r13
leaq -0xf8(%rbp), %r15
leaq -0x158(%rbp), %r12
movq %r14, %rdi
leaq -0x58(%rbp), %rsi
callq 0x2050
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x3d08
movq %r14, %rdi
leaq -0xd8(%rbp), %rsi
callq 0x2050
movq %r14, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x2050
movq %r14, %rdi
leaq -0x98(%rbp), %rsi
callq 0x2050
movq %r14, %rdi
leaq -0x2c(%rbp), %rsi
callq 0x2120
movq %r14, %rdi
leaq -0x78(%rbp), %rsi
callq 0x2050
movq %r14, %rdi
leaq -0x78(%rbp), %rsi
callq 0x2050
leaq -0x118(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x2240
movq %r13, %rdi
leaq -0xd8(%rbp), %rsi
callq 0x2240
movq %r15, %rdi
leaq -0xb8(%rbp), %rsi
callq 0x2240
movq %r13, %r14
movq %r12, %rdi
leaq -0x98(%rbp), %rsi
callq 0x2240
movl -0x2c(%rbp), %r9d
leaq -0x200(%rbp), %rdi
leaq -0x118(%rbp), %rsi
movq %r14, %r15
movq %r14, %rdx
leaq -0xf8(%rbp), %r13
movq %r13, %rcx
movq %r12, %r8
callq 0xa0dc
movq %r12, %rbx
movq %r12, %rdi
callq 0x20e0
movq %r13, %rdi
callq 0x20e0
movq %r15, %rdi
callq 0x20e0
leaq -0x118(%rbp), %rdi
callq 0x20e0
movq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x49f0
leaq -0x200(%rbp), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x4bea
movq %r15, %rdi
callq 0x4c38
movq %r14, %r13
leaq -0xf8(%rbp), %r15
leaq -0x408(%rbp), %r14
movq %rbx, %r12
jmp 0x3bc8
leaq -0x408(%rbp), %rdi
callq 0x2060
leaq -0x78(%rbp), %rdi
callq 0x20e0
leaq -0x138(%rbp), %rdi
callq 0x20e0
leaq -0x98(%rbp), %rdi
callq 0x20e0
leaq -0xb8(%rbp), %rdi
callq 0x20e0
leaq -0xd8(%rbp), %rdi
callq 0x20e0
leaq -0x58(%rbp), %rdi
callq 0x20e0
leaq -0x408(%rbp), %rdi
callq 0x2070
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3dcd
movq %rax, %rbx
leaq -0x158(%rbp), %rdi
callq 0x20e0
jmp 0x3d8a
movq %rax, %rbx
leaq -0xf8(%rbp), %rdi
callq 0x20e0
jmp 0x3d9d
jmp 0x3dcd
movq %rax, %rbx
leaq -0x178(%rbp), %rdi
callq 0x20e0
jmp 0x3dae
movq %rax, %rbx
leaq -0x118(%rbp), %rdi
callq 0x20e0
jmp 0x3dd0
movq %rax, %rbx
leaq -0x200(%rbp), %rdi
callq 0x4c38
jmp 0x3dd0
movq %rax, %rbx
leaq -0x78(%rbp), %rdi
callq 0x20e0
leaq -0x138(%rbp), %rdi
callq 0x20e0
leaq -0x98(%rbp), %rdi
callq 0x20e0
leaq -0xb8(%rbp), %rdi
callq 0x20e0
leaq -0xd8(%rbp), %rdi
callq 0x20e0
leaq -0x58(%rbp), %rdi
callq 0x20e0
leaq -0x408(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x22e0