Function at 0x4d8360
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x638b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov eax, dword [0x6bd8a0]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x250], eax
mov dword [esp + 0xf4], ebp
mov dword [esp + 0x20], edi
cmp dword [esp + 0x27c], edi
mov esi, 1
mov dword [esp + 0x25c], esi
je 0x4d83d4
lea ecx, [ebp + 0xe8]
mov dword [ebp + 4], 0x65e618
mov dword [ebp + 0x1c], 0x65e610
call fcn.0040b080
mov byte [esp + 0x25c], 2
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x270]
push edi
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esi + 4]
lea edx, [esp + eax + 0x280]
mov dword [esp + 0x34], esp
push edx
call fcn.00420750
mov eax, dword [esp + 0x274]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x280]
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x27c], 3
call fcn.00420750
mov ecx, ebp
mov byte [esp + 0x278], 2
call fcn.004a3830
mov ecx, dword [ebp + 4]
mov dword [ebp], fcn.0049a860
mov edx, dword [ecx + 4]
mov dword [edx + ebp + 4], vtable.ExtendedWaterPlantControl.0
mov dword [ebp + 0xc4], edi
mov dword [ebp + 0xc8], edi
mov dword [esp + 0x25c], 4
mov dword [ebp + 0xcc], edi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x2b]
push eax
push str.placement_disallowed
mov byte [esp + 0x27c], 5
mov dword [ebp + 0xd0], edi
mov dword [ebp + 0xd4], edi
call fcn.00403db0
lea ecx, [ebp + 0xdc]
push ecx
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x270]
mov byte [esp + 0x25c], 6
call fcn.004304e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
push edi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x2f]
push eax
push str.canBeMirrored
call fcn.00403db0
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x28c]
mov byte [esp + 0x278], 6
call fcn.004304e0
mov ecx, eax
call fcn.0045c7e0
push edi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x2f]
push edx
push str.mirror
mov byte [ebp + 0xd9], al
call fcn.00403db0
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x28c]
mov byte [esp + 0x278], 6
call fcn.004304e0
mov ecx, eax
call fcn.0045c7e0
sub esp, 0x18
mov byte [ebp + 0xda], al
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x2b]
push eax
push str.layers
call fcn.00403db0
lea ecx, [esp + 0x1ac]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x28c]
mov byte [esp + 0x278], 6
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x28]
push edx
add ecx, eax
mov byte [esp + 0x260], 0xa
call fcn.004304e0
mov ecx, eax
call fcn.00428ab0
lea ecx, [esp + 0x194]
mov byte [esp + 0x25c], 0xc
call fcn.0042ce80
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x28]
cmp ecx, edi
lea eax, [esp + eax + 0x28]
je 0x4d9885
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
lea eax, [esp + 0x138]
lea ecx, [esp + 0x148]
mov dword [esp + 0x128], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], ecx
mov byte [esp + 0x138], 0
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], edi
mov dword [esp + 0x160], 0x6580c8
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], edi
mov eax, dword [ebp + 0xc8]
mov ecx, dword [ebp + 0xcc]
cmp eax, ecx
lea esi, [ebp + 0xc4]
mov byte [esp + 0x25c], 0x12
je 0x4d8695
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x25c], 0x13
je 0x4d868f
lea edx, [esp + 0x110]
push edx
mov ecx, eax
call fcn.004babb0
add dword [esi + 4], 0x5c
jmp 0x4d86ae
push 1
push 1
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x11c]
push edx
push eax
mov ecx, esi
call fcn.004d6950
lea ecx, [esp + 0x110]
mov byte [esp + 0x25c], 0xc
call fcn.004b36e0
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x65bd95
push str.textureId
mov byte [esp + 0x27c], 0x14
call fcn.00403b50
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + ecx + 0x44]
mov byte [esp + 0x278], 0xc
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
mov ecx, dword [ebp + 0xc8]
add ecx, 0xffffffcc
cmp eax, ecx
mov byte [esp + 0x25c], 0x16
je 0x4d8740
mov ebx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
lea edx, [eax + 0x10]
cmp ebx, edx
je 0x4d8739
mov eax, dword [eax]
push esi
push eax
call fcn.00403ff0
mov eax, dword [esp + 0xd0]
lea edx, [esp + 0xcc]
cmp eax, edx
mov byte [esp + 0x25c], 0xc
je 0x4d8783
mov ecx, dword [esp + 0xbc]
cmp ecx, edi
je 0x4d8783
sub eax, ecx
cmp eax, 0x80
jbe 0x4d8779
push ecx
call fcn.00611869
add esp, 4
jmp 0x4d8783
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + ecx + 0x2c]
call fcn.004304e0
mov ecx, eax
call fcn.0041efd0
mov ecx, dword [esp + 0x234]
mov ebx, dword [esp + 0x220]
lea edx, [esp + 0x230]
cmp ecx, edx
mov byte [esp + 0x25c], 0x17
lea eax, [esp + 0x220]
je 0x4d87cc
mov eax, ebx
mov edx, dword [esp + 0x230]
mov esi, edx
sub esi, eax
cmp esi, 4
jne 0x4d9081
lea eax, [esp + 0x230]
cmp ecx, eax
lea eax, [esp + 0x220]
je 0x4d87f4
mov eax, ebx
mov eax, dword [eax]
mov esi, str.mesh
cmp eax, dword [esi]
jne 0x4d9081
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x65e564
push str.bottomStaticLine
mov byte [esp + 0x27c], 0x18
call fcn.00403b50
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov ecx, dword [ebp + 0xc8]
push 0x5c
mov dword [ecx - 0x3c], eax
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, edi
mov byte [esp + 0x25c], 0x1a
je 0x4d89cd
mov eax, dword [ebp + 0xc8]
lea edx, [esp + 0x1a0]
push edx
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00403e10
lea eax, [esp + 0x1c8]
push eax
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ebx, dword [esp + 0x24]
or ebx, 2
mov ecx, eax
mov byte [esp + 0x260], 0x1b
mov dword [esp + 0x24], ebx
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
push 1
or ebx, 4
push 0x3f800000
add ecx, eax
mov dword [esp + 0x264], 0x1c
mov dword [esp + 0x28], ebx
call fcn.0044fa50
mov ecx, dword [ebp + 0xc8]
fild dword [ecx - 0x3c]
mov edx, dword [eax]
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, eax
fstp dword [esp + 0x28]
call dword [edx + 0x10]
fild dword [eax + 0xc]
push ecx
lea edx, [esp + 0x1f]
fdivr dword [esp + 0x28]
or ebx, 8
mov dword [esp + 0x2c], ebx
fstp dword [esp]
push 0x3f800000
push edi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push str.meshHeight
call fcn.00403db0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov edi, 0x1c
lea ecx, [esp + ecx + 0x54]
mov dword [esp + 0x288], edi
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
push eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x4c], esp
lea edx, [esp + 0x43]
push edx
or ebx, 0x10
push str.meshWidth
mov dword [esp + 0x58], ebx
call fcn.00403db0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x58]
mov dword [esp + 0x28c], edi
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
push eax
mov eax, dword [ebp + 0xc8]
sub esp, 0xc
mov dword [esp + 0x44], esp
mov edi, esp
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00403e10
push edi
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, esi
call fcn.004ace20
xor edi, edi
jmp 0x4d89d3
mov ebx, dword [esp + 0x20]
xor eax, eax
push 1
push eax
lea ecx, [esp + 0xac]
mov dword [esp + 0x264], 0x20
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
mov ecx, dword [eax - 0x54]
lea esi, [eax - 0x5c]
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x25c], 0x21
je 0x4d8a3a
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x25c], 0x22
je 0x4d8a34
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
mov dword [eax], 0x6580c8
call fcn.00490cf0
add dword [esi + 4], 0xc
jmp 0x4d8a53
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0xb0]
push ecx
push eax
mov ecx, esi
call fcn.004ba7b0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x25c], 0x20
call fcn.0048f9a0
test bl, 0x10
je 0x4d8a73
and ebx, 0xffffffef
mov dword [esp + 0x20], ebx
test bl, 8
je 0x4d8a7f
and ebx, 0xfffffff7
mov dword [esp + 0x20], ebx
test bl, 4
mov dword [esp + 0x25c], 0x1f
je 0x4d8aa2
and ebx, 0xfffffffb
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x20], ebx
call fcn.00450980
test bl, 2
mov dword [esp + 0x25c], 0x17
je 0x4d8ac5
and ebx, 0xfffffffd
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x20], ebx
call fcn.0049ac10
push 0x5c
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, edi
mov byte [esp + 0x25c], 0x23
je 0x4d8bb6
mov eax, dword [ebp + 0xc8]
lea edx, [esp + 0x17c]
push edx
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00403e10
lea eax, [esp + 0x1a4]
push eax
mov ecx, 0x6bfa98
call fcn.004a1c40
or ebx, 0x20
mov ecx, eax
mov byte [esp + 0x260], 0x24
mov dword [esp + 0x24], ebx
call fcn.0049aca0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
or ebx, 0x40
push 1
add ecx, eax
mov dword [esp + 0x260], 0x25
mov dword [esp + 0x24], ebx
call fcn.0044fa50
mov ecx, dword [ebp + 0xc8]
fild dword [ecx - 0x3c]
mov edx, dword [eax]
lea ecx, [esp + 0x1bc]
push ecx
mov ecx, eax
fstp dword [esp + 0x24]
call dword [edx + 0x10]
fild dword [eax + 0xc]
mov eax, dword [ebp + 0xc8]
push ecx
fdivr dword [esp + 0x24]
add eax, 0xffffffcc
fstp dword [esp]
push edi
push 0x3f800000
push edi
push 1
push 1
sub esp, 0xc
mov dword [esp + 0x44], esp
mov edi, esp
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00403e10
push edi
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, esi
call fcn.004ace20
xor edi, edi
jmp 0x4d8bb8
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x264], 0x27
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
mov ecx, dword [eax - 0x54]
lea esi, [eax - 0x5c]
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x25c], 0x28
je 0x4d8c1f
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x25c], 0x29
je 0x4d8c19
lea edx, [esp + 0x8c]
push edx
mov ecx, eax
mov dword [eax], 0x6580c8
call fcn.00490cf0
add dword [esi + 4], 0xc
jmp 0x4d8c38
push 1
push 1
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x98]
push edx
push eax
mov ecx, esi
call fcn.004ba7b0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x25c], 0x27
call fcn.0048f9a0
test bl, 0x40
mov dword [esp + 0x25c], 0x26
je 0x4d8c6f
and ebx, 0xffffffbf
lea ecx, [esp + 0x17c]
mov dword [esp + 0x20], ebx
call fcn.00450980
test bl, 0x20
mov dword [esp + 0x25c], 0x17
je 0x4d8c92
and ebx, 0xffffffdf
lea ecx, [esp + 0x188]
mov dword [esp + 0x20], ebx
call fcn.0049ac10
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x34], ecx
mov dword [ecx + 0x14], eax
push 0x65e538
push str.maxShift
mov byte [esp + 0x27c], 0x2a
call fcn.00403b50
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
mov eax, dword [ebp + 0xc8]
fstp dword [eax - 0x38]
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax - 0x5c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov dword [esp + 0x1c], edi
call fcn.0048ea80
cmp dword [eax + 0x14], edi
jl 0x4d9745
mov dword [esp + 0x34], edi
lea esp, [esp]
push 0
lea ecx, [esp + 0xe4]
call fcn.0049b2b0
mov ecx, dword [ebp + 0xc8]
mov edx, dword [ecx - 0x48]
lea esi, [ecx - 0x50]
mov ecx, dword [esi + 4]
cmp ecx, edx
mov byte [esp + 0x25c], 0x2c
je 0x4d8d59
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
mov byte [esp + 0x25c], 0x2d
je 0x4d8d53
push eax
call fcn.0048cd80
add dword [esi + 4], 0xc
jmp 0x4d8d6b
push 1
push 1
lea edx, [esp + 0x1b]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004b3b60
mov esi, dword [esp + 0xe0]
test esi, esi
mov byte [esp + 0x25c], 0x17
je 0x4d8dba
mov ecx, dword [esp + 0xe8]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x80
jbe 0x4d8db0
push esi
call fcn.00611869
add esp, 4
jmp 0x4d8dba
push eax
push esi
call fcn.005d6970
add esp, 8
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax - 0x5c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
xor esi, esi
call fcn.0048ea80
mov ecx, dword [eax + 0x18]
test ecx, ecx
jl 0x4d904a
xor ebx, ebx
mov edi, edi
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax - 0x5c]
mov edx, dword [esp + 0x1c]
push esi
push edx
mov edx, dword [eax]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.0048ea80
mov ecx, eax
call fcn.0049e100
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x38], edx
mov edx, dword [eax - 0x5c]
mov edi, eax
mov eax, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 4]
add ecx, edx
call fcn.0048ea80
fild dword [edi - 0x3c]
add eax, 0x38
mov ecx, dword [eax]
mov edx, dword [eax + 4]
fsubr dword [esp + 0x38]
mov dword [esp + 0x16c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x174], ecx
mov ecx, dword [ebp + 0xc8]
mov dword [esp + 0x170], edx
sub eax, dword [ecx - 0x3c]
mov dword [esp + 0x14], eax
fidiv dword [esp + 0x14]
mov edi, dword [ecx - 0x50]
push ecx
fsqrt
fmul dword [ecx - 0x38]
lea ecx, [esp + 0x1f4]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [0x663214]
fmul dword [0x6532dc]
fstp dword [esp]
push 0
push eax
push eax
call fcn.0048a010
mov edx, dword [esp + 0x34]
lea ecx, [edx + edi]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4d8ed4
test edx, edx
je 0x4d8ece
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 0xc], edi
mov edi, dword [eax + 0x10]
mov dword [edx + 0x10], edi
mov eax, dword [eax + 0x14]
mov dword [edx + 0x14], eax
add dword [ecx + 4], 0x18
jmp 0x4d8ee4
push 1
push 1
lea edi, [esp + 0x1b]
push edi
push eax
push edx
call fcn.00490b60
mov ecx, dword [ebp + 0xc8]
fild dword [ecx - 0x3c]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x4d8f86
mov eax, dword [ecx - 0x50]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + eax]
lea edx, [ebx + eax]
mov dword [esp + 0x238], 0
mov eax, dword [esp + 0x238]
mov dword [edx], eax
mov dword [esp + 0x23c], 0
mov ecx, dword [esp + 0x23c]
mov dword [edx + 4], ecx
mov dword [esp + 0x240], 0
mov eax, dword [esp + 0x240]
mov dword [edx + 8], eax
mov dword [esp + 0x244], 0
mov ecx, dword [esp + 0x244]
mov dword [edx + 0xc], ecx
mov dword [esp + 0x248], 0
mov eax, dword [esp + 0x248]
mov dword [esp + 0x24c], 0
mov ecx, dword [esp + 0x24c]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 0xc8]
mov edi, dword [eax - 0x5c]
mov eax, dword [eax - 0x50]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax]
mov ecx, dword [ebx + eax + 0x14]
mov edx, dword [ebx + eax + 0x10]
push ecx
push edx
lea ecx, [esp + 0x80]
call fcn.00406d90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00406d90
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
fld dword [esp + 0x74]
mov dword [esp + 0x6c], edx
fadd dword [esp + 0x6c]
sub esp, 8
mov dword [esp + 0x70], ecx
fstp dword [esp + 4]
lea ecx, [esp + 0x44]
fld dword [esp + 0x78]
fadd dword [esp + 0x70]
fstp dword [esp]
call fcn.00406d90
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
push esi
push eax
add ecx, edi
call fcn.0048ea80
mov ecx, eax
call fcn.00492500
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax - 0x5c]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
inc esi
add ebx, 0x18
call fcn.0048ea80
cmp esi, dword [eax + 0x18]
jle 0x4d8de0
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax - 0x5c]
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov ecx, dword [ecx + 4]
inc esi
add edi, 0xc
add ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edi
call fcn.0048ea80
cmp esi, dword [eax + 0x14]
jle 0x4d8d10
jmp 0x4d9743
lea eax, [esp + 0x230]
cmp ecx, eax
lea eax, [esp + 0x220]
je 0x4d9095
mov eax, ebx
mov esi, edx
sub esi, eax
cmp esi, 8
jne 0x4d93f4
lea eax, [esp + 0x230]
cmp ecx, eax
lea esi, [esp + 0x220]
je 0x4d90b6
mov esi, ebx
mov ecx, 2
mov edi, str.rotation
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4d93ed
push 0x5c
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x25c], 0x2e
je 0x4d912b
mov eax, dword [ebp + 0xc8]
push 1
push 0x3f800000
push 0x3f800000
push 1
push 1
sub esp, 0xc
mov dword [esp + 0x34], esp
mov edi, esp
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00403e10
push edi
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, esi
call fcn.004acd30
jmp 0x4d912d
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x264], 0x17
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
mov ecx, dword [eax - 0x54]
lea esi, [eax - 0x5c]
mov eax, dword [esi + 4]
cmp eax, ecx
mov byte [esp + 0x25c], 0x2f
je 0x4d918e
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x25c], 0x30
je 0x4d9188
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
mov dword [eax], 0x6580c8
call fcn.00490cf0
add dword [esi + 4], 0xc
jmp 0x4d91a7
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x8c]
push ecx
push eax
mov ecx, esi
call fcn.004ba7b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x25c], 0x17
call fcn.0048f9a0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2b]
push edx
push str.pivotX
call fcn.00403db0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov ecx, dword [ebp + 0xc8]
sub esp, 0x18
mov dword [ecx - 0x1c], eax
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2b]
push edx
push str.pivotY
call fcn.00403db0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov ecx, dword [ebp + 0xc8]
sub esp, 0x18
mov dword [ecx - 0x18], eax
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2b]
push edx
push str.maxShift
call fcn.00403db0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0045c590
mov eax, dword [ebp + 0xc8]
sub esp, 0x18
fstp dword [eax - 0x38]
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x2b]
push edx
push str.cyclic
call fcn.00403db0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0045c4b0
mov ecx, dword [ebp + 0xc8]
mov byte [ecx - 0x14], al
mov eax, dword [ebp + 0xc8]
push 1
lea ecx, [esp + 0x108]
mov dword [eax - 0x10], 0
call fcn.0049b2b0
mov ecx, dword [ebp + 0xc8]
lea esi, [ecx - 0x50]
mov ecx, dword [esi + 4]
mov byte [esp + 0x25c], 0x35
cmp ecx, dword [esi + 8]
je 0x4d930f
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
mov byte [esp + 0x25c], 0x36
je 0x4d9309
push eax
call fcn.0048cd80
add dword [esi + 4], 0xc
jmp 0x4d9321
push 1
push 1
lea edx, [esp + 0x1b]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004b3b60
mov esi, dword [esp + 0x104]
test esi, esi
mov byte [esp + 0x25c], 0x17
je 0x4d9370
mov ecx, dword [esp + 0x10c]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x80
jbe 0x4d9366
push esi
call fcn.00611869
add esp, 4
jmp 0x4d9370
push eax
push esi
call fcn.005d6970
add esp, 8
fld dword [0x663214]
mov eax, dword [ebp + 0xc8]
fmul dword [0x6532dc]
mov cl, byte [eax - 0x14]
sub esp, 8
test cl, cl
fstp dword [esp + 4]
fld dword [0x663214]
fmul dword [0x65cd50]
fstp dword [esp]
push 0
jne 0x4d93b3
mov ecx, dword [eax - 0x50]
mov eax, dword [eax - 0x38]
mov esi, dword [ecx]
push eax
lea ecx, [esp + 0x218]
jmp 0x4d93c1
mov eax, dword [eax - 0x50]
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x1e8]
call fcn.0048a010
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
jmp 0x4d9743
mov ecx, dword [esp + 0x234]
lea eax, [esp + 0x230]
cmp ecx, eax
lea eax, [esp + 0x220]
je 0x4d9408
mov eax, ebx
sub edx, eax
cmp edx, 5
jne 0x4d95c3
lea edx, [esp + 0x230]
cmp ecx, edx
lea esi, [esp + 0x220]
je 0x4d9427
mov esi, ebx
mov ecx, 5
mov edi, str.flare
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4d95c3
push 0x5c
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x25c], 0x37
je 0x4d949c
mov eax, dword [ebp + 0xc8]
push 1
push 0x3f800000
push 0x3f800000
push 1
push 1
sub esp, 0xc
mov dword [esp + 0x34], esp
mov edi, esp
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00403e10
push edi
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, esi
call fcn.004acd30
jmp 0x4d949e
xor eax, eax
push 1
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x264], 0x17
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
mov ecx, dword [eax - 0x54]
lea esi, [eax - 0x5c]
mov eax, dword [esi + 4]
cmp eax, ecx
mov byte [esp + 0x25c], 0x38
je 0x4d94ff
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x25c], 0x39
je 0x4d94f9
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
mov dword [eax], 0x6580c8
call fcn.00490cf0
add dword [esi + 4], 0xc
jmp 0x4d9518
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0xa4]
push ecx
push eax
mov ecx, esi
call fcn.004ba7b0
lea ecx, [esp + 0x98]
mov byte [esp + 0x25c], 0x17
call fcn.0048f9a0
push 0x48
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0x25c], 0x3a
je 0x4d9573
push 1
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
lea edx, [esp + eax + 0x38]
mov dword [esp + 0x24], esp
push edx
call fcn.00420750
mov ecx, esi
call fcn.004a2500
jmp 0x4d9575
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x264], 0x17
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [eax - 0xc]
mov byte [esp + 0x260], 0x3b
call fcn.00493570
lea ecx, [esp + 0xf8]
mov byte [esp + 0x25c], 0x17
call fcn.0048f9a0
jmp 0x4d9743
lea edx, [esp + 0x220]
push str.static
push edx
call fcn.00402610
add esp, 8
test al, al
je 0x4d96f1
push 0x5c
call fcn.004063f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
xor edi, edi
cmp esi, edi
mov byte [esp + 0x25c], 0x3c
je 0x4d9643
mov eax, dword [ebp + 0xc8]
push 1
push 0x3f800000
push 0x3f800000
push 1
push 1
sub esp, 0xc
mov dword [esp + 0x34], esp
mov ebx, esp
sub esp, 0x18
add eax, 0xffffffcc
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00403e10
push ebx
mov ecx, 0x6bfa98
call fcn.004a1c40
mov ecx, esi
call fcn.004acd30
jmp 0x4d9645
xor eax, eax
push 1
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x264], 0x17
call fcn.0048eed0
mov eax, dword [ebp + 0xc8]
mov ecx, dword [eax - 0x54]
lea esi, [eax - 0x5c]
mov eax, dword [esi + 4]
cmp eax, ecx
mov byte [esp + 0x25c], 0x3d
je 0x4d96c2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x25c], 0x3e
je 0x4d96a0
lea ecx, [esp + 0xb0]
push ecx
mov ecx, eax
mov dword [eax], 0x6580c8
call fcn.00490cf0
mov eax, dword [esi + 4]
add eax, 0xc
lea ecx, [esp + 0xb0]
mov dword [esi + 4], eax
mov byte [esp + 0x25c], 0x17
call fcn.0048f9a0
jmp 0x4d9745
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004ba7b0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x25c], 0x17
call fcn.0048f9a0
jmp 0x4d9745
push 0x13c
push str.c:work_fishdom_aqua_gameExtendedWaterPlantControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x33]
push edx
push str.false
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x4c], esp
lea eax, [esp + 0x4b]
push eax
push str.Assertion_failed
mov byte [esp + 0x29c], 0x3f
call fcn.00403db0
mov byte [esp + 0x294], 0x17
call fcn.00405c50
add esp, 0x38
xor edi, edi
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x655d9d
push 0x655d9c
mov byte [esp + 0x27c], 0x40
call fcn.00403b50
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov ecx, dword [ebp + 0xc8]
mov dword [ecx - 0x44], eax
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x14], eax
push 0x655da1
push 0x655da0
mov byte [esp + 0x27c], 0x42
call fcn.00403b50
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x40]
mov byte [esp + 0x274], 0x17
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov ecx, dword [ebp + 0xc8]
mov dword [ecx - 0x40], eax
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + ecx + 0x2c]
call fcn.004304e0
mov ecx, eax
call fcn.00428c50
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 0x44
call fcn.00422700
lea ecx, [esp + 0xd4]
mov byte [esp + 0x25c], 0x17
call fcn.0042ce80
mov eax, dword [esp + 0x234]
lea edx, [esp + 0x230]
cmp eax, edx
mov byte [esp + 0x25c], 0xc
je 0x4d85b4
mov ecx, dword [esp + 0x220]
cmp ecx, edi
je 0x4d85b4
sub eax, ecx
cmp eax, 0x80
jbe 0x4d9876
push ecx
call fcn.00611869
add esp, 4
jmp 0x4d85b4
push eax
push ecx
call fcn.005d6970
add esp, 8
jmp 0x4d85b4
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x3c], ecx
mov dword [ecx + 0x14], eax
push 0x65e4ca
push str.disallowed
mov byte [esp + 0x27c], 0x45
call fcn.00403b50
mov esi, dword [esp + 0x288]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + ecx + 0x28c]
mov byte [esp + 0x278], 0xc
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [esp + ecx + 0x50]
lea ecx, [esp + ecx + 0x50]
cmp edx, edi
sete cl
mov byte [ebp + 0xd8], cl
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x50]
cmp ecx, edi
lea eax, [esp + eax + 0x50]
je 0x4d99aa
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x3c], ecx
mov dword [ecx + 0x14], eax
push 0x65e4bf
push str.centerX
mov byte [esp + 0x27c], 0x4e
call fcn.00403b50
mov edx, dword [esp + 0x68]
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x68]
mov byte [esp + 0x274], 0x47
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0xd0], eax
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x3c], ecx
mov dword [ecx + 0x14], eax
push 0x65e4b7
push str.centerY
mov byte [esp + 0x27c], 0x50
call fcn.00403b50
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x68]
mov byte [esp + 0x274], 0x47
call fcn.004304e0
mov ecx, eax
call fcn.0042b350
mov dword [ebp + 0xd4], eax
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x3c], ecx
mov dword [ecx + 0x14], eax
push 0x65e4ac
push str.createInDragging
mov byte [esp + 0x27c], 0x52
call fcn.00403b50
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x28c]
mov byte [esp + 0x278], 0x47
call fcn.004304e0
mov ecx, eax
call fcn.00428b50
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x5c]
cmp ecx, edi
lea eax, [esp + eax + 0x5c]
mov byte [esp + 0x25c], 0x54
je 0x4d9da3
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x6580c8
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 4]
lea eax, [esp + edx + 0x68]
mov dword [esp + 0x24], esp
push eax
call fcn.00420750
lea ecx, [ebp + 0x1c]
call fcn.0049cc60
sub esp, 0x18
mov ecx, esp
lea eax, [ecx + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x30], esp
mov dword [esp + 0x3c], ecx
mov dword [ecx + 0x14], eax
push 0x65e49b
push str.replyTo
mov byte [esp + 0x27c], 0x58
call fcn.00403b50
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x78]
mov byte [esp + 0x278], 0x54
call fcn.004304e0
mov ecx, eax
call fcn.0042b430
lea esi, [ebp + 0xa4]
cmp eax, esi
mov byte [esp + 0x25c], 0x5a
je 0x4d9abd
mov ebx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp ebx, ecx
je 0x4d9ab4
mov eax, dword [eax]
push edx
push eax
mov ecx, esi
call fcn.00403ff0
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0xcc]
cmp eax, ecx
mov byte [esp + 0x25c], 0x54
je 0x4d9b00
mov ecx, dword [esp + 0xbc]
cmp ecx, edi
je 0x4d9b00
sub eax, ecx
cmp eax, 0x80
jbe 0x4d9af6
push ecx
call fcn.00611869
add esp, 4
jmp 0x4d9b00
push eax
push ecx
call fcn.005d6970
add esp, 8
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
cmp edx, eax
mov edi, esi
je 0x4d9b11
mov edi, dword [esi]
sub ecx, edi
jne 0x4d9b83
cmp edx, eax
je 0x4d9b1b
mov esi, dword [esi]
xor ecx, ecx
mov edi, 0x654e58
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d9b2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d9b83
push 0x14e
push str.c:work_fishdom_aqua_gameExtendedWaterPlantControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x33]
push edx
push str._replyTo_____
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x5c], esp
lea eax, [esp + 0x4b]
push eax
push str.Assertion_failed
mov byte [esp + 0x29c], 0x5b
call fcn.00403db0
mov byte [esp + 0x294], 0x54
call fcn.00405c50
add esp, 0x38
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.0048dcc0
mov ecx, ebp
call fcn.0049f9d0
call fcn.00611c14
mov edi, dword [esp + 0x3c]
mov ecx, ebp
sub edi, eax
call fcn.0049fbc0
call fcn.00611c14
mov esi, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
lea edx, [esp + 0xd4]
neg eax
push edx
mov ecx, ebp
add esi, eax
call fcn.00495080
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov byte [esp + 0x25c], 0x5c
call fcn.004304e0
mov edx, dword [eax]
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x25c], 0x54
call fcn.0042ce80
mov eax, dword [ebp + 0x80]
lea edx, [eax + ebx + 0x14]
cmp esi, edx
jge 0x4d9c13
lea esi, [eax + ebx + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, edi
lea edi, [eax + ecx]
mov eax, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
add esi, edx
call dword [eax + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov ecx, esi
sub ecx, dword [esp + 0x40]
mov dword [ebp + 0x18], ecx
lea ecx, [esp + 0xec]
mov eax, edi
sub eax, edx
push ecx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x14], eax
call fcn.0048dcc0
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ecx, ebp
call fcn.0049f9d0
call fcn.00611c14
cdq
sub eax, edx
sar eax, 1
neg eax
mov ecx, ebp
add edi, eax
call fcn.0049fbc0
call fcn.00611c14
cdq
sub eax, edx
sar eax, 1
neg eax
add esi, eax
mov eax, dword [ebp + 0x80]
lea edx, [eax + ebx + 0x14]
cmp esi, edx
jge 0x4d9c97
lea esi, [eax + ebx + 0x14]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add esi, ecx
lea ecx, [esp + 0x44]
add edi, eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov edx, dword [eax]
mov eax, edi
mov ecx, esi
sub eax, edx
sub ecx, ebx
push 0x44
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ecx
call fcn.004063f0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x25c], 0x5d
je 0x4d9ce8
push 1
push 0
mov ecx, eax
call fcn.0047e8f0
jmp 0x4d9cea
xor eax, eax
push 1
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x264], 0x54
call fcn.0047d980
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 4]
sub esp, 0xc
lea eax, [esp + eax + 0x50]
mov ecx, esp
mov dword [esp + 0x24], esp
mov bl, 0x5e
push eax
mov byte [esp + 0x26c], bl
mov dword [ecx], 0x6580c8
call fcn.0047df30
mov ecx, ebp
call fcn.0049a860
mov ecx, dword [esi + 4]
lea ecx, [esp + ecx + 0x44]
call fcn.0047db20
mov cl, byte [eax + 4]
test cl, cl
jne 0x4d9d92
push 0x161
push str.c:work_fishdom_aqua_gameExtendedWaterPlantControl.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x33]
push edx
push str.mouseEvent__IsMouseCaptured__
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x5c], esp
lea eax, [esp + 0x4b]
push eax
push str.Assertion_failed
mov byte [esp + 0x29c], 0x5f
call fcn.00403db0
mov byte [esp + 0x294], bl
call fcn.00405c50
add esp, 0x38
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 0x54
call fcn.0047dd80
lea ecx, [esp + 0x5c]
mov byte [esp + 0x25c], 0x47
call fcn.0042ce80
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 0xc
call fcn.0042ce80
lea ecx, [esp + 0x28]
mov byte [esp + 0x25c], 6
call fcn.0042ce80
lea ecx, [esp + 0x264]
mov byte [esp + 0x25c], 0
call fcn.0042ce80
lea ecx, [esp + 0x270]
mov dword [esp + 0x25c], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x250]
mov eax, ebp
call fcn.006122a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret 0x1c