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

Disassembly:
sub esp, 0x304
push ebx
push ebp
push esi
push edi
push str.renderPlayerBones
call fcn.1005b868
pop ecx
call fcn.1002a048
test eax, eax
jne 0x1004ba3d
mov eax, dword [0x10120040]
cmp dword [eax + 0x1293a], 0
jne 0x1004ba3d
cmp dword [0x1016abb0], 0
je 0x1004ba3d
cmp dword [0x10156188], 0
je 0x1004ba3d
cmp dword [0x1015618c], 0
je 0x1004ba3d
cmp dword [0x1016abc4], 0
je 0x1004ba3d
push dword [0x1016abcc]
call fcn.1002a2ec
pop ecx
test eax, eax
jne 0x1004ba3d
mov ebx, dword [esp + 0x118]
xor ebp, ebp
push ebp
call fcn.100404fc
push 0
push 0xffffffffffffffff
mov esi, eax
call fcn.10029ca9
add esp, 0xc
test esi, esi
je 0x1004ba30
mov ecx, dword [0x1016abc4]
mov eax, dword [ecx]
call dword [eax]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
mov esi, eax
test esi, esi
je 0x1004ba3d
and dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
and dword [esp + 0xdc], 0
and dword [esp + 0xe0], 0
and dword [esp + 0xe4], 0
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
and dword [esp + 0x18], 0
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
and dword [esp + 0x30], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
and dword [esp + 0x84], 0
and dword [esp + 0xf4], 0
and dword [esp + 0xf8], 0
and dword [esp + 0xfc], 0
and dword [esp + 0xe8], 0
and dword [esp + 0xec], 0
and dword [esp + 0xf0], 0
and dword [esp + 0x88], 0
and dword [esp + 0x8c], 0
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb0], 0
and dword [esp + 0xb4], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xc8], 0
and dword [esp + 0xcc], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xbc], 0
and dword [esp + 0xc0], 0
and dword [esp + 0xd0], 0
and dword [esp + 0xd4], 0
and dword [esp + 0xd8], 0
and dword [esp + 0x70], 0
and dword [esp + 0x74], 0
and dword [esp + 0x78], 0
and dword [esp + 0x100], 0
and dword [esp + 0x104], 0
and dword [esp + 0x108], 0
and dword [esp + 0x10c], 0
and dword [esp + 0x110], 0
and dword [esp + 0x114], 0
mov eax, dword [esi]
push ecx
push 6
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xdc]
push ecx
push 8
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 4
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
push 0x16
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ecx
push 0x20
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x64]
push ecx
push 0x17
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
push 0x21
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x7c]
push ecx
push 0x18
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x22
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xf4]
push ecx
push 0x19
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push 0x23
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x88]
push ecx
push 3
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push ecx
push 2
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xa0]
push ecx
push 0x33
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xac]
push ecx
push 0x29
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xb8]
push ecx
push 0x34
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xc4]
push ecx
push 0x2a
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
push 0x35
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0xd0]
push ecx
push 0x2b
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x100]
push ecx
push 0x36
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
lea ecx, [esp + 0x10c]
push ecx
push 0x2c
mov ecx, esi
call dword [eax + 0x74]
cmp dword [0x1016511c], 0
je 0x1004ba30
mov ecx, dword [0x10120040]
mov al, byte [ecx + 0x1205]
test al, al
je 0x1004ba30
cmp al, 1
jne 0x1004ba30
cmp dword [ecx + 0x11f9], 0
jne 0x1004b3b8
push 0xff000000
push ebp
call fcn.10040f0d
pop ecx
pop ecx
mov ecx, dword [0x10120040]
mov ebx, eax
mov ecx, dword [ecx + 0x11f9]
cmp ecx, 1
jne 0x1004b3c8
or ebx, 0xffffffff
jmp 0x1004b42d
cmp ecx, 2
jne 0x1004b3d4
mov ebx, 0xffff0000
jmp 0x1004b42d
cmp ecx, 3
jne 0x1004b3e0
mov ebx, 0xff00ff00
jmp 0x1004b42d
cmp ecx, 4
jne 0x1004b3ec
mov ebx, 0xff0000ff
jmp 0x1004b42d
cmp ecx, 5
jne 0x1004b3f8
mov ebx, 0xffff00ff
jmp 0x1004b42d
cmp ecx, 6
je 0x1004b402
cmp ecx, 7
jne 0x1004b409
mov ebx, 0xffffff00
jmp 0x1004b42d
cmp ecx, 8
jne 0x1004b415
mov ebx, 0xff0080ff
jmp 0x1004b42d
cmp ecx, 9
jne 0x1004b421
mov ebx, 0xff00cccc
jmp 0x1004b42d
cmp ecx, 0xa
jne 0x1004b42d
call fcn.100489af
mov ebx, eax
push ebx
sub esp, 0xc
lea esi, [esp + 0x44]
mov edi, esp
lea eax, [esp + 0x12c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xe0]
push eax
sub esp, 0xc
lea eax, [esp + 0x13c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x20]
mov edi, esp
lea eax, [esp + 0x144]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x38]
push eax
sub esp, 0xc
lea eax, [esp + 0x154]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x5c]
mov edi, esp
lea eax, [esp + 0x15c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x16c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x50]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x174]
movsd dword es:[edi], dword [esi]
push eax
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x184]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x68]
mov edi, esp
lea eax, [esp + 0x18c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x44]
push eax
sub esp, 0xc
lea eax, [esp + 0x19c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x74]
mov edi, esp
lea eax, [esp + 0x1a4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x50]
push eax
sub esp, 0xc
lea eax, [esp + 0x1b4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x38]
mov edi, esp
lea eax, [esp + 0x1bc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
push eax
sub esp, 0xc
lea esi, [esp + 0x6c]
mov edi, esp
lea eax, [esp + 0x1cc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x8c]
mov edi, esp
lea eax, [esp + 0x1d4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x68]
push eax
sub esp, 0xc
lea eax, [esp + 0x1e4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xf8]
mov edi, esp
lea eax, [esp + 0x1ec]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x2c]
push eax
sub esp, 0xc
lea eax, [esp + 0x1fc]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x104]
mov edi, esp
lea eax, [esp + 0x204]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x80]
push eax
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x214]
push eax
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x98]
mov edi, esp
lea eax, [esp + 0x21c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x14]
push eax
sub esp, 0xc
lea eax, [esp + 0x22c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xa4]
mov edi, esp
lea eax, [esp + 0x234]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x8c]
push eax
sub esp, 0xc
lea eax, [esp + 0x244]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x2c]
mov edi, esp
lea eax, [esp + 0x24c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x98]
push eax
sub esp, 0xc
lea eax, [esp + 0x25c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xb0]
mov edi, esp
lea eax, [esp + 0x264]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x20]
push eax
sub esp, 0xc
lea eax, [esp + 0x274]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xbc]
mov edi, esp
lea eax, [esp + 0x27c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0x20]
push eax
sub esp, 0xc
lea eax, [esp + 0x28c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xc8]
mov edi, esp
lea eax, [esp + 0x294]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xa4]
push eax
sub esp, 0xc
lea eax, [esp + 0x2a4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xd4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2ac]
push eax
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xb0]
push eax
sub esp, 0xc
lea eax, [esp + 0x2bc]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x80]
mov edi, esp
lea eax, [esp + 0x2c4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xbc]
push eax
sub esp, 0xc
lea eax, [esp + 0x2d4]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0xe0]
mov edi, esp
lea eax, [esp + 0x2dc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xc8]
push eax
sub esp, 0xc
lea eax, [esp + 0x2ec]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x110]
mov edi, esp
lea eax, [esp + 0x2f4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
push eax
sub esp, 0xc
lea esi, [esp + 0x84]
mov edi, esp
lea eax, [esp + 0x304]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
push ebx
sub esp, 0xc
lea esi, [esp + 0x11c]
mov edi, esp
lea eax, [esp + 0x30c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
add esp, 0x10
lea esi, [esp + 0xd4]
push eax
sub esp, 0xc
lea eax, [esp + 0x31c]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100295c6
mov ecx, dword [0x1016511c]
add esp, 0x10
push eax
call fcn.10041da5
inc ebp
cmp ebp, 0x3ec
jl 0x1004b025
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x304
ret