// File: 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
subq $0x410, %rsp            # imm = 0x410
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7530
leaq -0x218(%rbp), %rdi
leaq 0x29ceb(%rip), %rsi     # 0x2f045
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 -0x2b8(%rbp), %rdi
callq 0x3360
leaq -0x2d8(%rbp), %rdi
callq 0x3360
leaq -0x218(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x3080
movq %rax, -0x400(%rbp)
jmp 0x53c8
movq -0x400(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3310
movb %al, -0x401(%rbp)
jmp 0x53e6
movb -0x401(%rbp), %al
testb $0x1, %al
jne 0x53f5
jmp 0x5621
leaq -0x218(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x3080
jmp 0x540a
leaq -0x218(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x3080
jmp 0x541f
leaq -0x218(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x3080
jmp 0x5434
leaq -0x218(%rbp), %rdi
leaq -0x2dc(%rbp), %rsi
callq 0x3170
jmp 0x5449
leaq -0x218(%rbp), %rdi
leaq -0x2d8(%rbp), %rsi
callq 0x3080
jmp 0x545e
leaq -0x218(%rbp), %rdi
leaq -0x2d8(%rbp), %rsi
callq 0x3080
jmp 0x5473
leaq -0x398(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x3100
jmp 0x5488
leaq -0x3b8(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x3100
jmp 0x549d
leaq -0x3d8(%rbp), %rdi
leaq -0x278(%rbp), %rsi
callq 0x3100
jmp 0x54b2
leaq -0x3f8(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x3100
jmp 0x54c7
movl -0x2dc(%rbp), %r9d
leaq -0x378(%rbp), %rdi
leaq -0x398(%rbp), %rsi
leaq -0x3b8(%rbp), %rdx
leaq -0x3d8(%rbp), %rcx
leaq -0x3f8(%rbp), %r8
callq 0x1a100
jmp 0x54f8
leaq -0x3f8(%rbp), %rdi
callq 0x3180
leaq -0x3d8(%rbp), %rdi
callq 0x3180
leaq -0x3b8(%rbp), %rdi
callq 0x3180
leaq -0x398(%rbp), %rdi
callq 0x3180
movq -0x10(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x6f70
movq %rax, -0x410(%rbp)
jmp 0x5541
movq -0x410(%rbp), %rdi
leaq -0x378(%rbp), %rsi
callq 0x7550
jmp 0x5556
leaq -0x378(%rbp), %rdi
callq 0x75d0
jmp 0x53ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
jmp 0x568c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
jmp 0x55f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
jmp 0x55e4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
jmp 0x55d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
leaq -0x3f8(%rbp), %rdi
callq 0x3180
leaq -0x3d8(%rbp), %rdi
callq 0x3180
leaq -0x3b8(%rbp), %rdi
callq 0x3180
leaq -0x398(%rbp), %rdi
callq 0x3180
jmp 0x568c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x2e8(%rbp)
movl %eax, -0x2ec(%rbp)
leaq -0x378(%rbp), %rdi
callq 0x75d0
jmp 0x568c
leaq -0x218(%rbp), %rdi
callq 0x3090
jmp 0x562f
leaq -0x2d8(%rbp), %rdi
callq 0x3180
leaq -0x2b8(%rbp), %rdi
callq 0x3180
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 $0x410, %rsp            # imm = 0x410
popq %rbp
retq
leaq -0x2d8(%rbp), %rdi
callq 0x3180
leaq -0x2b8(%rbp), %rdi
callq 0x3180
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
movq -0x2e8(%rbp), %rdi
callq 0x3410
nopl (%rax)