Function at 0x46b450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, 0x50936c
push str.GroundObjectTiles::GenerateTiles
mov dword [esp + 0x4c], edi
call fcn.004304a0
call fcn.0046d4a0
mov eax, dword [esp + 0x114]
lea ecx, [eax*4 - 0x40]
mov dword [esp + 0x14], ecx
mov dword [edi + 0x17c], ecx
test ecx, ecx
jns 0x46b4ac
mov dword [edi + 0x17c], 0
xor ecx, ecx
jmp 0x46b4c3
cmp ecx, 0x380
jle 0x46b4c7
mov dword [edi + 0x17c], 0x380
mov ecx, 0x380
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x118]
lea eax, [eax*4 - 0x40]
mov dword [esp + 0x10], eax
mov dword [edi + 0x180], eax
test eax, eax
jns 0x46b4f1
mov dword [edi + 0x180], 0
xor eax, eax
jmp 0x46b507
cmp eax, 0x380
jle 0x46b50b
mov dword [edi + 0x180], 0x380
mov eax, 0x380
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], ecx
sub ecx, 0xffffff80
mov dword [esp + 0x80], eax
sub eax, 0xffffff80
mov dword [esp + 0x84], ecx
mov ecx, dword [edi + 0x1bc0]
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0x80
mov dword [esp + 0x74], 0x80
test ecx, ecx
je 0x46b564
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x1bc0], 0
lea eax, [edi + 0x1680]
mov dword [esp + 0x18], 4
mov edi, eax
nop dword [eax]
nop dword [eax + eax]
lea esi, [edi - 0xc0]
mov ebx, 0x10
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x46b5a2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
add esi, 0xc
sub ebx, 1
jne 0x46b590
mov esi, edi
lea ebp, [ebx + 4]
nop
mov ebx, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x46b5c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
add esi, 0xc
sub ebx, 1
jne 0x46b5b5
sub ebp, 1
jne 0x46b5b0
add edi, 0x180
sub dword [esp + 0x18], 1
jne 0x46b580
mov edi, dword [esp + 0x48]
lea ebp, [ebx + 0x10]
lea esi, [edi + 0x1c4]
nop
mov ebx, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x46b607
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
add esi, 0x14
sub ebx, 1
jne 0x46b5f5
sub ebp, 1
jne 0x46b5f0
mov eax, dword [0x509420]
push 0x50acc8
push 0x14
push 0x81
mov eax, dword [eax + 0x2a3d8]
push 0x81
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x509420]
lea ebx, [edi + 0x1bc0]
push ebx
push 0x14
push 0x81
mov ecx, dword [eax + 0x2a3d8]
push 0x81
push ecx
mov eax, dword [ecx]
call dword [eax + 0x6c]
test eax, eax
js 0x46bc9f
movups xmm1, xmmword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
movups xmm0, xmmword [esp + 0x6c]
movups xmmword [esp + 0x8c], xmm1
movups xmmword [esp + 0xcc], xmm0
movups xmmword [esp + 0x9c], xmm1
movups xmmword [esp + 0xdc], xmm0
movups xmmword [esp + 0xac], xmm1
movups xmmword [esp + 0xec], xmm0
movups xmmword [esp + 0xbc], xmm1
movups xmmword [esp + 0xfc], xmm0
cmp ecx, 0x1ff
jle 0x46b6e6
mov eax, 0x280
mov dword [esp + 0x94], 0x200
sub eax, ecx
mov dword [esp + 0xb4], 0x200
mov dword [esp + 0xd4], eax
mov dword [esp + 0xf4], eax
mov edx, dword [esp + 0x14]
mov ecx, 0x200
cmp edx, ecx
jge 0x46b713
mov eax, ecx
mov dword [esp + 0x9c], ecx
sub eax, edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xfc], eax
mov edx, dword [esp + 0x88]
cmp edx, 0x1ff
jle 0x46b74e
mov eax, ecx
sub eax, edx
add dword [esp + 0x98], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xd8], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xa8], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xe8], eax
mov edx, dword [esp + 0x10]
cmp edx, ecx
jge 0x46b780
mov eax, ecx
sub eax, edx
add dword [esp + 0xb0], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xf0], eax
mov eax, ecx
sub eax, edx
sub ecx, edx
add dword [esp + 0xc0], eax
add dword [esp + 0x100], ecx
mov eax, dword [edi + 0x110]
test eax, eax
jne 0x46ba0e
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46b7d2
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x98]
jge 0x46b7d2
push 0
push 0
push 1
lea eax, [esp + 0x98]
push eax
push str.dat_terrain_512.png
lea eax, [esp + 0xe0]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46b82c
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0xa8]
jge 0x46b82c
sub dword [esp + 0x9c], 0x200
lea eax, [esp + 0x9c]
sub dword [esp + 0xa4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512b.png
lea eax, [esp + 0xf0]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46b886
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0xb8]
jge 0x46b886
sub dword [esp + 0xb0], 0x200
lea eax, [esp + 0xac]
sub dword [esp + 0xb8], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512c.png
lea eax, [esp + 0x100]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46b8f6
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xc8]
jge 0x46b8f6
sub dword [esp + 0xbc], 0x200
lea eax, [esp + 0xbc]
sub dword [esp + 0xc4], 0x200
sub dword [esp + 0xc0], 0x200
sub dword [esp + 0xc8], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512d.png
lea eax, [esp + 0x110]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46b93e
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x98]
jge 0x46b93e
push 0
push 0
push 1
lea eax, [esp + 0x98]
push eax
push str.dat_roads_512.png
lea eax, [esp + 0xe0]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46b986
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0xa8]
jge 0x46b986
push 0
push 0
push 1
lea eax, [esp + 0xa8]
push eax
push str.dat_roads_512b.png
lea eax, [esp + 0xf0]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46b9ce
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0xb8]
jge 0x46b9ce
push 0
push 0
push 1
lea eax, [esp + 0xb8]
push eax
push str.dat_roads_512c.png
lea eax, [esp + 0x100]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46bc9f
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xc8]
jge 0x46bc9f
push 0
push 0
push 1
lea eax, [esp + 0xc8]
push eax
push str.dat_roads_512d.png
jmp 0x46bc8a
cmp eax, 1
jne 0x46bc9f
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46ba5b
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x98]
jge 0x46ba5b
push 0
push 0
push 1
lea eax, [esp + 0x98]
push eax
push str.dat_terrain2_512.png
lea eax, [esp + 0xe0]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46bab5
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0xa8]
jge 0x46bab5
sub dword [esp + 0x9c], 0x200
lea eax, [esp + 0x9c]
sub dword [esp + 0xa4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512b.png
lea eax, [esp + 0xf0]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46bb0f
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0xb8]
jge 0x46bb0f
sub dword [esp + 0xb0], 0x200
lea eax, [esp + 0xac]
sub dword [esp + 0xb8], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512c.png
lea eax, [esp + 0x100]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46bb7f
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xc8]
jge 0x46bb7f
sub dword [esp + 0xbc], 0x200
lea eax, [esp + 0xbc]
sub dword [esp + 0xc4], 0x200
sub dword [esp + 0xc0], 0x200
sub dword [esp + 0xc8], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512d.png
lea eax, [esp + 0x110]
push eax
push 0
push dword [ebx]
call fcn.00405255
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46bbc7
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x98]
jge 0x46bbc7
push 0
push 0
push 1
lea eax, [esp + 0x98]
push eax
push str.dat_roads2_512.png
lea eax, [esp + 0xe0]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46bc0f
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0xa8]
jge 0x46bc0f
push 0
push 0
push 1
lea eax, [esp + 0xa8]
push eax
push str.dat_roads2_512b.png
lea eax, [esp + 0xf0]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46bc57
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0xb8]
jge 0x46bc57
push 0
push 0
push 1
lea eax, [esp + 0xb8]
push eax
push str.dat_roads2_512c.png
lea eax, [esp + 0x100]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46bc9f
mov eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0xc8]
jge 0x46bc9f
push 0
push 0
push 1
lea eax, [esp + 0xc8]
push eax
push str.dat_roads2_512d.png
lea eax, [esp + 0x110]
push eax
push 0
push dword [0x50acc8]
call fcn.00405255
mov ecx, dword [ebx]
xorps xmm3, xmm3
xor ebx, ebx
movss dword [esp + 0x18], xmm3
test ecx, ecx
setne bl
cmp dword [0x50acc8], 0
je 0x46c388
test ecx, ecx
je 0x46bd02
mov eax, dword [ecx]
lea edx, [esp + 0x5c]
push 0x8810
push 0
push edx
push ecx
call dword [eax + 0x24]
mov esi, dword [0x50acc8]
push 0x8810
push 0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
xor ecx, ecx
test eax, eax
lea eax, [esp + 0x6c]
push eax
cmovns ecx, ebx
push esi
mov ebx, ecx
call edx
test eax, eax
js 0x46c388
xorps xmm3, xmm3
test ebx, ebx
je 0x46c388
mov ecx, dword [esp + 0x60]
xor ebp, ebp
mov ebx, dword [esp + 0x68]
movss xmm5, dword [0x4cb300]
movss xmm6, dword [0x4cd5d4]
movd xmm4, ebp
mov edx, ebx
add ebx, dword [esp + 0x64]
mov eax, ecx
add ecx, dword [esp + 0x5c]
xorps xmm2, xmm2
cvtdq2ps xmm4, xmm4
mov dword [esp + 0x58], ebx
xor ebx, ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], edx
imul esi, ebp, 0x81
sub eax, edx
addss xmm4, xmm4
movss dword [esp + 0x1c], xmm2
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], esi
movss dword [esp + 0x4c], xmm4
nop dword [eax + eax]
movzx eax, byte [edx + eax]
add esi, ebx
movd xmm0, dword [edi + 0x17c]
cvtdq2ps xmm0, xmm0
lea ecx, [esi + esi*8]
movd xmm1, eax
mulss xmm0, xmm5
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm6
divss xmm1, dword [0x4cb848]
addss xmm0, xmm2
mulss xmm1, dword [0x4cd6a4]
movss dword [edi + ecx*4 + 0x1c50], xmm0
movzx eax, byte [edx]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4d0210]
addss xmm0, xmm1
movss dword [edi + ecx*4 + 0x1c54], xmm0
movd xmm0, dword [edi + 0x180]
cvtdq2ps xmm0, xmm0
movss dword [edi + ecx*4 + 0x1c6c], xmm4
mulss xmm0, xmm5
mulss xmm0, xmm6
addss xmm0, xmm3
movss dword [edi + ecx*4 + 0x1c58], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm0
movss dword [edi + ecx*4 + 0x1c70], xmm0
mov ecx, edi
movzx eax, byte [edx]
push eax
mov eax, dword [edi + 0x17c]
add eax, ebx
push eax
mov eax, dword [edi + 0x180]
add eax, ebp
push eax
call fcn.0046c790
add dword [esp + 0x20], 3
lea ecx, [esi + esi*8]
mov dword [edi + ecx*4 + 0x1c68], eax
test ebx, ebx
jne 0x46be44
cmp dword [edi + 0x17c], ebx
je 0x46be79
test ebp, ebp
jne 0x46be50
cmp dword [edi + 0x180], ebp
je 0x46be79
cmp ebx, 0x7f
jne 0x46be61
cmp dword [edi + 0x17c], 0x380
je 0x46be79
cmp ebp, 0x80
jne 0x46bed7
cmp dword [edi + 0x180], 0x380
jne 0x46c3fc
mov esi, dword [esp + 0x14]
lea eax, [esi + 0xca]
add eax, ebx
lea eax, [eax + eax*8]
mov dword [edi + eax*4], 0xffffffff
call fcn.004ad3e4
movd xmm0, eax
lea eax, [esi + ebx]
cvtdq2ps xmm0, xmm0
lea eax, [eax + eax*8]
addss xmm0, xmm0
divss xmm0, dword [0x4cd6d4]
subss xmm0, dword [0x4ca598]
addss xmm0, dword [0x4cb320]
addss xmm0, dword [edi + eax*4 + 0x1c54]
lea eax, [esi + ebx]
lea eax, [eax + eax*8]
movss dword [edi + eax*4 + 0x1c54], xmm0
jmp 0x46bedb
mov esi, dword [esp + 0x14]
test ebp, ebp
jne 0x46c400
movss xmm6, dword [0x4ca5d0]
xorps xmm1, xmm1
xorps xmm3, xmm3
movss dword [esp + 0x28], xmm1
xorps xmm0, xmm0
movss dword [esp + 0x2c], xmm1
xorps xmm5, xmm5
movss dword [esp + 0x24], xmm0
xorps xmm7, xmm7
movss dword [esp + 0x30], xmm6
movaps xmm1, xmm6
movss dword [esp + 0x34], xmm6
movaps xmm2, xmm6
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm6
xorps xmm6, xmm6
movss dword [esp + 0x40], xmm6
xorps xmm3, xmm3
movss xmm6, dword [0x4ca5d0]
xorps xmm4, xmm4
movss dword [esp + 0x44], xmm6
xorps xmm6, xmm6
test ebx, ebx
je 0x46bfd9
movss xmm6, dword [esp + 0x38]
lea eax, [esi + ebx]
movss xmm5, dword [esp + 0x24]
lea ecx, [eax + eax*8]
movss xmm2, dword [edi + ecx*4 + 0x1c30]
lea eax, [esi + ebx]
movss xmm4, dword [edi + ecx*4 + 0x1c2c]
lea eax, [eax + eax*8]
subss xmm2, dword [edi + eax*4 + 0x1c54]
movss xmm3, dword [edi + ecx*4 + 0x1c34]
subss xmm4, dword [edi + eax*4 + 0x1c50]
subss xmm3, dword [edi + eax*4 + 0x1c58]
movss xmm0, dword [esp + 0x28]
movss xmm7, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0x34]
movss dword [esp + 0x10], xmm6
movaps xmm6, xmm4
movss dword [esp + 0x40], xmm3
mulss xmm0, dword [esp + 0x3c]
lea eax, [esp + 0x7c]
push eax
mulss xmm1, dword [esp + 0x44]
lea eax, [esi + ebx]
lea eax, [eax + eax*8]
mulss xmm2, dword [esp + 0x48]
add eax, 0x717
mulss xmm6, dword [esp + 0x14]
mulss xmm3, xmm5
lea eax, [edi + eax*4]
push eax
mulss xmm4, xmm7
subss xmm2, xmm6
subss xmm3, xmm0
subss xmm4, xmm1
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x84], xmm3
movss dword [esp + 0x88], xmm4
call fcn.00401271
movss xmm2, dword [esp + 0x1c]
inc ebx
movss xmm0, dword [0x4d0230]
movss xmm3, dword [esp + 0x18]
addss xmm2, xmm0
movss xmm4, dword [esp + 0x4c]
movss xmm5, dword [0x4cb300]
movss xmm6, dword [0x4cd5d4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
movss dword [esp + 0x1c], xmm2
cmp ebx, 0x81
jl 0x46bd70
mov ecx, dword [esp + 0x54]
addss xmm3, xmm0
mov ebx, dword [esp + 0x58]
inc ebp
movss dword [esp + 0x18], xmm3
cmp ebp, 0x81
jl 0x46bd24
mov eax, dword [0x50acc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [0x50acc8]
test ecx, ecx
je 0x46c0c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x50acc8], 0
mov eax, dword [edi + 0x1bc0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov dword [esp + 0x14], 0
lea esi, [edi + 0x1c4]
xor ebp, ebp
mov dword [esi - 4], 3
mov dword [esi], 0
mov eax, dword [0x509420]
push esi
push 1
push 0x152
mov ecx, dword [eax + 0x2a3d8]
push 8
push 0xb64
push ecx
mov eax, dword [ecx]
call dword [eax + 0x5c]
test eax, eax
js 0x46c35c
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push 0x800
push edx
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x2c]
test eax, eax
js 0x46c35c
mov ecx, dword [esp + 0x10]
xor ebx, ebx
nop dword [eax + eax]
lea eax, [ebx + ebp]
add eax, dword [esp + 0x14]
lea edx, [eax + eax*8]
movups xmm0, xmmword [edi + edx*4 + 0x1c50]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x1c60]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x1c70]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x2e74]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x2e84]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x2e94]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x4098]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x40a8]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x40b8]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x52bc]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x52cc]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x52dc]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x24
mov dword [esp + 0x10], ecx
cmp ebx, 4
jne 0x46c246
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
add eax, ebx
add eax, ebp
lea eax, [eax + eax*8]
movq xmm0, qword [edi + eax*4 + 0x64e0]
movq qword [esi + 4], xmm0
mov eax, dword [edi + eax*4 + 0x64e8]
mov dword [esi + 0xc], eax
movups xmm0, xmmword [edi + edx*4 + 0x64e0]
inc ebx
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x64f0]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x6500]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x7704]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x7714]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x7724]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x8928]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x8938]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x8948]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x9b4c]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x9b5c]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x9b6c]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0xad70]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0xad80]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0xad90]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x24
mov dword [esp + 0x10], ecx
cmp ebx, 9
jl 0x46c140
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
add ebp, 0x408
add esi, 0x14
cmp ebp, 0x4080
jl 0x46c0e2
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
cmp ebx, 0x80
jl 0x46c0e0
push str.CloseTiledGroundInfoTexture
mov ecx, 0x50936c
call fcn.004304a0
mov eax, dword [0x50aca4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [0x50aca0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [0x50ac9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [0x50ac98]
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
push 0x4cfe94
mov ecx, 0x50936c
call fcn.004304a0
push str._Done_n
mov ecx, 0x50936c
call fcn.004304a0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00498846
add esp, 0x100
ret 8
mov esi, dword [esp + 0x14]
movss xmm6, dword [0x4ca5d0]
lea eax, [esi + ebx]
lea ecx, [eax + eax*8]
movss xmm1, dword [edi + ecx*4 + 0xa2c]
lea eax, [esi + ebx]
movss xmm0, dword [edi + ecx*4 + 0xa34]
lea eax, [eax + eax*8]
subss xmm1, dword [edi + eax*4 + 0x1c50]
movss xmm5, dword [edi + ecx*4 + 0xa30]
subss xmm5, dword [edi + eax*4 + 0x1c54]
subss xmm0, dword [edi + eax*4 + 0x1c58]
movss dword [esp + 0x30], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x28], xmm0
movaps xmm7, xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x38], xmm5
jmp 0x46bf2a