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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e8
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
call fcn.004af2f0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x48], ebx
je 0x4acc73
jmp 0x4ac43f
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x1f8]
push 0x80
push eax
push str.classname
push ebx
call fcn.004af340
add esp, 0x10
test eax, eax
je 0x4acc5e
mov esi, str.func_bobbing
lea eax, [esp + 0x1f8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ac492
test cl, cl
je 0x4ac48e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ac492
add eax, 2
add esi, 2
test cl, cl
jne 0x4ac46e
xor eax, eax
jmp 0x4ac497
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4acc5e
lea eax, [esp + 0x20]
push eax
push str.height
push ebx
call fcn.004af480
fld dword [esp + 0x2c]
fcomp dword [0x4d7378]
add esp, 0xc
fnstsw ax
test ah, 0x40
je 0x4ac4cb
mov dword [esp + 0x20], 0x42000000
lea ecx, [esp + 0x278]
push 0x80
push ecx
push str.model
push ebx
call fcn.004af340
add esp, 0x10
test eax, eax
jne 0x4ac4ff
push str.func_bobbing_without_model_n
push 3
call dword [0x1180ce0]
add esp, 8
jmp 0x4acc5e
lea edx, [esp + 0x279]
push edx
call fcn.004c239b
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0xb0], esi
jg 0x4ac531
push str.func_bobbing_with_invalid_model_number_n
push 3
call dword [0x1180ce0]
add esp, 8
jmp 0x4acc5e
lea eax, [esp + 0x64]
push 0
lea ecx, [esp + 0x8c]
push eax
lea edx, [esp + 0x120]
push ecx
push edx
push esi
call fcn.004af290
fld dword [esp + 0x78]
fadd dword [esp + 0x9c]
fld dword [esp + 0x7c]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x3c]
fld dword [esp + 0x80]
fadd dword [esp + 0xa4]
fstp dword [esp + 0x40]
fmul qword [0x4d73c0]
fst dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul qword [0x4d73c0]
fst dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul qword [0x4d73c0]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fld st(1)
mov dword [esp + 0x4c], eax
mov edx, eax
fstp dword [esp + 0x44]
lea eax, [esp + 0x60]
mov dword [esp + 0x58], edx
fstp dword [esp + 0x48]
push eax
push str.spawnflags
fstp dword [esp + 0x58]
push ebx
call fcn.004af4e0
mov eax, dword [esp + 0x6c]
add esp, 0x20
test al, 1
je 0x4ac5e3
xor eax, eax
jmp 0x4ac5ec
and al, 2
neg al
sbb eax, eax
add eax, 2
fld dword [esp + eax*4 + 0x3c]
fsub dword [esp + 0x20]
lea ecx, [esp + eax*4 + 0x3c]
lea eax, [esp + eax*4 + 0x30]
sub esp, 8
mov dword [esp + 0x68], ecx
sub esp, 8
mov dword [esp + 0x6c], eax
fstp dword [ecx]
fld dword [esp + 0x30]
fadd dword [eax]
sub esp, 8
sub esp, 8
sub esp, 8
fstp dword [eax]
fld dword [esp + 0x60]
fstp qword [esp + 0x20]
fld dword [esp + 0x5c]
fstp qword [esp + 0x18]
fld dword [esp + 0x58]
fstp qword [esp + 0x10]
fld dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x68]
fstp qword [esp]
fld dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push esi
push str.funcbob_model__d__start___1.1f___1.1f___1.1f_end___1.1f___1.1f___1.1f_n
call fcn.00493060
fld dword [esp + 0xa4]
fsub dword [esp + 0x64]
add esp, 0x38
lea eax, [esp + 0xbc]
mov ecx, 4
fld st(0)
fadd dword [esp + 0x44]
fadd dword [0x4d8348]
mov edx, dword [esp + 0x3c]
mov dword [eax - 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax], edx
fst dword [eax + 4]
add eax, 0xc
dec ecx
jne 0x4ac67f
fstp st(0)
fld dword [esp + 0x64]
fsub dword [esp + 0x24]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x138], 0
mov dword [esp + 0x144], eax
mov dword [esp + 0x13c], 0
fld st(0)
fadd dword [esp + 0xb8]
mov dword [esp + 0x140], 0x3f800000
lea eax, [esp + 0xec]
mov ecx, 4
fstp dword [esp + 0xb8]
fld dword [esp + 0x68]
fsub dword [esp + 0x28]
fst dword [esp + 0x18]
fadd dword [esp + 0xbc]
fstp dword [esp + 0xbc]
fld st(0)
fadd dword [esp + 0xc4]
fstp dword [esp + 0xc4]
fld dword [esp + 0x8c]
fsub dword [esp + 0x28]
fst dword [esp + 0x14]
fadd dword [esp + 0xc8]
fstp dword [esp + 0xc8]
fld dword [esp + 0x88]
fsub dword [esp + 0x24]
fst dword [esp + 0x1c]
fadd dword [esp + 0xd0]
fstp dword [esp + 0xd0]
fld dword [esp + 0x14]
fadd dword [esp + 0xd4]
fstp dword [esp + 0xd4]
fld dword [esp + 0x1c]
fadd dword [esp + 0xdc]
fstp dword [esp + 0xdc]
fld dword [esp + 0x18]
fadd dword [esp + 0xe0]
fstp dword [esp + 0xe0]
fld st(1)
fadd dword [esp + 0x38]
fadd dword [0x4d8348]
mov edx, dword [esp + 0x30]
mov dword [eax - 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax], edx
fst dword [eax + 4]
add eax, 0xc
dec ecx
jne 0x4ac790
fstp st(0)
fld st(0)
fadd dword [esp + 0xe8]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x30]
fstp dword [esp + 0xe8]
fld dword [esp + 0x18]
fadd dword [esp + 0xec]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x94]
mov dword [esp + 0x124], 0
push edx
mov dword [esp + 0x12c], 0
fstp dword [esp + 0xf0]
mov dword [esp + 0x130], 0x3f800000
mov dword [esp + 0xa8], eax
fadd dword [esp + 0xf8]
mov dword [esp + 0xac], ecx
fstp dword [esp + 0xf8]
fld dword [esp + 0x18]
fadd dword [esp + 0xfc]
fstp dword [esp + 0xfc]
fld dword [esp + 0x20]
fadd dword [esp + 0x104]
fstp dword [esp + 0x104]
fld dword [esp + 0x18]
fadd dword [esp + 0x108]
fstp dword [esp + 0x108]
fld dword [esp + 0x20]
fadd dword [esp + 0x110]
fstp dword [esp + 0x110]
fld dword [esp + 0x1c]
fadd dword [esp + 0x114]
fstp dword [esp + 0x114]
fld dword [esp + 0x48]
fadd st(1)
fadd dword [0x4d8348]
fstp dword [esp + 0xa0]
fld dword [esp + 0x3c]
fadd st(1)
fadd dword [0x4d8348]
fstp dword [esp + 0xb0]
fstp st(0)
call fcn.004afd90
add esp, 4
test eax, eax
je 0x4acc5e
lea eax, [esp + 0xa4]
push eax
call fcn.004afd90
add esp, 4
test eax, eax
je 0x4acc5e
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push 1
test eax, eax
jne 0x4ac938
lea ecx, [esp + 0x13c]
lea edx, [esp + 0xbc]
push ecx
push 4
push edx
call fcn.004abfa0
mov esi, eax
lea eax, [esp + 0x134]
push 0
push eax
lea ecx, [esp + 0x100]
push 4
push ecx
mov dword [esp + 0x38], esi
call fcn.004abfa0
mov ebp, eax
add esp, 0x20
mov dword [esp + 0x1c], ebp
jmp 0x4ac979
lea edx, [esp + 0x128]
lea eax, [esp + 0xec]
push edx
push 4
push eax
call fcn.004abfa0
lea ecx, [esp + 0x148]
push 0
push ecx
lea edx, [esp + 0xd0]
push 4
push edx
mov dword [esp + 0x38], eax
call fcn.004abfa0
mov esi, dword [esp + 0x38]
add esp, 0x20
mov dword [esp + 0x1c], eax
mov ebp, eax
test esi, esi
mov edi, esi
je 0x4acc15
mov eax, dword [edi + 0x2c]
test ebp, ebp
mov dword [esp + 0xb4], eax
je 0x4acc0b
lea ebx, [edi + 0xc]
mov eax, dword [ebp]
mov ecx, dword [edi]
mov esi, dword [ebp + 0x2c]
push eax
push ecx
push str.funcbob_reach_from_area__d_to__d_n
mov dword [esp + 0xac], esi
call fcn.00493060
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x4ac9d5
mov edx, dword [esp + 0x98]
fld dword [esp + 0x94]
mov dword [esp + 0x150], edx
jmp 0x4ac9ea
mov eax, dword [esp + 0xa8]
fld dword [esp + 0xa4]
mov dword [esp + 0x150], eax
fld dword [ebx]
fsub st(1)
lea ecx, [esp + 0x50]
push ecx
fstp dword [esp + 0x54]
fstp st(0)
fld dword [edi + 0x10]
fsub dword [esp + 0x154]
mov dword [esp + 0x5c], 0
fstp dword [esp + 0x58]
call fcn.00428370
mov edx, dword [ebx]
push 0xa
mov dword [esp + 0x84], edx
mov eax, dword [edi + 0x10]
fstp st(0)
fld dword [esp + 0x58]
mov dword [esp + 0x88], eax
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x8c], ecx
lea edx, [esp + 0x160]
fadd dword [ebx]
lea eax, [esp + 0x1d8]
push edx
lea ecx, [esp + 0x7c]
push eax
lea edx, [esp + 0x8c]
push ecx
fstp dword [esp + 0x90]
fld dword [esp + 0x68]
fadd dword [edi + 0x10]
push edx
fstp dword [esp + 0x98]
fld dword [esp + 0x70]
fadd dword [edi + 0x14]
fadd dword [0x4d7390]
fstp dword [esp + 0x9c]
fld dword [esp + 0x68]
fmul dword [0x4d7398]
fadd dword [ebx]
fstp dword [esp + 0x88]
fld dword [esp + 0x6c]
fmul dword [0x4d7398]
fadd dword [edi + 0x10]
fstp dword [esp + 0x8c]
fld dword [esp + 0x70]
fmul dword [0x4d7398]
fadd dword [edi + 0x14]
fadd dword [0x4d7390]
fstp dword [esp + 0x90]
call fcn.004b0660
add esp, 0x18
test eax, eax
jle 0x4acbee
cmp eax, 1
jle 0x4acaf3
mov eax, dword [esp + 0x164]
mov dword [ebx], eax
mov ecx, dword [esp + 0x168]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x16c]
jmp 0x4acb04
mov eax, dword [esp + 0x70]
mov dword [ebx], eax
mov ecx, dword [esp + 0x74]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x78]
push ebx
mov dword [edi + 0x14], edx
call fcn.004afd90
add esp, 4
test eax, eax
je 0x4acbee
lea eax, [ebp + 0x18]
push eax
call fcn.004afd90
add esp, 4
test eax, eax
je 0x4acbee
call fcn.004a6940
mov esi, eax
mov eax, dword [ebp]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4acb58
mov ecx, dword [esp + 0x60]
fld dword [ecx]
call fcn.004c2730
mov edx, dword [esp + 0x5c]
mov ebx, eax
shl ebx, 0x10
fld dword [edx]
jmp 0x4acb6e
mov eax, dword [esp + 0x5c]
fld dword [eax]
call fcn.004c2730
mov ecx, dword [esp + 0x60]
mov ebx, eax
shl ebx, 0x10
fld dword [ecx]
call fcn.004c2730
mov ecx, dword [esp + 0xb0]
and eax, 0xffff
or ebx, eax
mov dword [esi + 8], ebx
mov edx, dword [esp + 0x4c]
shl edx, 0x10
or edx, ecx
lea ebx, [edi + 0xc]
mov dword [esi + 4], edx
mov eax, dword [ebx]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 0x13
mov word [esi + 0x28], 0x12c
mov eax, dword [0x1177044]
mov ecx, dword [0x1177014]
inc eax
mov dword [0x1177044], eax
mov eax, dword [edi]
mov edx, dword [ecx + eax*4]
mov dword [esi + 0x2c], edx
mov eax, dword [edi]
mov ecx, dword [0x1177014]
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0xa0]
test esi, esi
mov ebp, esi
jne 0x4ac998
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0x48]
test eax, eax
mov edi, eax
jne 0x4ac983
test esi, esi
mov eax, esi
je 0x4acc2d
mov edi, dword [eax + 0x2c]
push eax
call fcn.004a6980
add esp, 4
mov eax, edi
test edi, edi
jne 0x4acc1b
test ebp, ebp
mov eax, ebp
je 0x4acc45
mov edi, dword [eax + 0x2c]
push eax
call fcn.004a6980
add esp, 4
mov eax, edi
test edi, edi
jne 0x4acc33
test byte [esp + 0x4c], 3
je 0x4acc5e
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x4ac8ed
push ebx
call fcn.004af2f0
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
jne 0x4ac43b
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret