// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/src/tekstat.c
// Function: blastmark
void
blastmark(int i)
{
     int       j;

    #ifdef PLRSPRDEBUG
     if( isaplayersprite(i) ) {
          crashgame("messing w plrsprite at 33");
     }
    #endif

     switch( sprptr[i]->statnum ) {
     case GENEXPLODE2:
          break;
     default:
          return;
     }
     switch( sprptr[i]->picnum ) {
     case BARRELL:
     case 175:
          break;
     default:
          return;
     }

     j=jsinsertsprite(sprptr[i]->sectnum, 100);
     if( j != -1 ) {
          fillsprite(j,sprptr[i]->x,sprptr[i]->y,sectptr[sprptr[i]->sectnum]->floorz,0x00A2,
                     4,0,0,34,34,0,0,465,sprptr[i]->ang,0,0,
                 30L,i+4096,sprptr[i]->sectnum,100,0,0,-1);
     }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl -0x4(%rbp), %edi
callq 0x2aec0
cmpl $0x0, %eax
je 0x39706
leaq 0xa10a8(%rip), %rdi     # 0xda7a7
movb $0x0, %al
callq 0x44240
movslq -0x4(%rbp), %rcx
leaq 0x140acf(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movw 0x1a(%rax), %ax
subw $0x321, %ax             # imm = 0x321
jne 0x39723
jmp 0x39721
jmp 0x39728
jmp 0x398ca
movslq -0x4(%rbp), %rcx
leaq 0x140aad(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movswl 0xe(%rax), %eax
movl %eax, -0x14(%rbp)
subl $0xaf, %eax
je 0x39753
jmp 0x39747
movl -0x14(%rbp), %eax
subl $0x383, %eax            # imm = 0x383
jne 0x39755
jmp 0x39753
jmp 0x3975a
jmp 0x398ca
movslq -0x4(%rbp), %rcx
leaq 0x140a7b(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movl $0x64, %esi
movswl 0x18(%rax), %edi
callq 0x2abd0
cwtl
movl %eax, -0x8(%rbp)
cmpl $-0x1, -0x8(%rbp)
je 0x398ca
movslq -0x8(%rbp), %rcx
leaq 0x43d350(%rip), %rax    # 0x476ae0
imulq $0x2c, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movslq -0x4(%rbp), %rcx
leaq 0x140a3a(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movl (%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movslq -0x4(%rbp), %rcx
leaq 0x140a23(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movl 0x4(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x4(%rax)
movslq -0x4(%rbp), %rcx
leaq 0x140a0a(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movswq 0x18(%rax), %rcx
leaq 0x2089fa(%rip), %rax    # 0x2421e0
movq (%rax,%rcx,8), %rax
movl 0x8(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rax
movw $0xa2, 0xc(%rax)
movq -0x10(%rbp), %rax
movb $0x4, 0x10(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x11(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x12(%rax)
movq -0x10(%rbp), %rax
movb $0x22, 0x14(%rax)
movq -0x10(%rbp), %rax
movb $0x22, 0x15(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x16(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x17(%rax)
movq -0x10(%rbp), %rax
movw $0x1d1, 0xe(%rax)       # imm = 0x1D1
movslq -0x4(%rbp), %rcx
leaq 0x140995(%rip), %rax    # 0x17a1e0
movq (%rax,%rcx,8), %rax
movw 0x1c(%rax), %cx
movq -0x10(%rbp), %rax
movw %cx, 0x1c(%rax)
movq -0x10(%rbp), %rax
movw $0x0, 0x20(%rax)
movq -0x10(%rbp), %rax
movw $0x0, 0x22(%rax)
movq -0x10(%rbp), %rax
movw $0x1e, 0x24(%rax)
movl -0x4(%rbp), %eax
addl $0x1000, %eax           # imm = 0x1000
movw %ax, %cx
movq -0x10(%rbp), %rax
movw %cx, 0x1e(%rax)
movq -0x10(%rbp), %rax
movw $0x0, 0x26(%rax)
movq -0x10(%rbp), %rax
movw $0x0, 0x28(%rax)
movq -0x10(%rbp), %rax
movw $0xffff, 0x2a(%rax)     # imm = 0xFFFF
movq -0x10(%rbp), %rdi
movslq -0x8(%rbp), %rax
leaq 0xfc367(%rip), %rsi     # 0x135c20
imulq $0xc, %rax, %rax
addq %rax, %rsi
movl $0x3, %edx
callq 0x8c070
addq $0x20, %rsp
popq %rbp
retq