// File: 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 %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0x2330
movq -0x1b0(%rbp), %rdx
leaq 0x36d4(%rip), %rsi      # 0x600c
leaq -0x28(%rbp), %rdi
callq 0x34b0
jmp 0x2943
movq -0x1b8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x1bc(%rbp)
jmp 0x295b
movq -0x1b8(%rbp), %rax
movl -0x1bc(%rbp), %ecx
movl %ecx, (%rax)
leaq -0x28(%rbp), %rdi
callq 0x2100
leaq -0x29(%rbp), %rdi
callq 0x2210
movq -0x1b8(%rbp), %rax
movl (%rax), %ecx
movl %ecx, 0x4(%rax)
leaq -0x61(%rbp), %rdi
movq %rdi, -0x1c8(%rbp)
callq 0x2330
movq -0x1c8(%rbp), %rdx
leaq 0x366d(%rip), %rsi      # 0x6013
leaq -0x60(%rbp), %rdi
callq 0x34b0
jmp 0x29b1
movq -0x1b8(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x1cc(%rbp)
jmp 0x29c9
movq -0x1b8(%rbp), %rax
movl -0x1cc(%rbp), %ecx
movl %ecx, 0x8(%rax)
leaq -0x60(%rbp), %rdi
callq 0x2100
leaq -0x61(%rbp), %rdi
callq 0x2210
movq -0x1b8(%rbp), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0xc(%rax)
leaq -0x89(%rbp), %rdi
movq %rdi, -0x1d8(%rbp)
callq 0x2330
movq -0x1d8(%rbp), %rdx
leaq 0x3601(%rip), %rsi      # 0x601a
leaq -0x88(%rbp), %rdi
callq 0x34b0
jmp 0x2a27
movq -0x1b8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x1dc(%rbp)
jmp 0x2a42
movq -0x1b8(%rbp), %rax
movl -0x1dc(%rbp), %ecx
movl %ecx, 0x10(%rax)
leaq -0x88(%rbp), %rdi
callq 0x2100
leaq -0x89(%rbp), %rdi
callq 0x2210
leaq -0xb1(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x2330
movq -0x1e8(%rbp), %rdx
leaq 0x3595(%rip), %rsi      # 0x6020
leaq -0xb0(%rbp), %rdi
callq 0x34b0
jmp 0x2a99
movq -0x1b8(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x1ec(%rbp)
jmp 0x2ab4
movq -0x1b8(%rbp), %rax
movl -0x1ec(%rbp), %ecx
movl %ecx, 0x1c(%rax)
leaq -0xb0(%rbp), %rdi
callq 0x2100
leaq -0xb1(%rbp), %rdi
callq 0x2210
leaq -0xd9(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x2330
movq -0x1f8(%rbp), %rdx
leaq 0x352a(%rip), %rsi      # 0x6027
leaq -0xd8(%rbp), %rdi
callq 0x34b0
jmp 0x2b0b
movq -0x1b8(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x1fc(%rbp)
jmp 0x2b26
movq -0x1b8(%rbp), %rax
movl -0x1fc(%rbp), %ecx
movl %ecx, 0x20(%rax)
leaq -0xd8(%rbp), %rdi
callq 0x2100
leaq -0xd9(%rbp), %rdi
callq 0x2210
leaq -0x101(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x2330
movq -0x208(%rbp), %rdx
leaq 0x34c0(%rip), %rsi      # 0x602f
leaq -0x100(%rbp), %rdi
callq 0x34b0
jmp 0x2b7d
movq -0x1b8(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x2fe0
movl %eax, -0x20c(%rbp)
jmp 0x2b98
movq -0x1b8(%rbp), %rax
movl -0x20c(%rbp), %ecx
movl %ecx, 0x24(%rax)
leaq -0x100(%rbp), %rdi
callq 0x2100
leaq -0x101(%rbp), %rdi
callq 0x2210
leaq -0x129(%rbp), %rdi
movq %rdi, -0x218(%rbp)
callq 0x2330
movq -0x218(%rbp), %rdx
leaq 0x3454(%rip), %rsi      # 0x6035
leaq -0x128(%rbp), %rdi
callq 0x34b0
jmp 0x2bef
movq -0x1b8(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x3070
movss %xmm0, -0x21c(%rbp)
jmp 0x2c0c
movq -0x1b8(%rbp), %rax
movss -0x21c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x28(%rax)
leaq -0x128(%rbp), %rdi
callq 0x2100
leaq -0x129(%rbp), %rdi
callq 0x2210
leaq -0x151(%rbp), %rdi
movq %rdi, -0x228(%rbp)
callq 0x2330
movq -0x228(%rbp), %rdx
leaq 0x33e7(%rip), %rsi      # 0x6044
leaq -0x150(%rbp), %rdi
callq 0x34b0
jmp 0x2c6b
movq -0x1b8(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x3070
movss %xmm0, -0x22c(%rbp)
jmp 0x2c88
movq -0x1b8(%rbp), %rax
movss -0x22c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x30(%rax)
leaq -0x150(%rbp), %rdi
callq 0x2100
leaq -0x151(%rbp), %rdi
callq 0x2210
leaq -0x179(%rbp), %rdi
movq %rdi, -0x238(%rbp)
callq 0x2330
movq -0x238(%rbp), %rdx
leaq 0x337b(%rip), %rsi      # 0x6054
leaq -0x178(%rbp), %rdi
callq 0x34b0
jmp 0x2ce7
movq -0x1b8(%rbp), %rdi
leaq -0x178(%rbp), %rsi
callq 0x3070
movss %xmm0, -0x23c(%rbp)
jmp 0x2d04
movq -0x1b8(%rbp), %rax
movss -0x23c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x38(%rax)
leaq -0x178(%rbp), %rdi
callq 0x2100
leaq -0x179(%rbp), %rdi
callq 0x2210
leaq -0x1a1(%rbp), %rdi
movq %rdi, -0x248(%rbp)
callq 0x2330
movq -0x248(%rbp), %rdx
leaq 0x330d(%rip), %rsi      # 0x6062
leaq -0x1a0(%rbp), %rdi
callq 0x34b0
jmp 0x2d63
movq -0x1b8(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x3070
movss %xmm0, -0x24c(%rbp)
jmp 0x2d80
movq -0x1b8(%rbp), %rax
movss -0x24c(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x40(%rax)
leaq -0x1a0(%rbp), %rdi
callq 0x2100
leaq -0x1a1(%rbp), %rdi
callq 0x2210
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2ddc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x2100
leaq -0x29(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2e0d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x2100
leaq -0x61(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2e41
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x2100
leaq -0x89(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2e78
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x2100
leaq -0xb1(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2eaf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x2100
leaq -0xd9(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2ee6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x2100
leaq -0x101(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2f1d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x2100
leaq -0x129(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2f54
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x150(%rbp), %rdi
callq 0x2100
leaq -0x151(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2f88
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x178(%rbp), %rdi
callq 0x2100
leaq -0x179(%rbp), %rdi
callq 0x2210
jmp 0x2fc8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2fbc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x2100
leaq -0x1a1(%rbp), %rdi
callq 0x2210
movq -0x38(%rbp), %rdi
callq 0x2320
nopw %cs:(%rax,%rax)