// File: /workspace/github_cpp_makefile_star2_O2/rcolomina[P]the_charmed_house/src/operaciones.cpp
// Function: Examinar::execute()
void Examinar::execute(){

    // This shows user a description of objects examinated
    // recorrer objetos del scene actual y del inventario
    if(string(parametro)==string(""))
        cout<<"Examinar que?"<<endl;
    else if(inventario.get_existe_objeto(parametro))
        cout<<(inventario.get_objeto(parametro))->examine()<<endl;
    else if((*scene)->get_existe_objeto_escenario(parametro))
        cout<<((*scene)->get_objeto(parametro))->examine()<<endl;		  
    else 
        cout<<Color::red<<"No hay nada llamado '"<<parametro<<"'"<<Color::def<<endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movq 0x38(%rdi), %rsi
leaq 0x8(%rsp), %rdi
callq 0x5430
leaq 0x5df0(%rip), %rsi      # 0x2163b
leaq 0xa8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x12230
leaq 0x8(%rsp), %r14
leaq 0xa8(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x136b7
movl %eax, %ebp
movq %r15, %rdi
callq 0x5638
movq %r14, %rdi
callq 0x5638
testb %bpl, %bpl
je 0x1b8ac
movq 0x13725(%rip), %rdi     # 0x2efb8
leaq 0x659a(%rip), %rsi      # 0x21e34
callq 0x5310
movq %rax, %rdi
callq 0x51a0
jmp 0x1b9d6
movq 0x30(%rbx), %r14
movq 0x38(%rbx), %rsi
leaq 0x88(%rsp), %r15
movq %r15, %rdi
callq 0x5430
movq %r14, %rdi
movq %r15, %rsi
callq 0x16ba4
movl %eax, %ebp
leaq 0x88(%rsp), %rdi
callq 0x5638
testb %bpl, %bpl
je 0x1b941
movq 0x30(%rbx), %r14
movq 0x38(%rbx), %rsi
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
callq 0x5430
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16be6
addq $0x48, %rax
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x5430
movq 0x1369d(%rip), %rdi     # 0x2efb8
leaq 0x8(%rsp), %rsi
callq 0x52d0
movq %rax, %rdi
callq 0x51a0
leaq 0x8(%rsp), %rdi
callq 0x5638
leaq 0x68(%rsp), %rdi
jmp 0x1b9d1
movq 0x28(%rbx), %rax
movq 0x38(%rbx), %rsi
movq (%rax), %r14
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x5430
movq %r14, %rdi
movq %r15, %rsi
callq 0x12f60
movl %eax, %ebp
leaq 0x48(%rsp), %rdi
callq 0x5638
testb %bpl, %bpl
je 0x1b9e4
movq 0x28(%rbx), %rax
movq 0x38(%rbx), %rsi
movq (%rax), %rbx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x5430
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1c9a2
addq $0x48, %rax
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x5430
movq 0x13608(%rip), %rdi     # 0x2efb8
leaq 0x8(%rsp), %rsi
callq 0x52d0
movq %rax, %rdi
callq 0x51a0
leaq 0x8(%rsp), %rdi
callq 0x5638
leaq 0x28(%rsp), %rdi
callq 0x5638
addq $0xc8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x135cd(%rip), %rdi     # 0x2efb8
leaq 0x1acd2(%rip), %rsi     # 0x366c4
callq 0x1c978
leaq 0x6444(%rip), %rsi      # 0x21e42
movq %rax, %rdi
callq 0x5310
movq 0x38(%rbx), %rsi
movq %rax, %rdi
callq 0x52d0
leaq 0x6564(%rip), %rsi      # 0x21f7d
movq %rax, %rdi
callq 0x5310
leaq 0x1ac98(%rip), %rsi     # 0x366c0
movq %rax, %rdi
callq 0x1c978
jmp 0x1b89f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5638
jmp 0x1ba47
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
jmp 0x1ba86
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x1ba86
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5638
jmp 0x1ba6a
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x1ba86
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x1ba86
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5638
movq %rbx, %rdi
callq 0x55a0
nop