// File: /workspace/github_cpp_makefile_star2_O2/gilecheverria[P]UP_Battle_Project/Character.cpp
// Function: Character::inputData()
void Character::inputData()
{
    // Get the max Hit Points
    HP = validatePositiveInt("max HP");
    current_HP = HP;
    // Get the max Magic Points
    MP = validatePositiveInt("max MP");
    current_MP = MP;
    // Get the speed
    speed = validatePositiveInt("speed");
    //character_class = _character_class;
    attack = validatePositiveInt("attack");
    defense = validatePositiveInt("defense");
    magic = validatePositiveInt("magic");
    attack_percent = validatePercent("attack percent");
    defense_percent = validatePercent("defense percent");
    magic_percent = validatePercent("magic percent");
    critical_percent = validatePercent("critical percent");
}

// Assembly:
pushq %rbx
subq $0x150, %rsp            # imm = 0x150
movq %rdi, %rbx
leaq 0x2a6c(%rip), %rsi      # 0x5010
leaq 0x130(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x130(%rsp), %rsi
callq 0x285c
movl %eax, (%rbx)
leaq 0x130(%rsp), %rdi
callq 0x2080
movl (%rbx), %eax
movl %eax, 0x4(%rbx)
leaq 0x2a39(%rip), %rsi      # 0x5017
leaq 0x110(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x110(%rsp), %rsi
callq 0x285c
movl %eax, 0x8(%rbx)
leaq 0x110(%rsp), %rdi
callq 0x2080
movl 0x8(%rbx), %eax
movl %eax, 0xc(%rbx)
leaq 0x2a04(%rip), %rsi      # 0x501e
leaq 0xf0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0xf0(%rsp), %rsi
callq 0x285c
movl %eax, 0x10(%rbx)
leaq 0xf0(%rsp), %rdi
callq 0x2080
leaq 0x29d4(%rip), %rsi      # 0x5024
leaq 0xd0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0xd0(%rsp), %rsi
callq 0x285c
movl %eax, 0x1c(%rbx)
leaq 0xd0(%rsp), %rdi
callq 0x2080
leaq 0x29a5(%rip), %rsi      # 0x502b
leaq 0xb0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0xb0(%rsp), %rsi
callq 0x285c
movl %eax, 0x20(%rbx)
leaq 0xb0(%rsp), %rdi
callq 0x2080
leaq 0x2977(%rip), %rsi      # 0x5033
leaq 0x90(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x90(%rsp), %rsi
callq 0x285c
movl %eax, 0x24(%rbx)
leaq 0x90(%rsp), %rdi
callq 0x2080
leaq 0x2947(%rip), %rsi      # 0x5039
leaq 0x70(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x70(%rsp), %rsi
callq 0x28ec
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x28(%rbx)
leaq 0x70(%rsp), %rdi
callq 0x2080
leaq 0x2923(%rip), %rsi      # 0x5048
leaq 0x50(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x50(%rsp), %rsi
callq 0x28ec
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x30(%rbx)
leaq 0x50(%rsp), %rdi
callq 0x2080
leaq 0x2900(%rip), %rsi      # 0x5058
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x30(%rsp), %rsi
callq 0x28ec
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x38(%rbx)
leaq 0x30(%rsp), %rdi
callq 0x2080
leaq 0x28db(%rip), %rsi      # 0x5066
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x2b8c
leaq 0x10(%rsp), %rsi
callq 0x28ec
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x40(%rbx)
leaq 0x10(%rsp), %rdi
callq 0x2080
addq $0x150, %rsp            # imm = 0x150
popq %rbx
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
jmp 0x2849
jmp 0x2850
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x2080
jmp 0x2853
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2220
nop