// File: /workspace/github_cpp_makefile_star2_O1/Matteo-Grellier[P]RPG/Barbarian.cpp
// Function: Barbarian::enterFury()
void Barbarian::enterFury(){
    if( inFury ){
        throw IllegalFury(true);
    }
    baseAttack = this->physicalAttack;
    baseDefense = this->defense;
    inFury = true;
    physicalAttack *= 1.5f;
    defense = 0;
    this->receiveDamage(maxHp*0.15f);

    Menu::toScreen(
        "",
        this->name + " rentre en mode FURY ! il perd donc " + to_string(maxHp*0.15f) + "de vie",
        this->name + " est à " + to_string(this->getCurrentHp()) + " pv."
    );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
cmpb $0x1, 0x4c(%rdi)
je 0x5f43
movq %rdi, %rbx
movl 0x2c(%rdi), %eax
movl 0x34(%rdi), %ecx
cvtsi2ss %eax, %xmm0
movl %eax, 0x44(%rdi)
movl %ecx, 0x48(%rdi)
mulss 0x38db(%rip), %xmm0     # 0x9360
movb $0x1, 0x4c(%rdi)
cvttss2si %xmm0, %eax
movl %eax, 0x2c(%rdi)
movl $0x0, 0x34(%rdi)
xorps %xmm0, %xmm0
cvtsi2ssl 0x38(%rdi), %xmm0
mulss 0x38bd(%rip), %xmm0     # 0x9364
cvttss2si %xmm0, %esi
callq 0x454e
leaq -0x118(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x3a70(%rip), %rdx      # 0x9532
leaq -0x128(%rbp), %rdi
movq %rdx, %rsi
callq 0x340c
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x3372
leaq 0x3874(%rip), %rsi      # 0x9368
leaq -0x48(%rbp), %rdi
callq 0x2290
xorps %xmm0, %xmm0
cvtsi2ssl 0x38(%rbx), %xmm0
mulss 0x3857(%rip), %xmm0     # 0x9364
cvtss2sd %xmm0, %xmm0
movq 0x74a0(%rip), %rsi      # 0xcfb8
leaq 0x3895(%rip), %rcx      # 0x93b4
leaq -0x108(%rbp), %rdi
movl $0x3a, %edx
movb $0x1, %al
callq 0x6170
movq -0x48(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x100(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r14, %rcx
je 0x5b53
movq -0x38(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x5b76
leaq -0xf8(%rbp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x5b71
movq -0xf8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x5b88
movq -0x108(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x2080
jmp 0x5b98
leaq -0x108(%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 0x5bc2
movq %rsi, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x5bc8
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 0x379f(%rip), %rsi      # 0x938d
leaq -0xa8(%rbp), %rdi
callq 0x2290
leaq -0xd8(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5c27
movq %rdx, -0xe8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xd8(%rbp)
jmp 0x5c2d
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xe0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x3372
leaq 0x34f3(%rip), %rsi      # 0x915d
leaq -0x68(%rbp), %rdi
callq 0x2290
movq %rbx, %rdi
callq 0x3d64
movl %eax, %r14d
movl %eax, %ebx
negl %ebx
cmovsl %eax, %ebx
movl $0x1, %r15d
cmpl $0xa, %ebx
jb 0x5cd9
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x5cd0
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x5cd6
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x5cd9
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x5c9d
addl $-0x3, %r15d
jmp 0x5cd9
addl $-0x2, %r15d
jmp 0x5cd9
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq -0xc8(%rbp), %rdi
movl $0x2d, %edx
callq 0x21f0
movl %r14d, %edi
addq -0xc8(%rbp), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0x4cc2
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xc0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x5d33
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x5d52
movl $0xf, %esi
cmpq %r12, -0xc8(%rbp)
je 0x5d4d
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x5d64
movq -0xc8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x2080
jmp 0x5d74
leaq -0xc8(%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 0x5d98
movq %rsi, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x5d9e
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 0x3397(%rip), %rsi      # 0x9158
leaq -0x88(%rbp), %rdi
callq 0x2290
leaq -0x138(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5dfa
movq %rdx, -0x148(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x138(%rbp)
jmp 0x5e01
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rsi
leaq -0x148(%rbp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x128(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
callq 0x70ca
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x5e4d
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5e66
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x5e81
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
leaq -0x118(%rbp), %rbx
leaq -0x38(%rbp), %r14
je 0x5ea1
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x5ec3
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5ee2
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0xf8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5f01
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x5f16
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x128(%rbp), %rdi
cmpq %rbx, %rdi
je 0x5f31
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x21c0
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20d0
leaq 0x6d54(%rip), %rcx      # 0xcca8
addq $0x10, %rcx
movq %rcx, (%rax)
movb $0x1, 0x8(%rax)
leaq 0x6d6a(%rip), %rsi      # 0xccd0
movq 0x7073(%rip), %rdx      # 0xcfe0
movq %rax, %rdi
callq 0x2260
movq %rax, %rbx
movq -0x148(%rbp), %rdi
cmpq %r14, %rdi
je 0x5f98
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x5f98
movq %rax, %rbx
leaq -0x78(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5fb6
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x5fb6
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x600c
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x21c0
jmp 0x600c
jmp 0x6009
movq %rax, %rbx
jmp 0x6021
movq %rax, %rbx
jmp 0x6043
movq %rax, %rbx
jmp 0x6062
movq %rax, %rbx
jmp 0x6081
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0x608e
jmp 0x609a
movq %rax, %rbx
jmp 0x609a
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x6021
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0xe8(%rbp), %rdi
leaq -0xd8(%rbp), %rax
cmpq %rax, %rdi
je 0x6043
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0x98(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6062
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x21c0
leaq -0xf8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6081
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x609a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21c0
movq -0x128(%rbp), %rdi
leaq -0x118(%rbp), %rax
cmpq %rax, %rdi
je 0x60bc
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2270