// File: /workspace/github_cpp_makefile_star2_O1/Serfati[P]Heroes-of-Might-and-Magic-3/Army.cpp
// Function: Army::showArmy[abi:cxx11]()
string Army::showArmy() {
    string showArmy = "",t = " \t\r\f\v";
    Creature c;
    for (int i = 5; i >= 0; i --) {
        if ( armyList[i] != 0 ) {
            showArmy += std::to_string(armyList[i]);
            showArmy += " " + c.creaType(i) + " ";
        }
    }
    showArmy.erase(showArmy.find_last_not_of(t) + 1);
    showArmy += ".";
    return showArmy;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, -0xa0(%rbp)
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
movq %r14, (%rdi)
leaq 0x4335(%rip), %rdx      # 0xb545
movq %rdx, %rsi
callq 0x39b0
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x4319(%rip), %rsi      # 0xb540
leaq 0x4317(%rip), %rdx      # 0xb545
leaq -0x90(%rbp), %rdi
movq %rbx, -0x50(%rbp)
movq %r14, -0x98(%rbp)
callq 0x39b0
leaq -0xd8(%rbp), %rdi
callq 0x9ee0
leaq -0x38(%rbp), %r13
movl $0x5, %r15d
movl $0xd1b71759, %edx       # imm = 0xD1B71759
movq -0xa0(%rbp), %rax
movq (%rax), %rax
cmpl $0x0, (%rax,%r15,4)
je 0x7448
movq %r13, %r14
movl (%rax,%r15,4), %r13d
movl %r13d, %r12d
negl %r12d
cmovsl %r13d, %r12d
movl $0x1, %ebx
cmpl $0xa, %r12d
jb 0x72ce
movl $0x4, %ebx
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x72c7
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x72cc
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x72ce
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebx
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x7299
addl $-0x3, %ebx
jmp 0x72ce
addl $-0x2, %ebx
jmp 0x72ce
decl %ebx
shrl $0x1f, %r13d
leal (%rbx,%r13), %esi
movq %r14, -0x48(%rbp)
leaq -0x48(%rbp), %rdi
movl $0x2d, %edx
callq 0x32e0
addq -0x48(%rbp), %r13
movq %r13, %rdi
movl %ebx, %esi
movl %r12d, %edx
callq 0x7989
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq -0x50(%rbp), %rbx
movq %rbx, %rdi
callq 0x30c0
movq -0x48(%rbp), %rdi
movq %r14, %r13
cmpq %r14, %rdi
leaq -0x60(%rbp), %r14
leaq -0xc0(%rbp), %r12
je 0x7330
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movq %r12, %rdi
leaq -0xd8(%rbp), %rsi
movl %r15d, %edx
callq 0xa08e
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x44cf(%rip), %r12      # 0xb825
movq %r12, %rcx
callq 0x32b0
movq %r14, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x737e
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x7385
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x3470
movq %r13, -0x48(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x73c8
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x73d0
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x30c0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x740c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x70(%rbp), %rdi
cmpq %r14, %rdi
je 0x7421
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x7443
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3290
movl $0xd1b71759, %edx       # imm = 0xD1B71759
subq $0x1, %r15
jae 0x7260
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rcx
movq %rbx, %rdi
movq $-0x1, %rdx
callq 0x33a0
incq %rax
movq 0x8(%rbx), %rcx
cmpq %rax, %rcx
jb 0x74c6
movq %rax, 0x8(%rbx)
movq (%rbx), %rcx
movb $0x0, (%rcx,%rax)
leaq 0x3c0e(%rip), %rsi      # 0xb09b
movq %rbx, %rdi
callq 0x3470
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x74b1
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4079(%rip), %rdi      # 0xb546
leaq 0x40a9(%rip), %rsi      # 0xb57d
movq %rax, %rdx
xorl %eax, %eax
callq 0x3340
jmp 0x7518
movq %rax, %rbx
jmp 0x757c
jmp 0x7518
jmp 0x7518
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x7525
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3290
jmp 0x7525
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x7560
movq -0x38(%rbp), %rsi
jmp 0x7558
movq %rax, %rbx
jmp 0x7560
movq %rax, %rbx
jmp 0x753e
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x753e
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x7560
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x757c
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x3290
movq -0x50(%rbp), %rax
movq (%rax), %rdi
movq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x759a
movq (%rax), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3420