// File: giovifazi[P]knossos-bloodbath/Hud.cpp
// Function: hud_battle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, int)
int hud_battle(std::string name1, std::string name2, int atk, int atk2,int n){
	
	
std::cout

<<"Te lo sei ritrovato proprio di fronte. E' il tuo compagno di viaggio.\n" 
<<"Un prigioniero come te, un disperato, un affamato. Sareste dovuti essere compagni, e invece vi afferrate e vi colpite come animali selvaggi...\n\n" 



<<"                           __.--|~|--.__                             ,,;/;\n"
<<"                         /~     | |    ;~\\                         ,;;;/;;'\n"
<<"                        /|      | |    ;~\\                       ,;;;;/;;;'\n"
<<"                       |/|      \\_/   ;;;|\\                    ,;;;;/;;;;'\n"
<<"                       |/ \\          ;;;/  )                 ,;;;;/;;;;;'\n"
<<"                   ___ | ______     ;_____ |___....__      ,;;;;/;;;;;'\n"
<<"             ___.-~ \\(| \\  \\*\\ \\__/ /*/ /:|)~   ~   \\    ,;;;;/;;;;;'\n"
<<"         /~~~    ~\\    |  ~-.     |   .-~: |//  _.-~~--,;;;;/;;;;;'\n"
<<"        (.-~___     \\.'|    | /-.__.-\\|::::| //~     ,;;;;/;;;;;'\n"
<<"        /      ~~--._ \\|   /          `\\:: |/      ,;;;;/;;;;;'\n"
<<"     .-|             ~~|   |  /V****V\\ |:  |     ,;;;;/;;;;;' \\\n"
<<"    /                   \\  |  ~`^~~^'~ |  /    ,;;;;/;;;;;'    ;\n"
<<"   (        \\             \\|`\\._____./'|/    ,;;;;/;;;;;'      '\\\n"
<<"  / \\        \\                             ,;;;;/;;;;;'     /    |\n"
<<" |            |                          ,;;;;/;;;;;'      |     |\n"
<<"|`-._          |                       ,;;;;/;;;;;'              \\\n"
<<"|             /                      ,;;;;/;;;;;'  \\              \\__________\n"
<<"(             )                 |  ,;;;;/;;;;;'      |        _.--~          \n"
<<" \\          \\/ \\              ,  ;;;;;/;;;;;'       /(     .-~_..--~~~~~~~~~~\n"
<<" \\__         '  `       ,     ,;;;;;/;;;;;'    .   /  \\   / /~                \n"
<<" /          \'  |`._______ ,;;;;;;/;;;;;;'    /   :    \\/'/'       /|_/|   ``|\n"
<<"| _.-~~~~-._ |   \\ __   .,;;;;;;/;;;;;;' ~~~~'   .'    | |       /~ (/\\/    ||\n"
<<"/~ _.-~~~-._\\    /~/   ;;;;;;;/;;;;;;;'          |    | |       / ~/_-'|-   /|\n"
<<"(/~         \\| /' |   ;;;;;;/;;;;;;;;            ;   | |       (.-~;  /-   / |\n\n"



   << name1 << " colpisce e fa " << atk << " danni.\n"
   << name2 << " colpisce e fa " << atk2 << " danni.\n\n";



switch(n){   

        case -1:
                std::cin.ignore();

                std::cout << "Premi invio per continuare\n";

                 std::cin.get();
        break;


        case 0:

std::cout
<<"                     :::!~!!!!!:.\n"
<<"                  .xUHWH!! !!?M88WHX:.\n"
<<"                .X*#M@$!!  !X!M$$$$$$WWx:.\n"
<<"               :!!!!!!?H! :!$!$$$$$$$$$$8X:\n"
<<"              !!~  ~:~!! :~!$!#$$$$$$$$$$8X:\n"
<<"             :!~::!H!<   ~.U$X!?R$$$$$$$$MM!\n"
<<"             ~!~!!!!~~ .:XW$$$U!!?$$$$$$RMM!\n"
<<"               !:~~~ .:!M'T#$$$$WX??#MRRMMM!\n"
<<"               ~?88888*`   `'*$$$$8!!!!|?!!!         Nel combattimento \n"
<<"             :X- M$$$$       `'T#$T~!8$WUXU~         muore "<<name1<<"\n"
<<"            :%`  ~#$$$m:        ~!~ ?$$$$$$\n"
<<"          :!`.-   ~T$$$$8xx.  .xWW- ~''##*'\n"
<<".....   -~~:<` !    ~?T#$$@@W@*?$$      /`\n"
<<"W$@@M!!! .!~~ !!     .:XUW$W!~ `*~:    :\n"
<<"#*~~`.:x%`!!  !H:   !WM$$$$Ti.: .!WUn+!`\n"
<<":::~:!!`:X~ .: ?H.!u *$$$B$$$!W:U!T$$M~\n"
<<".~~   :X@!.-~   ?@WTWo('*$$$W$TH$! `\n"
<<"Wi.~!X$?!-~    : ?$$$B$Wu('**$RM!\n"
<<"$R@i.~~ !     :   ~$$$$$B$$en:``\n"
<<"?MXT@Wx.~    :     ~'##*$$$$M~\n\n\n";

                 std::cin.ignore();

                std::cout << "Premi invio per continuare\n";

                 std::cin.get();

                return 1;


   
        
        case 1:
      std::cout 

        <<"Vi siete colpiti entrambi con tutta la forza possibile. Dovreste morire, ma il vostro combattimento ha stupito la dea Tiche,\n" 
        <<"signora della fortuna. Decide di intervenire e far vivere uno dei due...\n\n"


<<"       .-------.    ______\n"
<<"      /   o   /|   /\\     \\\n"
<<"     /_______/o|  /o \\  o  \\\n"
<<"     | o     | | /   o\\_____\\\n"
<<"     |   o   |o/ \\o   /o    /\n"
<<"     |     o |/   \\ o/  o  /\n"
<<"     '-------'     \\/____o/\n\n";

        std::cin.ignore();

        std::cout << "Premi invio per continuare\n";

        std::cin.get();

        std::cout 
        << "Regala 1 Hp a " << name1<<"\n\n"
        << name2 << " e' morto.\n\n";
      //  std::cin.ignore();

        std::cout << "Premi invio per continuare";

        std::cin.get();


                return 0;
        
        case 2:
        std::cout
        <<"Vi siete colpiti entrambi con tutta la forza possibile. Dovreste morire, ma il vostro combattimento ha stupito la dea Tiche,\n" 
        <<"signora della fortuna. Decide di intervenire e far vivere uno dei due...\n\n" 


<<"       .-------.    ______\n"
<<"      /   o   /|   /\\     \\\n"
<<"     /_______/o|  /o \\  o  \\\n"
<<"     | o     | | /   o\\_____\\\n"
<<"     |   o   |o/ \\o   /o    /\n"
<<"     |     o |/   \\ o/  o  /\n"
<<"     '-------'     \\/____o/\n\n";

        std::cin.ignore();

        std::cout << "Premi invio per continuare\n";

        std::cin.get();

        std::cout

        << "Regala 1 Hp a " << name2<<"\n\n" 
        << name1 << " e' morto.\n\n";

        std::cout << "Premi invio per continuare";

        std::cin.get();



                return 1;

        case 3:


std::cout
<<"                     :::!~!!!!!:.\n"
<<"                  .xUHWH!! !!?M88WHX:.\n"
<<"                .X*#M@$!!  !X!M$$$$$$WWx:.\n"
<<"               :!!!!!!?H! :!$!$$$$$$$$$$8X:\n"
<<"              !!~  ~:~!! :~!$!#$$$$$$$$$$8X:\n"
<<"             :!~::!H!<   ~.U$X!?R$$$$$$$$MM!\n"
<<"             ~!~!!!!~~ .:XW$$$U!!?$$$$$$RMM!\n"
<<"               !:~~~ .:!M'T#$$$$WX??#MRRMMM!\n"
<<"               ~?789iW*`   `'#$$$$8!!!!8?!!!         Nel combattimento \n"
<<"             :X- M$$$$       `'T#$T~!8$WUXU~         muore "<<name2<<"\n"
<<"            :%`  ~#$$$m:        ~!~ ?$$$$$$\n"
<<"          :!`.-   ~T$$$$8xx.  .xWW- ~''##*'\n"
<<".....   -~~:<` !    ~?T#$$@@W@*?$$      /`\n"
<<"W$@@M!!! .!~~ !!     .:XUW$W!~ `*~:    :\n"
<<"#*~~`.:x%`!!  !H:   !WM$$$$Ti.: .!WUn+!`\n"
<<":::~:!!`:X~ .: ?H.!u *$$$B$$$!W:U!T$$M~\n"
<<".~~   :X@!.-~   ?@WTWo('*$$$W$TH$! `\n"
<<"Wi.~!X$?!-~    : ?$$$B$Wu('**$RM!\n"
<<"$R@i.~~ !     :   ~$$$$$B$$en:``\n"
<<"?MXT@Wx.~    :     ~'##*$$$$M~\n\n\n";


                  std::cin.ignore();

                   std::cout << "Premi invio per continuare\n";
        
                  std::cin.get();

                return 0;
        }

return 0;
  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x48(%rbp)
movq %rsi, -0x40(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq 0xc5f7(%rip), %rdi      # 0x13fd0
leaq 0x6aa5(%rip), %rsi      # 0xe485
callq 0x21a0
movq %rax, %rdi
leaq 0x6add(%rip), %rsi      # 0xe4cc
callq 0x21a0
movq %rax, %rdi
leaq 0x6b5f(%rip), %rsi      # 0xe55d
callq 0x21a0
movq %rax, %rdi
leaq 0x6b9c(%rip), %rsi      # 0xe5a9
callq 0x21a0
movq %rax, %rdi
leaq 0x6bda(%rip), %rsi      # 0xe5f6
callq 0x21a0
movq %rax, %rdi
leaq 0x6c18(%rip), %rsi      # 0xe643
callq 0x21a0
movq %rax, %rdi
leaq 0x6c55(%rip), %rsi      # 0xe68f
callq 0x21a0
movq %rax, %rdi
leaq 0x6c91(%rip), %rsi      # 0xe6da
callq 0x21a0
movq %rax, %rdi
leaq 0x6ccb(%rip), %rsi      # 0xe723
callq 0x21a0
movq %rax, %rdi
leaq 0x6d03(%rip), %rsi      # 0xe76a
callq 0x21a0
movq %rax, %rdi
leaq 0x6d39(%rip), %rsi      # 0xe7af
callq 0x21a0
movq %rax, %rdi
leaq 0x6d6d(%rip), %rsi      # 0xe7f2
callq 0x21a0
movq %rax, %rdi
leaq 0x6d9f(%rip), %rsi      # 0xe833
callq 0x21a0
movq %rax, %rdi
leaq 0x6dd1(%rip), %rsi      # 0xe874
callq 0x21a0
movq %rax, %rdi
leaq 0x6e04(%rip), %rsi      # 0xe8b6
callq 0x21a0
movq %rax, %rdi
leaq 0x6e38(%rip), %rsi      # 0xe8f9
callq 0x21a0
movq %rax, %rdi
leaq 0x6e6d(%rip), %rsi      # 0xe93d
callq 0x21a0
movq %rax, %rdi
leaq 0x6ea2(%rip), %rsi      # 0xe981
callq 0x21a0
movq %rax, %rdi
leaq 0x6ed7(%rip), %rsi      # 0xe9c5
callq 0x21a0
movq %rax, %rdi
leaq 0x6f17(%rip), %rsi      # 0xea14
callq 0x21a0
movq %rax, %rdi
leaq 0x6f57(%rip), %rsi      # 0xea63
callq 0x21a0
movq %rax, %rdi
leaq 0x6f97(%rip), %rsi      # 0xeab2
callq 0x21a0
movq %rax, %rdi
leaq 0x6fd8(%rip), %rsi      # 0xeb02
callq 0x21a0
movq %rax, %rdi
leaq 0x7018(%rip), %rsi      # 0xeb51
callq 0x21a0
movq %rax, %rdi
leaq 0x7059(%rip), %rsi      # 0xeba1
callq 0x21a0
movq %rax, %rdi
leaq 0x709a(%rip), %rsi      # 0xebf1
callq 0x21a0
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x70d0(%rip), %rsi      # 0xec42
movq %rsi, -0x38(%rbp)
callq 0x21a0
movq %rax, %rdi
movl -0x1c(%rbp), %esi
callq 0x2310
movq %rax, %rdi
leaq 0x70c2(%rip), %rsi      # 0xec52
callq 0x21a0
movq -0x40(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq -0x38(%rbp), %rsi
movq %rax, %rdi
callq 0x21a0
movq %rax, %rdi
movl -0x20(%rbp), %esi
callq 0x2310
movq %rax, %rdi
leaq 0x7099(%rip), %rsi      # 0xec5b
callq 0x21a0
movl -0x24(%rbp), %eax
incl %eax
movl %eax, %ecx
movq %rcx, -0x30(%rbp)
subl $0x4, %eax
ja 0x8174
movq -0x30(%rbp), %rax
leaq 0x470a(%rip), %rcx      # 0xc2f0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xc3ea(%rip), %rdi      # 0x13fe0
callq 0x2350
movq 0xc3ce(%rip), %rdi      # 0x13fd0
leaq 0x705c(%rip), %rsi      # 0xec65
callq 0x21a0
movq 0xc3cb(%rip), %rdi      # 0x13fe0
callq 0x2250
jmp 0x8174
movq 0xc3aa(%rip), %rdi      # 0x13fd0
leaq 0x7054(%rip), %rsi      # 0xec81
callq 0x21a0
movq %rax, %rdi
leaq 0x7068(%rip), %rsi      # 0xeca4
callq 0x21a0
movq %rax, %rdi
leaq 0x7081(%rip), %rsi      # 0xeccc
callq 0x21a0
movq %rax, %rdi
leaq 0x709e(%rip), %rsi      # 0xecf8
callq 0x21a0
movq %rax, %rdi
leaq 0x70bc(%rip), %rsi      # 0xed25
callq 0x21a0
movq %rax, %rdi
leaq 0x70db(%rip), %rsi      # 0xed53
callq 0x21a0
movq %rax, %rdi
leaq 0x70fa(%rip), %rsi      # 0xed81
callq 0x21a0
movq %rax, %rdi
leaq 0x7119(%rip), %rsi      # 0xedaf
callq 0x21a0
movq %rax, %rdi
leaq 0x7138(%rip), %rsi      # 0xeddd
callq 0x21a0
movq %rax, %rdi
leaq 0x7172(%rip), %rsi      # 0xee26
callq 0x21a0
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x8caa(%rip), %rsi      # 0x10979
callq 0x21a0
movq %rax, %rdi
leaq 0x7184(%rip), %rsi      # 0xee62
callq 0x21a0
movq %rax, %rdi
leaq 0x71a2(%rip), %rsi      # 0xee8f
callq 0x21a0
movq %rax, %rdi
leaq 0x71c0(%rip), %rsi      # 0xeebc
callq 0x21a0
movq %rax, %rdi
leaq 0x71dd(%rip), %rsi      # 0xeee8
callq 0x21a0
movq %rax, %rdi
leaq 0x71f8(%rip), %rsi      # 0xef12
callq 0x21a0
movq %rax, %rdi
leaq 0x7213(%rip), %rsi      # 0xef3c
callq 0x21a0
movq %rax, %rdi
leaq 0x722d(%rip), %rsi      # 0xef65
callq 0x21a0
movq %rax, %rdi
leaq 0x7244(%rip), %rsi      # 0xef8b
callq 0x21a0
movq %rax, %rdi
leaq 0x7258(%rip), %rsi      # 0xefae
callq 0x21a0
movq %rax, %rdi
leaq 0x726b(%rip), %rsi      # 0xefd0
callq 0x21a0
movq 0xc26f(%rip), %rdi      # 0x13fe0
callq 0x2350
movq 0xc253(%rip), %rdi      # 0x13fd0
leaq 0x6ee1(%rip), %rsi      # 0xec65
callq 0x21a0
movq 0xc250(%rip), %rdi      # 0x13fe0
callq 0x2250
movl $0x1, -0x4(%rbp)
jmp 0x817b
movq 0xc228(%rip), %rdi      # 0x13fd0
leaq 0x7243(%rip), %rsi      # 0xeff2
callq 0x21a0
movq %rax, %rdi
leaq 0x72b2(%rip), %rsi      # 0xf070
callq 0x21a0
movq %rax, %rdi
leaq 0x72ee(%rip), %rsi      # 0xf0bb
callq 0x21a0
movq %rax, %rdi
leaq 0x72fb(%rip), %rsi      # 0xf0d7
callq 0x21a0
movq %rax, %rdi
leaq 0x7309(%rip), %rsi      # 0xf0f4
callq 0x21a0
movq %rax, %rdi
leaq 0x7318(%rip), %rsi      # 0xf112
callq 0x21a0
movq %rax, %rdi
leaq 0x7328(%rip), %rsi      # 0xf131
callq 0x21a0
movq %rax, %rdi
leaq 0x7338(%rip), %rsi      # 0xf150
callq 0x21a0
movq %rax, %rdi
leaq 0x7347(%rip), %rsi      # 0xf16e
callq 0x21a0
movq 0xc1ad(%rip), %rdi      # 0x13fe0
callq 0x2350
movq 0xc191(%rip), %rdi      # 0x13fd0
leaq 0x6e1f(%rip), %rsi      # 0xec65
callq 0x21a0
movq 0xc18e(%rip), %rdi      # 0x13fe0
callq 0x2250
movq 0xc172(%rip), %rdi      # 0x13fd0
leaq 0x7327(%rip), %rsi      # 0xf18c
callq 0x21a0
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x8af8(%rip), %rsi      # 0x10978
callq 0x21a0
movq -0x40(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x7300(%rip), %rsi      # 0xf19b
callq 0x21a0
movq 0xc129(%rip), %rdi      # 0x13fd0
leaq 0x5d5d(%rip), %rsi      # 0xdc0b
callq 0x21a0
movq 0xc126(%rip), %rdi      # 0x13fe0
callq 0x2250
movl $0x0, -0x4(%rbp)
jmp 0x817b
movq 0xc0fe(%rip), %rdi      # 0x13fd0
leaq 0x7119(%rip), %rsi      # 0xeff2
callq 0x21a0
movq %rax, %rdi
leaq 0x7188(%rip), %rsi      # 0xf070
callq 0x21a0
movq %rax, %rdi
leaq 0x71c4(%rip), %rsi      # 0xf0bb
callq 0x21a0
movq %rax, %rdi
leaq 0x71d1(%rip), %rsi      # 0xf0d7
callq 0x21a0
movq %rax, %rdi
leaq 0x71df(%rip), %rsi      # 0xf0f4
callq 0x21a0
movq %rax, %rdi
leaq 0x71ee(%rip), %rsi      # 0xf112
callq 0x21a0
movq %rax, %rdi
leaq 0x71fe(%rip), %rsi      # 0xf131
callq 0x21a0
movq %rax, %rdi
leaq 0x720e(%rip), %rsi      # 0xf150
callq 0x21a0
movq %rax, %rdi
leaq 0x721d(%rip), %rsi      # 0xf16e
callq 0x21a0
movq 0xc083(%rip), %rdi      # 0x13fe0
callq 0x2350
movq 0xc067(%rip), %rdi      # 0x13fd0
leaq 0x6cf5(%rip), %rsi      # 0xec65
callq 0x21a0
movq 0xc064(%rip), %rdi      # 0x13fe0
callq 0x2250
movq 0xc048(%rip), %rdi      # 0x13fd0
leaq 0x71fd(%rip), %rsi      # 0xf18c
callq 0x21a0
movq -0x40(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x89ce(%rip), %rsi      # 0x10978
callq 0x21a0
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x71d6(%rip), %rsi      # 0xf19b
callq 0x21a0
movq 0xbfff(%rip), %rdi      # 0x13fd0
leaq 0x5c33(%rip), %rsi      # 0xdc0b
callq 0x21a0
movq 0xbffc(%rip), %rdi      # 0x13fe0
callq 0x2250
movl $0x1, -0x4(%rbp)
jmp 0x817b
movq 0xbfd4(%rip), %rdi      # 0x13fd0
leaq 0x6c7e(%rip), %rsi      # 0xec81
callq 0x21a0
movq %rax, %rdi
leaq 0x6c92(%rip), %rsi      # 0xeca4
callq 0x21a0
movq %rax, %rdi
leaq 0x6cab(%rip), %rsi      # 0xeccc
callq 0x21a0
movq %rax, %rdi
leaq 0x6cc8(%rip), %rsi      # 0xecf8
callq 0x21a0
movq %rax, %rdi
leaq 0x6ce6(%rip), %rsi      # 0xed25
callq 0x21a0
movq %rax, %rdi
leaq 0x6d05(%rip), %rsi      # 0xed53
callq 0x21a0
movq %rax, %rdi
leaq 0x6d24(%rip), %rsi      # 0xed81
callq 0x21a0
movq %rax, %rdi
leaq 0x6d43(%rip), %rsi      # 0xedaf
callq 0x21a0
movq %rax, %rdi
leaq 0x712d(%rip), %rsi      # 0xf1a8
callq 0x21a0
movq %rax, %rdi
leaq 0x6d9c(%rip), %rsi      # 0xee26
callq 0x21a0
movq -0x40(%rbp), %rsi
movq %rax, %rdi
callq 0x2170
movq %rax, %rdi
leaq 0x88d4(%rip), %rsi      # 0x10979
callq 0x21a0
movq %rax, %rdi
leaq 0x6dae(%rip), %rsi      # 0xee62
callq 0x21a0
movq %rax, %rdi
leaq 0x6dcc(%rip), %rsi      # 0xee8f
callq 0x21a0
movq %rax, %rdi
leaq 0x6dea(%rip), %rsi      # 0xeebc
callq 0x21a0
movq %rax, %rdi
leaq 0x6e07(%rip), %rsi      # 0xeee8
callq 0x21a0
movq %rax, %rdi
leaq 0x6e22(%rip), %rsi      # 0xef12
callq 0x21a0
movq %rax, %rdi
leaq 0x6e3d(%rip), %rsi      # 0xef3c
callq 0x21a0
movq %rax, %rdi
leaq 0x6e57(%rip), %rsi      # 0xef65
callq 0x21a0
movq %rax, %rdi
leaq 0x6e6e(%rip), %rsi      # 0xef8b
callq 0x21a0
movq %rax, %rdi
leaq 0x6e82(%rip), %rsi      # 0xefae
callq 0x21a0
movq %rax, %rdi
leaq 0x6e95(%rip), %rsi      # 0xefd0
callq 0x21a0
movq 0xbe99(%rip), %rdi      # 0x13fe0
callq 0x2350
movq 0xbe7d(%rip), %rdi      # 0x13fd0
leaq 0x6b0b(%rip), %rsi      # 0xec65
callq 0x21a0
movq 0xbe7a(%rip), %rdi      # 0x13fe0
callq 0x2250
movl $0x0, -0x4(%rbp)
jmp 0x817b
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)