// File: /workspace/github_cpp_makefile_star2_O3/Matteo-Grellier[P]RPG/Menu.cpp
// Function: Menu::targetListing[abi:cxx11]()
string Menu::targetListing() {
    string buffStr = "";
    int buffInt = 0;

    for (Character* c : Character::charactersList) {

        if(c->getCurrentHp() != 0) {
            buffStr += to_string(buffInt) + ". " + c->name + " | ";
        }

        buffInt++;

    }

    return buffStr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
leaq 0x10(%rdi), %rax
movq %rax, -0x58(%rbp)
movq %rax, (%rdi)
leaq 0x1512(%rip), %rdx      # 0x9532
movq %rdi, -0x30(%rbp)
movq %rdx, %rsi
callq 0x33fc
leaq 0x515d(%rip), %rax      # 0xd190
movq (%rax), %r15
movq 0x8(%rax), %rax
movq %rax, -0xc0(%rbp)
cmpq %rax, %r15
je 0x8287
xorl %ebx, %ebx
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
movq (%r15), %r12
movq %r12, %rdi
callq 0x3d5c
testl %eax, %eax
je 0x8274
movl $0x1, %r13d
cmpl $0xa, %ebx
jb 0x80b1
movl $0x4, %r13d
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x80a8
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x80ae
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x80b1
movl %eax, %ecx
imulq %r14, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x8078
addl $-0x3, %r13d
jmp 0x80b1
addl $-0x2, %r13d
jmp 0x80b1
decl %r13d
movl %r13d, %esi
leaq -0xa8(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq -0xb8(%rbp), %r14
movq %r14, %rdi
movl $0x2d, %edx
callq 0x21f0
movq -0xb8(%rbp), %rdi
movl %r13d, %esi
movl %ebx, %edx
callq 0x4cb2
movq %r14, %rdi
leaq 0x143f(%rip), %rsi      # 0x9530
callq 0x2290
leaq -0x68(%rbp), %r13
movq %r13, -0x78(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movl $0xd1b71759, %r14d      # imm = 0xD1B71759
je 0x8120
movq %rdx, -0x78(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x68(%rbp)
jmp 0x8128
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x70(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
leaq -0x78(%rbp), %rdi
callq 0x2080
leaq -0x88(%rbp), %r12
movq %r12, -0x98(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8182
movq %rdx, -0x98(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x88(%rbp)
jmp 0x818a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x90(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x98(%rbp), %rdi
leaq 0x134d(%rip), %rsi      # 0x94ff
callq 0x2290
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x81db
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x81e1
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq -0x30(%rbp), %rdi
callq 0x2080
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x8222
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x98(%rbp), %rdi
cmpq %r12, %rdi
je 0x823d
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x78(%rbp), %rdi
cmpq %r13, %rdi
je 0x8252
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x8274
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x21c0
incl %ebx
addq $0x8, %r15
cmpq -0xc0(%rbp), %r15
jne 0x8052
movq -0x30(%rbp), %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x82ca
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x82ca
jmp 0x8329
movq %rax, %r14
jmp 0x8305
movq %rax, %r14
jmp 0x82ec
movq %rax, %r14
movq -0x98(%rbp), %rdi
leaq -0x88(%rbp), %rax
cmpq %rax, %rdi
je 0x82ec
movq -0x88(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x8305
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x832c
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x832c
movq %rax, %r14
movq -0x30(%rbp), %rax
movq (%rax), %rdi
cmpq -0x58(%rbp), %rdi
je 0x8348
movq -0x58(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x21c0
movq %r14, %rdi
callq 0x2270