// File: /workspace/github_cpp_makefile_star2_O3/Matteo-Grellier[P]RPG/Character.cpp
// Function: Character::increaseDefense(Character&, int)
void Character::increaseDefense(Character& other, int valueToIncrease) {
    other.defense += valueToIncrease;

    Menu::toScreen(
        "",
        this->name + " donne de la défense à " + other.name + " et ajoute " + to_string(valueToIncrease),
        other.name + " est à " + to_string(other.defense) + " de defense."
    );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movl %edx, %r14d
movq %rsi, %rbx
addl %edx, 0x34(%rsi)
movq %rdi, %r15
leaq -0x138(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x4fa4(%rip), %rdx      # 0x9532
leaq -0x148(%rbp), %rdi
movq %rdx, %rsi
callq 0x33fc
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
leaq -0xc8(%rbp), %rdi
callq 0x335e
leaq 0x4bc6(%rip), %rsi      # 0x918d
leaq -0xc8(%rbp), %rdi
callq 0x2290
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
leaq -0xc8(%rbp), %rdi
callq 0x2080
leaq -0x118(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4614
movq %rdx, -0x128(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x118(%rbp)
jmp 0x461a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0x128(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4b68(%rip), %rsi      # 0x91a7
callq 0x2290
leaq -0xd8(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4671
movq %rdx, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x4679
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0xe0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl %r14d, %r15d
negl %r15d
cmovsl %r14d, %r15d
movl $0x1, %r12d
cmpl $0xa, %r15d
jb 0x46f3
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x46ea
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x46f0
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x46f3
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x46b7
addl $-0x3, %r12d
jmp 0x46f3
addl $-0x2, %r12d
jmp 0x46f3
decl %r12d
shrl $0x1f, %r14d
leal (%r12,%r14), %esi
leaq -0x58(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x68(%rbp), %rdi
movl $0x2d, %edx
callq 0x21f0
movl %r14d, %edi
addq -0x68(%rbp), %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x4cb2
movq -0xe8(%rbp), %rcx
movq -0xe0(%rbp), %r8
movq -0x60(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0x474a
movq -0xd8(%rbp), %rdi
movq -0x68(%rbp), %rsi
cmpq %rdi, %rax
jbe 0x476a
movl $0xf, %edi
leaq -0x58(%rbp), %r9
cmpq %r9, %rsi
je 0x4765
movq -0x58(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x4778
leaq -0xe8(%rbp), %rdi
callq 0x2080
jmp 0x4785
leaq -0x68(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq -0x98(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x47af
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x47b5
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0xa0(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x335e
leaq 0x4966(%rip), %rsi      # 0x915d
leaq -0x48(%rbp), %rdi
callq 0x2290
movl 0x34(%rbx), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4863
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x485a
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4860
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4863
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4827
addl $-0x3, %r15d
jmp 0x4863
addl $-0x2, %r15d
jmp 0x4863
decl %r15d
movq %r13, %r12
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq -0xf8(%rbp), %r13
movq %r13, -0x10(%r13)
leaq -0x108(%rbp), %rdi
movl $0x2d, %edx
callq 0x21f0
addq -0x108(%rbp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x4cb2
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x100(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq -0x38(%rbp), %rbx
cmpq %rbx, %rcx
je 0x48c3
movq -0x38(%rbp), %rdi
movq -0x108(%rbp), %rsi
cmpq %rdi, %rax
jbe 0x48e5
movl $0xf, %edi
cmpq %r13, %rsi
je 0x48e0
movq -0xf8(%rbp), %rdi
cmpq %rdi, %rax
jbe 0x48f0
leaq -0x48(%rbp), %rdi
callq 0x2080
jmp 0x4900
leaq -0x108(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq -0x78(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x4924
movq %rsi, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x492a
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x4866(%rip), %rsi      # 0x91b3
leaq -0x88(%rbp), %rdi
callq 0x2290
leaq -0x158(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4986
movq %rdx, -0x168(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x158(%rbp)
jmp 0x498d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rsi
leaq -0x168(%rbp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x148(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x70b2
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x49d9
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49f2
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x4a0d
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
leaq -0x138(%rbp), %rbx
leaq -0xb8(%rbp), %r14
leaq -0x118(%rbp), %r15
je 0x4a37
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a56
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4a6f
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x4a8a
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x128(%rbp), %rdi
cmpq %r15, %rdi
je 0x4aa5
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xc8(%rbp), %rdi
cmpq %r14, %rdi
je 0x4ac0
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x148(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4adb
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x21c0
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x4b10
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4b10
movq %rax, %rbx
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b2e
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4b2e
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r13, %rdi
je 0x4b53
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4b53
jmp 0x4b50
movq %r13, %r12
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x4b74
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4b74
movq %r13, %r12
movq %rax, %rbx
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b9b
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4b9b
movq %r13, %r12
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x4bbc
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4bbc
movq %r13, %r12
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x4bdc
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x4bdc
movq %rax, %rbx
movq -0x128(%rbp), %rdi
leaq -0x118(%rbp), %rax
cmpq %rax, %rdi
je 0x4bfe
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x4c20
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x148(%rbp), %rdi
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0x4c42
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2270
movq %rax, %rbx
jmp 0x4bfe
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
jne 0x4c11
jmp 0x4c20
movq %rax, %rbx
jmp 0x4c20
nop