// File: essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: draw_text_wodge(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void draw_text_wodge(std::string s)
{
	int lines = (int)ceil(((float)s.length())/viewport_width);
	attron(COLOR_PAIR(COLOR_WHITE));
	mvaddstr(lines-1,0,std::string(viewport_width,' ').c_str());
	for(int i=0;i<lines;i++)
	{
		mvaddstr(i,0,(s.substr(viewport_width*i,viewport_width).c_str()));
	}
	//getch();
}

// Assembly:
subq $0xa8, %rsp
movq %rdi, 0x20(%rsp)
movq %rdi, 0xa0(%rsp)
callq 0x5410
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x2c(%rsp)
testq %rax, %rax
movss %xmm0, 0x30(%rsp)
js 0x8952
movss 0x2c(%rsp), %xmm0
movss %xmm0, 0x30(%rsp)
movss 0x30(%rsp), %xmm0
movss 0x246a8(%rip), %xmm1    # 0x2d008
divss %xmm1, %xmm0
callq 0x200a0
cvttss2si %xmm0, %eax
movl %eax, 0x9c(%rsp)
movq 0x32665(%rip), %rax     # 0x3afe0
movq (%rax), %rdi
movl $0x700, %esi            # imm = 0x700
xorl %eax, %eax
movl %eax, %edx
callq 0x51a0
movq 0x3264d(%rip), %rax     # 0x3afe0
movq (%rax), %rdi
movl 0x9c(%rsp), %esi
subl $0x1, %esi
xorl %edx, %edx
callq 0x52f0
movb $0x0, 0x76(%rsp)
movb $0x0, 0x63(%rsp)
cmpl $-0x1, %eax
jne 0x89b8
jmp 0x8a1b
movq 0x32621(%rip), %rax     # 0x3afe0
movq (%rax), %rax
movq %rax, 0x10(%rsp)
leaq 0x77(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x5490
movq 0x18(%rsp), %rcx
movb $0x1, 0x76(%rsp)
leaq 0x78(%rsp), %rdi
movl $0x31, %esi
movl $0x20, %edx
callq 0x5210
jmp 0x89f6
movb $0x1, 0x63(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x5160
movq 0x10(%rsp), %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5100
jmp 0x8a19
jmp 0x8a1b
testb $0x1, 0x63(%rsp)
jne 0x8a24
jmp 0x8a2e
leaq 0x78(%rsp), %rdi
callq 0x54f8
testb $0x1, 0x76(%rsp)
jne 0x8a37
jmp 0x8a41
leaq 0x77(%rsp), %rdi
callq 0x5310
movl $0x0, 0x5c(%rsp)
movl 0x5c(%rsp), %eax
cmpl 0x9c(%rsp), %eax
jge 0x8b60
movq 0x3257f(%rip), %rax     # 0x3afe0
movq (%rax), %rdi
movl 0x5c(%rsp), %esi
xorl %edx, %edx
callq 0x52f0
movb $0x0, 0x37(%rsp)
cmpl $-0x1, %eax
jne 0x8a7b
jmp 0x8ad0
movq 0x20(%rsp), %rsi
movq 0x32559(%rip), %rax     # 0x3afe0
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movl 0x5c(%rsp), %eax
imull $0x31, %eax, %eax
movslq %eax, %rdx
leaq 0x38(%rsp), %rdi
movq %rdi, (%rsp)
movl $0x31, %ecx
callq 0x52e0
movq (%rsp), %rdi
movb $0x1, 0x37(%rsp)
callq 0x5160
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5100
jmp 0x8ace
jmp 0x8ad0
testb $0x1, 0x37(%rsp)
jne 0x8ad9
jmp 0x8ae3
leaq 0x38(%rsp), %rdi
callq 0x54f8
jmp 0x8ae5
movl 0x5c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x5c(%rsp)
jmp 0x8a49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
jmp 0x8b28
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
testb $0x1, 0x63(%rsp)
jne 0x8b1c
jmp 0x8b26
leaq 0x78(%rsp), %rdi
callq 0x54f8
jmp 0x8b28
testb $0x1, 0x76(%rsp)
jne 0x8b31
jmp 0x8b3b
leaq 0x77(%rsp), %rdi
callq 0x5310
jmp 0x8b68
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
testb $0x1, 0x37(%rsp)
jne 0x8b54
jmp 0x8b5e
leaq 0x38(%rsp), %rdi
callq 0x54f8
jmp 0x8b68
addq $0xa8, %rsp
retq
movq 0x68(%rsp), %rdi
callq 0x5480
nopw %cs:(%rax,%rax)