// File: giovifazi[P]knossos-bloodbath/Menu.cpp
// Function: setName[abi:cxx11](int)
std::string setName(int num) 	
{                                      
	std::string name;
	std::ostringstream convert;
	convert<<num;
	std::string stringa = "Giocatore "+convert.str(); 
        std::string stringa2 = "inserisci il tuo nome:";  
        for (int i=0; i<40; i++, std::cout<<"\n"); 			//spazio fra una schermata e l'altra        
	stampaMenu(stringa,"",stringa2,"[max 10 caratteri]", 2);	
	std::cin>> name;
	while (name.size() > lenght)					//controllo lunghezza nome
	{
                for (int i=0; i<40; i++, std::cout<<"\n");
		stampaMenu("Nome troppo lungo!","riprova con un nome piu corto","","",2);
		std::cin>>name;
	}
		return name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x380, %rsp            # imm = 0x380
movq %rdi, -0x340(%rbp)
movq %rdi, %rax
movq %rax, -0x338(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movb $0x0, -0xd(%rbp)
callq 0x22c0
leaq -0x188(%rbp), %rdi
callq 0x22a0
jmp 0xb0ea
movl -0xc(%rbp), %esi
leaq -0x188(%rbp), %rdi
callq 0x2310
jmp 0xb0fb
leaq -0x1d8(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x21d0
jmp 0xb110
leaq 0x623e(%rip), %rsi      # 0x11355
leaq -0x1b8(%rbp), %rdi
leaq -0x1d8(%rbp), %rdx
callq 0xb6f0
jmp 0xb12c
leaq -0x1d8(%rbp), %rdi
callq 0x2100
leaq -0x1f9(%rbp), %rdi
movq %rdi, -0x348(%rbp)
callq 0x2330
movq -0x348(%rbp), %rdx
leaq 0x6207(%rip), %rsi      # 0x11360
leaq -0x1f8(%rbp), %rdi
callq 0x3180
jmp 0xb167
leaq -0x1f9(%rbp), %rdi
callq 0x2200
movl $0x0, -0x200(%rbp)
cmpl $0x28, -0x200(%rbp)
jge 0xb23c
jmp 0xb18c
movl -0x200(%rbp), %eax
incl %eax
movl %eax, -0x200(%rbp)
movq 0x8e2f(%rip), %rdi      # 0x13fd0
leaq 0x57d1(%rip), %rsi      # 0x10979
callq 0x21a0
jmp 0xb1af
jmp 0xb17d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb6d3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb6a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
leaq -0x1d8(%rbp), %rdi
callq 0x2100
jmp 0xb6a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
leaq -0x1f9(%rbp), %rdi
callq 0x2200
jmp 0xb69d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb691
leaq -0x220(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x20b0
jmp 0xb251
leaq -0x241(%rbp), %rdi
movq %rdi, -0x350(%rbp)
callq 0x2330
movq -0x350(%rbp), %rdx
leaq 0x5708(%rip), %rsi      # 0x1097a
leaq -0x240(%rbp), %rdi
callq 0x3180
jmp 0xb280
leaq -0x268(%rbp), %rdi
leaq -0x1f8(%rbp), %rsi
callq 0x20b0
jmp 0xb295
leaq -0x289(%rbp), %rdi
movq %rdi, -0x358(%rbp)
callq 0x2330
movq -0x358(%rbp), %rdx
leaq 0x60c1(%rip), %rsi      # 0x11377
leaq -0x288(%rbp), %rdi
callq 0x3180
jmp 0xb2c4
leaq -0x220(%rbp), %rdi
leaq -0x240(%rbp), %rsi
leaq -0x268(%rbp), %rdx
leaq -0x288(%rbp), %rcx
movl $0x2, %r8d
callq 0x9810
jmp 0xb2ed
leaq -0x288(%rbp), %rdi
callq 0x2100
leaq -0x289(%rbp), %rdi
callq 0x2200
leaq -0x268(%rbp), %rdi
callq 0x2100
leaq -0x240(%rbp), %rdi
callq 0x2100
leaq -0x241(%rbp), %rdi
callq 0x2200
leaq -0x220(%rbp), %rdi
callq 0x2100
movq -0x340(%rbp), %rsi
movq 0x8c9d(%rip), %rdi      # 0x13fe0
callq 0x2280
jmp 0xb34a
jmp 0xb34c
movq -0x340(%rbp), %rdi
callq 0x2120
cmpq $0xa, %rax
jbe 0xb661
movl $0x0, -0x290(%rbp)
cmpl $0x28, -0x290(%rbp)
jge 0xb43b
jmp 0xb37b
movl -0x290(%rbp), %eax
incl %eax
movl %eax, -0x290(%rbp)
movq 0x8c40(%rip), %rdi      # 0x13fd0
leaq 0x55e2(%rip), %rsi      # 0x10979
callq 0x21a0
jmp 0xb39e
jmp 0xb36c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb41e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb412
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb3fa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
leaq -0x288(%rbp), %rdi
callq 0x2100
leaq -0x289(%rbp), %rdi
callq 0x2200
leaq -0x268(%rbp), %rdi
callq 0x2100
leaq -0x240(%rbp), %rdi
callq 0x2100
leaq -0x241(%rbp), %rdi
callq 0x2200
leaq -0x220(%rbp), %rdi
callq 0x2100
jmp 0xb691
leaq -0x2b1(%rbp), %rdi
movq %rdi, -0x360(%rbp)
callq 0x2330
movq -0x360(%rbp), %rdx
leaq 0x5f2e(%rip), %rsi      # 0x1138a
leaq -0x2b0(%rbp), %rdi
callq 0x3180
jmp 0xb46a
leaq -0x2d9(%rbp), %rdi
movq %rdi, -0x368(%rbp)
callq 0x2330
movq -0x368(%rbp), %rdx
leaq 0x5f12(%rip), %rsi      # 0x1139d
leaq -0x2d8(%rbp), %rdi
callq 0x3180
jmp 0xb499
leaq -0x301(%rbp), %rdi
movq %rdi, -0x370(%rbp)
callq 0x2330
movq -0x370(%rbp), %rdx
leaq 0x54c0(%rip), %rsi      # 0x1097a
leaq -0x300(%rbp), %rdi
callq 0x3180
jmp 0xb4c8
leaq -0x329(%rbp), %rdi
movq %rdi, -0x378(%rbp)
callq 0x2330
movq -0x378(%rbp), %rdx
leaq 0x5491(%rip), %rsi      # 0x1097a
leaq -0x328(%rbp), %rdi
callq 0x3180
jmp 0xb4f7
leaq -0x2b0(%rbp), %rdi
leaq -0x2d8(%rbp), %rsi
leaq -0x300(%rbp), %rdx
leaq -0x328(%rbp), %rcx
movl $0x2, %r8d
callq 0x9810
jmp 0xb520
leaq -0x328(%rbp), %rdi
callq 0x2100
leaq -0x329(%rbp), %rdi
callq 0x2200
leaq -0x300(%rbp), %rdi
callq 0x2100
leaq -0x301(%rbp), %rdi
callq 0x2200
leaq -0x2d8(%rbp), %rdi
callq 0x2100
leaq -0x2d9(%rbp), %rdi
callq 0x2200
leaq -0x2b0(%rbp), %rdi
callq 0x2100
leaq -0x2b1(%rbp), %rdi
callq 0x2200
movq -0x340(%rbp), %rsi
movq 0x8a52(%rip), %rdi      # 0x13fe0
callq 0x2280
jmp 0xb595
jmp 0xb34c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb653
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb63b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb623
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
jmp 0xb60b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x190(%rbp)
movl %eax, -0x194(%rbp)
leaq -0x328(%rbp), %rdi
callq 0x2100
leaq -0x329(%rbp), %rdi
callq 0x2200
leaq -0x300(%rbp), %rdi
callq 0x2100
leaq -0x301(%rbp), %rdi
callq 0x2200
leaq -0x2d8(%rbp), %rdi
callq 0x2100
leaq -0x2d9(%rbp), %rdi
callq 0x2200
leaq -0x2b0(%rbp), %rdi
callq 0x2100
leaq -0x2b1(%rbp), %rdi
callq 0x2200
jmp 0xb691
movb $0x1, -0xd(%rbp)
leaq -0x1f8(%rbp), %rdi
callq 0x2100
leaq -0x1b8(%rbp), %rdi
callq 0x2100
leaq -0x188(%rbp), %rdi
callq 0x2050
testb $0x1, -0xd(%rbp)
jne 0xb6c3
jmp 0xb6b7
leaq -0x1f8(%rbp), %rdi
callq 0x2100
leaq -0x1b8(%rbp), %rdi
callq 0x2100
leaq -0x188(%rbp), %rdi
callq 0x2050
jmp 0xb6d3
movq -0x340(%rbp), %rdi
callq 0x2100
movq -0x338(%rbp), %rax
addq $0x380, %rsp            # imm = 0x380
popq %rbp
retq
movq -0x340(%rbp), %rdi
callq 0x2100
movq -0x190(%rbp), %rdi
callq 0x2320
nopl (%rax,%rax)