// File: essarrdee[P]mutantaliens/mutantaliens.cpp
// Function: signal_receive[abi:cxx11](int, int)
std::string signal_receive(int x,int y)
{
	if(target_x==-500) return "The radio transmitter is destroyed. Home time!";
	std::string ss = vtransmission[rand()%vtransmission.size()];
	float d2 = sqrt((float)d22(x,y,target_x,target_y));
	float signal = squaref(1.0f + ((float)10 - d2) /90.0f);
	std::string tt = "";
	for(unsigned int i=0;i<ss.length();i++)
		tt += (randfloat()<signal)?ss[i]:'*';
	return "\""+tt+"\"";
}

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0x50(%rsp)
movq %rdi, %rax
movq %rax, 0x58(%rsp)
movq %rdi, 0xf0(%rsp)
movl %esi, 0xec(%rsp)
movl %edx, 0xe8(%rsp)
cmpl $0xfffffe0c, 0x6d750(%rip) # imm = 0xFFFFFE0C
jne 0x1ab78
leaq 0xe7(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x5490
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rdx
leaq 0x13ac3(%rip), %rsi     # 0x2e5fc
callq 0x53d0
jmp 0x1ab40
leaq 0xe7(%rsp), %rdi
callq 0x5310
jmp 0x1ae14
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0xe7(%rsp), %rdi
callq 0x5310
jmp 0x1ae21
callq 0x50b0
cltq
movq %rax, 0x38(%rsp)
leaq 0x6d6ed(%rip), %rdi     # 0x88278
movq %rdi, 0x30(%rsp)
callq 0x1fe40
movq 0x30(%rsp), %rdi
movq %rax, %rcx
movq 0x38(%rsp), %rax
xorl %edx, %edx
divq %rcx
movq %rdx, %rsi
callq 0x1fe60
movq %rax, %rsi
leaq 0xb0(%rsp), %rdi
callq 0x5180
movl 0xec(%rsp), %edi
movl 0xe8(%rsp), %esi
movl 0x6d691(%rip), %edx     # 0x88264
movl 0x6d68f(%rip), %ecx     # 0x88268
callq 0x6610
cvtsi2ss %eax, %xmm0
callq 0x20a90
movss %xmm0, 0x44(%rsp)
jmp 0x1abef
movss 0x44(%rsp), %xmm0
movss %xmm0, 0xac(%rsp)
movss 0xac(%rsp), %xmm1
movss 0x12455(%rip), %xmm0    # 0x2d064
subss %xmm1, %xmm0
movss 0x12451(%rip), %xmm1    # 0x2d06c
divss %xmm1, %xmm0
movss 0x123ed(%rip), %xmm1    # 0x2d014
addss %xmm1, %xmm0
callq 0x21930
movss %xmm0, 0x2c(%rsp)
jmp 0x1ac38
movss 0x2c(%rsp), %xmm0
movss %xmm0, 0xa8(%rsp)
leaq 0x87(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x5490
movq 0x20(%rsp), %rdx
leaq 0x133fc(%rip), %rsi     # 0x2e061
leaq 0x88(%rsp), %rdi
callq 0x53d0
jmp 0x1ac74
leaq 0x87(%rsp), %rdi
callq 0x5310
movl $0x0, 0x80(%rsp)
movl 0x80(%rsp), %eax
movq %rax, 0x18(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x5410
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
jae 0x1ad81
callq 0x6650
movaps %xmm0, %xmm1
movss 0xa8(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x1acf6
movl 0x80(%rsp), %eax
movl %eax, %esi
leaq 0xb0(%rsp), %rdi
callq 0x54e0
movq %rax, 0x10(%rsp)
jmp 0x1ace9
movq 0x10(%rsp), %rax
movb (%rax), %al
movb %al, 0xf(%rsp)
jmp 0x1acfe
movb $0x2a, %al
movb %al, 0xf(%rsp)
jmp 0x1acfe
movb 0xf(%rsp), %al
movsbl %al, %esi
leaq 0x88(%rsp), %rdi
callq 0x5200
jmp 0x1ad14
jmp 0x1ad16
movl 0x80(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x80(%rsp)
jmp 0x1ac8c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0x1ae05
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x87(%rsp), %rdi
callq 0x5310
jmp 0x1ae05
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0x1adf8
leaq 0x12bd2(%rip), %rsi     # 0x2d95a
leaq 0x60(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x1ff70
jmp 0x1ad9c
movq 0x50(%rsp), %rdi
leaq 0x12bb2(%rip), %rdx     # 0x2d95a
leaq 0x60(%rsp), %rsi
callq 0x21090
jmp 0x1adb4
leaq 0x60(%rsp), %rdi
callq 0x54f8
leaq 0x88(%rsp), %rdi
callq 0x54f8
leaq 0xb0(%rsp), %rdi
callq 0x54f8
jmp 0x1ae14
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x54f8
leaq 0x88(%rsp), %rdi
callq 0x54f8
leaq 0xb0(%rsp), %rdi
callq 0x54f8
jmp 0x1ae21
movq 0x58(%rsp), %rax
addq $0xf8, %rsp
retq
movq 0xd8(%rsp), %rdi
callq 0x5480
nop