// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/build.c
// Function: showspritedata
void showspritedata(short spritenum)
{
	char snotbuf[80];

	setstatusbarviewport16();

	Bsprintf(snotbuf,"Sprite %d",spritenum);
	printext16(8,32,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"X-coordinate: %d",sprite[spritenum].x);
	printext16(8,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Y-coordinate: %d",sprite[spritenum].y);
	printext16(8,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Z-coordinate: %d",sprite[spritenum].z);
	printext16(8,64,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"Sectnum: %d",sprite[spritenum].sectnum);
	printext16(8,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Statnum: %d",sprite[spritenum].statnum);
	printext16(8,80,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"Tags: %d, %d",sprite[spritenum].hitag,sprite[spritenum].lotag);
	printext16(8,96,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"     (0x%x), (0x%x)",sprite[spritenum].hitag,sprite[spritenum].lotag);
	printext16(8,104,11,-1,snotbuf,0);

	printext16(200,32,11,-1,names[sprite[spritenum].picnum],0);
	Bsprintf(snotbuf,"Flags (hex): %x",sprite[spritenum].cstat);
	printext16(200,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Shade: %d",sprite[spritenum].shade);
	printext16(200,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Pal: %d",sprite[spritenum].pal);
	printext16(200,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)repeat: %d, %d",sprite[spritenum].xrepeat,sprite[spritenum].yrepeat);
	printext16(200,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"(X,Y)offset: %d, %d",sprite[spritenum].xoffset,sprite[spritenum].yoffset);
	printext16(200,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Tile number: %d",sprite[spritenum].picnum);
	printext16(200,88,11,-1,snotbuf,0);

	Bsprintf(snotbuf,"Angle (2048 degrees): %d",sprite[spritenum].ang);
	printext16(400,48,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"X-Velocity: %d",sprite[spritenum].xvel);
	printext16(400,56,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Y-Velocity: %d",sprite[spritenum].yvel);
	printext16(400,64,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Z-Velocity: %d",sprite[spritenum].zvel);
	printext16(400,72,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Owner: %d",sprite[spritenum].owner);
	printext16(400,80,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Clipdist: %d",sprite[spritenum].clipdist);
	printext16(400,88,11,-1,snotbuf,0);
	Bsprintf(snotbuf,"Extra: %d",sprite[spritenum].extra);
	printext16(400,96,11,-1,snotbuf,0);

	restoreviewport16();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movw %di, %ax
movw %ax, -0x2(%rbp)
callq 0x1a410
leaq -0x60(%rbp), %rdi
movswl -0x2(%rbp), %edx
leaq 0x87e7f(%rip), %rsi     # 0xaff52
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291706(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %edx
leaq 0x88b9d(%rip), %rsi     # 0xb0cb7
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2916bf(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %edx
leaq 0x88b66(%rip), %rsi     # 0xb0cc8
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291677(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %edx
leaq 0x88abc(%rip), %rsi     # 0xb0c66
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29162f(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x18(%rax), %edx
leaq 0x88b62(%rip), %rsi     # 0xb0d55
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2915e6(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x1a(%rax), %edx
leaq 0x88b25(%rip), %rsi     # 0xb0d61
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29159d(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x28(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x291586(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x26(%rax), %ecx
leaq 0x88945(%rip), %rsi     # 0xb0be1
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29153d(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x28(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x291526(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x26(%rax), %ecx
leaq 0x888f2(%rip), %rsi     # 0xb0bee
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x8, %edi
movl $0x68, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
movswq -0x2(%rbp), %rcx
leaq 0x2914e1(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswq 0xe(%rax), %rax
leaq 0x1561de(%rip), %r8     # 0x17e520
imulq $0x19, %rax, %rax
addq %rax, %r8
movl $0xc8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29149b(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0xc(%rax), %edx
leaq 0x888af(%rip), %rsi     # 0xb0c36
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291452(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movsbl 0x10(%rax), %edx
leaq 0x8891f(%rip), %rsi     # 0xb0cef
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291409(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movzbl 0x11(%rax), %edx
leaq 0x888e0(%rip), %rsi     # 0xb0cf9
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2913c0(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movzbl 0x14(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x2913a9(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movzbl 0x15(%rax), %ecx
leaq 0x88888(%rip), %rsi     # 0xb0d01
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291360(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movsbl 0x16(%rax), %edx
movswq -0x2(%rbp), %rcx
leaq 0x291349(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movsbl 0x17(%rax), %ecx
leaq 0x88894(%rip), %rsi     # 0xb0d6d
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291300(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0xe(%rax), %edx
leaq 0x887f7(%rip), %rsi     # 0xb0d19
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0xc8, %edi
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2912b7(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x1c(%rax), %edx
leaq 0x88816(%rip), %rsi     # 0xb0d81
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29126e(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x20(%rax), %edx
leaq 0x887e6(%rip), %rsi     # 0xb0d9a
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291225(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x22(%rax), %edx
leaq 0x887ac(%rip), %rsi     # 0xb0da9
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x2911dc(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x24(%rax), %edx
leaq 0x88772(%rip), %rsi     # 0xb0db8
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291193(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x1e(%rax), %edx
leaq 0x88738(%rip), %rsi     # 0xb0dc7
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x29114a(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movzbl 0x12(%rax), %edx
leaq 0x886f9(%rip), %rsi     # 0xb0dd1
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
leaq -0x60(%rbp), %rdi
movswq -0x2(%rbp), %rcx
leaq 0x291101(%rip), %rax    # 0x2b9810
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movswl 0x2a(%rax), %edx
leaq 0x884e1(%rip), %rsi     # 0xb0c02
movb $0x0, %al
callq 0x6a30
leaq -0x60(%rbp), %r8
movl $0x190, %edi            # imm = 0x190
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x255b0
callq 0x1a450
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)