Function at 0x4f8e60
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
call fcn.004dddc0
mov edx, dword [0xeadd6c]
mov eax, edx
shl eax, 5
add eax, edx
shl eax, 3
movsx ecx, word [eax + 0x7999e8]
cmp ecx, 0x39
jne 0x4f8ea9
mov ax, word [eax + 0x7999ea]
cmp ax, 0xd
jne 0x4f8e93
mov ecx, 0x28
cmp ax, 0xb
jne 0x4f8e9e
mov ecx, 0x2c
cmp ax, 0xc
jne 0x4f8ea9
mov ecx, 0x2d
lea eax, [ecx + ecx*4]
mov eax, dword [eax*4 + 0xf5467c]
cmp eax, 0xffffffff
jle 0x4f8f1b
mov ecx, dword [0xeadd94]
test ecx, ecx
je 0x4f8f1b
mov cl, byte [0xe38e63]
test cl, cl
je 0x4f8f1b
mov ecx, dword [0xeadd50]
cmp ecx, 2
jne 0x4f8f21
mov ecx, dword [0xe38ec4]
push 0xe92da8
mov dword [0xe92db0], ecx
mov ecx, 0xe92bf8
mov dword [0xe92db4], 0x40
mov dword [0xe92dac], eax
mov dword [0xe92da8], 0xffffffff
mov dword [0xe92db8], 1
call fcn.0055f0e8
mov edx, dword [0xeadd6c]
mov ecx, dword [0xeadd50]
test ecx, ecx
jne 0x4f8f2a
jmp 0x4fa4a0
cmp ecx, 1
jne 0x4f8f34
jmp 0x4fa530
cmp ecx, 4
jne 0x4f8f49
mov edx, dword [0xeadccc]
push edx
call fcn.005101b0
add esp, 4
ret
cmp ecx, 6
jne 0x4f8f5d
mov eax, dword [0xeadccc]
push eax
call fcn.0050f320
add esp, 4
ret
cmp ecx, 5
jne 0x4f8f72
mov ecx, dword [0xeadccc]
push ecx
call fcn.0050fca0
add esp, 4
ret
cmp ecx, 2
jne case.0x4f8fa0.111
mov eax, edx
shl eax, 5
add eax, edx
movsx eax, word [eax*8 + 0x7999e8]
add eax, 0xfffffff9
cmp eax, 0xe5
ja case.0x4f8fa0.111
xor ecx, ecx
mov cl, byte [eax + 0x4f93b0]
jmp dword [ecx*4 + 0x4f920c]
jmp 0x50e570
jmp 0x4fc8e0
jmp 0x4fcc90
jmp 0x4fcf10
jmp 0x4fd120
jmp 0x4fd4b0
jmp 0x4fc820
jmp 0x4fda00
jmp 0x4fdc40
jmp 0x4fde80
jmp 0x4fe0c0
jmp 0x4fe800
jmp 0x4fe9a0
jmp 0x4feb00
jmp 0x4fed40
jmp 0x4feea0
jmp 0x4ff000
jmp 0x4ff200
jmp 0x4ff400
jmp 0x4fe8d0
jmp 0x4ffa20
jmp 0x4ffb30
jmp 0x4ffbf0
jmp 0x4ffcc0
jmp 0x4ffd90
jmp 0x4ffe60
jmp 0x500000
jmp 0x5001a0
jmp 0x500380
jmp 0x500530
push 0
call fcn.00505560
add esp, 4
ret
push 3
call fcn.00505560
add esp, 4
ret
push 2
call fcn.00505560
add esp, 4
ret
push 1
call fcn.00505560
add esp, 4
ret
push 4
call fcn.00505560
add esp, 4
ret
mov eax, dword [0xeadcc0]
test eax, eax
je 0x4f9082
jmp 0x5013e0
jmp 0x500a40
mov eax, dword [0xeadcc0]
test eax, eax
je 0x4f9095
jmp 0x501ad0
jmp 0x5014a0
mov eax, dword [0xeadcc0]
test eax, eax
je 0x4f90a8
jmp 0x5028f0
jmp 0x501fd0
jmp 0x502f70
jmp 0x503360
jmp 0x5035f0
jmp 0x503940
jmp 0x503aa0
jmp 0x503c00
jmp 0x503f00
jmp 0x504070
jmp 0x504300
jmp 0x5043c0
jmp 0x504490
jmp 0x504560
jmp 0x504680
jmp 0x504c20
jmp 0x5048d0
jmp 0x505050
jmp 0x505320
jmp 0x5051e0
jmp 0x505460
jmp 0x5057f0
jmp 0x505dc0
jmp 0x507d30
jmp 0x507430
jmp 0x5078a0
jmp 0x506250
jmp 0x506fc0
jmp 0x5066c0
jmp 0x508120
jmp 0x506b30
jmp 0x5085b0
jmp 0x508a60
push 0x1e
call fcn.00508e00
add esp, 4
ret
push 0x19
call fcn.00508e00
add esp, 4
ret
push 0x1a
call fcn.00508e00
add esp, 4
ret
jmp 0x5091c0
jmp 0x509570
jmp 0x509920
jmp 0x509cd0
jmp 0x50a060
jmp 0x50a400
jmp 0x50a870
jmp 0x50ace0
jmp 0x50b160
jmp 0x50b6d0
jmp 0x50bb50
jmp 0x50bfd0
jmp 0x50c540
jmp 0x50c9b0
jmp 0x50ce20
jmp 0x50d290
jmp 0x50d6c0
jmp 0x50d930
jmp 0x50dbe0
jmp 0x50e030
jmp 0x4ff740
jmp 0x511040
jmp 0x505a00
jmp 0x511c80
jmp 0x512140
jmp 0x5124a0
jmp 0x512be0
jmp 0x5132a0
jmp 0x5135e0
jmp 0x514400
jmp 0x514a40
jmp 0x513d40
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 8
push edx
push eax
push ecx
push 0
push 0x46
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x16]
push eax
push ecx
push 1
push 0xd
call fcn.004d6250
add esp, 0x58
ret
mov eax, dword [0xeadd4c]
push esi
xor esi, esi
lea ecx, [eax - 6]
cmp ecx, 0x12
ja case.0x4fa548.10
xor edx, edx
mov dl, byte [ecx + 0x4fa768]
jmp dword [edx*4 + 0x4fa754]
mov dword [0xeadd54], 0x39
jmp 0x4fa585
mov dword [0xeadd54], 0x3b
jmp 0x4fa585
mov dword [0xeadd54], 0x55
jmp 0x4fa585
mov dword [0xeadd54], 0x3a
jmp 0x4fa585
mov dword [0xeadd54], esi
cmp eax, 0xc
jne 0x4fa591
call fcn.004fe300
pop esi
ret
mov ecx, dword [0xeadd40]
cmp eax, 0xd
jne 0x4fa5a7
cmp ecx, esi
jg 0x4fa5e3
call fcn.004fe730
pop esi
ret
cmp eax, 9
jne 0x4fa5b3
call fcn.004fe3c0
pop esi
ret
cmp eax, 0x17
jne 0x4fa5bf
call fcn.004fe490
pop esi
ret
cmp eax, 0x18
jne 0x4fa5cb
call fcn.004fe560
pop esi
ret
cmp eax, 7
jne 0x4fa5d7
call fcn.004fe630
pop esi
ret
cmp eax, 8
jne 0x4fa5e3
call fcn.005058f0
pop esi
ret
cmp dword [0xeadd94], esi
je 0x4fa60c
cmp ecx, esi
mov dword [0xeadd94], esi
jg 0x4fa607
push esi
push 1
push str.wavsempty_land.wav
call fcn.0047d350
add esp, 0xc
jmp 0x4fa60c
call fcn.0053d0b0
cmp dword [0xeadd40], esi
jle 0x4fa648
mov eax, dword [0xeadce4]
mov eax, dword [eax*4 + 0xeadd24]
cmp eax, esi
je 0x4fa648
lea ecx, [eax + eax*2]
shl ecx, 5
add ecx, eax
cmp byte [ecx*4 + 0xbcd602], 0x43
sbb edx, edx
and edx, 0xfffffee0
add edx, 0x14a
mov dword [0xeadd54], edx
call fcn.004fa3c0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd40]
add esp, 0x10
cmp eax, esi
jne 0x4fa6af
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
mov eax, dword [0xeadd4c]
add eax, 0xa
push ecx
push eax
push 0x46
call fcn.004d6250
add esp, 0x24
mov edx, dword [0xeadd4c]
cmp edx, 3
jne 0x4fa701
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x24
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 0x27
push 0x46
call fcn.004d6160
add esp, 0x24
call fcn.004fa780
pop esi
ret
cmp edx, 6
je 0x4fa74d
cmp edx, 0xd
je 0x4fa74d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
push eax
push ecx
push esi
mov esi, dword [0xf56f8c]
push esi
mov esi, dword [0xeadd88]
add esi, 0xfffffffc
add ecx, 0x24
shl esi, 4
push esi
mov esi, dword [0xeadd84]
shl esi, 4
add edx, 0x24
lea eax, [esi + eax - 0x71]
push eax
push ecx
push edx
push 0x46
call fcn.004d6160
add esp, 0x24
call fcn.004fa780
pop esi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x16e
test eax, eax
je 0x4fc84e
push 0
push 1
push str.wavs_ampitheatre.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xbc
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x37
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
push 0xbc
call fcn.004d6160
add esp, 0x58
jmp 0x515d10
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x48
test eax, eax
je 0x4fc90e
push 0
push 1
push str.wavs_ampitheatre.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x47
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fc99b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fcac9
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x4fc9e7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x4fcac7
mov cl, byte [eax + 0x799a7e]
test cl, cl
jne 0x4fca23
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fcac7
cmp cl, 2
jne 0x4fca57
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fcac7
mov cl, byte [eax + 0x799a80]
test cl, cl
je 0x4fca90
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fcac7
mov cl, byte [eax + 0x799a7f]
test cl, cl
je 0x4fcad1
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
push 0x47
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 7
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd6c]
add esp, 0x1c
mov ecx, eax
shl ecx, 5
add ecx, eax
mov al, byte [ecx*8 + 0x799a7f]
test al, al
ja 0x4fcb51
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x47
call fcn.004d62f0
add esp, 0x20
jmp 0x4fcbcd
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x47
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0xb6
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a7f]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov al, byte [ecx*8 + 0x799a80]
test al, al
ja 0x4fcc11
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xca
push edx
add ecx, 0x20
push eax
push ecx
push 7
push 0x47
call fcn.004d62f0
add esp, 0x20
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xca
push edx
add ecx, 0x20
push eax
push ecx
push 8
push 0x47
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0xca
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a80]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x47
test eax, eax
je 0x4fccbe
push 0
push 1
push str.wavs_theatre.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x48
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fcd4b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fce06
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x4fcd94
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fce04
mov cl, byte [eax + 0x799a7e]
test cl, cl
jne 0x4fcdcd
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fce04
mov cl, byte [eax + 0x799a7f]
test cl, cl
je 0x4fce0e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x48
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 6
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd6c]
add esp, 0x1c
mov ecx, eax
shl ecx, 5
add ecx, eax
mov al, byte [ecx*8 + 0x799a7f]
test al, al
ja 0x4fce8d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 5
push 0x48
call fcn.004d62f0
add esp, 0x20
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 6
push 0x48
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0xb6
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a7f]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4a
test eax, eax
je 0x4fcf3e
push 0
push 1
push str.wavshippodrome.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x49
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x24
add ecx, 0x20
push eax
add edx, 0xf
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x3c
push eax
push ecx
push 7
push 0x49
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x4fd02d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x28
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x4fd050
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x28
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x4fd096
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fd0dc
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x4fd0e4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
push 0x49
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 6
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x1df
test eax, eax
je 0x4fd14e
push 0
push 1
push str.wavshippodrome.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x134
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x24
add ecx, 0x20
push eax
add edx, 8
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x3c
push eax
push ecx
push 6
push 0x134
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x4fd243
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x28
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x4fd266
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x28
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x1c
add eax, 0x24
add ecx, 0xff
push eax
add edx, 9
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x118
push eax
push ecx
push 7
push 0x134
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0
mov ax, word [ecx*8 + 0x799aa4]
cmp ax, 1
jl 0x4fd31d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x28
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x118]
push edx
push eax
jmp 0x4fd343
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x28
push edx
lea edx, [ecx + eax + 0x118]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x4fd38c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fd460
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x4fd3d8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fd45b
cmp word [eax + 0x799a14], 0
jg 0x4fd411
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fd45b
cmp word [eax + 0x799aa4], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fd44a
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fd45b
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
push 0x134
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 6
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
push ecx
mov eax, dword [0xeadd94]
push ebx
xor ebx, ebx
mov dword [0xeadd54], 0x49
cmp eax, ebx
je 0x4fd4dd
push ebx
push 1
push str.wavscolloseum.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push ebx
push 0x4a
call fcn.004d6250
mov ecx, dword [0xeadd6c]
add esp, 0x34
mov eax, ecx
xor esi, esi
shl eax, 5
add eax, ecx
shl eax, 3
mov cl, byte [eax + 0x799a7f]
cmp cl, bl
je 0x4fd54d
mov esi, 1
mov dl, byte [eax + 0x799a80]
cmp dl, bl
mov byte [esp + 0xb], dl
je 0x4fd55c
inc esi
mov dl, byte [eax + 0x799a81]
cmp dl, bl
je 0x4fd567
inc esi
push edi
mov edi, dword [0xeadd58]
cmp edi, ebx
pop edi
jg 0x4fd5a6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fd78f
cmp word [eax + 0x799a18], bx
jg 0x4fd5e0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
jmp 0x4fd78d
cmp esi, ebx
jne 0x4fd615
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fd78d
cmp esi, 3
jne 0x4fd64a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push esi
jmp 0x4fd78d
mov al, byte [esp + 0xb]
cmp dl, bl
je 0x4fd687
cmp al, bl
je 0x4fd687
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fd78d
cmp dl, bl
je 0x4fd6c0
cmp cl, bl
je 0x4fd6c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4fd78d
cmp al, bl
je 0x4fd6f9
cmp cl, bl
je 0x4fd72b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x4fd78d
cmp cl, bl
je 0x4fd72b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4fd78d
cmp al, bl
je 0x4fd75d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x4fd78d
cmp dl, bl
je 0x4fd797
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x4a
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 6
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd6c]
add esp, 0x1c
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
cmp byte [ecx*8 + 0x799a7f], bl
ja 0x4fd815
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
push 0x4a
call fcn.004d62f0
add esp, 0x20
jmp 0x4fd88b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xb6
push edx
add ecx, 0x20
push eax
push ecx
push 0xc
push 0x4a
mov dword [0xe20778], ebx
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
push eax
mov eax, dword [0xe20778]
add ecx, 0xb6
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a7f]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp byte [ecx*8 + 0x799a80], bl
ja 0x4fd8cd
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xc5
push edx
add ecx, 0x20
push eax
push ecx
push 0xd
push 0x4a
call fcn.004d62f0
add esp, 0x20
jmp 0x4fd943
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xc5
push edx
add ecx, 0x20
push eax
push ecx
push 0xe
push 0x4a
mov dword [0xe20778], ebx
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
push eax
mov eax, dword [0xe20778]
add ecx, 0xc5
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a80]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp byte [ecx*8 + 0x799a81], bl
ja 0x4fd986
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xd4
push edx
add ecx, 0x20
push eax
push ecx
push 0xf
push 0x4a
call fcn.004d62f0
add esp, 0x20
pop ebx
pop ecx
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebx
add eax, 0xd4
push edx
add ecx, 0x20
push eax
push ecx
push 0x10
push 0x4a
mov dword [0xe20778], ebx
call fcn.004d62f0
mov eax, dword [0xf56f94]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
push eax
mov eax, dword [0xe20778]
add ecx, 0xd4
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
xor eax, eax
mov al, byte [edx*8 + 0x799a81]
shl eax, 1
push eax
push 0x2c
push 8
call fcn.004ccc30
add esp, 0x3c
pop ebx
pop ecx
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4b
test eax, eax
je 0x4fda2e
push 0
push 1
push str.wavsglad_pit.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x4b
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fdabb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fdbef
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x4fdb04
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4fdbed
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x4fdb40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fdbed
cmp eax, 0x4b
jl 0x4fdb74
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fdbed
cmp eax, 0x32
jl 0x4fdba8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fdbed
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4fdbdc
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4fdbed
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
push 0x4b
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4b
test eax, eax
je 0x4fdc6e
push 0
push 1
push str.wavslion_pit.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x4c
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fdcfb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fde2f
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x4fdd44
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4fde2d
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x4fdd80
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fde2d
cmp eax, 0x4b
jl 0x4fddb4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fde2d
cmp eax, 0x32
jl 0x4fdde8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fde2d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4fde1c
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4fde2d
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
push 0x4c
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4b
test eax, eax
je 0x4fdeae
push 0
push 1
push str.wavs_art_pit.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x4d
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fdf3b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fe06f
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x4fdf84
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4fe06d
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x4fdfc0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fe06d
cmp eax, 0x4b
jl 0x4fdff4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fe06d
cmp eax, 0x32
jl 0x4fe028
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fe06d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4fe05c
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4fe06d
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
push 0x4d
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4b
test eax, eax
je 0x4fe0ee
push 0
push 1
push str.wavschar_pit.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x4e
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fe17b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fe2af
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x4fe1c4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4fe2ad
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x4fe200
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fe2ad
cmp eax, 0x4b
jl 0x4fe234
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x4fe2ad
cmp eax, 0x32
jl 0x4fe268
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fe2ad
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4fe29c
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4fe2ad
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
push 0x4e
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4f
test eax, eax
je 0x4fe82e
push 0
push 1
push str.wavs_statue.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
call fcn.004fa3c0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x50
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0x50
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4f
test eax, eax
je 0x4fe8fe
push 0
push 1
push str.wavs_statue.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
call fcn.004fa3c0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 2
push 0x50
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 3
push 0x50
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x41
test eax, eax
je 0x4fe9ce
push 0
push 1
push str.wavsclinic.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x51
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fea58
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4feab1
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
cmp word [ecx*8 + 0x799a18], 0
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fea9e
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4feaaf
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x51
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x42
test eax, eax
je 0x4feb2e
push 0
push 1
push str.wavshospital.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x52
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x1e
add ecx, 0x14
push eax
add edx, 0x11
push ecx
push edx
mov ecx, 0xf55bb0
mov dword [0xe20778], 0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
mov eax, dword [0xeadd6c]
mov edx, eax
push ecx
shl edx, 5
add edx, eax
push 0x57c048
push 0x40
movsx eax, word [edx*8 + 0x799a14]
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
push ecx
push 0x11
push 0x17
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
jg 0x4fec61
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fecf6
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x4fecaa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fecf4
cmp word [eax + 0x799a14], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fece3
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fecf4
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x52
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x40
test eax, eax
je 0x4fed6e
push 0
push 1
push str.wavs_baths.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x53
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fedf8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fee51
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
cmp word [ecx*8 + 0x799a18], 0
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fee3e
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fee4f
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x53
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3f
test eax, eax
je 0x4feece
push 0
push 1
push str.wavs_barber.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x54
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fef58
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fefb1
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
cmp word [ecx*8 + 0x799a18], 0
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fef9e
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fefaf
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x54
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x44
test eax, eax
je 0x4ff02e
push 0
push 1
push str.wavs_school.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x55
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x1e
add ecx, 0x14
push eax
add edx, 0x17
push ecx
push edx
mov ecx, 0xf55bb0
mov dword [0xe20778], 0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
mov eax, dword [0xeadd6c]
mov edx, eax
push ecx
shl edx, 5
add edx, eax
push 0x57c048
push 0x40
movsx eax, word [edx*8 + 0x799a14]
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
push ecx
push 0x17
push 0x17
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
jg 0x4ff15e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4ff1b7
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
cmp word [ecx*8 + 0x799a18], 0
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4ff1a4
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4ff1b5
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x55
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x46
test eax, eax
je 0x4ff22e
push 0
push 1
push str.wavslibrary.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x57
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x1e
add ecx, 0x14
push eax
add edx, 0x17
push ecx
push edx
mov ecx, 0xf55bb0
mov dword [0xe20778], 0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
mov eax, dword [0xeadd6c]
mov edx, eax
push ecx
shl edx, 5
add edx, eax
push 0x57c048
push 0x40
movsx eax, word [edx*8 + 0x799a14]
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x23
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x28]
push ecx
push 0x17
push 0x17
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
jg 0x4ff35e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4ff3b7
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
cmp word [ecx*8 + 0x799a18], 0
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4ff3a4
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4ff3b5
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x57
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x56
test eax, eax
je 0x4ff42e
push 0
push 1
push str.wavsprefecture.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x58
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4ff4bb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4ff64a
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
je 0x4ff61b
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
je 0x4ff512
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4ff523
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x58
call fcn.004d6160
mov eax, dword [0xeadd5c]
add esp, 0x24
cmp eax, 0x64
jl 0x4ff569
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4ff648
cmp eax, 0x4b
jl 0x4ff5a0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4ff648
cmp eax, 0x32
jl 0x4ff5d4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x4ff648
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4ff608
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4ff648
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x4ff648
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x58
call fcn.004d6160
add esp, 0x24
push ebx
push esi
mov esi, dword [0xe20768]
push edi
push 0xa
push 0x58
call fcn.004cc110
mov edi, dword [0xe20768]
push 0xb
push 0x58
call fcn.004cc110
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x68
push edx
push eax
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
mov ebx, dword [0xe20768]
add ecx, 0x20
push ecx
push edi
movsx ecx, word [eax + 0xea5cfc]
push 0x40
push ecx
mov dword [0xe20768], esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x77
push edx
push eax
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
add ecx, 0x20
push ecx
mov ecx, dword [eax + 0xea44f4]
push ebx
push 0x40
push ecx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x58
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x163
test eax, eax
je 0x4ff76e
push 0
push 1
push str.wavsprefecture.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa4
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4ff7fe
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4ff993
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
je 0x4ff961
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
je 0x4ff855
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4ff866
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0xa4
call fcn.004d6160
mov eax, dword [0xeadd5c]
add esp, 0x24
cmp eax, 0x64
jl 0x4ff8af
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4ff98e
cmp eax, 0x4b
jl 0x4ff8e6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x4ff98e
cmp eax, 0x32
jl 0x4ff91a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x4ff98e
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x4ff94e
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x4ff98e
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x4ff98e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0xa4
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xa4
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
push esi
mov esi, dword [0xeadccc]
mov dword [0xeadd54], 0x25
test eax, eax
je 0x4ffa55
push 0
push 1
push str.wavs_fort.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x59
call fcn.004d6250
mov ecx, dword [0xeadd90]
lea eax, [esi + esi*8]
mov edx, dword [0xf56f8c]
add esp, 0x34
shl eax, 4
pop esi
cmp word [eax + 0xbcba2c], 0
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
je 0x4ffafb
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0x59
call fcn.004d6160
add esp, 0x24
ret
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 2
push 0x59
call fcn.004d6160
add esp, 0x24
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x4ffb5e
push 0
push 1
push str.wavsgatehouse.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x5a
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0x5a
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x4ffc1e
push 0
push 1
push str.wavsgatehouse.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa7
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0xa7
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x4ffcee
push 0
push 1
push str.wavsgatehouse.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa8
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0xa8
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x166
test eax, eax
je 0x4ffdbe
push 0
push 1
push str.wavs_noaccess.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x9b
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x9e]
push eax
push ecx
push 1
push 0x9b
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x4ffe8e
push 0
push 1
push str.wavs_tower.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x5b
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x4fff1b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x4fffb0
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x4fff64
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x4fffae
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x4fff9d
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x4fffae
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x5b
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x50002e
push 0
push 1
push str.wavs_tower.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa9
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x5000be
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x500156
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x500107
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x500151
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x500140
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x500151
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0xa9
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x55
test eax, eax
je 0x5001ce
push 0
push 1
push str.wavs_tower.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xaa
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x50025e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x32
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5002f6
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x5002a7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x32
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x5002f1
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jg 0x5002e0
add edx, 0xfffffffc
add eax, 0x32
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5002f1
add edx, 0xfffffffc
add eax, 0x32
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0xaa
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x24
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add eax, 0xdc
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
push eax
push ecx
push 1
push 0xaa
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x58
test eax, eax
je 0x5003ae
push 0
push 1
push str.wavsmil_acad.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x87
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x50043e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5004e6
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
mov cx, word [eax + 0x799a18]
test cx, cx
jg 0x500489
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x5004e1
movsx eax, word [eax + 0x7999e8]
movsx ecx, cx
lea eax, [eax + eax*4]
mov edx, dword [eax*8 + 0x705eb8]
mov eax, dword [0xeadd8c]
cmp ecx, edx
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jge 0x5004d0
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
jmp 0x5004e1
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x87
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x58
test eax, eax
je 0x50055e
push 0
push 1
push str.wavs_barracks.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x88
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x26
add ecx, 0x1e
push eax
add edx, 0xa
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x3a
mov dword [0xe20778], 0
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, 0x51eb851f
push 0x7027d4
push 0x40
movsx ecx, word [ecx*8 + 0x799a14]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call fcn.004d6860
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, 0x51eb851f
movsx ecx, word [ecx*8 + 0x799a14]
imul ecx
sar edx, 5
mov ecx, dword [0xeadd90]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0xeadd8c]
push eax
cmp edx, 1
push ecx
mov edx, dword [0xf56f8c]
push 0
push edx
jne 0x500687
add eax, 0x2c
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x3a]
push ecx
push 0xf
jmp 0x500697
add eax, 0x2c
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x3a]
push ecx
push 2
push 0x88
call fcn.004d62f0
mov ecx, dword [0xeadd6c]
add esp, 0x20
mov edx, ecx
shl edx, 5
add edx, ecx
cmp word [edx*8 + 0x799aa4], 0
je 0x5007b9
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add eax, 0x40
add ecx, 0x1e
push eax
add edx, 0x1c
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x46
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x3a
mov dword [0xe20778], 0
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, 0x51eb851f
push 0x7027d4
push 0x40
movsx ecx, word [ecx*8 + 0x799aa4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call fcn.004d6860
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, 0x51eb851f
movsx ecx, word [ecx*8 + 0x799aa4]
imul ecx
sar edx, 5
mov ecx, dword [0xeadd90]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0xeadd8c]
cmp edx, 1
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
jne 0x500796
add eax, 0x46
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x3a]
push ecx
push 0xe
jmp 0x5007a6
add eax, 0x46
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x3a]
push ecx
push 0xd
push 0x88
call fcn.004d62f0
mov ecx, dword [0xeadd6c]
add esp, 0x20
mov eax, dword [0xeadd58]
test eax, eax
jg 0x5007f6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5009f8
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50083c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x5009f3
mov ecx, dword [0xeadcd0]
test ecx, ecx
jne 0x500878
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5009f3
cmp word [eax + 0x799a14], 0
mov eax, dword [0xeadd5c]
jg 0x500946
cmp eax, 0x64
jl 0x5008c2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5009f3
cmp eax, 0x42
jl 0x5008f9
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5009f3
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x21
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x500930
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5009f3
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5009f3
cmp eax, 0x64
jl 0x50097a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5009f3
cmp eax, 0x42
jl 0x5009ae
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
jmp 0x5009f3
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x21
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x5009e2
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x5009f3
add edx, 0xfffffffc
add eax, 0x5a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xc
push 0x88
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
push ecx
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 2
test eax, eax
je 0x500a6f
push 0
push 1
push str.wavsmarket.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push ebx
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x61
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x500b05
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
jmp 0x500f04
mov ebx, dword [0xeadd6c]
mov eax, ebx
shl eax, 5
add eax, ebx
cmp word [eax*8 + 0x799a18], 0
jg 0x500b59
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x61
call fcn.004d6160
add esp, 0x24
jmp 0x500f04
mov ecx, dword [0xf53dd8]
push ebp
push esi
xor esi, esi
test ecx, ecx
push edi
jle 0x500bfc
mov edx, 0xf53ddc
mov edi, ecx
mov eax, dword [edx]
test eax, eax
je 0x500bee
dec eax
cmp eax, 0x12
ja case.0x500b7f.9
jmp dword [eax*4 + 0x50109c]
xor eax, eax
jmp 0x500bda
mov eax, 5
jmp 0x500bda
mov eax, 1
jmp 0x500bda
mov eax, 2
jmp 0x500bda
mov eax, 3
jmp 0x500bda
mov eax, 4
jmp 0x500bda
mov eax, 7
jmp 0x500bda
mov eax, 6
jmp 0x500bda
mov eax, 0xa
jmp 0x500bda
mov eax, 0xb
jmp 0x500bda
mov eax, 8
jmp 0x500bda
mov eax, 9
jmp 0x500bda
or eax, 0xffffffff
mov ebp, ebx
shl ebp, 5
add ebp, ebx
lea eax, [eax + ebp*4]
movsx eax, word [eax*2 + 0x799a2e]
add esi, eax
add edx, 4
dec edi
jne 0x500b73
test esi, esi
jne 0x500c39
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x2d
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
push 0x61
call fcn.004d6160
mov ecx, dword [0xf53dd8]
add esp, 0x24
xor ebx, ebx
test ecx, ecx
jle 0x500d4b
xor edi, edi
mov dword [esp + 0x10], 0xf53ddc
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
test esi, esi
je 0x500d34
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
add ecx, 0x54
push ecx
mov ecx, dword [0xf571fc]
lea eax, [edi + edx + 0x20]
add ecx, esi
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov ebp, dword [0xf56f8c]
lea eax, [esi - 1]
cmp eax, 0x12
ja case.0x500c91.9
jmp dword [eax*4 + 0x5010e8]
xor eax, eax
jmp 0x500cec
mov eax, 5
jmp 0x500cec
mov eax, 1
jmp 0x500cec
mov eax, 2
jmp 0x500cec
mov eax, 3
jmp 0x500cec
mov eax, 4
jmp 0x500cec
mov eax, 7
jmp 0x500cec
mov eax, 6
jmp 0x500cec
mov eax, 0xa
jmp 0x500cec
mov eax, 0xb
jmp 0x500cec
mov eax, 8
jmp 0x500cec
mov eax, 9
jmp 0x500cec
or eax, 0xffffffff
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ecx
push edx
push 0
add ecx, 0x54
push ebp
push ecx
mov ecx, dword [0xeadd6c]
lea edx, [edi + edx + 0x40]
push edx
mov edx, ecx
shl edx, 5
add edx, ecx
push 0x57c048
push 0x40
lea eax, [eax + edx*4]
movsx ecx, word [eax*2 + 0x799a2e]
push ecx
call fcn.004d6860
mov ecx, dword [0xf53dd8]
add esp, 0x24
mov esi, dword [esp + 0x10]
inc ebx
add esi, 4
add edi, 0x6e
cmp ebx, ecx
mov dword [esp + 0x10], esi
jl 0x500c4d
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add edx, 0x68
add eax, 0x20
push edx
add ecx, 0xd
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x6e
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x40
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0x57c048
push 0x40
movsx edx, word [ecx*8 + 0x799a40]
push edx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x24
add eax, 0x68
add ecx, 0x8e
push eax
add edx, 0x13
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x6e
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0xae
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0x57c048
push 0x40
movsx edx, word [ecx*8 + 0x799a44]
push edx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x24
add eax, 0x68
add ecx, 0xfc
push eax
add edx, 0x11
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x6e
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x11c
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0x57c048
push 0x40
movsx edx, word [ecx*8 + 0x799a42]
push edx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x24
add eax, 0x68
add ecx, 0x16a
push eax
add edx, 0xf
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x6e
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x18a
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0x57c048
push 0x40
movsx edx, word [ecx*8 + 0x799a3e]
push edx
call fcn.004d6860
add esp, 0x24
pop edi
pop esi
pop ebp
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 5
add eax, 0x80
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov ecx, dword [0xeadd6c]
add esp, 0x1c
mov eax, ecx
shl eax, 5
add eax, ecx
pop ebx
shl eax, 3
movsx edx, word [eax + 0x799a02]
test edx, edx
je 0x501057
lea ecx, [edx + edx*2]
shl ecx, 5
add ecx, edx
shl ecx, 2
cmp byte [ecx + 0xbcd606], 1
jne 0x501057
cmp byte [ecx + 0xbcd630], 2
jne 0x500fec
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
add edx, 0xbe
add eax, 0x20
push edx
xor edx, edx
mov dl, byte [ecx + 0xbcd603]
mov ecx, dword [0xf571fc]
add edx, ecx
push eax
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xb8
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0xc
push 0x61
call fcn.004d6160
add esp, 0x24
pop ecx
ret
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
add eax, 0xb8
add edx, 0x20
push eax
xor eax, eax
mov al, byte [ecx + 0xbcd603]
push edx
mov edx, dword [0xf571fc]
mov ecx, 0xf55bb0
add eax, edx
push eax
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xb8
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0xb
push 0x61
call fcn.004d6160
add esp, 0x24
pop ecx
ret
cmp word [eax + 0x799a18], 0
jle 0x50109a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0xb8
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x61
call fcn.004d6160
add esp, 0x24
pop ecx
ret
mov eax, dword [0xf53e6c]
push ebx
push esi
xor ebx, ebx
xor esi, esi
test eax, eax
jle 0x501413
push edi
mov edi, 0xf53e70
mov eax, dword [edi]
push eax
call fcn.005013a0
add esp, 4
test eax, eax
je 0x501405
inc ebx
mov eax, dword [0xf53e6c]
inc esi
add edi, 4
cmp esi, eax
jl 0x5013f5
pop edi
lea ecx, [ebx*4]
push 3
push ecx
call fcn.004cde80
mov esi, eax
mov eax, dword [0xeadd90]
mov dword [0xeadd54], 2
lea edx, [esi + 7]
push edx
push 0x1d
push 0x20
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push ecx
mov ecx, dword [0xeadd88]
push eax
push 0
push edx
shl ecx, 4
push ecx
push 0x2a
push eax
push 7
push 0x61
call fcn.004d6250
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd88]
push edx
push eax
add ecx, 0xfffffffe
push esi
push ecx
add eax, 0x10
push 0x4a
push eax
call fcn.004d65b0
add esp, 0x54
pop esi
pop ebx
ret
push ecx
mov eax, dword [0xeadd94]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov dword [0xeadd54], 3
je 0x5014cf
push ebx
push 1
push str.wavsgranary.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push ebx
push 0x62
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
cmp eax, ebx
jg 0x501561
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x28
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
jmp 0x5017a2
cmp dword [0x784bbc], ebx
je 0x5015a4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x28
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
push 0x62
call fcn.004d6160
add esp, 0x24
jmp 0x5017a2
mov eax, dword [0xeadd6c]
xor esi, esi
mov ecx, eax
shl ecx, 5
add ecx, eax
lea eax, [ecx*8 + 0x799a30]
mov ecx, 8
movsx edx, word [eax]
add esi, edx
add eax, 2
dec ecx
jne 0x5015be
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
add eax, 0x28
push edx
add ecx, 0x22
push eax
push ecx
push 2
push 0x62
mov dword [0xe20778], ebx
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
push eax
mov eax, dword [0xe20778]
add ecx, 0x28
push ecx
lea ecx, [eax + edx + 0x22]
push ecx
push esi
push 0x10
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
add eax, 0x28
push edx
add ecx, 0xdc
push eax
push ecx
push 3
push 0x62
mov dword [0xe20778], ebx
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
add esp, 0x5c
add ecx, 0x28
push ebx
push eax
mov eax, dword [0xe20778]
push ecx
lea ecx, [eax + edx + 0xdc]
mov eax, dword [0xeadd6c]
mov edx, eax
push ecx
shl edx, 5
add edx, eax
movsx eax, word [edx*8 + 0x799a2e]
push eax
push 0x10
push 8
call fcn.004ccc30
mov eax, dword [0xf53dd8]
add esp, 0x1c
cmp eax, ebx
jle 0x5017a2
mov eax, 0xf53ddc
push ebp
mov dword [esp + 0x10], eax
mov edi, dword [eax]
test edi, edi
je 0x50178b
cmp eax, 0xf53de4
jge 0x5016ca
mov ecx, dword [0xeadd90]
lea esi, [ecx + 0x22]
jmp 0x5016d6
mov edx, dword [0xeadd90]
lea esi, [edx + 0xf0]
mov eax, ebx
and eax, 0x80000001
jns 0x5016e4
dec eax
or eax, 0xfffffffe
inc eax
jne 0x5016f1
mov ecx, dword [0xeadd8c]
lea ebp, [ecx + 0x44]
jmp 0x5016fa
mov edx, dword [0xeadd8c]
lea ebp, [edx + 0x5c]
mov eax, dword [0xf571fc]
push ebp
add eax, edi
push esi
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd6c]
mov edx, eax
add ebp, 7
shl edx, 5
add edx, eax
lea ecx, [esi + 0x22]
push ebp
push ecx
lea eax, [edi + edx*4]
push 0x57c048
push 0x40
mov dword [0xe20778], 0
movsx ecx, word [eax*2 + 0x799a2e]
push ecx
call fcn.004d6860
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
mov edx, dword [0xe20778]
push eax
push 0
push ecx
lea eax, [edx + esi + 0x22]
push ebp
push eax
push edi
push 0x17
call fcn.004d62f0
mov eax, dword [esp + 0x54]
add esp, 0x44
mov ecx, dword [0xf53dd8]
inc ebx
add eax, 4
cmp ebx, ecx
mov dword [esp + 0x10], eax
jl 0x5016ae
pop ebp
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 5
add eax, 0xa3
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0xa3
push eax
call fcn.004fc5c0
mov ecx, dword [0xeadd6c]
add esp, 0x1c
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
movsx edx, word [eax + 0x799a02]
movsx esi, word [eax + 0x799a8e]
test edx, edx
je 0x50187d
lea ecx, [edx + edx*2]
shl ecx, 5
add ecx, edx
shl ecx, 2
cmp byte [ecx + 0xbcd606], 1
jne 0x50187d
xor edx, edx
mov dl, byte [ecx + 0xbcd630]
mov esi, edx
cmp esi, 6
je 0x501827
cmp esi, 7
jne 0x501831
xor eax, eax
mov al, byte [ecx + 0xbcd608]
mov esi, eax
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ebx, dword [0xf571fc]
add edx, 0xc8
push edx
xor edx, edx
mov dl, byte [ecx + 0xbcd603]
add eax, 0x20
add edx, ebx
push eax
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
lea eax, [esi - 0xb]
cmp eax, 0xa
ja case.0x5018ff.13
xor ecx, ecx
mov cl, byte [eax + 0x501a14]
jmp dword [ecx*4 + 0x501a08]
test esi, esi
je 0x5019c0
lea ecx, [esi + esi*2]
shl ecx, 5
add ecx, esi
shl ecx, 2
cmp byte [ecx + 0xbcd606], 1
jne 0x5019c0
xor eax, eax
mov al, byte [ecx + 0xbcd630]
mov esi, eax
cmp esi, 6
je 0x5018b1
cmp esi, 7
jne 0x5018bb
xor edx, edx
mov dl, byte [ecx + 0xbcd608]
mov esi, edx
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov edi, dword [0xf571fc]
add eax, 0xc8
push eax
xor eax, eax
mov al, byte [ecx + 0xbcd603]
add edx, 0x20
add eax, edi
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
lea eax, [esi - 0xb]
cmp eax, 0xa
ja case.0x5018ff.13
xor ecx, ecx
mov cl, byte [eax + 0x501a2c]
jmp dword [ecx*4 + 0x501a20]
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xc8
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x11
push 0x63
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xc8
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x21
push 0x63
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xc8
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x10
push 0x63
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebx
pop ecx
ret
cmp word [eax + 0x799a18], 0
jle 0x501a03
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0xc8
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xf
push 0x63
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0xf53dd8]
push esi
push 3
lea ecx, [eax*4]
push ecx
call fcn.004cde80
mov esi, eax
mov eax, dword [0xeadd90]
mov dword [0xeadd54], 3
lea edx, [esi + 7]
push edx
push 0x1d
push 0x20
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push ecx
mov ecx, dword [0xeadd88]
push eax
push 0
push edx
shl ecx, 4
push ecx
push 0x2a
push eax
push 6
push 0x62
call fcn.004d6250
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd88]
push edx
push eax
add ecx, 0xfffffffe
push esi
push ecx
add eax, 0x10
push 0x4a
push eax
call fcn.004d65b0
add esp, 0x54
pop esi
ret
sub esp, 0xa4
push ebx
push esi
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [0xeadd94]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [0xeadd54], 4
je 0x502017
push ebx
push 1
push str.wavswarehouse.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push ebx
push 0x63
call fcn.004d6250
mov edi, dword [0xeadd6c]
add esp, 0x34
mov eax, edi
shl eax, 5
add eax, edi
mov ecx, dword [eax*8 + 0x799ab4]
lea eax, [eax*8 + 0x799ab4]
cmp ecx, ebx
jne 0x50208a
mov dword [eax], 1
mov ecx, dword [0xf53e6c]
mov edx, dword [eax]
cmp edx, ecx
jl 0x5020a8
cmp ecx, 0xf
jle 0x5020a2
add ecx, 0xfffffff1
mov dword [eax], ecx
jmp 0x5020a8
mov dword [eax], 1
push ebp
mov edx, edi
mov ebp, 8
mov ecx, edx
shl ecx, 5
add ecx, edx
movsx edx, word [ecx*8 + 0x799a12]
test edx, edx
jle 0x5020ee
mov eax, edx
shl eax, 5
add eax, edx
shl eax, 3
mov cx, word [eax + 0x799a14]
test cx, cx
jle 0x5020ee
movsx eax, word [eax + 0x7999ea]
movsx ecx, cx
add dword [esp + eax*4 + 0x24], ecx
lea eax, [esp + eax*4 + 0x24]
add esi, ecx
inc ebx
dec ebp
jne 0x5020b0
mov eax, dword [0xeadd58]
mov dword [esp + 0x20], ebx
test eax, eax
jg 0x50213a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
jmp 0x5023ae
test esi, esi
jne 0x502179
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x16
push 0x63
call fcn.004d6160
add esp, 0x24
jmp 0x5023ae
xor ebp, ebp
lea eax, [esp + 0x28]
mov ebx, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0
je 0x502399
push ebx
push edi
call fcn.0045d510
add esp, 8
cmp ebp, 0x5a
mov dword [esp + 0x10], eax
jg 0x5021c4
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
lea esi, [eax + ebp + 0x2d]
lea edi, [edx + 0xa]
mov dword [esp + 0x1c], esi
jmp 0x5021e0
mov edx, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
lea eax, [edx + ebp - 0x4b]
lea edi, [ecx + 0xdc]
mov dword [esp + 0x1c], eax
mov esi, eax
mov ecx, dword [0xf571fc]
push esi
add ecx, ebx
push edi
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov ecx, dword [esp + 0x10]
mov ebp, 0x190
mov eax, ecx
cdq
idiv ebp
test edx, edx
jne 0x502216
mov eax, dword [esp + 0x20]
mov ebp, dword [0xf56fa4]
cmp eax, 8
je 0x50221c
mov ebp, dword [0xf56f8c]
lea eax, [ebx - 0x18]
mov dword [0xe20778], 0
cmp eax, 0xb
ja case.0x502239.25
lea edx, [ebx - 0x18]
xor eax, eax
mov al, byte [edx + 0x502694]
jmp dword [eax*4 + 0x50268c]
cmp ebx, 0x1c
je case.0x502239.24
cmp ebx, 0xa
je case.0x502239.24
cmp ebx, 0x24
jne 0x502264
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [esp + 0x14]
push eax
add esi, 7
push 0
push ebp
lea ecx, [edi + 0x18]
push esi
push ecx
push 0x57c048
push 0x40
push edx
call fcn.004d6860
lea eax, [ebx - 0x18]
add esp, 0x24
cmp eax, 0xb
ja case.0x5022a3.25
lea eax, [ebx - 0x18]
xor ecx, ecx
mov cl, byte [eax + 0x5026a8]
jmp dword [ecx*4 + 0x5026a0]
mov eax, dword [0xe20778]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
lea edi, [eax + edi + 0x18]
jne 0x5022d2
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
push 0
push ebp
push esi
push edi
push 0x17
jmp 0x5022e7
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ecx
push edx
push 0
push ebp
push esi
push edi
push 0x18
push 0x63
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [esp + 0x3c]
add esp, 0x20
add edx, 0x16
push eax
push ecx
push 0
push ebp
push edx
push edi
push ebx
jmp 0x50237c
cmp ebx, 0x1c
je 0x502336
cmp ebx, 0xa
je 0x502336
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xe20778]
push eax
push ecx
push 0
push ebp
lea eax, [edx + edi + 0x18]
push esi
push eax
push ebx
jmp 0x50237c
cmp dword [esp + 0x10], 1
jne 0x50235c
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xe20778]
push ecx
push edx
push 0
push ebp
lea ecx, [eax + edi + 0x18]
push esi
push ecx
push ebx
jmp 0x50237c
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xe20778]
push edx
push eax
push 0
push ebp
lea edx, [ecx + edi + 0x18]
push esi
lea eax, [ebx + 0x36]
push edx
push eax
push 0x17
call fcn.004d62f0
mov eax, dword [esp + 0x34]
mov edi, dword [0xeadd6c]
add esp, 0x20
add eax, 0x1e
mov dword [esp + 0x14], eax
mov ebp, eax
mov ecx, dword [esp + 0x18]
inc ebx
add ecx, 4
cmp ebx, 0x24
mov dword [esp + 0x18], ecx
jl 0x50218c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 5
add eax, 0xb7
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0xbc
push eax
call fcn.004fc5c0
mov ecx, dword [0xeadd6c]
add esp, 0x1c
mov eax, ecx
shl eax, 5
add eax, ecx
pop ebp
shl eax, 3
movsx edx, word [eax + 0x799a02]
movsx esi, word [eax + 0x799a8e]
test edx, edx
je 0x50248a
lea ecx, [edx + edx*2]
shl ecx, 5
add ecx, edx
shl ecx, 2
cmp byte [ecx + 0xbcd606], 1
jne 0x50248a
xor edx, edx
mov dl, byte [ecx + 0xbcd630]
mov esi, edx
cmp esi, 6
je 0x502434
cmp esi, 7
jne 0x50243e
xor eax, eax
mov al, byte [ecx + 0xbcd608]
mov esi, eax
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ebx, dword [0xf571fc]
add edx, 0xe4
push edx
xor edx, edx
mov dl, byte [ecx + 0xbcd603]
add eax, 0x20
add edx, ebx
push eax
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
lea eax, [esi - 0xb]
cmp eax, 0xa
ja case.0x502508.13
xor ecx, ecx
mov cl, byte [eax + 0x5026c0]
jmp dword [ecx*4 + 0x5026b4]
test esi, esi
je 0x5025a5
lea ecx, [esi + esi*2]
shl ecx, 5
add ecx, esi
shl ecx, 2
cmp byte [ecx + 0xbcd606], 1
jne 0x5025a5
xor eax, eax
mov al, byte [ecx + 0xbcd630]
mov esi, eax
cmp esi, 6
je 0x5024be
cmp esi, 7
jne 0x5024c8
xor edx, edx
mov dl, byte [ecx + 0xbcd608]
mov esi, edx
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov edi, dword [0xf571fc]
add eax, 0xe4
push eax
xor eax, eax
mov al, byte [ecx + 0xbcd603]
add edx, 0x20
add eax, edi
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
lea eax, [esi - 0xb]
cmp eax, 0xa
ja case.0x502508.13
xor ecx, ecx
mov cl, byte [eax + 0x5026d8]
jmp dword [ecx*4 + 0x5026cc]
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xe7
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x11
jmp 0x5025de
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xe7
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x21
jmp 0x5025de
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xe7
shl edx, 4
push edx
add ecx, 0x40
push eax
push ecx
push 0x10
jmp 0x5025de
cmp word [eax + 0x799a18], 0
jle 0x5025e8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0xe7
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xf
push 0x63
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadcb8]
pop edi
pop esi
cmp eax, 1
pop ebx
jne 0x50263d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x55]
push eax
push ecx
push 0xd
push 0x63
call fcn.004d6160
add esp, 0x24
add esp, 0xa4
ret
cmp eax, 2
jne 0x502683
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x55]
push eax
push ecx
push 0xe
push 0x63
call fcn.004d6160
add esp, 0x24
add esp, 0xa4
ret
call fcn.00502780
mov ecx, dword [0xf53e6c]
cmp eax, ecx
jge 0x502906
call fcn.00502780
jmp 0x502908
mov eax, ecx
push esi
push 3
shl eax, 2
push eax
call fcn.004cde80
mov edx, dword [0xeadd90]
mov esi, eax
mov dword [0xeadd54], 4
lea ecx, [esi + 7]
push ecx
push 0x1d
push 0x20
push edx
call fcn.00536820
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd88]
mov ecx, dword [0xf56fb4]
push eax
mov eax, dword [0xeadd90]
push eax
push 0
shl edx, 4
push ecx
push edx
push 0x2a
push eax
push 3
push 0x63
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd88]
push eax
mov eax, dword [0xeadd90]
push eax
add ecx, 0xfffffffe
push esi
push ecx
add eax, 0x10
push 0x4a
push eax
call fcn.004d65b0
add esp, 0x54
pop esi
ret
push ecx
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x52
test eax, eax
je 0x502f9f
push 0
push 1
push str.wavs_shipyard.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x64
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x26
add ecx, 0x1e
push eax
add edx, 0x14
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x3a
push eax
push ecx
push 7
push 0x64
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50308e
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x2c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3a]
push edx
push eax
jmp 0x5030b1
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x2c
push edx
lea edx, [ecx + eax + 0x3a]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
push edi
jg 0x5030fb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3e
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x503317
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
mov cx, word [eax + 0x799a8c]
mov edi, ecx
and edi, 0xfff
and ecx, 0xf000
je 0x50328a
cmp ecx, 0x1000
je 0x50318c
cmp ecx, 0x2000
jne 0x50331f
cmp word [eax + 0x799a14], 1
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jge 0x503176
add edx, 0xfffffffa
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
jmp 0x503315
add edx, 0xfffffffa
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x503315
movsx eax, word [eax + 0x799a2c]
push esi
push 0xa0
push eax
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x3e
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x64
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3e
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x3e
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x64
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov edx, eax
shl edx, 5
add edx, eax
pop esi
cmp word [edx*8 + 0x799a14], 0x64
jge 0x503258
cmp di, 0x19
jne 0x5032e8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x503315
lea eax, [esp + 4]
push eax
call fcn.00460fb0
add esp, 4
test al, al
jne 0x5032ca
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x503315
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a14], 0x64
jge 0x50331f
cmp dword [esp + 4], 0x19
je 0x50331f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x64
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop edi
pop ecx
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x53
test eax, eax
je 0x50338e
push 0
push 1
push str.wavsdock.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x65
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x50341b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5035a3
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd5c]
cmp word [ecx*8 + 0x799a8c], 0
je 0x5034f5
test eax, eax
jg 0x503471
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x5035a1
cmp eax, 0x32
jge 0x5034a8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x5035a1
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x4b
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jge 0x5034df
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5035a1
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5035a1
test eax, eax
jg 0x503528
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5035a1
cmp eax, 0x32
jge 0x50355c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5035a1
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x4b
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jge 0x503590
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5035a1
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x65
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x54
test eax, eax
je 0x50361e
push 0
push 1
push str.wavswharf.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x66
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0xa
add ecx, 0xa
push eax
add edx, 7
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd58]
test eax, eax
jg 0x5036d2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5038ed
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4134], 0
je 0x503719
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5038eb
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov ax, word [ecx*8 + 0x799a8c]
test ax, ax
jg 0x503764
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x5038eb
movsx eax, ax
lea ecx, [eax + eax*2]
shl ecx, 5
add ecx, eax
mov al, byte [ecx*4 + 0xbcd630]
cmp al, 9
jne 0x5037ac
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x5038eb
cmp al, 0xa
jne 0x5037e2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5038eb
cmp al, 0xb
jne 0x503818
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5038eb
cmp al, 0xd
jne 0x50384e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5038eb
cmp al, 0xc
jne 0x5038be
mov ecx, dword [0x78d7b0]
test ecx, ecx
jle 0x50388b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
jmp 0x5038eb
cmp al, 0xc
jne 0x5038be
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5038eb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
push 0x66
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x165
test eax, eax
je 0x50396e
push 0
push 1
push str.wavswharf.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xae
call fcn.004d6250
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
xor ecx, ecx
shl eax, 3
mov cl, byte [eax + 0x7999db]
movsx edx, word [eax + 0x7999e0]
movsx eax, word [eax + 0x7999de]
push ecx
push edx
push eax
call fcn.00480180
add esp, 0x40
test eax, eax
jne 0x503a2a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x28
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x4c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
push 0xae
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x164
test eax, eax
je 0x503ace
push 0
push 1
push str.wavswharf.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xaf
call fcn.004d6250
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
xor ecx, ecx
shl eax, 3
mov cl, byte [eax + 0x7999db]
movsx edx, word [eax + 0x7999e0]
movsx eax, word [eax + 0x7999de]
push ecx
push edx
push eax
call fcn.00480180
add esp, 0x40
test eax, eax
jne 0x503b8a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x28
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x4c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
push 0xaf
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3a
test eax, eax
je 0x503c1d
mov dword [0xeadd94], 0
mov eax, dword [0xeadd6c]
mov edx, dword [0xeadd84]
mov ecx, eax
push esi
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd88]
push edi
push edx
mov edi, dword [ecx*8 + 0x799a9c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push eax
push ecx
push edx
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x9f
call fcn.004d6250
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
xor ecx, ecx
shl eax, 3
mov cl, byte [eax + 0x7999db]
movsx edx, word [eax + 0x7999e0]
movsx eax, word [eax + 0x7999de]
push ecx
push edx
push eax
call fcn.00480180
add esp, 0x40
test eax, eax
jne 0x503cec
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x503dbd
cmp edi, 1
jge 0x503d23
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
jmp 0x503db8
mov esi, edi
xor eax, eax
shl esi, 5
add esi, edi
shl esi, 3
movsx ecx, word [esi + 0x7999e0]
mov al, byte [esi + 0x7999db]
movsx edx, word [esi + 0x7999de]
push eax
push ecx
push edx
call fcn.00480180
add esp, 0xc
test eax, eax
jne 0x503d81
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x503db8
cmp word [esi + 0x799a18], 0
jne 0x503dc5
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x9f
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop edi
pop esi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4e
test eax, eax
je 0x503f2e
push 0
push 1
push str.wavsgov_palace.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
mov eax, dword [0xeadd6c]
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x7999e8]
push edx
push 0x29
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x24
add ecx, 0x10
push eax
add edx, 0x15
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2f
push edx
add ecx, 0x30
push eax
push ecx
push 2
push 0x6a
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2f
push ecx
lea ecx, [eax + edx + 0x30]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a90]
push eax
push 0
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add ecx, 0x20
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x67
call fcn.004d6160
add esp, 0x60
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x51
test eax, eax
je 0x50409e
push 0
push 1
push str.wavseng_post.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x68
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x50412b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5042ba
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
je 0x50428b
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
je 0x504182
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x504193
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0x68
call fcn.004d6160
mov eax, dword [0xeadd5c]
add esp, 0x24
cmp eax, 0x64
jl 0x5041d9
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5042b8
cmp eax, 0x4b
jl 0x504210
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5042b8
cmp eax, 0x32
jl 0x504244
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5042b8
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x504278
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5042b8
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5042b8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0x68
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 8
test eax, eax
je 0x50432e
push 0
push 1
push str.wavsmission.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x86
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x6a
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 1
push 0x86
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0
test eax, eax
je 0x5043ee
push 0
push 1
push str.wavsempty_land.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x83
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x83
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0
test eax, eax
je 0x5044be
push 0
push 1
push str.wavsempty_land.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x84
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x84
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0
test eax, eax
je 0x50458e
push 0
push 1
push str.wavsempty_land.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x85
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x85
call fcn.004d6160
add esp, 0x58
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4d
test eax, eax
je 0x5046ae
push 0
push 1
push str.wavs_senate.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
mov eax, dword [0xeadd6c]
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x7999e8]
push edx
push 0x29
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x24
add ecx, 0x10
push eax
add edx, 0x15
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2b
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x69
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2b
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a90]
push eax
push 0
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
push eax
mov dword [0xe20778], 0
push ecx
mov edx, dword [0xf56f8c]
push 0
add eax, 0x2b
push edx
add ecx, 0x104
push eax
push ecx
push 1
push 0x3c
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x5c
push eax
push ecx
push 0
push edx
mov edx, dword [0xeaac28]
add eax, 0x2b
imul edx, edx, 0x49d8
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x104]
mov eax, dword [edx + 0xea1878]
push ecx
push 0x5e03fc
push 0x40
push eax
call fcn.004d6860
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 2
add ecx, 0xffffffdb
push 0x5c8d38
add edx, 0xe2
push ecx
push edx
call fcn.004256a0
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x50488b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x4c
test eax, eax
je 0x5048fe
push 0
push 1
push str.wavs_forum.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb0
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2b
push edx
add ecx, 0x20
push eax
push ecx
push 9
push 0xb0
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
add esp, 0x54
add ecx, 0x2b
push 0
push eax
mov eax, dword [0xe20778]
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
mov edx, eax
push ecx
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a90]
push eax
push 0
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x504a04
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x3f
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x504b92
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
je 0x504b60
cmp word [eax + 0x799a02], 0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
je 0x504a5b
add edx, 0xfffffffc
add eax, 0x3f
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x504a6c
add edx, 0xfffffffc
add eax, 0x3f
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
push 0xb0
call fcn.004d6160
mov eax, dword [0xeadd5c]
add esp, 0x24
cmp eax, 0x64
jl 0x504ab5
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x53
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x504b8d
cmp eax, 0x4b
jl 0x504aec
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x53
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x504b8d
cmp eax, 0x32
jl 0x504b20
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x53
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x504b8d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x504b54
add edx, 0xfffffffc
add eax, 0x53
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x504b8d
add edx, 0xfffffffc
shl edx, 4
push edx
add eax, 0x53
jmp 0x504b86
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
shl edx, 4
push edx
add eax, 0x3f
add ecx, 0x20
push eax
push ecx
push 2
push 0xb0
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xb0
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x50
test eax, eax
je 0x504c4e
push 0
push 1
push str.wavs_forum.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x6a
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x24
add ecx, 0x10
push eax
add edx, 0x15
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2b
push edx
add ecx, 0x23
push eax
push ecx
push 2
push 0x6a
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2b
push ecx
lea ecx, [eax + edx + 0x23]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a90]
push eax
push 0
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2b
push edx
mov dword [0xe20778], 0
push eax
add ecx, 0x104
push ecx
push 1
push 0x3c
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x5c
push eax
push ecx
push 0
push edx
mov edx, dword [0xeaac28]
add eax, 0x2b
imul edx, edx, 0x49d8
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x104]
mov eax, dword [edx + 0xea1878]
push ecx
push 0x5e03fc
push 0x40
push eax
call fcn.004d6860
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 2
add ecx, 0xffffffdb
push 0x5c8d38
add edx, 0xe2
push ecx
push edx
call fcn.004256a0
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
mov ecx, dword [eax + 0xea4000]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
movsx ecx, word [eax + 0x7999e8]
movsx eax, word [eax + 0x799a18]
lea ecx, [ecx + ecx*4]
mov edx, dword [ecx*8 + 0x705eb8]
push edx
push eax
call fcn.004cde60
mov ecx, dword [0xeadd58]
add esp, 0x3c
test ecx, ecx
jg 0x504e50
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x505006
mov ecx, dword [0xeaac28]
imul ecx, ecx, 0x49d8
cmp word [ecx + 0xea5cf6], 0
jne 0x504e98
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x505004
test eax, eax
jne 0x504ece
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xc
jmp 0x505004
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
je 0x504fd7
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x504f25
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x505004
cmp eax, 0x4b
jl 0x504f5c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x505004
cmp eax, 0x32
jl 0x504f90
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x505004
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x504fc4
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x505004
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x505004
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x48
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x6a
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3b
test eax, eax
je 0x50507e
push 0
push 1
push str.wavswaterwheel.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push edi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x6b
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x18]
push eax
push ecx
push 1
push 0xd
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x58
test eax, eax
jg 0x50511d
mov esi, 0x45
mov edx, 0x19
jmp 0x505157
mov ecx, dword [0xeadd6c]
mov esi, 0x6b
mov eax, ecx
mov edx, 1
shl eax, 5
add eax, ecx
shl eax, 3
mov cl, byte [eax + 0x799a0d]
test cl, cl
ja 0x505148
mov edx, 3
jmp 0x505157
cmp word [eax + 0x799a18], 0
jg 0x505157
mov edx, 2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edi, dword [0xf56f8c]
push eax
push ecx
push 0
push edi
mov edi, dword [0xeadd88]
add edi, 0xfffffffc
add ecx, 0x20
shl edi, 4
push edi
mov edi, dword [0xeadd84]
shl edi, 4
lea eax, [edi + eax - 0xc1]
push eax
push ecx
push edx
push esi
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x40
pop edi
pop esi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3d
test eax, eax
je 0x50520e
push 0
push 1
push str.wavs_fountain.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push edi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x6c
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x505275
mov esi, 0x45
mov eax, 0x19
jmp 0x505295
mov eax, dword [0xeadd6c]
mov esi, 0x6c
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, 7
movsx edx, word [ecx*8 + 0x799a18]
sub eax, edx
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov edi, dword [0xf56f8c]
push ecx
push edx
push 0
push edi
mov edi, dword [0xeadd88]
add edi, 0xfffffffc
add edx, 0x20
shl edi, 4
push edi
mov edi, dword [0xeadd84]
shl edi, 4
lea ecx, [edi + ecx - 0xc1]
push ecx
push edx
push eax
push esi
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x40
pop edi
pop esi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3e
test eax, eax
je 0x50534e
push 0
push 1
push str.wavswell.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x6d
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 2
push eax
call fcn.0047fd30
add esp, 0x3c
cmp eax, 1
jne 0x5053f2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x7e]
push eax
push ecx
push 2
push 0x6d
call fcn.004d6160
add esp, 0x24
ret
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 2
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jne 0x505439
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x7e]
push eax
push ecx
push 3
push 0x6d
call fcn.004d6160
add esp, 0x24
ret
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x7e]
push eax
push ecx
push 1
push 0x6d
call fcn.004d6160
add esp, 0x24
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x43
test eax, eax
je 0x50548e
push 0
push 1
push str.wavsoracle.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xc
push edx
push eax
push ecx
push 0
push 0x6e
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x18]
push eax
push ecx
push 1
push 0xd
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x58
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add ecx, 0x20
add edx, 0xfffffffc
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x6e
call fcn.004d6160
add esp, 0x24
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0
test eax, eax
je 0x50581e
push 0
push 1
push str.wavs_ruin.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x6f
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd84]
shl edx, 4
add ecx, 0x20
lea eax, [edx + eax - 0xad]
push eax
push ecx
mov ecx, dword [0xeadd68]
push ecx
push 0x29
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x54
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add ecx, 0x20
add edx, 0xfffffffc
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x8f]
push eax
push ecx
push 1
push 0x6f
call fcn.004d6160
add esp, 0x24
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 8
test eax, eax
je 0x505a2e
push 0
push 1
push str.wavs_theatre.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb3
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x34
test eax, eax
jg 0x505ac6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
call fcn.004d6160
add esp, 0x24
jmp 0x505bc1
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x505b1f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb3
call fcn.004d6160
add esp, 0x24
jmp 0x505bc1
mov cl, byte [eax + 0x799a7e]
test cl, cl
jne 0x505b65
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x38
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
push 0xb3
call fcn.004d6160
add esp, 0x24
jmp 0x505bc1
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
push esi
mov esi, dword [0xf56f8c]
push ecx
push edx
push 0
push esi
mov esi, dword [0xeadd88]
add esi, 0xfffffffc
add ecx, 0x38
shl esi, 4
mov bl, byte [eax + 0x799a7f]
push esi
add edx, 0x20
push ecx
push edx
mov dl, byte [eax + 0x799a80]
xor ecx, ecx
test dl, dl
setne cl
xor edx, edx
test bl, bl
setne dl
lea eax, [edx + ecx*2 + 4]
push eax
push 0xb3
call fcn.004d6160
add esp, 0x24
pop esi
pop ebx
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 6
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8a
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x69]
push eax
push ecx
push 1
push 0xb3
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x59
test eax, eax
je 0x505dee
push 0
push 1
push str.wavswheat_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xe
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb5
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb5
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xb5
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x505ff6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5061b2
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4142], 0
je 0x50603d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5061ad
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x506088
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x5061ad
cmp word [eax + 0x799a18], 0
jg 0x5060c4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5061ad
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x506100
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5061ad
cmp eax, 0x4b
jl 0x506134
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5061ad
cmp eax, 0x32
jl 0x506168
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5061ad
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50619c
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5061ad
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xb5
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0xb5
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xb5
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x59
test eax, eax
je 0x50627e
push 0
push 1
push str.wavswheat_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
inc eax
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x70
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x70
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x50647b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x506634
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4128], 0
je 0x5064c2
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x506632
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x50650d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x506632
cmp word [eax + 0x799a18], 0
jg 0x506549
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x506632
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x506585
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x506632
cmp eax, 0x4b
jl 0x5065b9
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x506632
cmp eax, 0x32
jl 0x5065ed
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x506632
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x506621
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x506632
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x70
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0x70
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x70
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5a
test eax, eax
je 0x5066ee
push 0
push 1
push str.wavs_veg_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 3
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x71
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x71
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x71
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x5068ed
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x506aa6
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea412c], 0
je 0x506934
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x506aa4
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x50697f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x506aa4
cmp word [eax + 0x799a18], 0
jg 0x5069bb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x506aa4
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x5069f7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x506aa4
cmp eax, 0x4b
jl 0x506a2b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x506aa4
cmp eax, 0x32
jl 0x506a5f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x506aa4
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x506a93
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x506aa4
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x71
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0x71
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x71
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5a
test eax, eax
je 0x506b5e
push 0
push 1
push str.wavs_figs_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 6
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb7
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb7
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xb7
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x506d66
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x506f22
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4132], 0
je 0x506dad
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x506f1d
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x506df8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x506f1d
cmp word [eax + 0x799a18], 0
jg 0x506e34
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x506f1d
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x506e70
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x506f1d
cmp eax, 0x4b
jl 0x506ea4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x506f1d
cmp eax, 0x32
jl 0x506ed8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x506f1d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x506f0c
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x506f1d
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xb7
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0xb7
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xb7
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5a
test eax, eax
je 0x506fee
push 0
push 1
push str.wavs_figs_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 5
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x72
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x72
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x72
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x5071ed
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5073a6
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4130], 0
je 0x507234
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5073a4
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x50727f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x5073a4
cmp word [eax + 0x799a18], 0
jg 0x5072bb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5073a4
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x5072f7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5073a4
cmp eax, 0x4b
jl 0x50732b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5073a4
cmp eax, 0x32
jl 0x50735f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5073a4
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x507393
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5073a4
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x72
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0x72
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x72
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5b
test eax, eax
je 0x50745e
push 0
push 1
push str.wavsolives_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x10
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x73
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x73
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x73
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x50765d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x507816
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4146], 0
je 0x5076a4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x507814
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x5076ef
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x507814
cmp word [eax + 0x799a18], 0
jg 0x50772b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x507814
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x507767
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x507814
cmp eax, 0x4b
jl 0x50779b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x507814
cmp eax, 0x32
jl 0x5077cf
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x507814
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x507803
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x507814
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x73
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0x73
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x73
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5b
test eax, eax
je 0x5078ce
push 0
push 1
push str.wavsolives_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x20
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x132
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x132
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x132
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x507ad6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x507c92
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4166], 0
je 0x507b1d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x507c8d
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x507b68
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x507c8d
cmp word [eax + 0x799a18], 0
jg 0x507ba4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x507c8d
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x507be0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x507c8d
cmp eax, 0x4b
jl 0x507c14
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x507c8d
cmp eax, 0x32
jl 0x507c48
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x507c8d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x507c7c
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x507c8d
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x132
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0x132
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x132
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5e
test eax, eax
je 0x507d5e
push 0
push 1
push str.wavs_vines_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x16
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x74
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x24
add eax, 0x32
add ecx, 0x20
push eax
add edx, 0x16
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x36
push edx
add ecx, 0x3c
push eax
push ecx
push 2
push 0x74
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
enter 0xffffffffffffe1c1, 5
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5a
test eax, eax
je 0x50814e
push 0
push 1
push str.wavs_vines_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 4
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb6
call fcn.004d6250
mov eax, dword [0xeadd6c]
add esp, 0x24
mov ecx, 0xbca350
push eax
call fcn.004883d0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb6
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x44
push eax
push ecx
push 0
mov edx, dword [0xf56f8c]
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xb6
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xc
push 0x70
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
push edx
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x2c
push ecx
lea ecx, [eax + edx + 0x20]
mov edx, dword [0xeadd6c]
push ecx
push 0x5e03fc
push 0x40
push edx
mov ecx, 0xbca350
call fcn.00489110
push eax
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0xd
push 0x70
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x508356
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x508512
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea412e], 0
je 0x50839d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50850d
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x5083e8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50850d
cmp word [eax + 0x799a18], 0
jg 0x508424
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50850d
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x508460
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50850d
cmp eax, 0x4b
jl 0x508494
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50850d
cmp eax, 0x32
jl 0x5084c8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50850d
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x5084fc
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50850d
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xb6
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc4f0
push 0xb6
call fcn.00505c40
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xb6
call fcn.004d6160
add esp, 0x44
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x168
test eax, eax
je 0x5085de
push 0
push 1
push str.wavsmeat_farm.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 2
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x75
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x70
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x70
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x60
add eax, 0x20
push edx
add ecx, 9
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x64
push edx
add ecx, 0x3c
push eax
push ecx
push 9
push 0x17
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x5087ac
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x64
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x5087cf
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x64
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x508818
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5089d1
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea412a], 0
je 0x50885f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5089cf
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp byte [eax + 0x799a85], 4
jbe 0x5088aa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x5089cf
cmp word [eax + 0x799a18], 0
jg 0x5088e6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5089cf
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x508922
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5089cf
cmp eax, 0x4b
jl 0x508956
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5089cf
cmp eax, 0x32
jl 0x50898a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5089cf
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x5089be
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5089cf
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x75
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x75
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5f
test eax, eax
je 0x508a8e
push 0
push 1
push str.wavsquarry.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x18
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x76
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0xc8
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x76
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x76
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x508bfa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x508d75
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4156], 0
je 0x508c41
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x508d73
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x508c8a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x508d73
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x508cc6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x508d73
cmp eax, 0x4b
jl 0x508cfa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x508d73
cmp eax, 0x32
jl 0x508d2e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x508d73
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x508d62
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x508d73
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x76
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x76
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5d
test eax, eax
je 0x5091ee
push 0
push 1
push str.wavsmine.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x15
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa2
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0xc8
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xa2
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xa2
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x509363
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x5094e1
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4150], 0
je 0x5093aa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x5094dc
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x5093f3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x5094dc
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50942f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x5094dc
cmp eax, 0x4b
jl 0x509463
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x5094dc
cmp eax, 0x32
jl 0x509497
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x5094dc
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x5094cb
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x5094dc
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xa2
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xa2
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5d
test eax, eax
je 0x50959e
push 0
push 1
push str.wavsmine.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x1d
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xc1
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0xc8
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xc1
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xc1
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x509713
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x509891
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4160], 0
je 0x50975a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50988c
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x5097a3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50988c
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x5097df
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50988c
cmp eax, 0x4b
jl 0x509813
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50988c
cmp eax, 0x32
jl 0x509847
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50988c
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50987b
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50988c
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xc1
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xc1
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x169
test eax, eax
je 0x50994e
push 0
push 1
push str.wavsmine.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x12
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xa3
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0xc8
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xa3
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xa3
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x509ac3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x509c41
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea414a], 0
je 0x509b0a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x509c3c
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x509b53
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x509c3c
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x509b8f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x509c3c
cmp eax, 0x4b
jl 0x509bc3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x509c3c
cmp eax, 0x32
jl 0x509bf7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x509c3c
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x509c2b
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x509c3c
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xa3
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0xa3
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5e
test eax, eax
je 0x509cfe
push 0
push 1
push str.wavs_timber.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x14
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x78
call fcn.004d6250
mov eax, dword [0xeadd6c]
mov edx, dword [0xf56f8c]
mov ecx, eax
mov dword [0xe20778], 0
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd8c]
push eax
add eax, 0x2c
movsx esi, word [ecx*8 + 0x799a14]
mov ecx, dword [0xeadd90]
push ecx
push 0
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x78
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x44
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x7027d4
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x78
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x509e5d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x509fd8
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea414e], 0
je 0x509ea4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x509fd6
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x509eed
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x509fd6
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x509f29
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x509fd6
cmp eax, 0x4b
jl 0x509f5d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x509fd6
cmp eax, 0x32
jl 0x509f91
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x509fd6
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x509fc5
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x509fd6
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x78
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x78
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x5c
test eax, eax
je 0x50a08e
push 0
push 1
push str.wavsclay.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xb
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x79
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0xc8
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x2c
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x79
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x2c
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x79
call fcn.004d62f0
mov eax, dword [0xeadd58]
add esp, 0x44
test eax, eax
pop esi
jg 0x50a1fa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50a375
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea413c], 0
je 0x50a241
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50a373
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x50a28a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50a373
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50a2c6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50a373
cmp eax, 0x4b
jl 0x50a2fa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50a373
cmp eax, 0x32
jl 0x50a32e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50a373
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50a362
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50a373
add edx, 0xfffffffc
add eax, 0x46
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x79
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
mov edx, dword [0xeadd84]
shl edx, 4
lea eax, [edx + eax - 0x71]
push eax
push ecx
push 1
push 0x79
call fcn.004d6160
add esp, 0x40
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x60
test eax, eax
je 0x50a42e
push 0
push 1
push str.wavswine_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xf
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x7a
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x7a
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x7a
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0xe
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x7a
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50a5fc
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50a61f
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50a668
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50a822
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4144], 0
je 0x50a6af
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50a820
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50a6fb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50a820
cmp word [eax + 0x799a14], 0
jg 0x50a737
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50a820
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50a773
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50a820
cmp eax, 0x4b
jl 0x50a7a7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50a820
cmp eax, 0x32
jl 0x50a7db
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50a820
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50a80f
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50a820
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x7a
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x3c
test eax, eax
je 0x50a89e
push 0
push 1
push str.wavsoil_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x11
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x7b
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x7b
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x7b
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x10
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x7b
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50aa6c
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50aa8f
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50aad8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50ac92
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4148], 0
je 0x50ab1f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50ac90
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50ab6b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50ac90
cmp word [eax + 0x799a14], 0
jg 0x50aba7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50ac90
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50abe3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50ac90
cmp eax, 0x4b
jl 0x50ac17
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50ac90
cmp eax, 0x32
jl 0x50ac4b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50ac90
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50ac7f
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50ac90
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x7b
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x61
test eax, eax
je 0x50ad0e
push 0
push 1
push str.wavsoil_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x17
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xbe
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xbe
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xbe
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x16
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0xbe
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50aee8
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50af0b
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50af54
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50b111
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4154], 0
je 0x50af9b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50b10c
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50afe7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50b10c
cmp word [eax + 0x799a14], 0
jg 0x50b023
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50b10c
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50b05f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50b10c
cmp eax, 0x4b
jl 0x50b093
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50b10c
cmp eax, 0x32
jl 0x50b0c7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50b10c
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50b0fb
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50b10c
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xbe
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
push edi
xor edi, edi
mov dword [0xeadd54], 0x1d9
cmp eax, edi
je 0x50b18c
push edi
push 1
push str.wavslamp_maker.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], edi
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x22
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push edi
push 0x13a
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push edi
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x13a
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push edi
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push edi
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x13a
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x1f
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xd
push 0x13a
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push edi
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50b357
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50b379
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push edi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x1c
add eax, 0x38
add ecx, 0xe6
push eax
add edx, 0xd
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
add eax, 0x3c
push edx
add ecx, 0x104
push eax
push ecx
push 0xe
push 0x13a
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push edi
mov ax, word [ecx*8 + 0x799aa4]
cmp ax, 1
jl 0x50b42a
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x104]
push edx
push eax
jmp 0x50b44f
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x104]
push edx
push edi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
cmp eax, edi
jg 0x50b497
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50b684
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea416a], di
je 0x50b4dc
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50b67f
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], di
jg 0x50b526
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50b67f
cmp word [eax + 0x799a14], di
jg 0x50b560
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50b67f
cmp word [eax + 0x799aa4], di
jg 0x50b59a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xc
jmp 0x50b67f
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50b5d5
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50b67f
cmp eax, 0x4b
jl 0x50b608
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50b67f
cmp eax, 0x32
jl 0x50b63b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50b67f
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
jl 0x50b66e
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50b67f
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x13a
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop edi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x1d6
test eax, eax
je 0x50b6fe
push 0
push 1
push str.wavspaint_maker.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x21
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x139
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x139
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x139
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x20
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x139
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50b8d8
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50b8fb
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50b944
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50bb01
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4168], 0
je 0x50b98b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50bafc
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50b9d7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50bafc
cmp word [eax + 0x799a14], 0
jg 0x50ba13
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50bafc
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50ba4f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50bafc
cmp eax, 0x4b
jl 0x50ba83
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50bafc
cmp eax, 0x32
jl 0x50bab7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50bafc
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50baeb
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50bafc
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x139
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x62
test eax, eax
je 0x50bb7e
push 0
push 1
push str.wavsoil_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x1c
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xb9
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb9
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xb9
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x14
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0xb9
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50bd58
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50bd7b
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50bdc4
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50bf81
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea414e], 0
je 0x50be0b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50bf7c
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50be57
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50bf7c
cmp word [eax + 0x799a14], 0
jg 0x50be93
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50bf7c
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50becf
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50bf7c
cmp eax, 0x4b
jl 0x50bf03
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50bf7c
cmp eax, 0x32
jl 0x50bf37
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50bf7c
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50bf6b
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50bf7c
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xb9
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
push edi
xor edi, edi
mov dword [0xeadd54], 0x16c
add eax, 0xeadd54
insb byte es:[edi], dx
add dword [eax], eax
add byte [ebx], bh
invalid
je 0x50bffc
push edi
push 1
push str.wavsoil_workshop.wav
add al, ch
pop ebp
adc esi, edi
inc dword [ebx + 0x3d890cc4]
xchg esp, eax
fucomp st(2)
invalid
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xc
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push edi
push 0xb4
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push edi
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xb4
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push edi
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push edi
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xb4
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0xb
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xd
push 0xb4
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push edi
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50c1c7
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50c1e9
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push edi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x1c
add eax, 0x38
add ecx, 0xe6
push eax
add edx, 9
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
add eax, 0x3c
push edx
add ecx, 0x104
push eax
push ecx
push 0xe
push 0xb4
mov dword [0xe20778], edi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push edi
mov ax, word [ecx*8 + 0x799aa4]
cmp ax, 1
jl 0x50c29a
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x104]
push edx
push eax
jmp 0x50c2bf
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x104]
push edx
push edi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
cmp eax, edi
jg 0x50c307
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50c4f4
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea413e], di
je 0x50c34c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50c4ef
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], di
jg 0x50c396
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50c4ef
cmp word [eax + 0x799a14], di
jg 0x50c3d0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50c4ef
cmp word [eax + 0x799aa4], di
jg 0x50c40a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xc
jmp 0x50c4ef
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50c445
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50c4ef
cmp eax, 0x4b
jl 0x50c478
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50c4ef
cmp eax, 0x32
jl 0x50c4ab
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50c4ef
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
jl 0x50c4de
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50c4ef
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xb4
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop edi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x62
test eax, eax
je 0x50c56e
push 0
push 1
push str.wavsweapons_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xa
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x7c
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x7c
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x7c
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x1d
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x7c
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50c73c
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50c75f
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50c7a8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50c962
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea413a], 0
je 0x50c7ef
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50c960
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50c83b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50c960
cmp word [eax + 0x799a14], 0
jg 0x50c877
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50c960
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50c8b3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50c960
cmp eax, 0x4b
jl 0x50c8e7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50c960
cmp eax, 0x32
jl 0x50c91b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50c960
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50c94f
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50c960
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x7c
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x63
test eax, eax
je 0x50c9de
push 0
push 1
push str.wavs_furniture_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x13
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x7d
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x7d
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x7d
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x12
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x7d
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50cbac
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50cbcf
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50cc18
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50cdd2
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea414c], 0
je 0x50cc5f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50cdd0
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50ccab
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50cdd0
cmp word [eax + 0x799a14], 0
jg 0x50cce7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50cdd0
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50cd23
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50cdd0
cmp eax, 0x4b
jl 0x50cd57
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50cdd0
cmp eax, 0x32
jl 0x50cd8b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50cdd0
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50cdbf
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50cdd0
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x7d
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 1
test eax, eax
je 0x50ce4e
push 0
push 1
push str.wavspottery_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xd
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x7e
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0x7e
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0x7e
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0xb
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0x7e
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50d01c
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50d03f
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50d088
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50d242
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4140], 0
je 0x50d0cf
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50d240
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50d11b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50d240
cmp word [eax + 0x799a14], 0
jg 0x50d157
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50d240
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50d193
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50d240
cmp eax, 0x4b
jl 0x50d1c7
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50d240
cmp eax, 0x32
jl 0x50d1fb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50d240
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50d22f
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50d240
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x7e
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x16b
test eax, eax
je 0x50d2be
push 0
push 1
push str.wavscarpenter_lodge.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push esi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x14
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xab
call fcn.004d6250
mov eax, dword [0xeadd6c]
push 0x190
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx edx, word [ecx*8 + 0x799a2c]
push edx
call fcn.004cde60
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
mov esi, eax
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
add eax, 0x28
push edx
add ecx, 0x20
push eax
push ecx
push 2
push 0xab
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x4c
push eax
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 0x5e03fc
push 0x40
push esi
call fcn.004d6860
mov eax, dword [0xeadd8c]
push eax
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push ecx
push 0
add eax, 0x28
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push 3
push 0xab
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf571fc]
add esp, 0x44
add edx, 0x38
add eax, 0x20
push edx
add ecx, 0x14
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xc
push 0xab
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
pop esi
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50d498
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50d4bb
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50d504
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50d67a
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50d550
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50d675
cmp word [eax + 0x799a14], 0
jg 0x50d58c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50d675
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50d5c8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50d675
cmp eax, 0x4b
jl 0x50d5fc
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50d675
cmp eax, 0x32
jl 0x50d630
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50d675
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50d664
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50d675
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xab
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x16b
test eax, eax
je 0x50d6ee
push 0
push 1
push str.wavs_bricklayer_lodge.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0xc
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xac
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x24
test eax, eax
jg 0x50d7a8
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50d8df
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x799a18], 0
jg 0x50d7f1
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50d8da
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50d82d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50d8da
cmp eax, 0x4b
jl 0x50d861
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50d8da
cmp eax, 0x32
jl 0x50d895
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50d8da
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50d8c9
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50d8da
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xac
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x16b
test eax, eax
je 0x50d95e
push 0
push 1
push str.wavs_bricklayer_lodge.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf571fc]
add esp, 0x10
add ecx, 0xa
add edx, 0xa
push ecx
add eax, 0x18
push edx
push eax
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0xad
call fcn.004d6250
mov eax, dword [0xeadd58]
add esp, 0x24
test eax, eax
jg 0x50da18
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50db8e
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50da64
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50db89
cmp word [eax + 0x799a14], 0
jg 0x50daa0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50db89
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50dadc
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50db89
cmp eax, 0x4b
jl 0x50db10
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50db89
cmp eax, 0x32
jl 0x50db44
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50db89
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50db78
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50db89
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0xad
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
mov eax, dword [0xeadd94]
push esi
xor esi, esi
mov dword [0xeadd54], 0x1d8
cmp eax, esi
je 0x50dc0c
push esi
push 1
push str.wavs_artisans_guild.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], esi
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push esi
push 0x138
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x38
add ecx, 0x20
push eax
add edx, 0x21
push ecx
push edx
mov ecx, 0xf55bb0
mov dword [0xe20778], esi
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xa
push 0x138
mov dword [0xe20778], esi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push esi
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50dcff
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50dd21
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push esi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x1c
add eax, 0x38
add ecx, 0xe6
push eax
add edx, 0xb
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
add eax, 0x3c
push edx
add ecx, 0x104
push eax
push ecx
push 0xb
push 0x138
mov dword [0xe20778], esi
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push esi
mov ax, word [ecx*8 + 0x799aa4]
cmp ax, 1
jl 0x50ddd2
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x104]
push edx
push eax
jmp 0x50ddf7
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x104]
push edx
push esi
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
cmp eax, esi
jg 0x50de3f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50dfe7
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], si
jg 0x50de89
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 2
jmp 0x50dfe2
cmp word [eax + 0x799a14], si
jg 0x50dec3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50dfe2
cmp word [eax + 0x799aa4], si
jg 0x50defd
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50dfe2
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50df38
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 3
jmp 0x50dfe2
cmp eax, 0x4b
jl 0x50df6b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50dfe2
cmp eax, 0x32
jl 0x50df9e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50dfe2
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
jl 0x50dfd1
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50dfe2
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
push 0x138
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
pop esi
ret
mov eax, dword [0xeadd94]
mov dword [0xeadd54], 0x167
test eax, eax
je 0x50e05e
push 0
push 1
push str.wavspottery_workshop.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0
push 0x9a
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf571fc]
add esp, 0x34
add eax, 0x38
add ecx, 0x20
push eax
add edx, 8
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
add eax, 0x3c
push edx
add ecx, 0x3c
push eax
push ecx
push 0xd
push 0x9a
mov dword [0xe20778], 0
call fcn.004d62f0
mov eax, dword [0xeadd6c]
add esp, 0x20
mov ecx, eax
shl ecx, 5
add ecx, eax
push 0
mov ax, word [ecx*8 + 0x799a14]
cmp ax, 1
jl 0x50e153
mov ecx, dword [0xeadd8c]
mov edx, dword [0xf56f8c]
add ecx, 0x3c
push edx
mov edx, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
movsx eax, ax
lea edx, [ecx + edx + 0x3c]
push edx
push eax
jmp 0x50e176
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push ecx
mov ecx, dword [0xe20778]
add edx, 0x3c
push edx
lea edx, [ecx + eax + 0x3c]
push edx
push 0
push 0xa
push 8
call fcn.004ccc30
mov eax, dword [0xeadd58]
add esp, 0x1c
test eax, eax
jg 0x50e1bf
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0x19
push 0x45
jmp 0x50e37c
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp word [eax + 0xea4136], 0
je 0x50e206
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 4
jmp 0x50e377
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x799a18], 0
jg 0x50e252
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 5
jmp 0x50e377
cmp word [eax + 0x799a14], 0
jg 0x50e28e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xb
jmp 0x50e377
mov eax, dword [0xeadd5c]
cmp eax, 0x64
jl 0x50e2ca
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 6
jmp 0x50e377
cmp eax, 0x4b
jl 0x50e2fe
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 7
jmp 0x50e377
cmp eax, 0x32
jl 0x50e332
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 8
jmp 0x50e377
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
cmp eax, 0x19
mov eax, dword [0xeadd8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
jl 0x50e366
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 9
jmp 0x50e377
add edx, 0xfffffffc
add eax, 0x56
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
push 0xa
push 0x9a
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
add esp, 0x24
add edx, 0xfffffffe
push eax
push ecx
push 4
add eax, 0x88
push edx
add ecx, 0x10
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add eax, 0x8e
push eax
call fcn.004fc5c0
add esp, 0x1c
ret
sub esp, 0x58
mov ecx, dword [0xeadd6c]
push ebx
mov eax, ecx
push ebp
shl eax, 5
add eax, ecx
push esi
xor ebp, ebp
push edi
movsx esi, word [eax*8 + 0x7999e8]
mov eax, dword [0xeadd94]
sub esi, 0xa
cmp eax, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x18], 0xd
mov dword [esp + 0x1c], 0x13
mov dword [esp + 0x20], 0x11
mov dword [esp + 0x24], 0xf
mov dword [0xeadd54], 0x38
je 0x50e620
push ebp
push 1
push str.wavshousing.wav
call fcn.0047d350
mov ecx, dword [0xeadd6c]
add esp, 0xc
mov dword [0xeadd94], ebp
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
cmp word [eax + 0x7999f4], bp
jg 0x50e64a
mov cl, byte [eax + 0x799a5f]
test cl, cl
jne 0x50e64a
call fcn.0050efb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [0xeadd84]
mov edx, dword [0xeadd88]
mov eax, dword [0xeadd8c]
push ecx
mov ecx, dword [0xeadd90]
push edx
push eax
push ecx
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push esi
push 0x1d
call fcn.004d6250
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push eax
push ecx
add edx, 0xfffffffe
push 0xa
add eax, 0x94
push edx
add ecx, 0x10
push eax
push ecx
mov dword [0xeadd44], ebp
call fcn.004d65b0
mov eax, dword [0xeadd8c]
add esp, 0x4c
add eax, 0x9a
push eax
call fcn.004fc150
mov ecx, dword [0xeadd8c]
add ecx, 0xc2
push ecx
call fcn.004fc2d0
mov edx, dword [0xeadd8c]
add edx, 0xd6
push edx
call fcn.004fc3b0
mov eax, dword [0xeadd6c]
add esp, 0xc
mov ecx, eax
shl ecx, 5
add ecx, eax
movsx eax, word [ecx*8 + 0x7999ea]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
cmp dword [eax*8 + 0x70cdf4], ebp
jne 0x50e759
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f94]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffa
add eax, 0xea
shl edx, 4
push edx
add ecx, 0x24
push eax
push ecx
push 0x21
push 0x7f
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xf53dd8]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jle 0x50e879
xor edi, edi
mov dword [esp + 0x10], 0xf53ddc
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
cmp esi, ebp
je 0x50e854
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
add ecx, 0x6e
push ecx
mov ecx, dword [0xf571fc]
lea eax, [edi + edx + 0x20]
add ecx, esi
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov ebx, dword [0xf56f8c]
lea eax, [esi - 1]
cmp eax, 0x12
ja case.0x50e7b8.9
jmp dword [eax*4 + 0x50eeec]
xor eax, eax
jmp 0x50e813
mov eax, 5
jmp 0x50e813
mov eax, 1
jmp 0x50e813
mov eax, 2
jmp 0x50e813
mov eax, 3
jmp 0x50e813
mov eax, 4
jmp 0x50e813
mov eax, 7
jmp 0x50e813
mov eax, 6
jmp 0x50e813
mov eax, 0xa
jmp 0x50e813
mov eax, 0xb
jmp 0x50e813
mov eax, 8
jmp 0x50e813
mov eax, 9
jmp 0x50e813
or eax, 0xffffffff
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ecx
push edx
push ebp
add ecx, 0x6e
push ebx
push ecx
mov ecx, dword [0xeadd6c]
lea edx, [edi + edx + 0x40]
push edx
mov edx, ecx
shl edx, 5
add edx, ecx
push 0x57c048
push 0x40
lea eax, [eax + edx*4]
movsx ecx, word [eax*2 + 0x799a2c]
push ecx
call fcn.004d6860
add esp, 0x24
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [0xf53dd8]
inc eax
add esi, 4
add edi, 0x6e
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jl 0x50e774
xor esi, esi
lea ebp, [esp + 0x18]
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov edi, dword [ebp]
add edx, 0x82
push edx
mov edx, dword [0xf571fc]
lea ecx, [esi + eax + 0x20]
add edx, edi
push ecx
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
mov ebx, dword [0xf56f8c]
lea eax, [edi - 1]
cmp eax, 0x12
ja case.0x50e8ba.9
jmp dword [eax*4 + 0x50ef38]
xor ecx, ecx
jmp 0x50e915
mov ecx, 5
jmp 0x50e915
mov ecx, 1
jmp 0x50e915
mov ecx, 2
jmp 0x50e915
mov ecx, 3
jmp 0x50e915
mov ecx, 4
jmp 0x50e915
mov ecx, 7
jmp 0x50e915
mov ecx, 6
jmp 0x50e915
mov ecx, 0xa
jmp 0x50e915
mov ecx, 0xb
jmp 0x50e915
mov ecx, 8
jmp 0x50e915
mov ecx, 9
jmp 0x50e915
or ecx, 0xffffffff
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push eax
push edx
push 0
add eax, 0x82
push ebx
push eax
lea eax, [esi + edx + 0x40]
push eax
mov eax, dword [0xeadd6c]
mov edx, eax
push 0x57c048
shl edx, 5
add edx, eax
push 0x40
lea eax, [ecx + edx*4]
movsx ecx, word [eax*2 + 0x799a2c]
push ecx
call fcn.004d6860
add esi, 0x6e
add esp, 0x24
add ebp, 4
cmp esi, 0x1b8
jl 0x50e87f
mov ecx, dword [0xeadd6c]
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
mov cl, byte [eax + 0x799a5f]
cmp cl, 1
jne 0x50e9bd
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x4c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
mov dword [0xe20778], 0
push 0x6b
jmp 0x50e9fd
cmp cl, 2
jne 0x50ea4e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x4c
shl edx, 4
push edx
add ecx, 0x20
push eax
push ecx
mov dword [0xe20778], 0
push 0x6d
push 0x7f
call fcn.004d6160
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push 0
push eax
mov eax, dword [0xe20778]
add ecx, 0x4c
push ecx
lea ecx, [eax + edx + 0x20]
mov eax, dword [0xeadd6c]
push ecx
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799ac8]
push eax
push 4
push 8
call fcn.004ccc30
add esp, 0x40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
xor ecx, ecx
mov cl, byte [eax + 0x799a5d]
mov eax, ecx
lea ecx, [eax - 0x3e]
cmp ecx, 0xc
ja case.0x50ea6c.65
xor edx, edx
mov dl, byte [ecx + 0x50ef94]
jmp dword [edx*4 + 0x50ef84]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov edi, dword [0xf56f8c]
xor esi, esi
push ecx
push edx
push esi
add ecx, 0x24
push edi
add edx, 0x20
push ecx
add eax, 0x28
push edx
push eax
push 0x7f
mov dword [0xe20778], esi
mov dword [0xe20774], esi
call fcn.004d62f0
mov ecx, dword [0xeadcd4]
add esp, 0x20
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
mov cx, word [eax + 0x7999e8]
cmp cx, 0xa
jne 0x50ead8
cmp word [eax + 0x7999f4], si
jne 0x50ead8
cmp cx, cx
je 0x50eb07
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov edi, dword [0xf56f8c]
push eax
push edx
push 0xf800
add eax, 0x24
push edi
push eax
mov eax, dword [0xe20778]
lea edx, [eax + edx + 0x20]
movsx eax, cx
push edx
push eax
push 0x29
jmp 0x50eb34
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0xf800
add eax, 0x24
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x20]
push ecx
push esi
push 0x80
call fcn.004d62f0
mov edx, dword [0xf56f8c]
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
add esp, 0x20
add eax, 0x24
push esi
push edx
mov edx, dword [0xe20778]
push eax
lea eax, [edx + ecx + 0x20]
push eax
push 0x5f7e78
call fcn.004cc770
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push esi
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x34
shl edx, 4
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x20
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
xor edx, edx
mov dl, byte [ecx*8 + 0x799a5d]
add edx, 0x29
push edx
push 0x7f
call fcn.004d6160
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
xor ebp, ebp
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0050e3c0
add esp, 8
cmp eax, 4
jle 0x50ebd9
mov ebx, 4
jmp 0x50ebe8
cmp eax, ebp
mov ebx, eax
jne 0x50ebe8
mov ebx, 1
mov dword [esp + 0x28], ebx
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xeadd88]
add edx, 0xfffffffc
add eax, 0x24
shl edx, 4
push edx
push eax
mov eax, dword [0xeadd6c]
add ecx, 0x20
push ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
xor edx, edx
mov dword [0xe20778], ebp
mov dword [0xe20774], ebp
mov dl, byte [ecx*8 + 0x799a5d]
add edx, 0x28
push edx
push 0x7f
call fcn.004d6160
mov ecx, dword [0xe20774]
xor eax, eax
add ecx, 0x10
lea edx, [esp + 0x4c]
add esp, 0x24
xor esi, esi
mov dword [0xe20778], eax
mov dword [0xe20774], ecx
xor edi, edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
cmp dword [edx], ebp
je 0x50ed1c
cmp ebx, 1
jle 0x50eca0
lea edx, [ebx - 1]
cmp esi, edx
jne 0x50eca0
mov edx, dword [0xf56f8c]
push ebp
push edx
mov edx, dword [0xeadd8c]
lea ecx, [ecx + edx + 0x17]
mov edx, dword [0xeadd90]
push ecx
lea eax, [eax + edx + 0x20]
push eax
push 0x5f7e74
jmp 0x50ecc7
cmp esi, ebp
jle 0x50eccf
mov edx, dword [0xf56f8c]
push ebp
push edx
mov edx, dword [0xeadd8c]
lea ecx, [ecx + edx + 0x17]
mov edx, dword [0xeadd90]
push ecx
lea eax, [eax + edx + 0x20]
push eax
push 0x5e0400
call fcn.004cc770
add esp, 0x14
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xe20774]
lea eax, [edx + eax + 0x17]
mov edx, dword [0xe20778]
push eax
lea eax, [edx + ecx + 0x20]
lea ecx, [edi + 0x27]
push eax
push ecx
push 0x17
call fcn.004d62f0
add esp, 0x20
inc esi
cmp esi, ebx
jge 0x50eee2
mov eax, dword [0xe20778]
mov ecx, dword [0xe20774]
mov edx, dword [esp + 0x10]
inc edi
add edx, 4
cmp edi, 0x10
mov dword [esp + 0x10], edx
jl 0x50ec63
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
lea edx, [esp + 0x28]
push 1
push edx
call fcn.0050e3c0
add esp, 8
cmp eax, 4
jle 0x50ed54
mov ebx, 4
jmp 0x50ed63
test eax, eax
mov ebx, eax
jne 0x50ed63
mov ebx, 1
mov dword [esp + 0x28], ebx
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
xor edi, edi
push eax
push ecx
push edi
push edx
mov edx, dword [0xeadd88]
add eax, 0x24
add edx, 0xfffffffc
add ecx, 0x20
shl edx, 4
push edx
push eax
mov eax, dword [0xeadd6c]
push ecx
mov ecx, eax
xor edx, edx
shl ecx, 5
add ecx, eax
mov dword [0xe20778], edi
mov dword [0xe20774], edi
mov dl, byte [ecx*8 + 0x799a5d]
add edx, 0x28
push edx
push 0x7f
call fcn.004d6160
mov esi, dword [0xe20774]
xor eax, eax
add esi, 0x10
lea ecx, [esp + 0x4c]
add esp, 0x24
mov dword [0xe20778], eax
mov dword [0xe20774], esi
xor ebp, ebp
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
cmp dword [edx], 0
je 0x50ee8b
cmp ebx, 1
jle 0x50ee1d
lea ecx, [ebx - 1]
cmp edi, ecx
jne 0x50ee1d
mov edx, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
push 0
push edx
lea edx, [esi + ecx + 0x17]
mov ecx, dword [0xeadd90]
push edx
lea edx, [eax + ecx + 0x20]
push edx
push 0x5f7e74
jmp 0x50ee45
test edi, edi
jle 0x50ee4d
mov ecx, dword [0xf56f8c]
mov edx, dword [0xeadd8c]
push 0
push ecx
lea ecx, [esi + edx + 0x17]
mov edx, dword [0xeadd90]
push ecx
lea eax, [eax + edx + 0x20]
push eax
push 0x5e0400
call fcn.004cc770
add esp, 0x14
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push 0
push edx
mov edx, dword [0xe20778]
lea eax, [esi + eax + 0x17]
push eax
lea eax, [edx + ecx + 0x20]
lea ecx, [ebp + 0x27]
push eax
push ecx
push 0x17
call fcn.004d62f0
add esp, 0x20
inc edi
cmp edi, ebx
jge 0x50eee2
mov eax, dword [0xe20778]
mov edx, dword [esp + 0x10]
inc ebp
add edx, 4
cmp ebp, 0x10
mov dword [esp + 0x10], edx
jl 0x50edde
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov esi, dword [0xf56f8c]
push ecx
push edx
push 0
push esi
mov esi, dword [0xeadd88]
add esi, 0xfffffffc
add ecx, 0x24
shl esi, 4
push esi
add edx, 0x20
push ecx
add eax, 0x28
push edx
push eax
push 0x7f
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [0x5e4ef4]
sub esp, 0x5ec
dec eax
mov dword [0xeadb30], 0xffffffff
push ebx
push ebp
push esi
cmp eax, 4
push edi
mov ecx, 0x18
mov ebx, 0xc
ja case.0x51106d.4
jmp dword [eax*4 + 0x511bf8]
mov dword [0xeadd54], 0x173
mov dword [0xeadb34], ebx
mov dword [esp + 0x14], 0x1b
mov dword [esp + 0x1c], 0x67
jmp 0x51111d
mov dword [0xeadd54], 0x177
mov dword [0xeadb34], ecx
mov dword [esp + 0x14], 0x16
mov dword [esp + 0x1c], 0x62
jmp 0x51111d
mov dword [0xeadd54], 0x36
jmp 0x5110fd
mov dword [0xeadd54], 0x37
mov dword [0xeadb34], ebx
mov dword [0xeadb30], 0x19
mov dword [esp + 0x1c], 0x67
mov dword [esp + 0x14], 0x1b
jmp 0x51111d
mov dword [0xeadd54], 0x26
mov dword [0xeadb34], ecx
mov dword [esp + 0x14], 0x16
mov dword [esp + 0x1c], 0x62
mov dword [0xeadb30], 0x19
mov eax, dword [0xeadd94]
xor edi, edi
cmp eax, edi
je 0x51113e
push edi
push 1
push str.wavspyramid.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], edi
mov ecx, dword [0xeadd84]
mov edx, dword [0xeadd88]
mov eax, dword [0xeadd8c]
push ecx
mov ecx, dword [0xeadd90]
push edx
push eax
push ecx
call fcn.00536820
add esp, 0x10
mov dword [esp + 0x18], edi
xor esi, esi
mov edx, dword [0xeadd6c]
push edx
call fcn.00475b50
mov ecx, dword [0xeaac28]
add esp, 4
imul ecx, ecx, 0x1276
add ecx, esi
cmp dword [ecx*4 + 0xea5fac], eax
je 0x511195
inc esi
cmp esi, 3
jl 0x511167
jmp 0x5111a1
movsx edx, word [esi*2 + 0x784de0]
mov dword [esp + 0x18], edx
mov ecx, dword [0xeadd6c]
mov esi, dword [0xbca2d8]
mov eax, ecx
mov byte [esp + 0x11], 0
shl eax, 5
add eax, ecx
shl eax, 3
movsx ecx, word [eax + 0x799a00]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
movsx edx, word [eax + 0x7999fe]
lea ecx, [ecx + ecx*2]
add esi, edx
mov dl, byte [esi + ecx*4 + 0xee0c50]
test dl, dl
jl 0x5111e9
cmp word [eax + 0x7999f8], di
jne 0x5111ee
mov byte [esp + 0x11], 1
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push ebx
push 0xb2
call fcn.004d6250
mov edi, dword [0x5e4ef4]
mov esi, dword [0xeadd90]
mov eax, dword [0xeadd8c]
add esp, 0x24
lea ecx, [edi - 1]
lea ebx, [esi + 0x20]
cmp ecx, 3
lea ebp, [eax + 0x38]
ja case.default.0x511240
jmp dword [ecx*4 + 0x511c0c]
mov byte [esp + 0x13], 1
xor dl, dl
jmp 0x511267
mov byte [esp + 0x13], 1
jmp 0x511265
mov byte [esp + 0x13], 0
xor dl, dl
jmp 0x511267
mov byte [esp + 0x13], 0
mov dl, 1
mov cl, byte [esp + 0x11]
mov byte [esp + 0x12], dl
test cl, cl
je 0x5112ab
cmp dword [0xeadc7c], 0x64
jge 0x5112ab
add ebp, 0x18
xor ecx, ecx
push eax
mov eax, dword [0xf56f8c]
push esi
push ecx
push eax
mov eax, dword [0xeadd88]
mov dword [0xe20778], ecx
mov dword [0xe20774], ecx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push ebp
push ebx
push 0x34
jmp 0x5119b3
mov ecx, dword [0xeadc48]
mov dword [0xe20774], 0
dec ecx
je 0x51189c
dec ecx
je 0x511430
dec ecx
jne 0x5119c0
mov ecx, dword [0x705dbc]
xor edi, edi
cmp ecx, edi
jne 0x51132e
test dl, dl
je 0x5112e8
mov cl, byte [esp + 0x13]
test cl, cl
je 0x51132e
mov edx, dword [esp + 0x18]
push edx
push 0xb3
call fcn.004f5580
add esp, 8
test al, al
mov eax, dword [0xeadd8c]
je 0x511328
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push edi
lea eax, [eax + eax*2]
push edx
lea eax, [eax + eax*4]
push eax
push ebp
push ebx
push 0xe
jmp 0x5119b3
mov esi, dword [0xeadd90]
cmp dword [0xeadc90], edi
jne 0x511381
mov ecx, dword [esp + 0x18]
push ecx
push 0xb3
call fcn.004f5580
add esp, 8
test al, al
je 0x511376
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push edi
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push 0x12
jmp 0x5119b3
mov eax, dword [0xeadd8c]
mov esi, dword [0xeadd90]
push eax
mov eax, dword [0xf56f8c]
push esi
push edi
push eax
push ebp
push ebx
push 1
push 0xb2
mov dword [0xe20778], edi
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
add ebp, 0x18
push edi
push eax
push ebp
push ebx
push 2
push 0xb2
mov dword [0xe20778], edi
call fcn.004d62f0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
add esp, 0x40
push ecx
mov ecx, dword [0xe20778]
push edx
mov edx, dword [0xeadc78]
push edi
push eax
add ecx, ebx
push ebp
push ecx
push 0x5e03fc
push 0x40
push edx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xe20778]
push ecx
push edi
push edx
add eax, ebx
push ebp
push eax
push edi
push 0xb2
call fcn.004d62f0
add esp, 0x44
jmp 0x5119c0
mov ecx, dword [0xeadd6c]
mov dword [0xe20774], 0
push ecx
call fcn.00475b50
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, 0x1c
mov esi, 0xeadc48
push eax
sub esp, 0x70
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.004f56d0
mov byte [esp + 0x89], al
mov eax, dword [0x705e0c]
add esp, 0x78
test eax, eax
jne 0x5114a3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push ebp
push ebx
push 0xd
jmp 0x5119b3
mov eax, dword [0x705dbc]
test eax, eax
jne 0x5114fd
mov al, byte [esp + 0x12]
test al, al
je 0x5114bc
mov al, byte [esp + 0x13]
test al, al
je 0x5114fd
mov esi, dword [esp + 0x18]
push esi
push 0xb3
call fcn.004f5580
add esp, 8
test al, al
je 0x511501
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push ebp
push ebx
push 0xe
jmp 0x5119b3
mov esi, dword [esp + 0x18]
mov eax, dword [0x705db8]
test eax, eax
jne 0x51154f
mov al, byte [esp + 0x12]
test al, al
je 0x51154f
push esi
push 0xb2
call fcn.004f5580
add esp, 8
test al, al
je 0x51154f
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push 0xf
jmp 0x5119b3
mov eax, dword [0xeadca8]
mov ecx, dword [0xeadca4]
sub eax, ecx
jne 0x511591
mov al, byte [esp + 0x11]
test al, al
jne 0x511591
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push ebp
push ebx
push 0x11
jmp 0x5119b3
mov eax, dword [0xeadc90]
test eax, eax
jne 0x5115f9
mov al, byte [esp + 0x12]
test al, al
jne 0x5115ab
mov eax, dword [0xeadc60]
test eax, eax
jne 0x5115bc
mov al, byte [esp + 0x13]
test al, al
je 0x5115f9
mov eax, dword [0xeadc64]
test eax, eax
je 0x5115f9
push esi
push 0xb3
call fcn.004f5580
add esp, 8
test al, al
je 0x5115f9
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push 0x12
jmp 0x5119b3
mov eax, dword [0xeadc94]
test eax, eax
jne 0x511650
mov al, byte [esp + 0x12]
test al, al
je 0x511650
mov eax, dword [0xeadc60]
test eax, eax
je 0x511650
push esi
push 0xb2
call fcn.004f5580
add esp, 8
test al, al
je 0x511650
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push ebp
push ebx
push 0x13
jmp 0x5119b3
mov eax, dword [0x705db4]
test eax, eax
jne 0x5116af
mov ecx, dword [0xeadd6c]
push ecx
call fcn.00475b50
push eax
call fcn.004f5d10
add esp, 8
test al, al
je 0x5116af
push esi
push 0xb1
call fcn.004f5580
add esp, 8
test al, al
je 0x5116af
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push 0x10
jmp 0x5119b3
mov eax, dword [0xeadca0]
test eax, eax
jne 0x51170d
mov eax, dword [0xeadd6c]
push eax
call fcn.00475b50
push eax
call fcn.004f5d10
add esp, 8
test al, al
je 0x51170d
push esi
push 0xb1
call fcn.004f5580
add esp, 8
test al, al
je 0x51170d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push ebp
push ebx
push 0x15
jmp 0x5119b3
mov eax, dword [0xeadca4]
test eax, eax
je 0x5119c0
mov edx, dword [0xeadcb0]
mov eax, dword [0xeadb34]
push edx
push eax
call fcn.004f5770
mov ecx, dword [0xeadb34]
mov edx, dword [0xeadd6c]
add esp, 8
mov byte [esp + 0x11], al
push ecx
push edx
call fcn.00475b50
add esp, 4
push eax
call fcn.004f5bd0
add esp, 8
test al, al
je 0x5117c4
mov al, byte [esp + 0x11]
test al, al
je 0x5117c4
mov eax, dword [0xeaac28]
mov edx, dword [0xeadb34]
imul eax, eax, 0x1276
add eax, edx
mov edx, dword [0xeadd90]
mov ecx, dword [eax*4 + 0xea42f8]
mov eax, dword [0xf56f8c]
test ecx, ecx
mov ecx, dword [0xeadd8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
mov edx, dword [0xe20774]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
je 0x5117ae
mov eax, dword [esp + 0x30]
add edx, ebp
push edx
push ebx
jmp 0x5117b6
mov eax, dword [esp + 0x28]
add edx, ebp
push edx
push ebx
push eax
push 0xb2
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeadb30]
cmp eax, 0xffffffff
je 0x5119c0
mov ecx, dword [0xeadcb4]
push ecx
push eax
call fcn.004f5770
mov edx, dword [0xeadb30]
add esp, 8
mov byte [esp + 0x11], al
mov eax, dword [0xeadd6c]
push edx
push eax
call fcn.00475b50
add esp, 4
push eax
call fcn.004f5bd0
add esp, 8
test al, al
je 0x5119c0
mov al, byte [esp + 0x11]
test al, al
je 0x5119c0
mov ecx, dword [0xeaac28]
mov edx, dword [0xeadb30]
imul ecx, ecx, 0x1276
add ecx, edx
mov eax, dword [ecx*4 + 0xea42f8]
test eax, eax
je 0x511869
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, ebp
push edx
push eax
push ebx
push 0x63
jmp 0x5119b3
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
mov edx, dword [0xe20774]
push 0
push eax
mov eax, dword [0xeadd88]
add edx, ebp
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edx
push ebx
push 0x17
jmp 0x5119b3
mov ecx, dword [0x705e0c]
test ecx, ecx
jne 0x5118c5
push eax
mov eax, dword [0xf56f8c]
push esi
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push ebp
push ebx
push 0xd
jmp 0x5119b3
mov ecx, dword [0x705a58]
test ecx, ecx
jne 0x51192e
mov ecx, dword [0xeadcac]
test ecx, ecx
jne 0x51192e
mov ecx, dword [0xd386d4]
cmp ecx, 1
je 0x5118ee
cmp ecx, 2
je 0x5118ee
cmp ecx, 3
jne 0x51190e
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push esi
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push ebp
push ebx
push 0x33
jmp 0x5119b3
mov ecx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push esi
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push 0x11
jmp 0x5119b3
mov ecx, dword [0xeadc84]
mov edx, dword [0xeadc80]
cmp ecx, edx
jne 0x51193f
inc ecx
cmp edi, 5
jne 0x51194f
cmp ecx, edi
jle 0x51194f
cmp ecx, 0xa
jg 0x51194f
mov ecx, edi
add ecx, 0xfffffffe
cmp ecx, 9
ja case.default.0x511957
jmp dword [ecx*4 + 0x511c1c]
xor ecx, ecx
cmp edi, 5
sete cl
add ecx, 3
jmp 0x51199a
mov ecx, 5
jmp 0x51199a
mov ecx, 6
jmp 0x51199a
mov ecx, 7
jmp 0x51199a
mov ecx, 8
jmp 0x51199a
mov ecx, 9
jmp 0x51199a
mov ecx, 0xa
jmp 0x51199a
mov ecx, 0xb
push eax
mov eax, dword [0xf56f8c]
push esi
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ebp
push ebx
push ecx
push 0xb2
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xe20774]
mov esi, dword [0xeadd88]
add ebp, eax
mov eax, dword [0xeadc7c]
shl esi, 4
add ebp, 0x18
sub esi, 0x10
cmp eax, 0x64
mov dword [0xe20774], 0
mov dword [esp + 0x14], esi
jge 0x511a30
push 0x3d
push 0xb2
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x28]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
mov eax, dword [0xe20774]
push 0
push edx
add eax, ebp
push esi
push eax
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.004cd010
add esp, 0x2c
mov eax, dword [0xeadc60]
test eax, eax
jne 0x511a46
mov eax, dword [0xeadc64]
test eax, eax
je 0x511b1f
mov eax, dword [0xeadc4c]
test eax, eax
jne 0x511a53
push 0x3e
jmp 0x511a5e
cmp eax, 1
jne 0x511a5c
push 0x3f
jmp 0x511a5e
push 0x40
push 0xb2
call fcn.004cc110
mov eax, dword [0xe20768]
add esp, 8
lea edx, [esp + 0x214]
push 0x3e8
push edx
push eax
call fcn.00448370
mov eax, dword [0xeadc60]
add esp, 0xc
test eax, eax
je 0x511aa0
mov eax, dword [0xeadc64]
test eax, eax
je 0x511a9c
push 0x43
jmp 0x511aa2
push 0x41
jmp 0x511aa2
push 0x42
push 0xb2
call fcn.004cc110
mov edx, dword [0xe20768]
add esp, 8
lea ecx, [esp + 0x20]
push 0x1f4
push ecx
push edx
call fcn.00448370
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0xf56f8c]
mov ecx, edx
mov edx, dword [0xe20774]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push eax
add edx, ebp
push ecx
push edx
lea eax, [esp + 0x230]
push ebx
push eax
call fcn.004cd010
mov esi, dword [esp + 0x38]
add esp, 0x24
cmp dword [0xeadc7c], 0x64
jge 0x511b9a
mov eax, dword [0xeadc68]
test eax, eax
mov eax, dword [0xeadc6c]
jne 0x511b8e
test eax, eax
je 0x511bec
push 0x45
push 0xb2
call fcn.004cc110
mov edx, dword [0xe20768]
add esp, 8
lea ecx, [esp + 0x20]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
mov ecx, dword [0xe20774]
push 0
push eax
add ecx, ebp
push esi
push ecx
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.004cd010
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5ec
ret
test eax, eax
je 0x511b96
push 0x46
jmp 0x511b40
push 0x44
jmp 0x511b40
mov eax, dword [0xeadc74]
test eax, eax
je 0x511ba7
push 0x48
jmp 0x511ba9
push 0x47
push 0xb2
call fcn.004cc110
mov ecx, dword [0xe20768]
add esp, 8
lea eax, [esp + 0x20]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
mov eax, dword [0xe20774]
push 0
push edx
add eax, ebp
push esi
push eax
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.004cd010
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5ec
ret
mov eax, dword [0xeadd94]
sub esp, 0x24
mov dword [0xeadd54], 0x16a
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x511cb2
push ebx
push 1
push str.wavs_sphinx.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
lea edx, [esp + 0x54]
mov dword [esp + 0x48], ebx
push edx
push 0x4f
mov dword [esp + 0x54], ebx
lea esi, [eax + 0x20]
lea edi, [ecx + 0x38]
call fcn.004204d0
lea eax, [esp + 0x58]
push eax
push 0x51
call fcn.004204d0
add esp, 0x44
push 0x4f
call fcn.00420500
push 0x51
mov byte [esp + 0x1b], al
call fcn.00420500
mov edx, dword [0xeadd6c]
mov ebp, dword [0xbca2d8]
mov ecx, edx
mov byte [esp + 0x1a], al
shl ecx, 5
add ecx, edx
add esp, 8
shl ecx, 3
mov byte [esp + 0x11], bl
movsx edx, word [ecx + 0x799a00]
lea eax, [edx + edx*8]
lea edx, [edx + eax*2]
movsx eax, word [ecx + 0x7999fe]
lea edx, [edx + edx*2]
add ebp, eax
cmp byte [ebp + edx*4 + 0xee0c50], bl
jge 0x511d8e
mov al, 1
jmp 0x511d9d
cmp word [ecx + 0x7999f8], bx
mov al, 1
je 0x511d9d
mov al, byte [esp + 0x11]
mov ecx, dword [0xeaac28]
mov dword [0xe20774], ebx
imul ecx, ecx, 0x49d8
cmp word [ecx + 0xea5baa], 0x10
jge 0x511f78
cmp al, bl
je 0x511dee
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x95
jmp 0x511f6b
cmp dword [0x705dbc], ebx
jne 0x511e20
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0xe
jmp 0x511f6b
cmp dword [0x705db4], ebx
jne 0x511e52
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x10
jmp 0x511f6b
cmp dword [esp + 0x1c], ebx
jne 0x511e96
cmp byte [esp + 0x12], bl
jne 0x511e96
push 0x51
call fcn.00420550
add esp, 4
test al, al
je 0x511e96
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x12
jmp 0x511f6b
cmp dword [esp + 0x20], ebx
jne 0x511eda
cmp byte [esp + 0x13], bl
jne 0x511eda
push 0x4f
call fcn.00420550
add esp, 4
test al, al
je 0x511eda
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x14
jmp 0x511f6b
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
mov ax, word [eax + 0xea5baa]
cmp ax, 7
jge 0x511f19
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x2d
jmp 0x511f6b
cmp ax, 0xd
jge 0x511f46
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x2e
jmp 0x511f6b
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x2f
push 0xb2
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xeaac28]
mov ecx, dword [0xe20774]
imul eax, eax, 0x49d8
lea ebp, [edi + ecx + 0x18]
cmp word [eax + 0xea5baa], 0x10
jge 0x512103
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [0xe20774], ebx
call fcn.00420600
mov eax, dword [0xeadd8c]
mov edx, dword [0xe20774]
mov ecx, dword [0xeadd90]
push eax
mov eax, dword [0xeadd88]
lea edi, [edx + ebp]
mov edx, dword [0xf56f8c]
push ecx
lea eax, [eax + eax*2]
push ebx
push edx
mov dword [0xe20778], ebx
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x31
push 0xb2
call fcn.004d6160
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
mov ecx, dword [0xe20778]
push edx
mov edx, dword [esp + 0x58]
push ebx
push eax
add ecx, esi
push edi
push ecx
push 0x5e03fc
push 0x40
push edx
call fcn.004d6860
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x60
push eax
mov eax, dword [0xe20778]
push ecx
push ebx
push edx
add eax, esi
push edi
push eax
push ebx
push 0xb2
call fcn.004d62f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xe20774]
push edx
push eax
mov eax, dword [0xeadd88]
lea edi, [ecx + ebp]
mov ecx, dword [0xf56f8c]
lea eax, [eax + eax*2]
push ebx
push ecx
mov dword [0xe20778], ebx
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x32
push 0xb2
call fcn.004d6160
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
add esp, 0x44
push eax
mov eax, dword [0xe20778]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push edx
add eax, esi
push edi
push eax
push 0x5e03fc
push 0x40
push ecx
call fcn.004d6860
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
mov edx, dword [0xe20778]
push eax
push ebx
push ecx
add edx, esi
push edi
push edx
push ebx
push 0xb2
call fcn.004d62f0
add esp, 0x44
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
push ecx
push ebx
push edx
push ebp
push esi
push 0x30
push 0xb2
call fcn.004d62f0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
sub esp, 0x200
mov dword [0xeadd54], 0x174
push ebx
push ebp
lea ebp, [eax + 0x20]
mov eax, dword [0xeadd94]
push esi
push edi
test eax, eax
lea esi, [ecx + 0x38]
je 0x512189
push 0
push 1
push str.wavs_sphinx.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov edx, dword [0xeadd84]
mov eax, dword [0xeadd88]
mov ecx, dword [0xeadd8c]
push edx
mov edx, dword [0xeadd90]
push eax
push ecx
push edx
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd6c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push 0x4f
call fcn.004e6070
mov edx, dword [0xeadd6c]
add esp, 0x40
lea eax, [esp + 0x14]
push edx
push eax
push 0x51
call fcn.004e6070
mov ecx, dword [0xeadd6c]
push ecx
push 0x4f
call fcn.004e60f0
mov edx, dword [0xeadd6c]
mov byte [esp + 0x27], al
push edx
push 0x51
call fcn.004e60f0
mov byte [esp + 0x2e], al
mov eax, dword [0xeadd6c]
push eax
push 0x51
call fcn.004e6150
mov ecx, dword [0xeadd6c]
mov bl, al
push ecx
push 0x4f
call fcn.004e6150
mov ecx, dword [0x705dbc]
add esp, 0x2c
test ecx, ecx
jne 0x51228e
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push ebp
push 0xe
push 0xb2
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov ecx, dword [0x705db4]
test ecx, ecx
jne 0x5122d6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push ebp
push 0x10
push 0xb2
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x512327
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x512327
test bl, bl
je 0x512327
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push edi
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push ebp
push 0x12
push 0xb2
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x512378
mov dl, byte [esp + 0x13]
test dl, dl
jne 0x512378
test al, al
je 0x512378
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xf56f8c]
lea eax, [eax + eax*2]
push ecx
lea edx, [eax + eax*4]
push edx
push esi
push ebp
push 0x14
push 0xb2
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov eax, dword [0xeadd6c]
mov edx, eax
shl edx, 5
add edx, eax
cmp byte [edx*8 + 0x799a2d], 0x64
jae 0x512462
test edi, edi
jne 0x5123b5
mov al, byte [esp + 0x12]
test al, al
jne 0x5123b5
test ecx, ecx
jne 0x5123ae
mov al, byte [esp + 0x13]
test al, al
jne 0x5123ae
xor eax, eax
jmp 0x5123ba
mov eax, 1
jmp 0x5123ba
mov eax, 2
dec eax
mov ecx, 0x2b
jne 0x5123c7
mov ecx, 0x2a
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push eax
mov eax, dword [0xf56f8c]
push edx
push 0
push eax
mov eax, dword [0xeadd88]
mov dword [0xe20774], 0
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push ebp
push ecx
push 0xb2
call fcn.004d6160
mov edi, dword [0xeadd88]
mov eax, dword [0xe20774]
shl edi, 4
push 0x3d
push 0xb2
add esi, eax
sub edi, 0x10
mov dword [0xe20774], 0
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x48]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push 0
push edx
push edi
push esi
lea eax, [esp + 0x64]
push ebp
push eax
call fcn.004cd010
add esp, 0x50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
push esi
push ebp
push 0x2c
push 0xb2
call fcn.004d62f0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200
ret
mov eax, dword [0xeadd94]
sub esp, 0x1fc
mov dword [0xeadd54], 0x45
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x5124d5
push ebp
push 1
push str.wavs_suntemple.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebp
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
lea edi, [eax + 0x20]
mov eax, dword [0xeadd6c]
mov edx, eax
lea esi, [ecx + 0x38]
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a30]
push eax
push 0x4f
call fcn.004205b0
mov byte [esp + 0x50], al
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov edx, dword [ecx*8 + 0x799a30]
push edx
push 0x51
call fcn.004205b0
add esp, 0x44
mov byte [esp + 0x17], al
xor ebx, ebx
mov eax, dword [0xeadd6c]
push eax
call fcn.00475b50
mov ecx, dword [0xeaac28]
add esp, 4
imul ecx, ecx, 0x1276
add ecx, ebx
cmp dword [ecx*4 + 0xea5fac], eax
je 0x5125a3
inc ebx
cmp ebx, 3
jl 0x512578
mov eax, dword [0xeadd6c]
mov edx, eax
shl edx, 5
add edx, eax
mov eax, dword [edx*8 + 0x799a3c]
mov ecx, eax
mov ebx, eax
shr ecx, 2
and cl, 1
mov byte [esp + 0x15], cl
mov ecx, eax
mov eax, dword [0xeadc30]
shr ecx, 3
lea eax, [eax + eax*4 + 5]
and cl, 1
shr ebx, 4
lea eax, [eax + eax*4]
mov byte [esp + 0x16], cl
shl eax, 4
push eax
push 0x1e
and bl, 1
call fcn.004f5770
mov ecx, dword [0xeadc10]
mov byte [esp + 0x1b], al
add esp, 8
mov dword [0xe20774], ebp
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x51260c
jmp dword [eax*4 + 0x512bcc]
cmp dword [0x705e0c], ebp
jne 0x512645
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0xd
jmp 0x512ab0
cmp dword [0x705a58], ebp
jne 0x512697
cmp dword [0xeadc34], ebp
jne 0x512697
mov eax, dword [0xd386d4]
cmp eax, 1
je 0x51266d
cmp eax, 2
je 0x51266d
cmp eax, 3
jne 0x512930
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x33
jmp 0x512ab0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x35
jmp 0x512ab0
cmp dword [0x705db4], ebp
jne 0x5126f3
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x10
jmp 0x512ab0
cmp dword [0x705a00], ebp
jne 0x51272d
cmp dword [0xeadc38], ebp
jne 0x51272d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x14
jmp 0x512ab0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x36
jmp 0x512ab0
mov al, byte [esp + 0x17]
test al, al
je 0x5127d3
cmp dword [0x705dbc], ebp
jne 0x512791
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0xe
jmp 0x512ab0
pop ds
add eax, dword [eax]
invalid
pop ds
add eax, dword [eax]
add byte [ecx], bh
sub eax, 0x705a08
cmp dword [0x705a08], ebp
jne 0x51284b
cmp dword [0xeadc2c], ebp
jne 0x51284b
ljmp 0:0xa2850f00
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x12
jmp 0x512ab0
mov al, byte [esp + 0x14]
test al, al
je 0x512875
cmp dword [0x705db4], ebp
jne 0x512811
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x10
jmp 0x512ab0
cmp dword [0x705a00], ebp
jne 0x51284b
cmp dword [0xeadc38], ebp
jne 0x51284b
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x14
jmp 0x512ab0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x37
jmp 0x512ab0
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x37
jmp 0x512ab0
mov ecx, dword [0xeadd6c]
push ebp
push ecx
call fcn.00542ad0
add esp, 8
cmp eax, 0x64
jge 0x512a8b
cmp dword [0x705e0c], ebp
jne 0x5128ea
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0xd
jmp 0x512ab0
cmp dword [0x705dbc], ebp
jne 0x51291c
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0xe
jmp 0x512ab0
cmp dword [0x705a58], ebp
jne 0x51295a
cmp dword [0xeadc34], ebp
jne 0x51295a
test bl, bl
jne 0x51295a
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x11
jmp 0x512ab0
mov eax, dword [0xeadc2c]
mov ecx, dword [0xeadc30]
mov edx, eax
sub edx, ecx
jne 0x51299d
mov dl, byte [esp + 0x13]
test dl, dl
jne 0x51299d
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x18
jmp 0x512ab0
cmp eax, ebp
jne 0x5129db
mov al, byte [esp + 0x15]
test al, al
je 0x5129b1
mov al, byte [esp + 0x16]
test al, al
jne 0x5129db
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x12
jmp 0x512ab0
cmp ecx, ebp
je 0x512a64
mov al, byte [esp + 0x13]
test al, al
je 0x512a64
cmp dword [0xeadc3c], ebp
je 0x512a64
mov edx, dword [0xeaac28]
imul edx, edx, 0x49d8
cmp dword [edx + 0xea4370], ebp
je 0x512a36
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push ebp
lea eax, [eax + eax*2]
push edx
add ecx, esi
lea eax, [eax + eax*4]
push eax
push ecx
push edi
push 0x64
jmp 0x512ab0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, esi
push edx
push eax
push edi
push 0x18
jmp 0x512ab0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x38
jmp 0x512ab0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x39
push 0xb2
call fcn.004d6160
mov ebx, dword [0xe20774]
mov eax, dword [0xeadc40]
add esi, ebx
mov ebx, dword [0xeadd88]
shl ebx, 4
add esp, 0x24
sub ebx, 0x10
cmp eax, 0x64
mov dword [0xeadb34], 0x1e
mov dword [0xe20774], ebp
jge 0x512b88
push 0x3d
push 0xb2
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x20]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push ebp
push edx
push ebx
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.004cd010
mov ecx, dword [0xe20774]
mov eax, dword [0xeadc3c]
add esp, 0x2c
add esi, ecx
cmp eax, ebp
je case.default.0x51260c
push 0x44
push 0xb2
mov dword [0xe20774], ebp
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x20]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push ebp
push eax
push ebx
push esi
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
push 0x47
push 0xb2
call fcn.004cc110
mov eax, dword [0xe20768]
lea edx, [esp + 0x20]
push 0x1f4
push edx
push eax
call fcn.00448370
mov ecx, dword [0xf56f8c]
push ebp
push ecx
push ebx
push esi
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
mov eax, dword [0xeadd94]
sub esp, 0x1f8
mov dword [0xeadd54], 0x1e1
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x512c05
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
lea esi, [eax + 0x20]
mov eax, dword [0xeadd6c]
mov edx, eax
lea edi, [ecx + 0x38]
shl edx, 5
add edx, eax
movsx ecx, word [edx*8 + 0x7999ea]
sub eax, ecx
mov edx, eax
shl edx, 5
add edx, eax
mov ebp, dword [edx*8 + 0x799a30]
push ebp
push 0x4f
call fcn.00420990
push ebp
push 0x51
mov byte [esp + 0x57], al
call fcn.00420990
add esp, 0x44
mov byte [esp + 0x12], al
mov eax, dword [0xeadd6c]
mov ecx, 0x6fd5d8
push ebx
push eax
call fcn.0040d940
cmp ebp, 0x15
mov byte [esp + 0x11], bl
jge 0x512cd1
mov eax, dword [0xeadbf8]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 4
push ecx
push 0x23
jmp 0x512ce7
cmp ebp, 0x13
jg 0x512cf3
mov eax, dword [0xeadbf8]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
push 0x1d
call fcn.004f5770
add esp, 8
mov byte [esp + 0x11], al
mov ecx, dword [0xeadd6c]
mov dword [0xe20774], ebx
mov eax, ecx
shl eax, 5
add eax, ecx
shl eax, 3
movsx ecx, word [eax + 0x799a00]
movsx ebx, word [eax + 0x7999fe]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
mov edx, dword [0xbca2d8]
add edx, ebx
xor ebx, ebx
lea ecx, [ecx + ecx*2]
cmp byte [edx + ecx*4 + 0xee0c50], bl
jl 0x512d57
cmp word [eax + 0x7999f8], bx
jne 0x512d84
call fcn.00457af0
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999f8], bx
jne 0x512d84
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x95
jmp 0x513162
cmp dword [0xeadbf8], ebx
je 0x512ea2
cmp byte [esp + 0x11], bl
je 0x512ea2
cmp dword [0xeadc04], ebx
je 0x512ea2
cmp ebp, 0x15
jge 0x512e22
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
cmp dword [eax + 0xea4384], ebx
je 0x512df0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
mov edx, dword [0xe20774]
push ebx
push eax
mov eax, dword [0xeadd88]
add edx, edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edx
push esi
push 0x65
jmp 0x513162
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push ebx
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x1a
jmp 0x513162
cmp ebp, 0x13
jge 0x51316f
mov edx, dword [0xeaac28]
imul edx, edx, 0x49d8
cmp dword [edx + 0xea436c], ebx
je 0x512e71
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push ebx
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x68
jmp 0x513162
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, edi
push edx
push eax
push esi
push 0x1d
jmp 0x513162
cmp byte [esp + 0x12], bl
je 0x512f84
cmp dword [0x705e0c], ebx
jne 0x512ede
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0xd
jmp 0x513162
cmp dword [0x705a58], ebx
jne 0x512f18
cmp dword [0xeadbfc], ebx
jne 0x512f18
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x11
jmp 0x513162
cmp dword [0x705dbc], ebx
jne 0x512f4a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0xe
jmp 0x513162
cmp dword [0x705a08], ebx
jne 0x512f84
cmp dword [0xeadbac], ebx
jne 0x512f84
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x12
jmp 0x513162
cmp byte [esp + 0x13], bl
je 0x512ff6
cmp dword [0x705db4], ebx
jne 0x512fbc
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x10
jmp 0x513162
cmp dword [0x705a00], ebx
jne 0x512ff6
cmp dword [0xeadbb8], ebx
jne 0x512ff6
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x14
jmp 0x513162
mov eax, dword [0xeadbd8]
cmp eax, 3
jge 0x51302a
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x72
jmp 0x513162
cmp eax, 6
jge 0x513059
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x73
jmp 0x513162
cmp eax, 9
jge 0x513088
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x74
jmp 0x513162
cmp eax, 0xc
jge 0x5130b7
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x75
jmp 0x513162
cmp eax, 0x10
jge 0x5130e3
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x76
jmp 0x513162
cmp eax, 0x14
jge 0x51310f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebx
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x77
jmp 0x513162
jne 0x513138
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebx
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x78
jmp 0x513162
cmp eax, 0x15
jl 0x51316f
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebx
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x79
push 0xb2
call fcn.004d6160
add esp, 0x24
mov eax, dword [0xe20774]
mov ebp, dword [0xeadd88]
shl ebp, 4
lea edi, [edi + eax + 0x18]
mov eax, dword [0xeadc08]
sub ebp, 0x10
cmp eax, 0x64
mov dword [0xeadb34], 0x23
jge 0x513288
push 0x3d
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x1c]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push ebx
push eax
push ebp
push edi
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.004cd010
mov ecx, dword [0xe20774]
mov eax, dword [0xeadc04]
add esp, 0x2c
add edi, ecx
cmp eax, ebx
je 0x513232
push 0x44
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov eax, dword [0xe20768]
lea edx, [esp + 0x1c]
push 0x1f4
push edx
push eax
call fcn.00448370
mov ecx, dword [0xf56f8c]
push ebx
push ecx
push ebp
push edi
lea edx, [esp + 0x38]
push esi
push edx
call fcn.004cd010
mov eax, dword [0xe20774]
add esp, 0x2c
add edi, eax
cmp dword [0xeadc04], 0x320
jle 0x513288
push 0x44
push 0xb2
mov dword [0xeadb34], 0x1d
mov dword [0xe20774], ebx
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x1c]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push ebx
push edx
push ebp
push edi
lea eax, [esp + 0x38]
push esi
push eax
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
mov eax, dword [0xeadd94]
sub esp, 0x1f8
test eax, eax
mov dword [0xeadd54], 0x1ec
je 0x5132c3
mov dword [0xeadd94], 0
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
lea edi, [eax + 0x20]
mov eax, dword [0xeadd6c]
mov edx, eax
lea esi, [ecx + 0x38]
shl edx, 5
add edx, eax
movsx ecx, word [edx*8 + 0x7999ea]
sub eax, ecx
mov edx, eax
shl edx, 5
add edx, eax
mov ebp, dword [edx*8 + 0x799a2c]
push ebp
push 0x4f
call fcn.00420cc0
push ebp
push 0x51
mov byte [esp + 0x57], al
call fcn.00420cc0
add esp, 0x44
mov bl, al
mov eax, dword [0xeadd6c]
mov ecx, 0x6de650
push 0
push eax
call fcn.00401540
mov ecx, dword [0xeadd6c]
mov ebp, dword [0xbca2d8]
mov eax, ecx
mov dword [0xe20774], 0
shl eax, 5
add eax, ecx
shl eax, 3
movsx ecx, word [eax + 0x799a00]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
movsx edx, word [eax + 0x7999fe]
lea ecx, [ecx + ecx*2]
add ebp, edx
mov dl, byte [ebp + ecx*4 + 0xee0c50]
test dl, dl
jl 0x5133e1
cmp word [eax + 0x7999f8], 0
jne 0x51340f
call fcn.00457af0
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999f8], 0
jne 0x51340f
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x95
jmp 0x513557
test bl, bl
je 0x513484
mov eax, dword [0x705dbc]
test eax, eax
jne 0x513447
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0xe
jmp 0x513557
mov eax, dword [0x705a08]
test eax, eax
jne 0x513484
mov eax, dword [0xeadbac]
test eax, eax
jne 0x513484
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x12
jmp 0x513557
mov al, byte [esp + 0x13]
test al, al
je 0x5134fa
mov eax, dword [0x705db4]
test eax, eax
jne 0x5134c0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x10
jmp 0x513557
mov eax, dword [0x705a00]
test eax, eax
jne 0x5134fa
mov eax, dword [0xeadbb8]
test eax, eax
jne 0x5134fa
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x14
jmp 0x513557
cmp dword [0xeadbc8], 0x38
jge 0x51352e
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x8d
jmp 0x513557
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x8e
push 0xb2
call fcn.004d6160
mov eax, dword [0xe20774]
add esp, 0x24
lea ebx, [esi + eax + 0x18]
mov esi, dword [0xeadd88]
mov eax, dword [0xeadbd4]
shl esi, 4
sub esi, 0x10
cmp eax, 0x64
jge 0x5135c7
push 0x3d
push 0xb2
mov dword [0xe20774], 0
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x1c]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push 0
push eax
push esi
push ebx
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
mov eax, dword [0xeadd6c]
sub esp, 0x1f8
mov ecx, eax
mov dword [0xeadd54], 0x1e2
shl ecx, 5
add ecx, eax
push ebx
push ebp
push esi
movsx edx, word [ecx*8 + 0x7999ea]
sub eax, edx
push edi
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd94]
test eax, eax
mov ebx, dword [ecx*8 + 0x799a30]
lea ebp, [ecx*8 + 0x799a30]
je 0x513643
push 0
push 1
push str.wavs_suntemple.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], 0
mov edx, dword [0xeadd84]
mov eax, dword [0xeadd88]
mov ecx, dword [0xeadd8c]
push edx
mov edx, dword [0xeadd90]
push eax
push ecx
push edx
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov edx, dword [ebp]
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
push edx
push 0x4f
lea esi, [eax + 0x20]
lea edi, [ecx + 0x38]
call fcn.00420fc0
mov byte [esp + 0x4f], al
mov eax, dword [ebp]
push eax
push 0x51
call fcn.00420fc0
add esp, 0x44
xor ebp, ebp
cmp ebx, 0x12
mov byte [esp + 0x12], al
mov dword [0xe20774], ebp
mov byte [esp + 0x11], 0
jge 0x5136eb
mov eax, dword [0xeadbb0]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 4
push ecx
push 0x23
jmp 0x513701
cmp ebx, 0x13
jge 0x51370d
mov eax, dword [0xeadbb0]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 4
push edx
push 0x1a
call fcn.004f5770
add esp, 8
mov byte [esp + 0x11], al
mov ecx, dword [0xeadd6c]
mov dword [0xe20774], ebp
mov eax, ecx
mov ebp, dword [0xbca2d8]
shl eax, 5
add eax, ecx
shl eax, 3
movsx ecx, word [eax + 0x799a00]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
movsx edx, word [eax + 0x7999fe]
lea ecx, [ecx + ecx*2]
add ebp, edx
mov dl, byte [ebp + ecx*4 + 0xee0c50]
test dl, dl
jl 0x513773
cmp word [eax + 0x7999f8], 0
jne 0x5137a1
call fcn.00457af0
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999f8], 0
jne 0x5137a1
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x95
jmp 0x513c08
mov eax, dword [0xeadbb0]
test eax, eax
je 0x5138cb
mov al, byte [esp + 0x11]
test al, al
je 0x5138cb
mov eax, dword [0xeadbbc]
test eax, eax
je 0x5138cb
cmp ebx, 0x12
jge 0x513847
mov eax, dword [0xeaac28]
imul eax, eax, 0x49d8
mov ecx, dword [eax + 0xea4384]
test ecx, ecx
je 0x513814
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
mov edx, dword [0xe20774]
push 0
push eax
mov eax, dword [0xeadd88]
add edx, edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edx
push esi
push 0x65
jmp 0x513c08
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push 0
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x1a
jmp 0x513c08
cmp ebx, 0x13
jge 0x513c15
mov edx, dword [0xeaac28]
imul edx, edx, 0x49d8
mov eax, dword [edx + 0xea4360]
test eax, eax
je 0x513899
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push 0
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x66
jmp 0x513c08
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, edi
push edx
push eax
push esi
push 0x19
jmp 0x513c08
mov eax, dword [0x705e0c]
test eax, eax
jne 0x5138ff
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0xd
jmp 0x513c08
mov eax, dword [0x705a58]
test eax, eax
jne 0x51393c
mov eax, dword [0xeadbb4]
test eax, eax
jne 0x51393c
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x11
jmp 0x513c08
mov al, byte [esp + 0x12]
test al, al
je 0x5139b5
mov eax, dword [0x705dbc]
test eax, eax
jne 0x513978
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0xe
jmp 0x513c08
mov eax, dword [0x705a08]
test eax, eax
jne 0x5139b5
mov eax, dword [0xeadbac]
test eax, eax
jne 0x5139b5
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x12
jmp 0x513c08
mov al, byte [esp + 0x13]
test al, al
je 0x513a2e
mov eax, dword [0x705db4]
test eax, eax
jne 0x5139f1
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x10
jmp 0x513c08
mov eax, dword [0x705a00]
test eax, eax
jne 0x513a2e
mov eax, dword [0xeadbb8]
test eax, eax
jne 0x513a2e
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x14
jmp 0x513c08
test ebx, ebx
jge 0x513a5d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x7a
jmp 0x513c08
jne 0x513a8a
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x7b
jmp 0x513c08
cmp ebx, 6
jge 0x513aba
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x7c
jmp 0x513c08
cmp ebx, 9
jge 0x513aea
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x7d
jmp 0x513c08
cmp ebx, 0xc
jge 0x513b1a
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x7e
jmp 0x513c08
cmp ebx, 0xe
jge 0x513b4a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x7f
jmp 0x513c08
cmp ebx, 0x11
jge 0x513b7d
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x80
jmp 0x513c08
jne 0x513baa
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x81
jmp 0x513c08
cmp ebx, 0x12
jne 0x513bda
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x82
jmp 0x513c08
cmp ebx, 0x13
jl 0x513c15
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x83
push 0xb2
call fcn.004d6160
add esp, 0x24
mov ebp, dword [0xeadd88]
mov edx, dword [0xe20774]
mov eax, dword [0xeadbc0]
mov dword [0xeadb34], 0x23
shl ebp, 4
sub ebp, 0x10
cmp eax, 0x64
lea edi, [edi + edx + 0x18]
jge 0x513d30
xor ebx, ebx
push 0x3d
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x1c]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push ebx
push edx
push ebp
push edi
lea eax, [esp + 0x38]
push esi
push eax
call fcn.004cd010
mov ecx, dword [0xe20774]
mov eax, dword [0xeadbbc]
add esp, 0x2c
add edi, ecx
cmp eax, 0x320
jle 0x513cdf
push 0x44
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x1c]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push ebx
push eax
push ebp
push edi
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.004cd010
mov eax, dword [0xe20774]
add esp, 0x2c
add edi, eax
cmp dword [0xeadbbc], ebx
je 0x513d30
push 0x44
push 0xb2
mov dword [0xeadb34], 0x1a
mov dword [0xe20774], ebx
call fcn.004cc110
mov eax, dword [0xe20768]
lea edx, [esp + 0x1c]
push 0x1f4
push edx
push eax
call fcn.00448370
mov ecx, dword [0xf56f8c]
push ebx
push ecx
push ebp
push edi
lea edx, [esp + 0x38]
push esi
push edx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
mov ecx, dword [0xeadd6c]
sub esp, 0x1f8
mov edx, ecx
xor eax, eax
shl edx, 5
add edx, ecx
push ebx
push ebp
push esi
movsx edx, word [edx*8 + 0x7999ea]
sub ecx, edx
push edi
mov ebx, ecx
mov dword [0xeadd54], 0x1de
mov ebp, ebx
shl ebp, 5
add ebp, ebx
shl ebp, 3
movsx ecx, word [ebp + 0x7999e8]
add ecx, 0xffffff1b
cmp ecx, 7
ja case.0x513d8b.230
jmp dword [ecx*4 + 0x5143d4]
mov ecx, 0x6f9320
call fcn.00545f60
jmp case.0x513d8b.230
mov ecx, 0x6f5648
call fcn.00559460
jmp case.0x513d8b.230
mov ecx, 0x6de9e0
call fcn.005567b0
jmp case.0x513d8b.230
mov ecx, 0x6e9188
call fcn.0054fed0
xor ecx, ecx
mov byte [esp + 0x13], 0
test eax, eax
mov byte [esp + 0x12], 0
jle 0x513ded
lea edx, [ebp + 0x799a38]
cmp dword [edx], 1
je 0x513de8
inc ecx
add edx, 0x108
cmp ecx, eax
jl 0x513dd6
jmp 0x513ded
mov byte [esp + 0x13], 1
xor esi, esi
test eax, eax
jle 0x513e17
lea edx, [ebp + 0x799a38]
mov ecx, dword [edx]
cmp ecx, 2
je 0x513e12
cmp ecx, 3
je 0x513e12
inc esi
add edx, 0x108
cmp esi, eax
jl 0x513df9
jmp 0x513e17
mov byte [esp + 0x12], 1
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push 0
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov ecx, dword [0xeadd90]
mov eax, dword [0xeadd8c]
push eax
xor edx, edx
lea esi, [ecx + 0x20]
push ecx
mov ecx, dword [0xf56f8c]
push edx
push ecx
mov ecx, dword [0xeadd88]
mov dword [0xe20774], edx
mov dword [0xe20778], edx
lea edx, [ecx + ecx*2]
lea edi, [eax + 0x38]
shl edx, 1
add eax, 0x3c
push edx
push eax
push esi
push 0x93
push 0xb2
call fcn.004d6160
mov eax, dword [0xf56f8c]
mov ecx, dword [0xeadd8c]
mov edx, dword [0xe20778]
add esp, 0x58
add ecx, 0x3c
push 0
push eax
mov eax, dword [0xeadd90]
push ecx
lea ecx, [edx + eax + 0x3c]
mov edx, dword [0xeadb50]
push ecx
push edx
push 0xa
push 8
call fcn.004ccc30
mov ecx, dword [0xe20774]
add esp, 0x1c
cmp word [ebp + 0x7999ee], 0xffff
lea edi, [edi + ecx + 0x18]
jne 0x513f3e
mov eax, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push eax
mov eax, dword [0xf56f8c]
push edx
push 0
push eax
mov eax, dword [0xeadd88]
add ecx, edi
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push ecx
push esi
push 0x92
push 0xb2
call fcn.004d6160
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
cmp dword [0xeadb4c], 0x64
jl 0x51404e
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999e8], 0xe5
jne 0x513f76
mov ecx, 0x6f9320
call fcn.00545fb0
test al, al
jne 0x513fe3
mov eax, dword [0xeadd6c]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xea
jne 0x513f9c
mov ecx, 0x6f5648
call fcn.00545fb0
test al, al
jne 0x513fe3
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999e8], 0xec
jne 0x513fc2
mov ecx, 0x6e9188
call fcn.00545fb0
test al, al
jne 0x513fe3
mov eax, dword [0xeadd6c]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xeb
jne 0x514019
mov ecx, 0x6de9e0
call fcn.00545fb0
test al, al
je 0x514019
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push 0
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x92
jmp 0x514357
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, edi
push edx
push eax
push esi
push 0x91
jmp 0x514357
movsx eax, word [ebp + 0x799a00]
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
mov ecx, dword [0xbca2d8]
lea edx, [eax + eax*2]
movsx eax, word [ebp + 0x7999fe]
add ecx, eax
mov al, byte [ecx + edx*4 + 0xee0c50]
test al, al
jl 0x51409e
cmp word [ebp + 0x7999f8], 0
jne 0x5140cc
call fcn.00457af0
mov eax, dword [0xeadd6c]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999f8], 0
jne 0x5140d1
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x94
jmp 0x514357
mov eax, dword [0xeadd6c]
mov edx, dword [0x705e0c]
mov ecx, dword [0xe20774]
test edx, edx
jne 0x51410e
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0xd
jmp 0x514357
mov edx, dword [0x705a58]
test edx, edx
jne 0x51414f
mov edx, dword [0xeadb40]
test edx, edx
jne 0x51414f
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x11
jmp 0x514357
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xe5
jne 0x514180
push ebx
mov ecx, 0x6f9320
call fcn.00547ba0
test al, al
jne 0x5141fc
mov eax, dword [0xeadd6c]
mov ecx, dword [0xe20774]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xea
jne 0x5141ad
push ebx
mov ecx, 0x6f5648
call fcn.00547ba0
test al, al
jne 0x5141fc
mov eax, dword [0xeadd6c]
mov ecx, dword [0xe20774]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xec
jne 0x5141da
push ebx
mov ecx, 0x6e9188
call fcn.00547ba0
test al, al
jne 0x5141fc
mov eax, dword [0xeadd6c]
mov ecx, dword [0xe20774]
mov edx, eax
shl edx, 5
add edx, eax
cmp word [edx*8 + 0x7999e8], 0xeb
jne 0x514238
push ebx
mov ecx, 0x6de9e0
call fcn.00547ba0
test al, al
je 0x514232
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
mov ecx, dword [0xe20774]
push 0
lea eax, [eax + eax*2]
push edx
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x8f
jmp 0x514357
mov ecx, dword [0xe20774]
mov al, byte [esp + 0x13]
test al, al
je 0x5142b5
mov eax, dword [0x705dbc]
test eax, eax
jne 0x514276
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0xe
jmp 0x514357
mov eax, dword [0x705a08]
test eax, eax
jne 0x5142b5
mov eax, dword [0xeadb3c]
test eax, eax
jne 0x5142b5
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x12
jmp 0x514357
mov al, byte [esp + 0x12]
test al, al
je 0x51432c
mov eax, dword [0x705e8c]
test eax, eax
jne 0x5142f0
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x69
jmp 0x514357
mov eax, dword [0x705ad8]
test eax, eax
jne 0x51432c
mov eax, dword [0xeadb48]
test eax, eax
jne 0x51432c
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x6a
jmp 0x514357
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push 0
push edx
lea eax, [eax + eax*2]
add ecx, edi
lea eax, [eax + eax*4]
push eax
push ecx
push esi
push 0x90
push 0xb2
call fcn.004d6160
mov ecx, dword [0xe20774]
mov eax, dword [0xeadb4c]
add esp, 0x24
lea ebp, [edi + ecx + 0x18]
mov edi, dword [0xeadd88]
shl edi, 4
sub edi, 0x10
cmp eax, 0x64
jge 0x5143c8
push 0x3d
push 0xb2
mov dword [0xe20774], 0
call fcn.004cc110
mov eax, dword [0xe20768]
lea edx, [esp + 0x1c]
push 0x1f4
push edx
push eax
call fcn.00448370
mov ecx, dword [0xf56f8c]
push 0
push ecx
push edi
push ebp
lea edx, [esp + 0x38]
push esi
push edx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret
sub esp, 0x1fc
mov eax, dword [0xeadd6c]
push ebx
mov ecx, eax
push ebp
shl ecx, 5
add ecx, eax
xor ebx, ebx
push esi
push edi
movsx edx, word [ecx*8 + 0x7999ea]
sub eax, edx
mov dword [0xeadd54], 0x1e7
mov ecx, eax
shl ecx, 5
add ecx, eax
mov eax, dword [0xeadd94]
cmp eax, ebx
mov edx, dword [ecx*8 + 0x799a30]
lea ebp, [ecx*8 + 0x799a30]
mov dword [esp + 0x14], edx
je 0x514464
push ebx
push 1
push str.wavs_suntemple.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebx
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebx
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov edx, dword [ebp]
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
push edx
push 0x4f
lea esi, [eax + 0x20]
lea edi, [ecx + 0x38]
call fcn.004212a0
mov byte [esp + 0x4d], al
mov eax, dword [ebp]
push eax
push 0x51
call fcn.004212a0
mov byte [esp + 0x57], al
mov eax, dword [0xeadb90]
add esp, 0x44
mov dword [0xe20774], ebx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 4
push ecx
push 0x23
call fcn.004f5770
mov ecx, dword [0xeadd6c]
mov byte [esp + 0x1a], al
mov eax, ecx
mov ebp, dword [0xbca2d8]
shl eax, 5
add eax, ecx
add esp, 8
shl eax, 3
xor bl, bl
movsx ecx, word [eax + 0x799a00]
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
movsx edx, word [eax + 0x7999fe]
lea ecx, [ecx + ecx*2]
add ebp, edx
mov dl, byte [ebp + ecx*4 + 0xee0c50]
test dl, dl
jl 0x51456a
cmp word [eax + 0x7999f8], 0
jne 0x51456c
call fcn.00457af0
mov eax, dword [0xeadd6c]
mov ecx, eax
shl ecx, 5
add ecx, eax
cmp word [ecx*8 + 0x7999f8], 0
jne 0x51456c
mov bl, 1
mov eax, dword [esp + 0x14]
cmp eax, 9
jl 0x5145a3
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x8c
jmp 0x514967
test bl, bl
je 0x5145d5
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x95
jmp 0x514967
mov ecx, dword [0xeadb90]
test ecx, ecx
je 0x514674
mov cl, byte [esp + 0x12]
test cl, cl
je 0x514674
mov ecx, dword [0xeadb9c]
test ecx, ecx
je 0x514674
mov ecx, dword [0xeaac28]
imul ecx, ecx, 0x49d8
mov eax, dword [ecx + 0xea4384]
test eax, eax
je 0x514641
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
push edx
push eax
mov eax, dword [0xeadd88]
mov ecx, dword [0xf56f8c]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [0xe20774]
add eax, edi
push edx
push eax
push esi
push 0x65
jmp 0x514967
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
mov edx, dword [0xe20774]
push 0
push eax
mov eax, dword [0xeadd88]
add edx, edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edx
push esi
push 0x1a
jmp 0x514967
mov cl, byte [esp + 0x13]
test cl, cl
je 0x514768
mov ecx, dword [0x705e0c]
test ecx, ecx
jne 0x5146b5
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0xd
jmp 0x514967
mov ecx, dword [0x705a58]
test ecx, ecx
jne 0x5146f4
mov ecx, dword [0xeadb94]
test ecx, ecx
jne 0x5146f4
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x11
jmp 0x514967
mov ecx, dword [0x705dbc]
test ecx, ecx
jne 0x514729
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0xe
jmp 0x514967
mov ecx, dword [0x705a08]
test ecx, ecx
jne 0x514768
mov ecx, dword [0xeadb8c]
test ecx, ecx
jne 0x514768
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x12
jmp 0x514967
mov cl, byte [esp + 0x11]
test cl, cl
je 0x5147e4
mov ecx, dword [0x705db4]
test ecx, ecx
jne 0x5147a5
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x10
jmp 0x514967
mov ecx, dword [0x705a00]
test ecx, ecx
jne 0x5147e4
mov ecx, dword [0xeadb98]
test ecx, ecx
jne 0x5147e4
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x14
jmp 0x514967
test eax, eax
jge 0x514816
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x84
jmp 0x514967
jne 0x514846
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x85
jmp 0x514967
cmp eax, 1
jne 0x514879
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x86
jmp 0x514967
cmp eax, 4
jge 0x5148ac
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x87
jmp 0x514967
jne 0x5148dc
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x88
jmp 0x514967
cmp eax, 7
jge 0x51490c
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push 0
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push edi
push esi
push 0x89
jmp 0x514967
jne 0x514939
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push 0
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push edi
push esi
push 0x8a
jmp 0x514967
cmp eax, 8
jne 0x514974
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push 0
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push edi
push esi
push 0x8b
push 0xb2
call fcn.004d6160
add esp, 0x24
mov edx, dword [0xe20774]
mov eax, dword [0xeadba0]
mov dword [0xeadb34], 0x23
lea ebp, [edi + edx + 0x18]
mov edi, dword [0xeadd88]
shl edi, 4
sub edi, 0x10
cmp eax, 0x64
jge 0x514a34
xor ebx, ebx
push 0x3d
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x20]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push ebx
push edx
push edi
push ebp
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.004cd010
mov ecx, dword [0xe20774]
mov eax, dword [0xeadb9c]
add esp, 0x2c
add ebp, ecx
cmp eax, ebx
je 0x514a34
push 0x44
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x20]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push ebx
push eax
push edi
push ebp
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
mov eax, dword [0xeadd94]
sub esp, 0x1f4
mov dword [0xeadd54], 0x170
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x514a75
push ebp
push 1
push str.wavsmausoleum.wav
call fcn.0047d350
add esp, 0xc
mov dword [0xeadd94], ebp
mov eax, dword [0xeadd84]
mov ecx, dword [0xeadd88]
mov edx, dword [0xeadd8c]
push eax
mov eax, dword [0xeadd90]
push ecx
push edx
push eax
call fcn.00536820
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56fb4]
push eax
push ecx
push ebp
push edx
mov edx, dword [0xeadd88]
shl edx, 4
add eax, 0xa
push edx
push eax
push ecx
push 0xc
push 0xb2
call fcn.004d6250
mov eax, dword [0xeadd90]
mov ecx, dword [0xeadd8c]
lea edi, [eax + 0x20]
mov eax, dword [0xeadb6c]
lea esi, [ecx + 0x38]
lea eax, [eax + eax*4 + 5]
lea edx, [eax + eax*4]
shl edx, 4
push edx
push 0x1e
call fcn.004f5770
mov bl, al
mov eax, dword [0xeadb58]
add esp, 0x3c
dec eax
mov dword [0xe20774], ebp
je 0x514ed3
dec eax
je 0x514d60
dec eax
jne 0x515094
mov eax, dword [0xeadd6c]
push ebp
push eax
call fcn.004df040
add esp, 8
cmp eax, 0x64
jge 0x514d36
cmp dword [0xeadb74], ebp
je 0x514c72
cmp dword [0x705e0c], ebp
jne 0x514b67
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0xd
jmp 0x514f76
cmp dword [0x705dbc], ebp
jne 0x514b99
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0xe
jmp 0x514f76
cmp dword [0xeadb84], ebp
je 0x514bcb
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x61
jmp 0x514f76
mov eax, dword [0xeadb68]
mov ecx, dword [0xeadb6c]
mov edx, eax
sub edx, ecx
jne 0x514c0a
test bl, bl
jne 0x514c0a
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x18
jmp 0x514f76
cmp eax, ebp
jne 0x514c38
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x12
jmp 0x514f76
cmp ecx, ebp
je 0x514ce2
test bl, bl
je 0x514ce2
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x18
jmp 0x514f76
cmp dword [0xeadb64], ebp
je 0x514d0c
cmp dword [0x705e0c], ebp
jne 0x514cb0
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0xd
jmp 0x514f76
cmp dword [0xeadb70], ebp
jne 0x514ce2
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x11
jmp 0x514f76
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x3b
jmp 0x514f76
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x3b
jmp 0x514f76
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x3c
jmp 0x514f76
cmp dword [0x705e0c], ebp
jne 0x514d92
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0xd
jmp 0x514f76
cmp dword [0x705dbc], ebp
jne 0x514dc4
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0xe
jmp 0x514f76
mov eax, dword [0xeadb68]
mov ecx, dword [0xeadb6c]
mov edx, eax
sub edx, ecx
jne 0x514e03
test bl, bl
jne 0x514e03
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x18
jmp 0x514f76
cmp eax, ebp
jne 0x514e31
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x12
jmp 0x514f76
cmp ecx, ebp
je 0x514ea9
test bl, bl
je 0x514ea9
cmp dword [0xeadb74], ebp
je 0x514ea9
mov edx, dword [0xeaac28]
imul edx, edx, 0x49d8
cmp dword [edx + 0xea4370], ebp
je 0x514e7f
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x64
jmp 0x514f76
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x18
jmp 0x514f76
mov edx, dword [0xeadd8c]
mov eax, dword [0xeadd90]
mov ecx, dword [0xf56f8c]
push edx
push eax
mov eax, dword [0xeadd88]
push ebp
push ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
push edx
push esi
push edi
push 0x3b
jmp 0x514f76
cmp dword [0x705e0c], ebp
jne 0x514f02
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0xd
jmp 0x514f76
cmp dword [0x705a58], ebp
jne 0x514f51
cmp dword [0xeadb70], ebp
jne 0x514f51
mov eax, dword [0xd386d4]
cmp eax, 1
je 0x514f2a
cmp eax, 2
je 0x514f2a
cmp eax, 3
jne 0x514cb8
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
mov eax, dword [0xf56f8c]
push ecx
push edx
push ebp
push eax
mov eax, dword [0xeadd88]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
push ecx
push esi
push edi
push 0x33
jmp 0x514f76
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f8c]
push eax
mov eax, dword [0xeadd88]
push ecx
push ebp
push edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
push esi
push edi
push 0x3a
push 0xb2
call fcn.004d6160
mov ebp, dword [0xeadd88]
mov ebx, dword [0xe20774]
mov eax, dword [0xeadb78]
add esp, 0x24
shl ebp, 4
add esi, ebx
sub ebp, 0x10
cmp eax, 0x64
mov dword [0xeadb34], 0x1e
jge 0x51504f
xor ebx, ebx
push 0x3d
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov edx, dword [0xe20768]
lea ecx, [esp + 0x18]
push 0x1f4
push ecx
push edx
call fcn.00448370
mov eax, dword [0xf56f8c]
push ebx
push eax
push ebp
push esi
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.004cd010
mov ecx, dword [0xe20774]
mov eax, dword [0xeadb74]
add esp, 0x2c
add esi, ecx
cmp eax, ebx
je 0x515094
push 0x44
push 0xb2
mov dword [0xe20774], ebx
call fcn.004cc110
mov eax, dword [0xe20768]
lea edx, [esp + 0x18]
push 0x1f4
push edx
push eax
call fcn.00448370
mov ecx, dword [0xf56f8c]
push ebx
push ecx
push ebp
push esi
lea edx, [esp + 0x34]
push edi
push edx
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret
push 0x47
push 0xb2
mov dword [0xe20774], 0
call fcn.004cc110
mov ecx, dword [0xe20768]
lea eax, [esp + 0x18]
push 0x1f4
push eax
push ecx
call fcn.00448370
mov edx, dword [0xf56f8c]
push 0
push edx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004cd010
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f4
ret
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xeadd88]
push esi
push eax
push ecx
add edx, 0xfffffffb
push 6
add eax, 0x76
push edx
add ecx, 0x28
push eax
push ecx
call fcn.004d65b0
mov eax, dword [0xf56f9c]
push 0
push eax
mov eax, dword [0xeaac28]
mov ecx, dword [0xeadd8c]
imul eax, eax, 0x49d8
mov edx, dword [0xeadd90]
add ecx, 0x82
push ecx
mov ecx, dword [eax + 0xea5bfc]
add edx, 0x70
mov dword [0xe20778], 0
push edx
push ecx
push 4
push 8
call fcn.004ccc30
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
add eax, 0x82
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x70]
push ecx
push 0xf
push 0x3a
call fcn.004d62f0
mov eax, dword [0xeaac28]
add esp, 0x54
imul eax, eax, 0x49d8
mov ecx, dword [eax + 0xea5d68]
test ecx, ecx
je 0x515edf
cmp ecx, 1
jne 0x515dd7
mov ecx, 2
mov esi, 0xa
jmp 0x515df2
cmp ecx, 2
jne 0x515de8
mov ecx, 3
mov esi, 0x14
jmp 0x515df2
mov ecx, 4
mov esi, 0x1f
mov edx, dword [eax + 0xea5d6c]
mov eax, dword [0xeadd8c]
cmp edx, ecx
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
mov dword [0xe20778], 0
push edx
jle 0x515e2a
add eax, 0x9a
add ecx, 0x66
push eax
push ecx
push 0x35
jmp 0x515e36
add eax, 0x9a
add ecx, 0x66
push eax
push ecx
push 0x22
push 0x3a
call fcn.004d62f0
mov eax, dword [0xeaac28]
add esp, 0x20
imul eax, eax, 0x49d8
mov eax, dword [eax + 0xea5d6c]
cmp eax, 1
lea esi, [esi + eax - 1]
jne 0x515e91
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
add eax, 0x9a
push edx
push eax
mov eax, dword [0xe20778]
lea ecx, [eax + ecx + 0x66]
push ecx
push 0x36
push 0x3a
call fcn.004d62f0
add esp, 0x20
jmp 0x515fdc
mov ecx, dword [0xeadd8c]
mov edx, dword [0xeadd90]
push ebx
mov ebx, dword [0xf56f9c]
push ecx
push edx
push 0
add ecx, 0x9a
push ebx
push ecx
mov ecx, dword [0xe20778]
lea edx, [ecx + edx + 0x66]
mov ecx, dword [0x78d7c0]
add eax, ecx
push edx
cdq
mov ecx, 0xc
idiv ecx
push edx
push 0xa0
call fcn.004d62f0
add esp, 0x20
pop ebx
jmp 0x515fdc
mov ecx, dword [eax + 0xea5d98]
test ecx, ecx
je 0x515f54
mov ecx, dword [eax + 0xea5d9c]
test ecx, ecx
je 0x515f54
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
push edx
add eax, 0x9a
push 0x12c
add ecx, 0x52
push eax
push ecx
push 0x34
push 0x3a
call fcn.004d6250
mov eax, dword [0xeaac28]
add esp, 0x24
imul eax, eax, 0x49d8
mov eax, dword [eax + 0xea5bfc]
cmp eax, 1
jg 0x515f44
mov esi, 7
jmp 0x515fdc
xor ecx, ecx
cmp eax, 6
setg cl
add ecx, 8
jmp 0x515fda
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
push edx
add eax, 0x9a
push 0x12c
add ecx, 0x52
push eax
push ecx
push 0x10
push 0x3a
call fcn.004d6250
mov eax, dword [0xeaac28]
add esp, 0x24
imul eax, eax, 0x49d8
mov eax, dword [eax + 0xea5bfc]
cmp eax, 1
jg 0x515f9f
xor esi, esi
jmp 0x515fdc
cmp eax, 6
jg 0x515fab
mov esi, 1
jmp 0x515fdc
cmp eax, 0xc
jg 0x515fb7
mov esi, 2
jmp 0x515fdc
cmp eax, 0x12
jg 0x515fc3
mov esi, 3
jmp 0x515fdc
cmp eax, 0x18
jg 0x515fcf
mov esi, 4
jmp 0x515fdc
xor ecx, ecx
cmp eax, 0x1e
setg cl
add ecx, 5
mov esi, ecx
mov eax, dword [0xeadd8c]
mov ecx, dword [0xeadd90]
mov edx, dword [0xf56f9c]
push eax
push ecx
push 0
push edx
add eax, 0xaf
push 0x17c
add ecx, 0x38
push eax
push ecx
push esi
push 0x127
call fcn.004d6160
add esp, 0x24
pop esi
ret
or eax, 0xe38da8
inc esp
push ss
push esi