// File: rcolomina[P]the_charmed_house/src/manager.cpp
// Function: Manager::Manager()
Manager::Manager():dt(freq),
                   tiempo(0),
                   continuar_loop(true),
                   contador_mal_comportamiento(0),
		   fac("gamesInfo.xml")
{
    string gameId="";
    //scene using id
    escena_actual = fac.buildGameById(gameId);
    cout<<"manager() escena_actual address: "<<escena_actual<<endl;
     
    //CommandBuilder *commandBuilder    = new CommandBuilder();
    //map<string,ICommand*> mapComandos = commandBuilder->buildCommands(continuar_loop,
    //                                                                  escena_actual,
    //                                                                  inventario,
    //                                                                  parametro1,
    //                                                                  parametro2,
    //                                                                  primera_entrada,
    //                                                                  eventsQueue);
     
    //Construir los comandos y conectarlos al invocador
    string comandos_disponibles="Comandos disponibles: ";
    vector<string> v_comandos;
    for(int i=0;i<NUMBER_COMMANDS;++i)
        v_comandos.push_back(comandos[i]);

    list<ICommand*> mycommands;
    
    mycommands.push_back(new Exit(continuar_loop));
    mycommands.push_back(new Ayuda(v_comandos));
    mycommands.push_back(new Ver(&escena_actual));
    mycommands.push_back(new Examinar(&escena_actual,inventario,parametro1));
    mycommands.push_back(new CommandInventario(inventario));
    mycommands.push_back(new Cardinal(&escena_actual,s_norte,primera_entrada));
    mycommands.push_back(new Cardinal(&escena_actual,s_sur,primera_entrada));
    mycommands.push_back(new Cardinal(&escena_actual,s_oeste,primera_entrada));
    mycommands.push_back(new Cardinal(&escena_actual,s_este,primera_entrada));
    mycommands.push_back(new Tirar(&escena_actual,inventario,parametro1,parametro2));
    mycommands.push_back(new Coger(&escena_actual,inventario,parametro1));
    mycommands.push_back(new Dejar(&escena_actual,inventario,parametro1));
    mycommands.push_back(new Alcanzar(&escena_actual,inventario,parametro1));
    mycommands.push_back(new Colocar(&escena_actual,inventario,eventsQueue,parametro1,parametro2));    
    
    map<string,ICommand*> mapComandos; // = new map<string,ICommand*>;

    for(auto it=mycommands.begin();
        it!=mycommands.end();
        ++it){
        string key=(*it)->get_command_id();
        mapComandos[key]=*it;
        //cout<<"Added key "<<key<<endl;
    }
    
    // Build command trigger
    this->invocador_comandos = Invocador(mapComandos);
	 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x340, %rsp            # imm = 0x340
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x220(%rbp)
movabsq $0x3f91111111111111, %rax # imm = 0x3F91111111111111
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
addq $0x10, %rdi
movq %rdi, -0x258(%rbp)
callq 0x5540
movq -0x220(%rbp), %rdi
movb $0x1, 0x30(%rdi)
addq $0x38, %rdi
movq %rdi, -0x250(%rbp)
callq 0x5540
movq -0x220(%rbp), %rdi
addq $0x58, %rdi
movq %rdi, -0x248(%rbp)
callq 0x5540
movq -0x220(%rbp), %rdi
addq $0x78, %rdi
movq %rdi, -0x240(%rbp)
callq 0x5540
movq -0x220(%rbp), %rdi
addq $0x98, %rdi
movq %rdi, -0x238(%rbp)
callq 0x297d0
movq -0x220(%rbp), %rdi
addq $0xb0, %rdi
movq %rdi, -0x230(%rbp)
callq 0x2d490
movq -0x220(%rbp), %rdi
addq $0xe0, %rdi
movq %rdi, -0x228(%rbp)
callq 0x3dbb0
movq -0x220(%rbp), %rdi
addq $0x110, %rdi            # imm = 0x110
callq 0x3aa20
jmp 0x3c39b
movq -0x220(%rbp), %rdi
addq $0x118, %rdi            # imm = 0x118
movq %rdi, -0x260(%rbp)
callq 0x383a0
jmp 0x3c3b7
movq -0x220(%rbp), %rdi
movl $0x0, 0x148(%rdi)
addq $0x158, %rdi            # imm = 0x158
movq %rdi, -0x268(%rbp)
callq 0x3dbd0
jmp 0x3c3dd
movq -0x220(%rbp), %rdi
addq $0x2c8, %rdi            # imm = 0x2C8
movq %rdi, -0x270(%rbp)
callq 0x3dc50
jmp 0x3c3f9
movq -0x220(%rbp), %rdi
addq $0x2f8, %rdi            # imm = 0x2F8
movq %rdi, -0x278(%rbp)
callq 0x38210
jmp 0x3c415
movq -0x220(%rbp), %rdi
addq $0x3c8, %rdi            # imm = 0x3C8
movq %rdi, -0x280(%rbp)
callq 0x3dc70
jmp 0x3c431
movq -0x220(%rbp), %rax
addq $0x418, %rax            # imm = 0x418
movq %rax, -0x290(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x288(%rbp)
callq 0x56d0
movq -0x288(%rbp), %rdx
leaq 0x1475d(%rip), %rsi     # 0x50bc0
leaq -0x38(%rbp), %rdi
callq 0x299c0
jmp 0x3c46e
movq -0x290(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x34230
jmp 0x3c480
leaq -0x38(%rbp), %rdi
callq 0x5748
leaq -0x39(%rbp), %rdi
callq 0x5420
leaq -0x61(%rbp), %rdi
movq %rdi, -0x298(%rbp)
callq 0x56d0
movq -0x298(%rbp), %rdx
leaq 0x1418b(%rip), %rsi     # 0x5063b
leaq -0x60(%rbp), %rdi
callq 0x299c0
jmp 0x3c4bb
leaq -0x61(%rbp), %rdi
callq 0x5420
movq -0x220(%rbp), %rax
addq $0x418, %rax            # imm = 0x418
movq %rax, -0x2a0(%rbp)
leaq -0x88(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x5180
jmp 0x3c4ea
movq -0x2a0(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x34310
movq %rax, -0x2a8(%rbp)
jmp 0x3c506
movq -0x220(%rbp), %rax
movq -0x2a8(%rbp), %rcx
movq %rcx, 0x150(%rax)
leaq -0x88(%rbp), %rdi
callq 0x5748
movq 0x34a8a(%rip), %rdi     # 0x70fb8
leaq 0x14699(%rip), %rsi     # 0x50bce
callq 0x53a0
movq %rax, -0x2b0(%rbp)
jmp 0x3c543
movq -0x2b0(%rbp), %rdi
movq -0x220(%rbp), %rax
movq 0x150(%rax), %rsi
callq 0x52f0
movq %rax, -0x2b8(%rbp)
jmp 0x3c566
movq -0x2b8(%rbp), %rdi
movq 0x34a1c(%rip), %rsi     # 0x70f90
callq 0x5400
jmp 0x3c57b
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x2c0(%rbp)
callq 0x56d0
movq -0x2c0(%rbp), %rdx
leaq 0x14654(%rip), %rsi     # 0x50bf0
leaq -0xa8(%rbp), %rdi
callq 0x299c0
jmp 0x3c5aa
leaq -0xa9(%rbp), %rdi
callq 0x5420
leaq -0xc8(%rbp), %rdi
callq 0x297d0
movl $0x0, -0xcc(%rbp)
cmpl $0xe, -0xcc(%rbp)
jge 0x3c70b
movslq -0xcc(%rbp), %rax
shlq $0x5, %rax
leaq 0x3ad45(%rip), %rsi     # 0x77330
addq %rax, %rsi
leaq -0xc8(%rbp), %rdi
callq 0x29840
jmp 0x3c5fc
jmp 0x3c5fe
movl -0xcc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xcc(%rbp)
jmp 0x3c5cc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d068
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d05c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d050
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d044
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d038
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3c687
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5748
leaq -0x39(%rbp), %rdi
callq 0x5420
jmp 0x3d02c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x61(%rbp), %rdi
callq 0x5420
jmp 0x3d020
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3d017
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x5748
jmp 0x3d017
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0xa9(%rbp), %rdi
callq 0x5420
jmp 0x3d017
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3cfff
leaq -0xe8(%rbp), %rdi
callq 0x3dc90
movl $0x30, %edi
callq 0x53c0
movq %rax, -0x2c8(%rbp)
jmp 0x3c72a
movq -0x2c8(%rbp), %rdi
movq -0x220(%rbp), %rsi
addq $0x30, %rsi
callq 0x3dcf0
jmp 0x3c743
movq -0x2c8(%rbp), %rax
movq %rax, -0xf0(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c766
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x2d0(%rbp)
jmp 0x3c779
movq -0x2d0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x3dd80
jmp 0x3c78e
movq -0x2d0(%rbp), %rax
movq %rax, -0xf8(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c7b1
movl $0x30, %edi
callq 0x53c0
movq %rax, -0x2d8(%rbp)
jmp 0x3c7c4
movq -0x2d8(%rbp), %rdi
movq -0x220(%rbp), %rsi
addq $0x150, %rsi            # imm = 0x150
callq 0x3de20
jmp 0x3c7e0
movq -0x2d8(%rbp), %rax
movq %rax, -0x100(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c803
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x2e0(%rbp)
jmp 0x3c816
movq -0x2e0(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %rcx, %rdx
addq $0x118, %rdx            # imm = 0x118
addq $0x58, %rcx
callq 0x3deb0
jmp 0x3c843
movq -0x2e0(%rbp), %rax
movq %rax, -0x108(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c866
movl $0x30, %edi
callq 0x53c0
movq %rax, -0x2e8(%rbp)
jmp 0x3c879
movq -0x2e8(%rbp), %rdi
movq -0x220(%rbp), %rsi
addq $0x118, %rsi            # imm = 0x118
callq 0x3df50
jmp 0x3c895
movq -0x2e8(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c8b8
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x2f0(%rbp)
jmp 0x3c8cb
movq -0x2f0(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
addq $0x2c0, %rcx            # imm = 0x2C0
leaq 0x3a75f(%rip), %rdx     # 0x77050
callq 0x3dfe0
jmp 0x3c8f8
movq -0x2f0(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c91b
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x2f8(%rbp)
jmp 0x3c92e
movq -0x2f8(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
addq $0x2c0, %rcx            # imm = 0x2C0
leaq 0x3a71c(%rip), %rdx     # 0x77070
callq 0x3dfe0
jmp 0x3c95b
movq -0x2f8(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c97e
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x300(%rbp)
jmp 0x3c991
movq -0x300(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
addq $0x2c0, %rcx            # imm = 0x2C0
leaq 0x3a6f9(%rip), %rdx     # 0x770b0
callq 0x3dfe0
jmp 0x3c9be
movq -0x300(%rbp), %rax
movq %rax, -0x128(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x3dcb0
jmp 0x3c9e1
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x308(%rbp)
jmp 0x3c9f4
movq -0x308(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
addq $0x2c0, %rcx            # imm = 0x2C0
leaq 0x3a676(%rip), %rdx     # 0x77090
callq 0x3dfe0
jmp 0x3ca21
movq -0x308(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x3dcb0
jmp 0x3ca44
movl $0x48, %edi
callq 0x53c0
movq %rax, -0x310(%rbp)
jmp 0x3ca57
movq -0x310(%rbp), %rdi
movq -0x220(%rbp), %r8
movq %r8, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %r8, %rdx
addq $0x118, %rdx            # imm = 0x118
movq %r8, %rcx
addq $0x58, %rcx
addq $0x78, %r8
callq 0x3e080
jmp 0x3ca8b
movq -0x310(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x3dcb0
jmp 0x3caae
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x318(%rbp)
jmp 0x3cac1
movq -0x318(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %rcx, %rdx
addq $0x118, %rdx            # imm = 0x118
addq $0x58, %rcx
callq 0x3e130
jmp 0x3caee
movq -0x318(%rbp), %rax
movq %rax, -0x140(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x3dcb0
jmp 0x3cb11
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x320(%rbp)
jmp 0x3cb24
movq -0x320(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %rcx, %rdx
addq $0x118, %rdx            # imm = 0x118
addq $0x58, %rcx
callq 0x3e1d0
jmp 0x3cb51
movq -0x320(%rbp), %rax
movq %rax, -0x148(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x3dcb0
jmp 0x3cb74
movl $0x40, %edi
callq 0x53c0
movq %rax, -0x328(%rbp)
jmp 0x3cb87
movq -0x328(%rbp), %rdi
movq -0x220(%rbp), %rcx
movq %rcx, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %rcx, %rdx
addq $0x118, %rdx            # imm = 0x118
addq $0x58, %rcx
callq 0x3e270
jmp 0x3cbb4
movq -0x328(%rbp), %rax
movq %rax, -0x150(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0x3dcb0
jmp 0x3cbd7
movl $0x50, %edi
callq 0x53c0
movq %rax, -0x330(%rbp)
jmp 0x3cbea
movq -0x330(%rbp), %rdi
movq -0x220(%rbp), %r9
movq %r9, %rsi
addq $0x150, %rsi            # imm = 0x150
movq %r9, %rdx
addq $0x118, %rdx            # imm = 0x118
movq %r9, %rcx
addq $0x3c8, %rcx            # imm = 0x3C8
movq %r9, %r8
addq $0x58, %r8
addq $0x78, %r9
callq 0x3e310
jmp 0x3cc28
movq -0x330(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x3dcb0
jmp 0x3cc4b
leaq -0x188(%rbp), %rdi
callq 0x3e3d0
leaq -0xe8(%rbp), %rdi
callq 0x3e3f0
movq %rax, -0x190(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x3e450
movq %rax, -0x198(%rbp)
leaq -0x190(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x3e420
testb $0x1, %al
jne 0x3cc99
jmp 0x3cf31
leaq -0x190(%rbp), %rdi
callq 0x3e480
movq (%rax), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x3e4a0
jmp 0x3ccb6
leaq -0x190(%rbp), %rdi
callq 0x3e480
movq (%rax), %rax
movq %rax, -0x340(%rbp)
leaq -0x188(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x38e00
movq %rax, -0x338(%rbp)
jmp 0x3cce8
movq -0x338(%rbp), %rax
movq -0x340(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x1b8(%rbp), %rdi
callq 0x5748
leaq -0x190(%rbp), %rdi
callq 0x3e4d0
jmp 0x3cc6a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3cff3
movq -0x2c8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x30, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2d0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2d8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x30, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2e0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2e8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x30, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2f0(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x2f8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x300(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x308(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x310(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x48, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x318(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x320(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x328(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x40, %esi
callq 0x53d0
jmp 0x3cff3
movq -0x330(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movl $0x50, %esi
callq 0x53d0
jmp 0x3cff3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x3cfe7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x5748
jmp 0x3cfe7
leaq -0x218(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x3e4f0
jmp 0x3cf46
leaq -0x1e8(%rbp), %rdi
leaq -0x218(%rbp), %rsi
callq 0x3e520
jmp 0x3cf5b
movq -0x220(%rbp), %rdi
addq $0x2c8, %rdi            # imm = 0x2C8
leaq -0x1e8(%rbp), %rsi
callq 0x3e540
leaq -0x1e8(%rbp), %rdi
callq 0x3b240
leaq -0x218(%rbp), %rdi
callq 0x3b500
leaq -0x188(%rbp), %rdi
callq 0x3b500
leaq -0xe8(%rbp), %rdi
callq 0x3e570
leaq -0xc8(%rbp), %rdi
callq 0x298b0
leaq -0xa8(%rbp), %rdi
callq 0x5748
leaq -0x60(%rbp), %rdi
callq 0x5748
addq $0x340, %rsp            # imm = 0x340
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x3b500
leaq -0x188(%rbp), %rdi
callq 0x3b500
leaq -0xe8(%rbp), %rdi
callq 0x3e570
leaq -0xc8(%rbp), %rdi
callq 0x298b0
leaq -0xa8(%rbp), %rdi
callq 0x5748
leaq -0x60(%rbp), %rdi
callq 0x5748
movq -0x290(%rbp), %rdi
callq 0x3b1b0
movq -0x280(%rbp), %rdi
callq 0x3b1e0
movq -0x278(%rbp), %rdi
callq 0x3b200
movq -0x270(%rbp), %rdi
callq 0x3b240
movq -0x268(%rbp), %rdi
callq 0x3b260
movq -0x260(%rbp), %rdi
callq 0x3b2e0
movq -0x228(%rbp), %rdi
callq 0x3b300
movq -0x230(%rbp), %rdi
callq 0x2d630
movq -0x238(%rbp), %rdi
callq 0x298b0
movq -0x240(%rbp), %rdi
callq 0x5748
movq -0x248(%rbp), %rdi
callq 0x5748
movq -0x250(%rbp), %rdi
callq 0x5748
movq -0x258(%rbp), %rdi
callq 0x5748
movq -0x10(%rbp), %rdi
callq 0x56c0
nopw %cs:(%rax,%rax)