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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x318
push ebx
push ebp
push esi
push edi
push 0
call fcn.004a8b10
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
je 0x4a5373
jmp 0x4a4b9e
mov edi, dword [esp + 0x14]
push 0x80
lea eax, [esp + 0x208]
push eax
push str.classname
push edi
call fcn.004a8b60
add esp, 0x10
test eax, eax
je 0x4a535e
mov esi, str.trigger_multiple
lea eax, [esp + 0x204]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4a4bf5
test cl, cl
je 0x4a4bf1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4a4bf5
add eax, 2
add esi, 2
test cl, cl
jne 0x4a4bcd
xor eax, eax
jmp 0x4a4bfa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a4df1
push 0x80
lea eax, [esp + 0x188]
push eax
push str.model
push edi
call fcn.004a8b60
lea ecx, [esp + 0x194]
push ecx
push str.trigger_multiple_model____s__n
push 1
call dword [0xc6aa00]
add esp, 0x1c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x195]
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
call fcn.004aebeb
add esp, 4
push eax
call fcn.004a8ae0
push 0x80
lea ecx, [esp + 0x11c]
push ecx
push str.target
push edi
call fcn.004a8b60
add esp, 0x24
test eax, eax
jne 0x4a4cc7
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
sub esp, 8
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp + 8]
fld dword [esp + 0x30]
fstp qword [esp]
push str.trigger_multiple_at__1.0f__1.0f__1.0f_without_target_n
push 3
call dword [0xc6aa00]
add esp, 0x20
jmp 0x4a535e
push 0
call fcn.004a8b10
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a535e
push 0x80
lea edx, [esp + 0x208]
push edx
push str.classname
push ebp
call fcn.004a8b60
add esp, 0x10
test eax, eax
je 0x4a4d99
mov esi, str.target_teleporter
lea eax, [esp + 0x204]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4a4d32
test cl, cl
je 0x4a4d2e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4a4d32
add eax, 2
add esi, 2
test cl, cl
jne 0x4a4d0a
xor eax, eax
jmp 0x4a4d37
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a4d99
push 0x80
lea eax, [esp + 0x288]
push eax
push str.targetname
push ebp
call fcn.004a8b60
add esp, 0x10
test eax, eax
je 0x4a4d99
lea esi, [esp + 0x104]
lea eax, [esp + 0x284]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4a4d90
test cl, cl
je 0x4a4d8c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4a4d90
add eax, 2
add esi, 2
test cl, cl
jne 0x4a4d68
xor eax, eax
jmp 0x4a4d95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a4db1
push ebp
call fcn.004a8b10
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4a4cdb
jmp 0x4a535e
test ebp, ebp
je 0x4a535e
push 0x80
lea eax, [esp + 0x108]
push eax
push str.target
push ebp
call fcn.004a8b60
add esp, 0x10
test eax, eax
jne 0x4a4ef7
push str.target_teleporter_without_target_n
push 3
call dword [0xc6aa00]
add esp, 8
jmp 0x4a535e
mov esi, str.trigger_teleport
lea eax, [esp + 0x204]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4a4e25
test cl, cl
je 0x4a4e21
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4a4e25
add eax, 2
add esi, 2
test cl, cl
jne 0x4a4dfd
xor eax, eax
jmp 0x4a4e2a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a535e
push 0x80
lea eax, [esp + 0x188]
push eax
push str.model
push edi
call fcn.004a8b60
lea ecx, [esp + 0x194]
push ecx
push str.trigger_teleport_model____s__n
push 1
call dword [0xc6aa00]
add esp, 0x1c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x195]
push eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
call fcn.004aebeb
add esp, 4
push eax
call fcn.004a8ae0
push 0x80
lea ecx, [esp + 0x11c]
push ecx
push str.target
push edi
call fcn.004a8b60
add esp, 0x24
test eax, eax
jne 0x4a4ef7
fld dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
sub esp, 8
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp + 8]
fld dword [esp + 0x30]
fstp qword [esp]
push str.trigger_teleport_at__1.0f__1.0f__1.0f_without_target_n
push 3
call dword [0xc6aa00]
add esp, 0x20
jmp 0x4a535e
push 0
call fcn.004a8b10
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4a4f7a
push 0x80
lea edx, [esp + 0x288]
push edx
push str.targetname
push ebp
call fcn.004a8b60
add esp, 0x10
test eax, eax
je 0x4a4f65
lea esi, [esp + 0x104]
lea eax, [esp + 0x284]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4a4f5c
test cl, cl
je 0x4a4f58
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4a4f5c
add eax, 2
add esi, 2
test cl, cl
jne 0x4a4f34
xor eax, eax
jmp 0x4a4f61
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a4f76
push ebp
call fcn.004a8b10
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4a4f07
jmp 0x4a4f7a
test ebp, ebp
jne 0x4a4f97
lea eax, [esp + 0x104]
push eax
push str.teleporter_without_misc_teleporter_dest___s__n
push 3
call dword [0xc6aa00]
add esp, 0xc
jmp 0x4a535e
lea ecx, [esp + 0x24]
push ecx
push str.origin
push ebp
call fcn.004a8bf0
add esp, 0xc
test eax, eax
jne 0x4a4fcb
lea edx, [esp + 0x104]
push edx
push str.teleporter_destination___s__without_origin_n
push 3
call dword [0xc6aa00]
add esp, 0xc
jmp 0x4a535e
lea eax, [esp + 0x24]
push eax
call fcn.004a9470
mov ebx, eax
push ebx
call fcn.004a0be0
add esp, 8
test eax, eax
jne 0x4a51cc
push ebx
call fcn.004a0bc0
add esp, 4
test eax, eax
jne 0x4a51cc
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], ecx
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], edx
fsub dword [0x4bc788]
push ecx
lea edx, [esp + 0x314]
push edx
fstp dword [esp + 0x90]
call fcn.004a9720
mov esi, eax
mov ecx, 9
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa0]
add esp, 0x14
test eax, eax
je 0x4a5077
lea eax, [esp + 0x104]
push eax
push str.teleporter_destination___s__in_solid_n
push 3
call dword [0xc6aa00]
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x4a535e
lea ecx, [esp + 0x94]
push ecx
call fcn.004a9470
lea edx, [esp + 0x70]
push edx
push str.angle
push ebp
call fcn.004a8ca0
fld dword [esp + 0x7c]
fcomp dword [0x4bc2d8]
add esp, 0x10
fnstsw ax
test ah, 0x40
jne 0x4a5102
mov eax, dword [esp + 0x6c]
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
call fcn.0042c980
fld dword [esp + 0x64]
fmul dword [0x4bd1d0]
add esp, 0x10
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul dword [0x4bd1d0]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul dword [0x4bd1d0]
fstp dword [esp + 0x5c]
jmp 0x4a511a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
push 0
push 0
push 0x1bd
push 0x3dcccccd
push 0x1e
push 0
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x70]
push ecx
push 0
push 2
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xdc]
push 0xffffffffffffffff
push eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
call fcn.0049d2f0
lea ecx, [esp + 0xe4]
push ecx
call fcn.004a9470
mov ebx, eax
mov al, byte [esp + 0x12c]
add esp, 0x38
test al, 0x18
je 0x4a51a7
lea edx, [esp + 0x104]
push edx
push str.teleported_into_slime_or_lava_at_dest__s_n
push 2
call dword [0xc6aa00]
add esp, 0xc
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fld dword [esp + 0x3c]
push 4
fadd dword [esp + 0x1c]
push 0xffffffffffffffff
lea eax, [esp + 0x50]
push eax
fstp dword [esp + 0x48]
lea ecx, [esp + 0x48]
fld dword [esp + 0x4c]
push ecx
fadd dword [esp + 0x2c]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [esp + 0x30]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fadd dword [esp + 0x28]
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [esp + 0x30]
fstp dword [esp + 0x60]
fld dword [esp + 0x58]
fadd dword [esp + 0x4c]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
fstp dword [esp + 0x74]
fld dword [esp + 0x60]
fadd dword [esp + 0x54]
fstp dword [esp + 0x78]
fmul qword [0x4bc320]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fmul qword [0x4bc320]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fmul qword [0x4bc320]
fstp dword [esp + 0x78]
call fcn.004aa480
mov esi, eax
add esp, 0x10
test esi, esi
mov dword [esp + 0x70], esi
jne 0x4a528a
push str.trigger_multiple_not_in_any_area_n
push 1
call dword [0xc6aa00]
add esp, 8
test esi, esi
mov ebp, esi
je 0x4a5355
mov edx, dword [ebp + 4]
push edx
call fcn.004a0be0
add esp, 4
test eax, eax
je 0x4a5340
mov edi, dword [ebp + 4]
call fcn.004a08e0
mov esi, eax
test esi, esi
je 0x4a534d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xc], eax
mov dword [esi], ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x2c]
push eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 0xa
call fcn.004a4b30
mov ecx, dword [esi + 0x24]
or ecx, eax
mov dword [esi + 0x24], ecx
fld dword [0xc688dc]
add esp, 4
call fcn.004aeed0
mov word [esi + 0x28], ax
mov ecx, dword [0xc68810]
mov edx, dword [ecx + edi*4]
mov dword [esi + 0x2c], edx
mov eax, dword [0xc68810]
mov dword [eax + edi*4], esi
mov eax, dword [0xc68834]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
inc eax
mov dword [0xc68834], eax
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x4a5294
jmp 0x4a5355
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
push esi
call fcn.004aa2c0
add esp, 4
push edi
call fcn.004a8b10
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4a4b9a
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret