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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2624
call fcn.005182b0
mov eax, dword [0xbada90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edi, dword [ebx + 0x184]
cmp eax, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], edi
jne 0x4c923c
push esi
push 0x53f75c
push str.viewmodelentity
call dword [0x12ff6cc]
add esp, 0xc
mov dword [0xbada90], eax
test byte [ebx + 4], 1
je 0x4c9253
mov eax, dword [0x12ffeec]
mov dword [esp + 0x74], 1
cmp eax, esi
je 0x4c9257
mov dword [esp + 0x74], esi
mov eax, dword [0xbada88]
mov ecx, eax
shl ecx, 6
add ecx, 0xa68a88
mov dword [esp + 0x44], ecx
movsx ecx, word [edi + 0x3c]
add eax, ecx
mov dword [esp + 0x3c], ecx
cmp eax, 0x4e20
jle 0x4c9299
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push ecx
push str.R_AddSkelSurfaces:_too_many_skeleton_models_visible_on__s_n
push 1
call dword [0x12ff6a0]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [edi + 0x14]
fmul dword [ebx + 0x11c]
lea edx, [esp + 0x28]
lea eax, [esp + 0x58]
push edx
push eax
fst dword [esp + 0x14]
fmul dword [edi + 0x2c]
fstp dword [esp + 0x60]
fld dword [esp + 0x14]
fmul dword [edi + 0x30]
fstp dword [esp + 0x64]
fld dword [esp + 0x14]
fmul dword [edi + 0x34]
fstp dword [esp + 0x68]
call fcn.00497490
push ebx
call fcn.004a78b0
mov ecx, dword [0x13d36e0]
add esp, 0xc
fstp dword [esp + 0x38]
cmp dword [ecx + 0x20], esi
jne 0x4c9399
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004971e0
mov ecx, dword [0x13d0c5c]
mov esi, eax
add esp, 8
mov dword [esp + 0x40], esi
test byte [ecx + 0x20], 2
je 0x4c937a
mov eax, esi
sub eax, 0
je 0x4c934f
sub eax, 2
jne 0x4c937a
fld dword [esp + 0x38]
fmul dword [0x5321f0]
push 0
push 0x3f000000
push 0x3e4ccccd
push 0x3e4ccccd
fadd dword [0x531a5c]
push 0x3f800000
push ecx
lea edx, [esp + 0x40]
fstp dword [esp]
push edx
jmp 0x4c9372
fld dword [esp + 0x38]
fmul dword [0x5321f0]
push 0
push 0x3f000000
push 0
push 0x3f800000
push 0
push ecx
lea eax, [esp + 0x40]
fstp dword [esp]
push eax
call fcn.004969a0
add esp, 0x1c
mov eax, esi
sub eax, 0
je 0x4c9393
sub eax, 2
jne 0x4c9399
inc dword [0x130028c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [0x1300284]
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x48]
test eax, eax
mov eax, dword [0x12ffeec]
je 0x4c948e
fld dword [0x532940]
fdiv dword [ebx + 0x11c]
test eax, eax
fstp dword [esp + 0x20]
fld dword [0x12ffde8]
fld dword [0x12ffdec]
fxch st(1)
fsub dword [esp + 0x28]
fstp dword [esp + 0x10]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x14]
je 0x4c9445
mov edx, dword [0x12ffdf0]
lea eax, [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], eax
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
fld dword [esi]
fld dword [esi + 4]
fxch st(1)
fmul dword [esi]
fxch st(1)
fld dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
fxch st(1)
fmul dword [esi + 8]
fxch st(2)
faddp st(1)
faddp st(1)
fsqrt
pop esi
fld dword [esp + 0x20]
fabs
fld dword [0x12fff20]
fdivr qword [0x5321e8]
fmulp st(1)
fxch st(1)
fdivp st(1)
fstp dword [ebx + 0x1b0]
jmp 0x4c9583
mov ecx, dword [0x12ffdf0]
lea edx, [esp + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], edx
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
fld dword [esi]
fld dword [esi + 4]
fxch st(1)
fmul dword [esi]
fxch st(1)
fld dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
fxch st(1)
fmul dword [esi + 8]
fxch st(2)
faddp st(1)
faddp st(1)
fsqrt
pop esi
jmp 0x4c9565
fld dword [esp + 0x38]
fdiv dword [ebx + 0x11c]
test eax, eax
fstp dword [esp + 0x20]
fld dword [0x12ffde8]
fld dword [0x12ffdec]
fxch st(1)
fsub dword [esp + 0x28]
fstp dword [esp + 0x10]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x14]
je 0x4c9521
mov eax, dword [0x12ffdf0]
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
fld dword [esi]
fld dword [esi + 4]
fxch st(1)
fmul dword [esi]
fxch st(1)
fld dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
fxch st(1)
fmul dword [esi + 8]
fxch st(2)
faddp st(1)
faddp st(1)
fsqrt
pop esi
fld dword [esp + 0x20]
fabs
fld dword [0x12fff20]
fdivr qword [0x5321e8]
fmulp st(1)
fxch st(1)
fdivp st(1)
fstp dword [ebx + 0x1b0]
jmp 0x4c9583
mov edx, dword [0x12ffdf0]
lea eax, [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], eax
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
fld dword [esi]
fld dword [esi + 4]
fxch st(1)
fmul dword [esi]
fxch st(1)
fld dword [esi + 8]
fxch st(1)
fmul dword [esi + 4]
fxch st(1)
fmul dword [esi + 8]
fxch st(2)
faddp st(1)
faddp st(1)
fsqrt
pop esi
fld dword [esp + 0x20]
fabs
fld dword [0x12fff20]
fdivr qword [0x5321e8]
fmulp st(1)
fxch st(1)
fdivp st(1)
fstp dword [ebx + 0x1ac]
lea ecx, [esp + 0x90]
push ecx
push ebx
call fcn.004a7940
mov edx, dword [0x13d36e0]
add esp, 8
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x4c9750
cmp dword [esp + 0x40], 1
jne 0x4c9750
mov eax, dword [0x12ffc14]
test byte [eax + 4], 0x10
jne 0x4c95d5
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jmp 0x4c95fc
fld dword [ebx + 0x48]
fsub dword [ebx + 0x120]
fstp dword [esp + 0x10]
fld dword [ebx + 0x4c]
fsub dword [ebx + 0x124]
fstp dword [esp + 0x14]
fld dword [ebx + 0x50]
fsub dword [ebx + 0x128]
fstp dword [esp + 0x18]
xor ecx, ecx
fld dword [esp + 0xc]
fmul dword [esp + ecx + 0x94]
fadd dword [esp + ecx + 0x58]
fst dword [esp + ecx + 0x78]
fld dword [esp + 0xc]
fmul dword [esp + ecx + 0xa0]
fadd dword [esp + ecx + 0x58]
fst dword [esp + 0x1c]
fstp dword [esp + ecx + 0x84]
fld dword [esp + ecx + 0x10]
fcomp dword [0x5314c0]
fnstsw ax
and eax, 0x4100
jne 0x4c9651
fstp st(0)
fld dword [esp + 0x1c]
fadd dword [esp + ecx + 0x10]
fstp dword [esp + ecx + 0x84]
jmp 0x4c9659
fadd dword [esp + ecx + 0x10]
fstp dword [esp + ecx + 0x78]
add ecx, 4
cmp ecx, 0xc
jl 0x4c95fe
lea ecx, [esp + 0x78]
push ecx
call fcn.004970a0
mov edx, dword [0x13d0c5c]
mov esi, eax
add esp, 4
test byte [edx + 0x20], 1
je 0x4c972b
mov eax, esi
sub eax, 0
je 0x4c96ce
dec eax
mov dword [esp + 0xc], 0x3f800000
je 0x4c96d6
mov dword [esp + 0x24], 0x3e4ccccd
mov dword [esp + 0x34], 0x3e4ccccd
xor eax, eax
fld dword [esp + eax*4 + 0x78]
fsub dword [0x531744]
inc eax
cmp eax, 3
fstp dword [esp + eax*4 + 0x74]
fld dword [esp + eax*4 + 0x80]
fadd dword [0x531744]
fstp dword [esp + eax*4 + 0x80]
jl 0x4c96a4
jmp 0x4c96e6
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x34], 0
lea eax, [esp + 0x48]
push eax
push 0x1300030
call fcn.00460f20
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push 0x3f000000
push ecx
push edx
lea ecx, [esp + 0x98]
push eax
lea edx, [esp + 0x90]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
push 0x1300024
call fcn.004b5af0
add esp, 0x28
mov eax, esi
sub eax, 0
je 0x4c974a
dec eax
je 0x4c9742
inc dword [0x1300298]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [0x1300294]
jmp 0x4c9750
inc dword [0x1300290]
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x4c97cf
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 0x18]
lea ecx, [esp + 0xd4]
mov esi, dword [ecx - 4]
add ecx, 0x30
mov dword [eax - 0x18], esi
mov esi, dword [ecx - 0x30]
mov dword [eax - 0x14], esi
mov esi, dword [ecx - 0x2c]
mov dword [eax - 0x10], esi
mov esi, dword [ecx - 0x58]
mov dword [eax - 8], esi
mov esi, dword [ecx - 0x54]
mov dword [eax - 4], esi
mov esi, dword [ecx - 0x50]
mov dword [eax], esi
mov esi, dword [ecx - 0x4c]
mov dword [eax + 8], esi
mov esi, dword [ecx - 0x48]
mov dword [eax + 0xc], esi
mov esi, dword [ecx - 0x44]
mov dword [eax + 0x10], esi
mov esi, dword [ecx - 0x40]
mov dword [eax + 0x18], esi
mov esi, dword [ecx - 0x3c]
mov dword [eax + 0x1c], esi
mov esi, dword [ecx - 0x38]
mov dword [eax + 4], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], 0
add eax, 0x40
dec edx
jne 0x4c9766
mov edx, dword [esp + 0x3c]
mov eax, dword [0xbada88]
mov dword [ebx + 0x188], eax
mov esi, dword [0xbada88]
add esi, edx
mov dword [0xbada88], esi
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x184]
xor esi, esi
push ecx
push edx
mov dword [ebx + 0x190], esi
call fcn.0050de50
mov ecx, dword [0xbada8c]
add esp, 8
lea edx, [ecx*4 + 0xba1288]
mov ecx, dword [ebx + 0x58]
push edx
mov edx, dword [ebx + 0x54]
push ecx
push edx
mov ecx, eax
call fcn.00505ea0
mov ecx, dword [0xbada8c]
cmp eax, esi
mov dword [ebx + 0x18c], ecx
je 0x4c984b
mov ecx, dword [0xbada8c]
add ecx, eax
mov dword [0xbada8c], ecx
mov dword [ebx + 0x190], 1
mov eax, dword [edi + 0x1d4]
mov edx, dword [edi + 0x10]
cmp eax, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x34], esi
jle 0x4c9d88
add edi, 0x1d8
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x3c]
movsx ecx, word [eax]
push ecx
call fcn.00512800
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x44], edi
je 0x4c9e05
mov edx, dword [0x13d36e0]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c9b43
mov eax, dword [0x13d0ce4]
mov edx, dword [ebx + 0x184]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 4]
push ecx
mov ecx, dword [eax]
push ecx
call fcn.00518070
add esp, 8
test eax, eax
jne 0x4c9b43
mov edx, dword [esp + 0x54]
mov ecx, dword [0x13d0cec]
mov eax, dword [edx + 0x1d4]
mov edx, dword [ecx + 0x20]
dec eax
cmp edx, eax
jle 0x4c98f4
push eax
push sym.MOHAA.exe____C__02MECO___CFd__AA_
call fcn.004622e0
push eax
push str.lod_mesh
call dword [0x12ff6d0]
add esp, 0x10
mov eax, dword [0x13d0cec]
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + 0x20]
jne 0x4c9b43
mov esi, dword [edi + 0x84]
test esi, esi
je 0x4c9b43
lea ecx, [edi + 4]
push ecx
push str.lod_meshname
call dword [0x12ff6d0]
fld dword [ebx + 0x1ac]
fstp qword [esp]
push 0x548164
call fcn.004622e0
push eax
push str.lod_metric
call dword [0x12ff6d0]
mov edx, dword [0x13d0d28]
mov eax, dword [0x13d36f8]
mov ecx, dword [0x13d362c]
add esp, 0x14
fld dword [edx + 0x1c]
fsub dword [eax + 0x1c]
mov eax, dword [ecx + 0x20]
test eax, eax
fstp dword [esp + 0x20]
je 0x4c9985
push 0x53f59c
push str.lod_edit_0
call dword [0x12ff6d0]
fld dword [0x5314e8]
fsub dword [esi + 8]
jmp 0x4c9a22
mov edx, dword [0x13d363c]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c99ad
push 0x53f59c
push str.lod_edit_1
call dword [0x12ff6d0]
fld dword [0x5314e8]
fsub dword [esi + 0x10]
jmp 0x4c9a22
mov eax, dword [0x13d3640]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c99d4
push 0x53f59c
push str.lod_edit_2
call dword [0x12ff6d0]
fld dword [0x5314e8]
fsub dword [esi + 0x18]
jmp 0x4c9a22
mov ecx, dword [0x13d3634]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4c99fc
push 0x53f59c
push str.lod_edit_3
call dword [0x12ff6d0]
fld dword [0x5314e8]
fsub dword [esi + 0x20]
jmp 0x4c9a22
mov edx, dword [0x13d3638]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c9a3e
push 0x53f59c
push str.lod_edit_4
call dword [0x12ff6d0]
fld dword [0x5314e8]
fsub dword [esi + 0x28]
fstp qword [esp]
push 0x548164
call fcn.004622e0
push eax
push str.lod_LOD_slider
call dword [0x12ff6d0]
add esp, 0x14
mov eax, dword [0x13d0cc4]
mov ecx, dword [0x13d36f8]
fld dword [esp + 0x20]
fmul dword [eax + 0x1c]
sub esp, 8
fadd dword [ecx + 0x1c]
fst dword [esp + 0x2c]
fstp qword [esp]
push 0x548164
call fcn.004622e0
push eax
push str.lod_LOD
call dword [0x12ff6d0]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0x14
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x1ac]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
sub esp, 0xc
mov dword [esp + 0x2c], ecx
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
lea eax, [esp + 0x8c]
push eax
mov dword [ecx + 8], edx
call fcn.004c8d40
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ecx
fld dword [esp + 0x68]
fstp qword [esp + 0x10]
fld dword [esp + 0x64]
fstp qword [esp + 8]
fld dword [esp + 0x60]
fstp qword [esp]
push str._f__f__f
call fcn.004622e0
push eax
push str.lod_position
call dword [0x12ff6d0]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [ebx + 0x1ac]
push edx
push eax
push ecx
push ebx
call fcn.004c9030
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x78]
push edx
push eax
push 0x5418d4
call fcn.004622e0
add esp, 0x44
push eax
push str.lod_tris
call dword [0x12ff6d0]
add esp, 8
mov eax, dword [edi + 0x44]
mov esi, dword [edi + 0x50]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4c9d53
mov ecx, dword [esp + 0x70]
lea edx, [ecx + ebx + 0x14c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
mov al, byte [eax]
test al, 4
jne 0x4c9d26
mov edi, dword [ebx + 0x12c]
mov ecx, dword [ebx + 0x134]
and eax, 3
add eax, edi
test ecx, ecx
je 0x4c9ba1
test dword [ebx + 4], 0x10000
jne 0x4c9ba1
push ecx
call fcn.004a1eb0
add esp, 4
mov edi, eax
jmp 0x4c9bd0
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x150]
jge 0x4c9bbf
mov edx, ecx
mov eax, dword [edx + eax*4 + 0x140]
mov edi, dword [eax*4 + 0x134a480]
jmp 0x4c9bd0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x140]
mov edi, dword [edx*4 + 0x134a480]
cmp dword [edi + 0x170], 1
jne 0x4c9c3c
mov eax, dword [edi + 0x174]
mov eax, dword [eax + 0x2ac]
cmp eax, 0x12
jne 0x4c9c16
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x28]
fld dword [edi + 0xb0]
fadd dword [edi + 0xac]
push ecx
push edx
push ecx
fstp dword [esp]
call fcn.00497390
add esp, 0xc
cmp eax, 2
jne 0x4c9c3c
jmp 0x4c9d22
cmp eax, 0x13
jne 0x4c9c3c
mov eax, dword [esp + 0x38]
mov edx, dword [edi + 0xb0]
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
call fcn.00497390
add esp, 0xc
test eax, eax
je 0x4c9d22
mov eax, dword [esp + 0x74]
mov dword [esi], 8
test eax, eax
jne 0x4c9cfd
mov eax, dword [0x13d3630]
cmp dword [eax + 0x20], 3
jne 0x4c9c87
mov eax, dword [ebx + 4]
test al, 4
jne 0x4c9c87
test ah, 8
je 0x4c9c87
test eax, 0x1000000
je 0x4c9c87
cmp dword [edi + 0x4c], 0x40800000
jne 0x4c9c87
mov ecx, dword [0x12ff800]
push 0
push ecx
push esi
call fcn.00499350
add esp, 0xc
mov edx, dword [esp + 0x24]
mov al, byte [edx]
test al, 0x40
je 0x4c9ce4
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x150], 1
jle 0x4c9ce4
mov edx, dword [ebx + 0x12c]
and eax, 2
add eax, edx
mov edx, ecx
mov edi, eax
push 0
mov eax, dword [edx + edi*4 + 0x140]
mov ecx, dword [eax*4 + 0x134a480]
push ecx
push esi
call fcn.00499350
mov edx, dword [esp + 0x18]
push 0
mov eax, dword [edx + edi*4 + 0x144]
mov ecx, dword [eax*4 + 0x134a480]
push ecx
push esi
call fcn.00499350
add esp, 0x18
jmp 0x4c9cfd
mov edx, dword [0x13d3618]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x4c9cfd
push 0
push edi
push esi
call fcn.00499350
add esp, 0xc
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x4c9d22
test dword [ebx + 4], 0x10000
je 0x4c9d22
push eax
call fcn.004a1eb0
push 0
push eax
push esi
call fcn.00499350
add esp, 0x10
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
add eax, 0x15c
mov esi, dword [esi + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jl 0x4c9b68
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x54]
inc eax
add esi, 2
mov dword [esp + 0x34], eax
mov edx, dword [ecx + 0x1d4]
mov dword [esp + 0x3c], esi
cmp eax, edx
jl 0x4c986e
mov edi, ecx
mov edx, dword [0x13d36c4]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c9dfe
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
fld dword [ebx + 0x50]
mov dword [esp + 0x64], eax
lea edx, [esp + 0x1c]
fadd qword [0x5321e8]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 0x1ac]
lea eax, [esp + 0x40]
push edx
push eax
push ecx
fstp dword [esp + 0x78]
push edi
call fcn.004c8e90
mov edx, dword [0x13d36c4]
add esp, 0x10
lea eax, [esp + 0x64]
fld dword [edx + 0x1c]
push 0
push 0
push 0x3f800000
push 0x3f800000
fadd st(0), st(0)
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x58]
fstp dword [esp]
push eax
call fcn.004b57c0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
push str.R_AddSkelSurfaces:_couldnt_get_skel_model_in__s_n
push 1
call dword [0x12ff6a0]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret