// File: Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::Army()
Army::Army() {
    try {
        realArmy = {new Zombie(),new Vampire(),new Archer(),
                    new Wizard(),new BlackDragon()};
        vector<int> vect(6); // emty armyList
        armyList = vect;
        vect.clear();
    }
    catch( std::bad_alloc &exc ) {
        cout << exc.what() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x90(%rbp)
movq %rdi, %rax
movq %rax, -0x98(%rbp)
callq 0xc970
movq -0x90(%rbp), %rdi
addq $0x18, %rdi
movq %rdi, -0x88(%rbp)
callq 0xc990
movl $0x18, %edi
callq 0x4320
movq %rax, -0x80(%rbp)
jmp 0xbd30
movq -0x80(%rbp), %rdi
callq 0x12750
jmp 0xbd3b
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rax
movq %rax, -0xa8(%rbp)
movl $0x18, %edi
callq 0x4320
movq %rax, -0xa0(%rbp)
jmp 0xbd61
movq -0xa0(%rbp), %rdi
callq 0x125e0
jmp 0xbd6f
movq -0xa8(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x30(%rbp), %rax
movq %rax, -0xb8(%rbp)
movl $0x18, %edi
callq 0x4320
movq %rax, -0xb0(%rbp)
jmp 0xbd9e
movq -0xb0(%rbp), %rdi
callq 0x12410
jmp 0xbdac
movq -0xb8(%rbp), %rax
movq -0xb0(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x28(%rbp), %rax
movq %rax, -0xc8(%rbp)
movl $0x18, %edi
callq 0x4320
movq %rax, -0xc0(%rbp)
jmp 0xbddb
movq -0xc0(%rbp), %rdi
callq 0x12270
jmp 0xbde9
movq -0xc8(%rbp), %rax
movq -0xc0(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x20(%rbp), %rax
movq %rax, -0xd8(%rbp)
movl $0x18, %edi
callq 0x4320
movq %rax, -0xd0(%rbp)
jmp 0xbe18
movq -0xd0(%rbp), %rdi
callq 0x120e0
jmp 0xbe26
movq -0x98(%rbp), %rdi
movq -0xd8(%rbp), %rax
movq -0xd0(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x40(%rbp), %rax
movq %rax, -0x18(%rbp)
movq $0x5, -0x10(%rbp)
addq $0x18, %rdi
movq -0x18(%rbp), %rsi
movq -0x10(%rbp), %rdx
callq 0xc9b0
jmp 0xbe61
leaq -0x69(%rbp), %rdi
movq %rdi, -0xe0(%rbp)
callq 0xca00
movq -0xe0(%rbp), %rdx
leaq -0x68(%rbp), %rdi
movl $0x6, %esi
callq 0xca20
jmp 0xbe88
leaq -0x69(%rbp), %rdi
callq 0xca90
movq -0x98(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0xcab0
jmp 0xbea3
leaq -0x68(%rbp), %rdi
callq 0xcd00
leaq -0x68(%rbp), %rdi
callq 0xcd20
jmp 0xbff1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xbf95
movq -0x80(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0x18, %esi
callq 0x4330
jmp 0xbf95
movq -0xa0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0x18, %esi
callq 0x4330
jmp 0xbf95
movq -0xb0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0x18, %esi
callq 0x4330
jmp 0xbf95
movq -0xc0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0x18, %esi
callq 0x4330
jmp 0xbf95
movq -0xd0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0x18, %esi
callq 0x4330
jmp 0xbf95
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x69(%rbp), %rdi
callq 0xca90
jmp 0xbf95
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xcd20
movl -0x4c(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0xc01d
movq -0x48(%rbp), %rdi
callq 0x4130
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, %rsi
movq 0xfffb(%rip), %rdi      # 0x1bfc0
callq 0x4310
movq %rax, -0xe8(%rbp)
jmp 0xbfd3
movq -0xe8(%rbp), %rdi
movq 0xffcf(%rip), %rsi      # 0x1bfb0
callq 0x4340
jmp 0xbfe8
callq 0x44c0
jmp 0xbfef
jmp 0xbff1
addq $0xf0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
callq 0x44c0
jmp 0xc01b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xc01d
jmp 0xc01d
movq -0x88(%rbp), %rdi
callq 0xcd80
movq -0x90(%rbp), %rdi
callq 0xcd20
movq -0x48(%rbp), %rdi
callq 0x4520
movq %rax, %rdi
callq 0x4f20
nopw %cs:(%rax,%rax)