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

Disassembly:
mov al, byte [0xa9bfac]
sub esp, 0x6c
test al, 1
push ebx
push esi
jne 0x664867
mov esi, dword [0xa9bfac]
push 1
push 4
or esi, 1
push str.AUTO_TACKLE_MAX_CONTACT_POINTS
mov dword [0xa9bfac], esi
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov dword [0xa9bfa8], eax
test byte [0xa9bfac], 2
jne 0x664899
mov esi, dword [0xa9bfac]
push 1
push 0xa
or esi, 2
push str.AUTO_TACKLE_CONTACT_FRAME_MAX
mov dword [0xa9bfac], esi
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov dword [0xa9bfa4], eax
test byte [0xa9bfac], 4
mov ebx, 8
jne 0x6648cf
mov esi, dword [0xa9bfac]
push 1
push ebx
or esi, 4
push str.BLOCK_TACKLE_MAX_CONTACT_POINTS
mov dword [0xa9bfac], esi
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov dword [0xa9bfa0], eax
test byte [0xa9bfac], bl
jne 0x6648ff
mov esi, dword [0xa9bfac]
push 1
push 0xf
or esi, ebx
push 0x877368
mov dword [0xa9bfac], esi
call fcn.00704c0b
mov ecx, eax
call fcn.00705466
mov dword [0xa9bf9c], eax
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x3c]
cmp eax, dword [0xa73878]
jge 0x664efc
mov ecx, dword [esi + 0x4d0]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x18], 0x3daaaaab
call dword [edx + 0x28]
fstp dword [esp + 0x14]
mov ecx, dword [esi + 0x4d0]
mov eax, dword [ecx + 0xd88]
mov dword [esp + 0x48], eax
call fcn.006f0e40
fstp dword [esp + 0x28]
mov ecx, dword [esi + 0x4d0]
call fcn.005ffbe0
fstp dword [esp + 0x10]
fld dword [0x877344]
fld dword [esp + 0x10]
fabs
fcomp dword [0x851a38]
fnstsw ax
test ah, 0x41
jne 0x664975
fstp st(0)
fld dword [0x877338]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
je 0x664a41
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov dword [esp + 0x30], ecx
fld dword [esp + 0x10]
mov edx, dword [esi + 0x4d0]
fabs
add edx, 0xc
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
fcomp dword [0x849974]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
fnstsw ax
test ah, 0x41
jne 0x6649d0
mov dword [esp + 0x18], 0x3e000000
fld dword [esp + 0x14]
mov ecx, dword [0xa83f60]
fcomp dword [0x877344]
push edi
mov dword [esp + 0x40], 0x447a0000
mov byte [esp + 0x7c], 0
fnstsw ax
test ah, 0x41
jne 0x664a5c
test ecx, ecx
je 0x664a55
mov ecx, dword [ecx + 0x4d0]
call fcn.006f0e40
fsubr dword [esp + 0x2c]
push ecx
fstp dword [esp]
call fcn.00401740
fcomp dword [0x849574]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x664a55
push 1
push 0
call fcn.0060fbb0
add esp, 8
dec eax
neg eax
sbb al, al
inc al
mov byte [esp + 0xf], al
je 0x664a55
mov edi, 2
jmp 0x664a5e
mov ecx, dword [esi + 0x4d0]
call fcn.005ffbd0
fstp dword [esp + 0x30]
jmp 0x664998
mov edi, 1
jmp 0x664a5e
xor edi, edi
push 0
push 0x11
mov ecx, esi
call fcn.005f5ff0
fadd dword [0x84f140]
fcomp dword [0x8466a0]
fnstsw ax
test ah, 0x41
jne 0x664a84
fld dword [0x8466a0]
jmp 0x664a95
push 0
push 0x11
mov ecx, esi
call fcn.005f5ff0
fadd dword [0x84f140]
mov al, byte [esp + 0x80]
test al, al
mov ebx, dword [0xa9bfa0]
push ebp
mov ebp, dword [0xa9bfa8]
mov dword [esp + 0x30], ebp
jne 0x664ab5
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
fmul st(1)
call fcn.0081cba0
cmp eax, 1
jge 0x664acf
mov dword [esp + 0x34], 1
jmp 0x664af1
mov al, byte [esp + 0x84]
test al, al
mov dword [esp + 0x30], ebp
jne 0x664ae2
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
fmul st(1)
call fcn.0081cba0
mov dword [esp + 0x34], eax
imul edi, edi, 0x684
fstp st(0)
add edi, 0xa9ac10
cmp dword [edi], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], 0
jle 0x664e70
add edi, 0x204
mov dword [esp + 0x30], edi
mov edi, edi
fld dword [edi]
mov ebp, dword [edi - 0x200]
fsub dword [esp + 0x1c]
fabs
fcomp dword [str.ffF_BLOCK_TACKLE_CONTACT_FRAME_MAX]
fnstsw ax
test ah, 5
jp 0x664e47
fld dword [edi + 0x200]
push ecx
fsub dword [esp + 0x1c]
fstp dword [esp]
call fcn.006fec00
fabs
fcomp dword [esp + 0x24]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x664e47
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.006f9c50
mov al, byte [esp + 0x84]
test al, al
mov ebx, dword [0xa9bfa4]
mov ecx, dword [0xa9bf9c]
mov edx, ebx
jne 0x664b9c
mov edx, ecx
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
lea eax, [edi + eax - 1]
cmp edx, eax
jge 0x664bbb
mov al, byte [esp + 0x84]
test al, al
je 0x664bbd
mov ecx, ebx
jmp 0x664bbd
mov ecx, eax
mov eax, dword [esp + 0x14]
cmp eax, ecx
jle 0x664bcb
mov eax, ecx
mov dword [esp + 0x14], eax
cmp edi, eax
jle 0x664be0
mov eax, edi
cmp edi, eax
mov dword [esp + 0x14], eax
jg 0x664e43
lea ecx, [ecx]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push edi
mov ecx, ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x5c], 0
call fcn.006f9d80
test al, al
je 0x664e36
lea ecx, [esp + 0x64]
push ecx
lea edx, [edi + 1]
push 1
push edx
call fcn.005fd460
fld dword [esp + 0x78]
fsub dword [esp + 0x6c]
add esp, 4
mov dword [esp + 0x70], 0
fstp dword [esp + 4]
fld dword [esp + 0x6c]
fsub dword [esp + 0x60]
fstp dword [esp]
call fcn.0079816a
fsub dword [esp + 0x2c]
add esp, 4
fstp dword [esp]
call fcn.006fec00
add esp, 4
fstp dword [esp + 0x2c]
mov ecx, ebp
call fcn.006f9c10
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
push ecx
fsub dword [esp + 0x30]
fstp dword [esp]
call fcn.006fec00
fsubr dword [esp + 0x44]
fstp dword [esp]
call fcn.006fec00
fabs
fcomp dword [esp + 0x24]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x664e36
fld dword [esp + 0x2c]
lea eax, [esp + 0x70]
fadd dword [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x78], 0
fstp dword [esp]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.006fec00
fstp dword [esp]
fld dword [esp + 0x44]
push ecx
fchs
lea ecx, [esp + 0x70]
fstp dword [esp]
push ecx
call fcn.00610120
fld dword [esp + 0x68]
fsub dword [esp + 0x80]
add esp, 0xc
fld dword [esp + 0x64]
fsub dword [esp + 0x7c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0x44]
add esp, 4
cmp edi, eax
jne 0x664d5a
fld dword [esp + 0x58]
push ecx
fsub dword [esp + 0x68]
fld dword [esp + 0x64]
fsub dword [esp + 0x70]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
fcomp dword [0x846710]
add esp, 4
fnstsw ax
test ah, 0x41
jnp 0x664d6f
fld dword [esp + 0x40]
fcomp dword [0x8466ac]
fnstsw ax
test ah, 0x41
jp 0x664e36
mov edx, dword [esp + 0x50]
push edx
mov ecx, ebp
call fcn.006f9c30
push ecx
fstp dword [esp]
call fcn.0060c2f0
fabs
fmul dword [0x863e00]
add esp, 8
fadd dword [esp + 0x40]
fcom dword [esp + 0x44]
fnstsw ax
test ah, 5
jp 0x664e34
push edi
fstp dword [esp + 0x48]
mov ecx, ebp
mov dword [esi + 0x44], ebp
call fcn.006f9e50
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [0xa73878]
mov ecx, eax
add ecx, edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x5c]
lea eax, [esi + 0x58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
lea edx, [esi + 0x64]
mov dword [edx], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
lea ecx, [esi + 0x7c]
mov dword [ecx], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x4d0]
call fcn.005ffbd0
fstp dword [esi + 0x88]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x8c], eax
mov byte [esp + 0x80], 1
jmp 0x664e36
fstp st(0)
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jle 0x664be0
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
inc eax
add edi, 4
cmp eax, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], edi
jl 0x664b20
mov al, byte [esp + 0x80]
test al, al
jne 0x664e7f
pop ebp
mov byte [esi + 0x40], 0
mov al, byte [esi + 0x40]
pop edi
pop esi
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x50]
mov ebx, dword [esi + 0x4c]
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x4c]
push ecx
sub eax, ebx
push 0
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
push 0
push ecx
mov ecx, dword [esi + 0x44]
fstp dword [esp]
push 0
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 0
call fcn.006fa440
fld dword [esp + 0x80]
fadd dword [esi + 0x54]
lea edx, [esi + 0x70]
push edx
push ecx
fstp dword [esp]
call fcn.006fec00
mov eax, dword [esp + 0x50]
fstp dword [esp]
push eax
lea ecx, [esi + 0x64]
push ecx
call fcn.00610120
mov edx, dword [0xa73878]
add esp, 0x10
pop ebp
mov dword [esi + 0x3c], edx
mov byte [esi + 0x40], 1
pop edi
mov al, byte [esi + 0x40]
pop esi
pop ebx
add esp, 0x6c
ret