// File: /workspace/github_cpp_makefile_star2_O3/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 0x6c19(%rip), %r14      # 0x13fd0
leaq 0x1e4f(%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 0x1e26(%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 0xd57e
leaq 0x1dea(%rip), %r13      # 0xf233
leaq 0x1de4(%rip), %rbx      # 0xf234
movq 0x10(%r15), %rsi
leaq -0x48(%rbp), %rdi
callq 0x489e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq 0x6b64(%rip), %rdi      # 0x13fd0
callq 0x31c0
movq %rax, %r14
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d6
movq %r14, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b36
movq %r14, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b40
movq %r14, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b4a
movq %r14, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b54
movq %r14, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r14
movq (%rax), %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
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd572
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
cmpq %r12, %r15
jne 0xd450
leaq 0x1cb1(%rip), %rsi      # 0xf236
movl $0x14, %edx
movq 0x6a3f(%rip), %r14      # 0x13fd0
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
movq -0x50(%rbp), %rbx
leaq 0x30(%rbx), %rax
cmpq %rax, 0x30(%rbx)
jne 0xd626
leaq 0x1c76(%rip), %rsi      # 0xf24b
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 0x48(%rbx), %rax
cmpq %rax, 0x48(%rbx)
jne 0xd75d
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x48(%rbp), %rbx
movq 0x699f(%rip), %r14      # 0x13fd0
leaq 0x1bfc(%rip), %r13      # 0xf234
movq 0x10(%r15), %rsi
movq %rbx, %rdi
callq 0x489e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d6
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b36
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b40
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b4a
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b54
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd755
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
jmp 0xd638
leaq -0x48(%rbp), %rbx
movq 0x6868(%rip), %r14      # 0x13fd0
leaq 0x1ac5(%rip), %r13      # 0xf234
movq 0x10(%r15), %rsi
movq %rbx, %rdi
callq 0x489e
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x31c0
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x48d6
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b36
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b40
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b4a
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x31c0
movq 0x10(%r15), %rdi
callq 0x4b54
movq %r12, %rdi
movl %eax, %esi
callq 0x3210
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3160
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd88c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq (%r15), %r15
jmp 0xd76f
jmp 0xd898
jmp 0xd898
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xd8b4
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3190
movq %rbx, %rdi
callq 0x3220