// File: /workspace/github_c_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %edi, %ebp
movl 0x112e80(%rip), %eax    # 0x12dd68
movl %eax, 0x89122(%rip)     # 0xa4010
movl 0x112e78(%rip), %eax    # 0x12dd6c
movl %eax, 0x8911a(%rip)     # 0xa4014
movl $0x90, 0x112e64(%rip)   # 0x12dd68
leaq 0x89129(%rip), %rax     # 0xa4034
movl $0xffffff70, %ecx       # imm = 0xFFFFFF70
addl (%rax), %ecx
movl %ecx, 0x112e54(%rip)    # 0x12dd6c
leaq 0x59115(%rip), %rsi     # 0x74034
movq %rsp, %rbx
movq %rbx, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x6b00
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl $0x8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movslq %ebp, %rax
imulq $0x2c, %rax, %r15
leaq 0x261d4f(%rip), %r12    # 0x27ccb0
movl (%r12,%r15), %edx
leaq 0x59f34(%rip), %rsi     # 0x74ea0
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movl 0x4(%r12,%r15), %edx
leaq 0x59f10(%rip), %rsi     # 0x74eb1
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movl 0x8(%r12,%r15), %edx
leaq 0x59e79(%rip), %rsi     # 0x74e4f
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x18(%r12,%r15), %edx
leaq 0x59f32(%rip), %rsi     # 0x74f3e
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x1a(%r12,%r15), %edx
leaq 0x59f08(%rip), %rsi     # 0x74f4a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x28(%r12,%r15), %edx
movswl 0x26(%r12,%r15), %ecx
leaq 0x59d4c(%rip), %rsi     # 0x74dca
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x28(%r12,%r15), %edx
movswl 0x26(%r12,%r15), %ecx
leaq 0x59d1d(%rip), %rsi     # 0x74dd7
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x8, %edi
movl $0x68, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswq 0xe(%r12,%r15), %rax
leaq (%rax,%rax,4), %rax
leaq (%rax,%rax,4), %rax
leaq 0x126cc8(%rip), %r8     # 0x141dc0
addq %rax, %r8
movl $0xc8, %edi
movl $0x20, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x1915d
movswl 0xc(%r12,%r15), %edx
leaq 0x59cfb(%rip), %rsi     # 0x74e1f
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movsbl 0x10(%r12,%r15), %edx
leaq 0x59d7e(%rip), %rsi     # 0x74ed8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movzbl 0x11(%r12,%r15), %edx
leaq 0x59d52(%rip), %rsi     # 0x74ee2
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movzbl 0x14(%r12,%r15), %edx
movzbl 0x15(%r12,%r15), %ecx
leaq 0x59d1e(%rip), %rsi     # 0x74eea
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movsbl 0x16(%r12,%r15), %edx
movsbl 0x17(%r12,%r15), %ecx
leaq 0x59d4e(%rip), %rsi     # 0x74f56
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0xe(%r12,%r15), %edx
leaq 0x59cc4(%rip), %rsi     # 0x74f02
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0xc8, %edi
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x1c(%r12,%r15), %edx
leaq 0x59cf6(%rip), %rsi     # 0x74f6a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x30, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x20(%r12,%r15), %edx
leaq 0x59cd9(%rip), %rsi     # 0x74f83
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x38, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x22(%r12,%r15), %edx
leaq 0x59cb2(%rip), %rsi     # 0x74f92
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x40, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x24(%r12,%r15), %edx
leaq 0x59c8b(%rip), %rsi     # 0x74fa1
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x48, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x1e(%r12,%r15), %edx
leaq 0x59c64(%rip), %rsi     # 0x74fb0
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x50, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movzbl 0x12(%r12,%r15), %edx
leaq 0x59c38(%rip), %rsi     # 0x74fba
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x58, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movswl 0x2a(%r12,%r15), %edx
leaq 0x59a33(%rip), %rsi     # 0x74deb
movq %rbx, %rdi
xorl %eax, %eax
callq 0x6b00
movl $0x190, %edi            # imm = 0x190
movl $0x60, %esi
movl $0xb, %edx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %rbx, %r8
xorl %r9d, %r9d
callq 0x1915d
movl 0x88c2d(%rip), %eax     # 0xa4014
testl %eax, %eax
js 0x1b418
movl 0x88c1f(%rip), %ecx     # 0xa4010
movl %ecx, 0x112971(%rip)    # 0x12dd68
movl %eax, 0x11296f(%rip)    # 0x12dd6c
movl %r14d, 0x88c0c(%rip)    # 0xa4010
movl %r14d, 0x88c09(%rip)    # 0xa4014
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x59161(%rip), %rdi     # 0x74580
xorl %eax, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6e05b