Function at 0x565ec0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x33c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x174], 0x80c9e4
mov dword [ebp - 0x170], 0x9953cf
lea edx, [ebp - 0x18]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], 0x56846d
mov dword [ebp - 0x164], esp
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x188], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00815f44
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x43
call fcn.00939a94
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
mov dword [esp], 0x9f1940
mov dword [ebp - 0x188], 0x42
call fcn.008b5758
jmp 0x566019
cmp byte [0x9ab908], 0
jne 0x56604b
mov dword [esp], 0x9abf20
mov dword [ebp - 0x188], 0x41
call fcn.004d5596
mov byte [0x9ab908], 1
mov dword [esp], 0x55e032
call fcn.004012c0
mov eax, dword [0x9abf30]
mov dword [ebp - 0x190], eax
jmp 0x568231
lea eax, [ebp - 0x190]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090c75c
mov eax, dword [eax + 4]
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x568219
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b86f3
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x40
call fcn.0092bb18
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x3f
call fcn.00939554
jmp 0x5661b7
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c0], eax
sub eax, 0xc
mov dword [ebp - 0x1bc], eax
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1bc], 0x9aba1c
je 0x566260
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x3d
call fcn.00815de4
test eax, eax
jg 0x566260
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1bc]
mov dword [esp], eax
call fcn.00929958
jmp 0x566260
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x188], 0x41
call fcn.004414ce
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c8], eax
mov dword [esp + 4], str.SELECT__FROM__tiles__WHERE__house_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x1c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x1c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1a4]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x188], 0x3c
call eax
jmp 0x566425
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1e0], edx
sub edx, 0xc
mov dword [ebp - 0x1dc], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1dc], 0x9aba1c
je 0x5664c6
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1e0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x3a
call fcn.00815de4
test eax, eax
jg 0x5664c6
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1dc]
mov dword [esp], edx
call fcn.00929958
jmp 0x5664c6
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x1cc], 0
je 0x567416
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xf8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b86f3
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x39
call fcn.0092bb18
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x38
call fcn.00939554
jmp 0x566622
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1f4], edx
sub edx, 0xc
mov dword [ebp - 0x1f0], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1f0], 0x9aba1c
je 0x5666cb
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1f4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x36
call fcn.00815de4
test eax, eax
jg 0x5666cb
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1f0]
mov dword [esp], edx
call fcn.00929958
jmp 0x5666cb
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x188], 0x41
call fcn.004414ce
mov dword [ebp - 0x1f8], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b876b
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x35
call fcn.0092bb18
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x188], 0x34
call eax
mov dword [ebp - 0x1fc], eax
mov dword [esp + 4], str.SELECT__FROM__tile_items__WHERE__tile_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x1fc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x1f8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], str._ORDER_BY__sid__DESC
mov dword [esp], eax
call fcn.00987374
jmp 0x5668b3
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x210], edx
sub edx, 0xc
mov dword [ebp - 0x20c], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x20c], 0x9aba1c
je 0x56695c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x210]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x32
call fcn.00815de4
test eax, eax
jg 0x56695c
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x20c]
mov dword [esp], edx
call fcn.00929958
jmp 0x56695c
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1a4]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x188], 0x31
call eax
jmp 0x566aae
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x228], edx
sub edx, 0xc
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x224], 0x9aba1c
je 0x566b4f
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x228]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x2f
call fcn.00815de4
test eax, eax
jg 0x566b4f
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x224]
mov dword [esp], edx
call fcn.00929958
jmp 0x566b4f
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x214], 0
je 0x5673d5
mov eax, dword [ebp - 0x1ac]
cmp byte [eax + 5], 0
je 0x566ca5
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x9f3c80
mov dword [ebp - 0x188], 0x41
call fcn.0048e89e
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x5673bb
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx + 0x24]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call fcn.0067e9b6
mov dword [esp + 0x10], 1
mov edx, 0
test eax, eax
je 0x566bea
lea edx, [eax + 0x14]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x214]
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x1a4]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a0]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x41
call fcn.0056ea92
mov eax, dword [ebp - 0x22c]
cmp dword [eax + 0x224], 0
jne 0x5673bb
cmp byte [0x9ab860], 0
jne 0x566c55
mov dword [esp], 0x9abaa0
call fcn.00826340
mov byte [0x9ab860], 1
mov dword [esp], 0x568b0a
call fcn.004012c0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x22c]
mov dword [esp + 4], edx
mov dword [esp], 0x9abaa0
mov dword [ebp - 0x188], 0x41
call fcn.0051b652
cmp dword [ebp - 0x22c], 0
je 0x5673bb
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
jmp 0x5673bb
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xe8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b8a9f
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x2e
call fcn.0092bb18
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x188], 0x2d
call eax
movzx eax, ax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x128]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b8aa1
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x2c
call fcn.0092bb18
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x188], 0x2b
call eax
movzx eax, ax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x148]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b8aa3
lea eax, [ebp - 0x138]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x2a
call fcn.0092bb18
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
lea edx, [ebp - 0x138]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x188], 0x29
call eax
jmp 0x566eb3
mov edx, dword [ebp - 0x230]
mov word [ebp - 0x108], dx
mov edx, dword [ebp - 0x234]
mov word [ebp - 0x106], dx
mov word [ebp - 0x104], ax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x248], eax
sub eax, 0xc
mov dword [ebp - 0x244], eax
lea edx, [ebp - 0x138]
mov dword [esp + 4], edx
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x244], 0x9aba1c
je 0x567057
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x248]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x27
call fcn.00815de4
test eax, eax
jg 0x567057
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x244]
mov dword [esp], eax
call fcn.00929958
jmp 0x567057
lea edx, [ebp - 0x158]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x25c], edx
sub edx, 0xc
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
lea edx, [ebp - 0x158]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x258], 0x9aba1c
je 0x567204
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x25c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x25
call fcn.00815de4
test eax, eax
jg 0x567204
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x258]
mov dword [esp], edx
call fcn.00929958
jmp 0x567204
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x128]
mov dword [esp], eax
call fcn.00922338
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x270], eax
sub eax, 0xc
mov dword [ebp - 0x26c], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x26c], 0x9aba1c
je 0x5672d7
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x270]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x23
call fcn.00815de4
test eax, eax
jg 0x5672d7
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x26c]
mov dword [esp], eax
call fcn.00929958
jmp 0x5672d7
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
movzx eax, word [ebp - 0x104]
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x106]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x22
call fcn.005f88d4
test eax, eax
je 0x56736b
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x214]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x1a4]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1a0]
mov dword [esp], eax
call fcn.0056ea92
jmp 0x5673bb
mov dword [esp + 4], str._Error___IOMapSerialize::loadMapRelational__Unserialization
mov dword [esp], 0x9fa560
mov dword [ebp - 0x188], 0x22
call fcn.00987374
mov dword [esp + 4], str._of_invalid_tile_at_position
mov dword [esp], eax
call fcn.00987374
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006a32d6
mov dword [esp + 4], fcn.009831d4
mov dword [esp], eax
call fcn.00927758
mov edx, dword [ebp - 0x214]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x188], 0x41
call eax
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x188], 0x41
call eax
test al, al
jne 0x5664ef
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x188], 0x41
call eax
jmp 0x568219
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx + 0xc4]
mov dword [ebp - 0x194], eax
jmp 0x5681de
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x148]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b86f3
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x21
call fcn.0092bb18
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x20
call fcn.00939554
jmp 0x567560
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x284], edx
sub edx, 0xc
mov dword [ebp - 0x280], edx
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea edx, [ebp - 0x138]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x280], 0x9aba1c
je 0x567609
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x284]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x1e
call fcn.00815de4
test eax, eax
jg 0x567609
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x280]
mov dword [esp], edx
call fcn.00929958
jmp 0x567609
lea edx, [ebp - 0x138]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922338
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x188], 0x41
call fcn.004414ce
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x194]
mov dword [esp], eax
call fcn.0090badc
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 4], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 4
movzx edx, word [ebp - 0x154]
mov dword [ebp - 0x28c], edx
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x1d
call fcn.0090badc
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 4
movzx edx, word [ebp - 0x146]
mov dword [ebp - 0x290], edx
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x1c
call fcn.0090badc
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 4], eax
lea eax, [ebp - 0x138]
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 4
movzx edx, word [ebp - 0x138]
mov dword [ebp - 0x294], edx
mov dword [esp + 4], str.SELECT__id__FROM__tiles__WHERE__x__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x1b
call fcn.00987374
mov edx, dword [ebp - 0x294]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928c68
mov dword [esp + 4], str._AND__y__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x290]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928c68
mov dword [esp + 4], str._AND__z__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x28c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928c68
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x288]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], str._LIMIT_1
mov dword [esp], eax
call fcn.00987374
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1a4]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x188], 0x1a
call eax
jmp 0x5678d1
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x2ac], edx
sub edx, 0xc
mov dword [ebp - 0x2a8], edx
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x2a8], 0x9aba1c
je 0x567972
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2ac]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x18
call fcn.00815de4
test eax, eax
jg 0x567972
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2a8]
mov dword [esp], edx
call fcn.00929958
jmp 0x567972
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00922348
cmp dword [ebp - 0x298], 0
je 0x5681c6
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0x148]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b86f3
lea edx, [ebp - 0x158]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x17
call fcn.0092bb18
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x16
call fcn.00939554
jmp 0x567ace
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x2c0], eax
sub eax, 0xc
mov dword [ebp - 0x2bc], eax
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x2bc], 0x9aba1c
je 0x567b77
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2c0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x14
call fcn.00815de4
test eax, eax
jg 0x567b77
lea edx, [ebp - 0x138]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2bc]
mov dword [esp], eax
call fcn.00929958
jmp 0x567b77
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00922348
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.00922338
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x188], 0x41
call fcn.004414ce
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x148]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b876b
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x13
call fcn.0092bb18
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x298]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x188], 0x12
call eax
mov dword [ebp - 0x2c8], eax
mov dword [esp + 4], str.SELECT__FROM__tile_items__WHERE__tile_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x2c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x2c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], str._ORDER_BY__sid__DESC
mov dword [esp], eax
call fcn.00987374
jmp 0x567d5f
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x2dc], edx
sub edx, 0xc
mov dword [ebp - 0x2d8], edx
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea edx, [ebp - 0x138]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x2d8], 0x9aba1c
je 0x567e08
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0x10
call fcn.00815de4
test eax, eax
jg 0x567e08
lea eax, [ebp - 0x138]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2d8]
mov dword [esp], edx
call fcn.00929958
jmp 0x567e08
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x158]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1a4]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x188], 0xf
call eax
jmp 0x567f5a
mov dword [ebp - 0x2e0], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x2f4], edx
sub edx, 0xc
mov dword [ebp - 0x2f0], edx
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
lea edx, [ebp - 0x148]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x2f0], 0x9aba1c
je 0x567ffb
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x2f4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 0xd
call fcn.00815de4
test eax, eax
jg 0x567ffb
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x2f0]
mov dword [esp], edx
call fcn.00929958
jmp 0x567ffb
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x158]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x2e0], 0
je 0x5681ac
mov eax, dword [ebp - 0x1ac]
cmp byte [eax + 5], 0
je 0x56814a
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x9f3c80
mov dword [ebp - 0x188], 0x41
call fcn.0048e89e
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x568192
mov edx, dword [ebp - 0x1ac]
mov eax, dword [edx + 0x24]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2f8]
mov dword [esp], eax
call fcn.0067e9b6
mov dword [esp + 0x10], 1
mov edx, 0
test eax, eax
je 0x568096
lea edx, [eax + 0x14]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x2e0]
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x1a4]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a0]
mov dword [esp], edx
mov dword [ebp - 0x188], 0x41
call fcn.0056ea92
mov eax, dword [ebp - 0x2f8]
cmp dword [eax + 0x224], 0
jne 0x568192
cmp byte [0x9ab860], 0
jne 0x568101
mov dword [esp], 0x9abaa0
call fcn.00826340
mov byte [0x9ab860], 1
mov dword [esp], 0x568b0a
call fcn.004012c0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x2f8]
mov dword [esp + 4], edx
mov dword [esp], 0x9abaa0
mov dword [ebp - 0x188], 0x41
call fcn.0051b652
cmp dword [ebp - 0x2f8], 0
je 0x568192
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
jmp 0x568192
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090badc
mov eax, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2e0]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x1a4]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1a0]
mov dword [esp], eax
call fcn.0056ea92
mov edx, dword [ebp - 0x2e0]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x188], 0x41
call eax
mov edx, dword [ebp - 0x298]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x188], 0x41
call eax
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.00932a94
mov eax, dword [ebp - 0x1ac]
add eax, 0xc4
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
mov dword [esp + 4], eax
lea eax, [ebp - 0x194]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090baec
test al, al
jne 0x56742d
lea eax, [ebp - 0x190]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0093783c
cmp byte [0x9ab908], 0
jne 0x568263
mov dword [esp], 0x9abf20
mov dword [ebp - 0x188], 0x41
call fcn.004d5596
mov byte [0x9ab908], 1
mov dword [esp], 0x55e032
call fcn.004012c0
mov dword [ebp - 0x19c], 0x9abf28
lea eax, [ebp - 0x19c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x190]
mov dword [esp], eax
mov dword [ebp - 0x188], 0x41
call fcn.0090c744
test al, al
jne 0x56605b
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x148]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b86f3
lea eax, [ebp - 0x158]
mov dword [esp], eax
mov dword [ebp - 0x188], 4
call fcn.0092bb18
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x188], 3
call fcn.00939554
jmp 0x5683e8
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x324], eax
sub eax, 0xc
mov dword [ebp - 0x320], eax
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x320], 0x9aba1c
je 0x568700
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x324]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x188], 1
call fcn.00815de4
test eax, eax
jg 0x568700
lea edx, [ebp - 0x138]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x320]
mov dword [esp], eax
call fcn.00929958
jmp 0x568700
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x158]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x148]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x188], 5
call fcn.008b57ec
jmp 0x568764
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x188], 6
call fcn.00939e54
jmp 0x568ac9
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x188], 0xffffffff
call fcn.00816174
lea eax, [ebp - 0x18c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret