// File: Jacobious52[P]Tanks/Test.cpp
// Function: test_sounds()
void test_sounds()
{
    printf("\nTesting sound files (passed/failed : found/not found)\n\n");

    assert(fexists("music.wav") == true, "music.wav");
    assert(fexists("boom.wav") == true, "boom.wav");
    assert(fexists("beep.wav") == true, "beep.wav");
    assert(fexists("fire.wav") == true, "fire.wav");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
leaq 0x21c8(%rip), %rdi      # 0x1451a
xorl %eax, %eax
callq 0x3070
leaq -0x21(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x34e0
movq -0xb8(%rbp), %rdx
leaq 0x21dc(%rip), %rsi      # 0x14553
leaq -0x20(%rbp), %rdi
callq 0x33a0
jmp 0x12382
leaq -0x20(%rbp), %rdi
callq 0x12270
movb %al, -0xb9(%rbp)
jmp 0x12393
movb -0xb9(%rbp), %al
movzbl %al, %edi
andl $0x1, %edi
leaq 0x21ad(%rip), %rsi      # 0x14553
callq 0x109f0
jmp 0x123ad
leaq -0x20(%rbp), %rdi
callq 0x31c0
jmp 0x123b8
leaq -0x21(%rbp), %rdi
callq 0x3360
leaq -0x59(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x34e0
movq -0xc8(%rbp), %rdx
leaq 0x1d2f(%rip), %rsi      # 0x1410e
leaq -0x58(%rbp), %rdi
callq 0x33a0
jmp 0x123ea
leaq -0x58(%rbp), %rdi
callq 0x12270
movb %al, -0xc9(%rbp)
jmp 0x123fb
movb -0xc9(%rbp), %al
movzbl %al, %edi
andl $0x1, %edi
leaq 0x1d00(%rip), %rsi      # 0x1410e
callq 0x109f0
jmp 0x12415
leaq -0x58(%rbp), %rdi
callq 0x31c0
jmp 0x12420
leaq -0x59(%rbp), %rdi
callq 0x3360
leaq -0x81(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x34e0
movq -0xd8(%rbp), %rdx
leaq 0x1c96(%rip), %rsi      # 0x140e0
leaq -0x80(%rbp), %rdi
callq 0x33a0
jmp 0x12455
leaq -0x80(%rbp), %rdi
callq 0x12270
movb %al, -0xd9(%rbp)
jmp 0x12466
movb -0xd9(%rbp), %al
movzbl %al, %edi
andl $0x1, %edi
leaq 0x1c67(%rip), %rsi      # 0x140e0
callq 0x109f0
jmp 0x12480
leaq -0x80(%rbp), %rdi
callq 0x31c0
jmp 0x1248b
leaq -0x81(%rbp), %rdi
callq 0x3360
leaq -0xa9(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x34e0
movq -0xe8(%rbp), %rdx
leaq 0x1dc0(%rip), %rsi      # 0x14278
leaq -0xa8(%rbp), %rdi
callq 0x33a0
jmp 0x124c6
leaq -0xa8(%rbp), %rdi
callq 0x12270
movb %al, -0xe9(%rbp)
jmp 0x124da
movb -0xe9(%rbp), %al
movzbl %al, %edi
andl $0x1, %edi
leaq 0x1d8b(%rip), %rsi      # 0x14278
callq 0x109f0
jmp 0x124f4
leaq -0xa8(%rbp), %rdi
callq 0x31c0
jmp 0x12502
leaq -0xa9(%rbp), %rdi
callq 0x3360
addq $0xf0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x1253e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x31c0
jmp 0x1253c
jmp 0x1253e
leaq -0x21(%rbp), %rdi
callq 0x3360
jmp 0x125e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x12573
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x31c0
jmp 0x12571
jmp 0x12573
leaq -0x59(%rbp), %rdi
callq 0x3360
jmp 0x125e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x125a5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x31c0
jmp 0x125a3
jmp 0x125a5
leaq -0x81(%rbp), %rdi
callq 0x3360
jmp 0x125e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x125dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x31c0
jmp 0x125db
jmp 0x125dd
leaq -0xa9(%rbp), %rdi
callq 0x3360
movq -0x30(%rbp), %rdi
callq 0x34d0
movq %rax, %rdi
callq 0x3d90
nopw (%rax,%rax)