// File: /workspace/github_cpp_makefile_star2_O1/kongrigoriou[P]Text-Based-RPG/src/Squad.cpp
// Function: Squad::display_allHeroes()
void Squad::display_allHeroes(){
    
    cout << "Pick your Heroes!" << endl;

    cout << "Available Warriors:" << endl;

    list <Hero*>::iterator it;

    // cout << "NAME   HP  "
    for(it = Warriors.begin(); it != Warriors.end(); ++it){
        cout << (*it)->get_name() << "\t\t" << (*it)->get_HealthPower() << "\t" << (*it)->get_MagicPower() 
        << "\t" << (*it)->get_Strength() << "\t" << (*it)->get_Agility() << "\t" << (*it)->get_Dexterity() << endl;
    }

    cout << "Available Sorcerers:" << endl;

    list <Hero*>::iterator it2;

    for(it2 = Sorcerers.begin(); it2 != Sorcerers.end(); ++it){
        cout << (*it)->get_name() << "\t" << (*it)->get_HealthPower() << "\t" << (*it)->get_MagicPower() 
        << "\t" << (*it)->get_Strength() << "\t" << (*it)->get_Agility() << "\t" << (*it)->get_Dexterity() << endl;
    }

    cout << "Available Paladins:" << endl;

    list <Hero*>::iterator it3;

    for(it3 = Paladins.begin(); it3 != Paladins.end(); ++it){
        cout << (*it)->get_name() << "\t" << (*it)->get_HealthPower() << "\t" << (*it)->get_MagicPower() 
        << "\t" << (*it)->get_Strength() << "\t" << (*it)->get_Agility() << "\t" << (*it)->get_Dexterity() << endl;
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x6c9d(%rip), %r14      # 0x13fd0
leaq 0x1ed3(%rip), %rsi      # 0xf20d
movl $0x11, %edx
movq %r14, %rdi
callq 0x31c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq 0x1eaa(%rip), %rsi      # 0xf21f
movl $0x13, %edx
movq %r14, %rdi
callq 0x31c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
leaq 0x18(%rbx), %r12
movq %rbx, -0x50(%rbp)
movq 0x18(%rbx), %r15
cmpq %r12, %r15
je 0xd4fa
leaq 0x1e6e(%rip), %r13      # 0xf233
leaq 0x1e68(%rip), %r14      # 0xf234
movq 0x10(%r15), %rsi
leaq -0x48(%rbp), %rdi
callq 0x489a
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x6be8(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d2
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b32
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b3c
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b46
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b50
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd4ee
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
cmpq %r12, %r15
jne 0xd3cc
leaq 0x1d35(%rip), %rsi      # 0xf236
movl $0x14, %edx
movq 0x6ac3(%rip), %rbx      # 0x13fd0
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x50(%rbp), %rax
leaq 0x30(%rax), %r14
movq 0x30(%rax), %r12
cmpq %r14, %r12
je 0xd686
leaq 0x1cdc(%rip), %r13      # 0xf234
movq 0x10(%r15), %rsi
leaq -0x48(%rbp), %rdi
callq 0x489a
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x6a5c(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d2
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b32
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b3c
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b46
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b50
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd67a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
cmpq %r14, %r12
jne 0xd558
leaq 0x1bbe(%rip), %rsi      # 0xf24b
movl $0x13, %edx
movq 0x6937(%rip), %rbx      # 0x13fd0
movq %rbx, %rdi
callq 0x31c0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x50(%rbp), %rax
movq 0x48(%rax), %r14
addq $0x48, %rax
cmpq %rax, %r14
je 0xd815
movq %rax, %r13
leaq 0x1b4d(%rip), %r12      # 0xf234
movq 0x10(%r15), %rsi
leaq -0x48(%rbp), %rdi
callq 0x489a
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x68cd(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d2
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b32
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b3c
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b46
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b50
movq %rbx, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd809
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
cmpq %r13, %r14
jne 0xd6e7
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xd828
jmp 0xd828
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd844
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220