// File: lotuskip[P]yuxtapa/server/game.cpp
// Function: (anonymous namespace)::follow_change(std::_List_iterator<Player>, std::_List_const_iterator<Player>)
void follow_change(const list<Player>::iterator pit,
	const list<Player>::const_iterator fit)
{
	pit->viewn_vp->drop_watcher(pit->stats_i->ID);
	(pit->viewn_vp = fit->own_vp)->add_watcher(pit);
	if(pit->viewn_vp != pit->own_vp)
	{
		string s = "Now following " + fit->nick + ", a "
			+ team_name[fit->team]
			+ ' ' + classnames[fit->cl] + '.';
		Network::construct_msg(s, C_FIREB_TRAP_LIT);
		Network::send_to_player(*pit);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x1b050
movq 0xc8(%rax), %rax
movq %rax, -0x100(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x1b050
movq %rax, %rdi
addq $0x80, %rdi
callq 0x1b390
movq -0x100(%rbp), %rdi
movzwl (%rax), %esi
callq 0x427b0
leaq -0x10(%rbp), %rdi
callq 0x24f40
movq 0xc0(%rax), %rax
movq %rax, -0xf8(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x1b050
movq -0xf8(%rbp), %rdi
movq %rdi, 0xc8(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
callq 0x42770
leaq -0x8(%rbp), %rdi
callq 0x1b050
movq 0xc8(%rax), %rax
movq %rax, -0xf0(%rbp)
leaq -0x8(%rbp), %rdi
callq 0x1b050
movq %rax, %rcx
movq -0xf0(%rbp), %rax
cmpq 0xc0(%rcx), %rax
je 0x3b26e
leaq -0x10(%rbp), %rdi
callq 0x24f40
movq %rax, %rdx
addq $0x88, %rdx
leaq 0x29195(%rip), %rsi     # 0x64226
leaq -0xd8(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x1f390
movq -0x108(%rbp), %rsi
leaq 0x29183(%rip), %rdx     # 0x64235
leaq -0xb8(%rbp), %rdi
callq 0x18a40
jmp 0x3b0c0
leaq -0x10(%rbp), %rdi
callq 0x24f40
movl 0xac(%rax), %eax
shlq $0x5, %rax
leaq 0x562c6(%rip), %rdx     # 0x913a0
addq %rax, %rdx
leaq -0x98(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x1fb90
jmp 0x3b0f2
leaq -0x78(%rbp), %rdi
leaq -0x98(%rbp), %rsi
movl $0x20, %edx
callq 0x3ca50
jmp 0x3b109
leaq -0x10(%rbp), %rdi
callq 0x24f40
movl 0xb0(%rax), %eax
shlq $0x5, %rax
leaq 0x5631d(%rip), %rdx     # 0x91440
addq %rax, %rdx
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x1fb90
jmp 0x3b135
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
movl $0x2e, %edx
callq 0x3ca50
jmp 0x3b149
leaq -0x58(%rbp), %rdi
callq 0x5a48
leaq -0x78(%rbp), %rdi
callq 0x5a48
leaq -0x98(%rbp), %rdi
callq 0x5a48
leaq -0xb8(%rbp), %rdi
callq 0x5a48
leaq -0xd8(%rbp), %rdi
callq 0x5a48
leaq -0x38(%rbp), %rdi
movl $0x39, %esi
callq 0x1ab10
jmp 0x3b18f
leaq -0x8(%rbp), %rdi
callq 0x28450
movq %rax, %rdi
leaq 0x530f6(%rip), %rsi     # 0x8e298
callq 0x1af60
jmp 0x3b1a9
leaq -0x38(%rbp), %rdi
callq 0x5a48
jmp 0x3b26e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
jmp 0x3b243
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
jmp 0x3b237
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
jmp 0x3b22b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
jmp 0x3b222
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x5a48
leaq -0x78(%rbp), %rdi
callq 0x5a48
leaq -0x98(%rbp), %rdi
callq 0x5a48
leaq -0xb8(%rbp), %rdi
callq 0x5a48
leaq -0xd8(%rbp), %rdi
callq 0x5a48
jmp 0x3b277
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xe0(%rbp)
movl %eax, -0xe4(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x5a48
jmp 0x3b277
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
movq -0xe0(%rbp), %rdi
callq 0x5920
nopw %cs:(%rax,%rax)