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

Disassembly:
push 0x144
mov eax, 0x101269bf
call fcn.10123c44
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
lea ecx, [edi + 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x10016100
cmp dword [ebp + 0x20], 0
je 0x10017293
mov esi, dword [ebp + 0x1c]
mov ecx, edi
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10015489
lea ecx, [edi + 0x70]
push ecx
mov ecx, dword [edi + 0xa8]
add ecx, 0x38
call fcn.10006d29
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x28]
add eax, 0x14
mov dword [ebp - 0x14], eax
call fcn.100029e7
push 0
lea ecx, [eax + 0x88]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Array::setLength_unsigned_int_]
and dword [ebp + 0x10], 0
xor ecx, ecx
inc ecx
mov byte [ebp + 0xc], 0
mov eax, esi
shr eax, 3
and al, cl
mov dword [ebp - 0x3c], eax
mov eax, esi
shr eax, 7
and al, cl
mov dword [ebp - 0x24], eax
mov eax, esi
shr eax, 6
and al, cl
mov dword [ebp - 0x2c], eax
mov eax, esi
shr eax, 5
and al, cl
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], eax
jle 0x100161dd
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov ecx, dword [esi]
lea edx, [ebp - 0x74]
and dword [ebp - 4], 0
push 0
push edx
mov eax, dword [ecx]
push 0xc
call dword [eax + 0x74]
lea ecx, [ebp - 0x74]
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
inc ecx
cmp al, cl
je 0x100161d1
lea ecx, [ebp - 0x74]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov eax, dword [ebp + 0x10]
add esi, 4
inc eax
mov dword [ebp + 0x10], eax
cmp eax, dword [ebp - 0x1c]
jl 0x10016187
jmp 0x100161dd
mov byte [ebp + 0xc], cl
lea ecx, [ebp - 0x74]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x10017293
mov eax, dword [ecx]
lea edx, [ebp - 0x90]
push edx
lea edx, [ebp - 0x94]
push edx
call dword [eax + 0x1b4]
mov eax, dword [ebp - 0x94]
xor esi, esi
mov edx, dword [ebp + 0x14]
add eax, edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x90]
add eax, ecx
mov dword [ebp + 0x10], esi
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x538]
test eax, eax
je 0x1001627b
mov edi, eax
cmp byte [ebp - 0x24], 0
jne 0x1001624a
test esi, esi
jne 0x1001624a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test al, al
cmovne esi, edi
cmp byte [ebp + 0xc], 0
jne 0x10016268
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
test al, al
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [ebp + 0xc], ecx
mov edi, dword [edi + 4]
test edi, edi
jne 0x10016234
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x10], esi
cmp byte [ebp + 0xc], 0
jne 0x10016299
cmp byte [ebp - 0x24], 0
jne 0x10016299
cmp byte [ebp - 0x2c], 0
jne 0x10016299
cmp byte [ebp - 0x3c], 0
jne 0x10016299
and dword [ebp - 0x18], 0
jmp 0x100162ad
push ecx
mov ecx, dword [edi + 0x28]
push edx
call fcn.100029e7
mov ecx, eax
call fcn.1001a0ac
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x28]
xor al, al
mov byte [ebp + 0x1b], al
mov esi, dword [ecx + 0x538]
test esi, esi
je 0x1001632d
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
je 0x10016315
test edi, edi
je 0x100162d5
cmp esi, edi
jne 0x10016315
push dword [ebp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp - 0x28]
call dword [eax + 8]
cmp byte [ebp - 0x24], 0
je 0x10016315
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, esi
test al, al
je 0x10016307
xor eax, eax
mov edi, esi
inc eax
mov byte [ebp + 0x1b], al
mov eax, dword [esi]
call dword [eax + 0x40]
jmp 0x10016315
push dword [ebp + 0x1c]
mov eax, dword [esi]
push dword [ebp + 8]
push dword [ebp - 0x28]
call dword [eax + 8]
mov esi, dword [esi + 4]
test esi, esi
jne 0x100162c2
mov al, byte [ebp + 0x1b]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x10]
test al, al
jne 0x100164c9
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 0x538]
jmp 0x10016458
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
jne 0x10016455
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x10016455
cmp dword [ebp - 0x18], 0
je 0x10016455
mov ecx, dword [edi + 0x28]
call fcn.100029e7
mov ecx, eax
call fcn.10019e7f
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x10016455
xor eax, eax
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x10016455
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov esi, eax
test esi, esi
je 0x1001643f
mov ecx, dword [esi + 0x48]
mov eax, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], eax
jne 0x1001643f
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x18]
test al, al
je 0x1001643f
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0xd4]
push dword [ebp + 0x1c]
mov esi, dword [edi]
movss xmm0, dword [ebp - 0x14]
push ecx
mov ecx, edi
movss dword [esp], xmm0
call dword [esi + 0x14]
movss xmm0, dword [ebp - 0x30]
push eax
mov eax, dword [edi]
push ecx
mov ecx, edi
movss dword [esp], xmm0
call dword [eax + 0x10]
push eax
mov ecx, edi
call dword [esi + 8]
cmp byte [ebp - 0x24], 0
je 0x10016434
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10016434
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test al, al
cmovne esi, edi
mov dword [ebp + 0x10], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test al, al
je 0x1001644f
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp - 0x40]
jl 0x10016399
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 0x18]
mov esi, dword [esi + 4]
mov dword [ebp + 0x18], esi
test esi, esi
jne 0x1001633b
cmp dword [ebp - 0x18], 0
jne 0x100164c9
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 0x538]
test esi, esi
je 0x100164c9
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x100164bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
jne 0x100164bc
push dword [ebp + 0x1c]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp - 0x28]
call dword [eax + 8]
cmp byte [ebp - 0x24], 0
je 0x100164b5
test edi, edi
jne 0x100164b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test al, al
cmovne edi, esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov esi, dword [esi + 4]
test esi, esi
jne 0x10016479
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
jne 0x10017293
mov esi, dword [edi + 0x50]
xor eax, eax
mov edx, dword [ebp + 0x20]
add esi, 0x14
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], eax
test edx, edx
je 0x1001698f
or eax, 0xffffffff
sub esi, 4
jmp 0x10016989
cmp eax, 0xffffffff
jne 0x10016526
mov eax, dword [edi + 0xa8]
mov ecx, dword [ebp - 0x44]
mov byte [eax + 0x45], cl
mov eax, dword [edi + 0xa8]
mov ecx, dword [ebp - 0x24]
mov byte [eax + 0x46], cl
mov ecx, edx
mov eax, dword [edx]
push dword [edi + 0xa8]
call dword [eax + 0xc]
jmp 0x1001697f
lea ecx, [ebp - 0xf0]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
xor eax, eax
lea ecx, [ebp - 0xd8]
inc eax
mov dword [ebp - 4], eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 7
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov ecx, dword [esi]
lea edx, [ebp - 0xf0]
push 0
push edx
push 4
mov eax, dword [ecx]
mov byte [ebp - 4], 8
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0xd8]
push 0
push edx
push 5
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0x108]
push 0
push edx
push 6
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0xc0]
push 0
push edx
push 7
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0x138]
push 0
push edx
push 8
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0x5c]
push 0
push edx
push 9
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [esi]
lea edx, [ebp - 0x74]
push 0
push edx
mov eax, dword [ecx]
push 0xa
call dword [eax + 0x74]
lea ecx, [ebp - 0xf0]
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0xd8]
mov byte [ebp + 0x1f], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0x108]
mov byte [ebp + 0xb], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0x1d], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0x138]
mov byte [ebp + 0x1b], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0x5c]
mov byte [ebp + 0x13], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0x74]
mov byte [ebp + 0x17], al
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
mov esi, dword [esi]
lea ecx, [ebp - 0x8c]
mov byte [ebp + 0xf], al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov edx, dword [esi]
lea eax, [ebp - 0x8c]
push 0
push eax
push 0xb
mov ecx, esi
mov byte [ebp - 4], 9
call dword [edx + 0x74]
test eax, eax
jne 0x100166e8
lea ecx, [ebp - 0x8c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov esi, eax
test esi, esi
je 0x100166e8
mov edx, dword [esi]
mov ecx, esi
push dword [0x101696d8]
call dword [edx + 0x30]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_char_const__const]
test al, al
je 0x100166e8
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100166fc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
and dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
mov esi, dword [esi]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov eax, dword [esi]
lea ecx, [ebp - 0x8c]
push 0
push ecx
push 0xb
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x74]
test eax, eax
jne 0x10016767
lea ecx, [ebp - 0x8c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov esi, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10016767
mov edx, dword [esi]
mov ecx, esi
push dword [0x10169020]
call dword [edx + 0x30]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_char_const__const]
test al, al
je 0x10016767
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x1001677c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
xor esi, esi
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x100167d3
test esi, esi
jne 0x100167d3
cmp byte [ebp + 0x1f], dl
je 0x10016791
cmp byte [ebp - 0x3c], dl
jne 0x100167bd
cmp byte [ebp + 0xb], 0
je 0x1001679d
cmp byte [ebp - 0x24], 0
jne 0x100167bd
cmp byte [ebp - 0x1d], 0
je 0x100167a9
cmp byte [ebp - 0x2c], 0
jne 0x100167bd
cmp byte [ebp - 0x44], 0
je 0x10016900
cmp byte [ebp + 0x1b], 0
je 0x10016900
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi]
lea eax, [edi + 0xac]
push eax
call fcn.10020140
jmp 0x10016903
cmp byte [ebp - 0x44], 0
je 0x10016a51
cmp byte [ebp + 0x1b], 0
jne 0x100167f9
cmp byte [ebp + 0x13], 0
jne 0x100167f9
cmp byte [ebp + 0x17], 0
jne 0x100167f9
cmp byte [ebp + 0xf], 0
je 0x10016a51
push 0
push dword [ebp - 0x18]
push esi
push edx
call fcn.1001602e
push 0
push dword [edi + 0x38]
mov byte [ebp + 0x1f], al
push esi
push edx
call fcn.1001602e
add esp, 0x20
mov cl, al
cmp byte [ebp + 0x17], 0
mov al, byte [ebp + 0x1f]
je 0x10016843
test cl, cl
je 0x10016843
test al, al
jne 0x10016843
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x48], cl
xor ecx, ecx
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x49], cl
jmp 0x10016880
cmp byte [ebp + 0x13], 0
je 0x1001685f
test cl, cl
jne 0x1001685f
test al, al
je 0x1001685f
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x49], cl
jmp 0x10016876
cmp byte [ebp + 0x1b], 0
je 0x10016897
test al, al
je 0x10016897
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x49], 0
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x48], 0
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x45], cl
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x44], cl
jmp 0x100167bd
cmp byte [ebp + 0xf], 0
je 0x10016900
test edx, edx
jne 0x100168d1
test esi, esi
je 0x100168d1
mov eax, dword [edi + 0xa8]
xor ecx, ecx
mov byte [eax + 0x49], cl
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x48], cl
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x44], 1
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x45], cl
jmp 0x100167bd
mov ecx, dword [edi + 0x28]
call fcn.100029e7
mov ecx, eax
call fcn.10019e7f
mov ecx, eax
mov dword [ebp + 0x18], eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp + 0x14], ecx
test ecx, ecx
jle 0x10016900
xor eax, eax
mov dword [ebp + 0x1c], eax
test ecx, ecx
jg 0x100169ef
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 7
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
xor eax, eax
lea ecx, [ebp - 0xd8]
inc eax
mov byte [ebp - 4], al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x20]
inc eax
add esi, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], esi
cmp eax, dword [ebp - 0x1c]
jl 0x100164f7
xor eax, eax
lea ecx, [ebp - 0x4c]
push str._alignCameraTargetToFace
mov byte [ebp + 0x1f], al
mov byte [ebp + 0x1b], al
mov byte [ebp + 0x10], al
mov byte [ebp + 0x20], al
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xb
lea esi, [edi + 0x70]
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
cmp byte [ebp + 0x17], 0
je 0x10016aa8
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016b9c
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
push 0
mov eax, dword [eax + 0x48]
push dword [eax + 0x3c]
push esi
push dword [ebp - 0x28]
call fcn.1001602e
mov esi, dword [ebp - 0x10]
add esp, 0x10
test al, al
je 0x10016a40
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x44], cl
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x45], 0
lea eax, [edi + 0xac]
mov ecx, dword [esi]
push eax
call fcn.10020140
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 0x14]
jl 0x100169ec
jmp 0x10016903
cmp byte [ebp + 0x1f], 0
je 0x10016a5d
cmp byte [ebp - 0x3c], 0
jne 0x10016a7d
cmp byte [ebp + 0xb], 0
je 0x10016a69
cmp byte [ebp - 0x24], 0
jne 0x10016a7d
cmp byte [ebp - 0x1d], 0
je 0x10016900
cmp byte [ebp - 0x2c], 0
je 0x10016900
push 0
push dword [ebp - 0x18]
push esi
push edx
call fcn.1001602e
mov esi, dword [ebp - 0x10]
add esp, 0x10
test al, al
je 0x10016903
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x44], cl
jmp 0x100167c0
push str._alignTargetToFace
lea ecx, [ebp - 0x4c]
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
cmp byte [ebp + 0x17], 0
je 0x10016ae7
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016be2
push str._alignCameraTargetToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
cmp byte [ebp + 0x17], 0
je 0x10016b23
xor eax, eax
inc eax
mov byte [ebp + 0x1b], al
jmp 0x10016b9c
push str._alignTargetToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
cmp byte [ebp + 0x17], 0
je 0x10016b62
xor eax, eax
inc eax
mov byte [ebp + 0x1b], al
jmp 0x10016be2
push str._alignCameraTargetToBbox
lea ecx, [ebp - 0x4c]
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
cmp byte [ebp + 0x17], 0
je 0x10016ba1
xor eax, eax
inc eax
mov byte [ebp + 0x10], al
mov byte [ebp + 0x20], al
jmp 0x10016be2
push str._alignTargetToBbox
lea ecx, [ebp - 0x4c]
call fcn.10006caa
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0x10
push eax
mov ecx, esi
call fcn.10006da3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x17], al
call fcn.10006d16
mov eax, dword [ebp + 0x10]
cmp byte [ebp + 0x17], 0
push 1
movzx eax, al
pop ecx
cmovne eax, ecx
mov dword [ebp + 0x10], eax
cmp byte [ebp - 0x24], 0
je 0x10016c26
push str._alignToFace
lea ecx, [ebp - 0x4c]
call fcn.10006caa
xor eax, eax
mov dword [ebp - 4], 0x11
inc eax
mov ecx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10006da3
test al, al
jne 0x10016c1e
cmp byte [ebp + 0x1f], al
jne 0x10016c1e
cmp byte [ebp + 0x10], al
je 0x10016c26
xor ecx, ecx
inc ecx
mov byte [ebp + 0x17], cl
jmp 0x10016c2d
xor ecx, ecx
mov byte [ebp + 0x17], 0
inc ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test cl, al
je 0x10016c49
and eax, 0xfffffffe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], eax
call fcn.10006d16
xor ecx, ecx
inc ecx
cmp byte [ebp + 0x17], 0
mov esi, dword [ebp - 0x38]
je 0x10016dd5
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c4]
cmp dword [ebp - 0x18], 0
je 0x10016dd5
mov ecx, dword [edi + 0x28]
call fcn.100029e7
mov ecx, eax
call fcn.10019e7f
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jle 0x10016dd5
xor eax, eax
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x10016dd5
mov ecx, dword [ebp + 0xc]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov edx, eax
push 0
mov dword [ebp + 8], edx
mov ecx, dword [edx + 0x48]
push dword [ecx + 0x3c]
push 0
push dword [ebp - 0x18]
call fcn.1001602e
add esp, 0x10
test al, al
je 0x10016dc5
mov ecx, dword [edx + 0x40]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0xd4]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [eax + 0x3c]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd4]
cmp byte [ebp + 0x10], 0
movss xmm0, dword [ebp - 0x40]
mov ecx, dword [edi + 0x28]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x48], xmm0
mov eax, dword [ecx]
je 0x10016d60
push dword [ebp + 0x20]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x68]
push edx
push dword [ebp - 0x18]
call dword [eax + 0x2a8]
jmp 0x10016da3
cmp byte [ebp + 0x1f], 0
je 0x10016d7b
push 0
push dword [ebp + 0x20]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x68]
push edx
call dword [eax + 0x2a4]
jmp 0x10016da3
xor edx, edx
inc edx
push edx
call dword [eax + 0x29c]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2a0]
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
call dword [eax + 0x298]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10016db9
push 0
push dword [eax + 0x7c]
push 0x53
call ecx
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x1c4]
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp - 0x1c]
jl 0x10016c9e
cmp byte [ebp - 0x2c], 0
je 0x10016e18
push str._alignToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.10006caa
mov eax, dword [ebp - 0x34]
lea ecx, [edi + 0x70]
or eax, 2
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10006da3
test al, al
jne 0x10016e10
cmp byte [ebp + 0x1b], al
je 0x10016e18
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016e1c
mov byte [ebp + 0x1f], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
test al, 2
je 0x10016e2f
lea ecx, [ebp - 0x4c]
call fcn.10006d16
cmp byte [ebp + 0x1f], 0
je 0x1001728d
mov eax, dword [0x101736b4]
xor ecx, ecx
inc ecx
test cl, al
jne 0x10016e4c
or eax, ecx
mov dword [0x101736b4], eax
test al, 2
jne 0x10016e58
or eax, 2
mov dword [0x101736b4], eax
test al, 4
jne 0x10016e64
or eax, 4
mov dword [0x101736b4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [ebp - 0x18], 0
mov dword [ebp + 0x1c], eax
je 0x10017261
mov ecx, dword [edi + 0x28]
call fcn.100029e7
mov ecx, eax
call fcn.10019e7f
mov ecx, eax
mov dword [ebp - 0x40], eax
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [edi + 0x28], 0
mov ecx, eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], 0xffffff
je 0x10016ebb
mov ecx, dword [edi + 0x28]
call fcn.1000339e
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x10016ebb
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x1001728d
xor eax, eax
mov dword [ebp + 0xc], eax
test ecx, ecx
jle 0x1001728d
mov ecx, dword [ebp - 0x40]
push eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant_const____thiscall_ScCore::BasicArray::operator___unsigned_int_const]
mov ecx, eax
call dword [sym.imp.ScCore.dll_public:_class_ScCore::LiveObject____thiscall_ScCore::Variant::getLiveObject_void_const]
mov edx, eax
push 0
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + 0x48]
push dword [ecx + 0x3c]
push 0
push dword [ebp - 0x18]
call fcn.1001602e
add esp, 0x10
test al, al
jne 0x10016f11
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jl 0x10016ed0
jmp 0x1001728d
mov ecx, dword [edx + 0x40]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 0xd4]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0xa8]
push edx
mov ecx, dword [eax + 0x3c]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
test eax, eax
jne 0x10016f76
and dword [0x10173690], eax
mov ecx, esi
and dword [0x10173694], eax
and dword [0x10173698], eax
mov eax, dword [esi]
push 2
call dword [eax + 0x1c4]
jmp 0x10016f8f
mov esi, dword [esi]
mov ecx, dword [ebp - 0x38]
call dword [esi + 0x1c8]
mov ecx, dword [ebp - 0x38]
dec eax
push eax
call dword [esi + 0x1c4]
mov esi, dword [ebp - 0x38]
movss xmm0, dword [ebp + 8]
mov ecx, esi
addss xmm0, dword [0x10173690]
mov eax, dword [esi]
movss dword [0x10173690], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x10173694]
movss dword [0x10173694], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x10173698]
movss dword [0x10173698], xmm0
call dword [eax + 0x1c8]
xor ecx, ecx
mov edx, str.threePtClip
sub eax, ecx
je 0x100170a2
dec eax
je 0x10017070
dec eax
jne 0x1001710e
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x1c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [0x1017369c], xmm0
movsd qword [0x101736a4], xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101736ac], xmm2
test eax, eax
je 0x1001710e
cvtpd2ps xmm0, xmm0
push 0x200
push edx
mov ecx, eax
movss dword [ebp - 0x68], xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x64], xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebp - 0x60], xmm0
call fcn.10041564
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x68]
push 0
push 2
push dword [ebp + 0x14]
push eax
push str.threePtClip
jmp 0x10017101
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101736b8], xmm0
movsd qword [0x101736c0], xmm1
movsd qword [0x101736c8], xmm2
jmp 0x100170d2
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101736d0], xmm0
movsd qword [0x101736d8], xmm1
movsd qword [0x101736e0], xmm2
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1001710e
cvtpd2ps xmm0, xmm0
push ecx
push 2
lea ecx, [ebp - 0x68]
push dword [ebp + 0x14]
movss dword [ebp - 0x68], xmm0
cvtpd2ps xmm0, xmm1
push ecx
mov ecx, eax
push edx
movss dword [ebp - 0x64], xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebp - 0x60], xmm0
call fcn.10040ec0
mov ecx, dword [ebp + 0x1c]
call fcn.100419c8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
test eax, eax
jne 0x1001728d
movss xmm0, dword [0x10136a18]
lea eax, [ebp - 0x120]
movss xmm3, dword [0x10173690]
movss xmm2, dword [0x10173694]
movss xmm1, dword [0x10173698]
divss xmm3, xmm0
push eax
push 0x101736d0
push 0x101736b8
push 0x1017369c
divss xmm2, xmm0
divss xmm1, xmm0
movss dword [0x10173690], xmm3
movss dword [0x10173694], xmm2
movss dword [0x10173698], xmm1
movss dword [ebp - 0x80], xmm3
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x78], xmm1
call fcn.100b8807
movsd xmm1, qword [0x10136a30]
add esp, 0x10
movsd xmm0, qword [ebp - 0x120]
xor edx, edx
xorpd xmm0, xmm1
mov ecx, dword [edi + 0x28]
cvtsd2ss xmm0, xmm0
inc edx
cmp byte [ebp + 0x1b], 0
push edx
movss dword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x118]
xorpd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x9c], xmm0
movsd xmm0, qword [ebp - 0x110]
xorpd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x98], xmm0
mov eax, dword [ecx]
je 0x10017206
push dword [ebp + 0x20]
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0x80]
push edx
call dword [eax + 0x2a4]
jmp 0x1001722d
call dword [eax + 0x29c]
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2a0]
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ecx]
call dword [eax + 0x298]
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10017249
push 0
push str.threePtClip
mov ecx, esi
call fcn.100416ad
mov ecx, esi
call fcn.100419c8
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1001728d
push 0
push dword [eax + 0x7c]
push 0x53
call ecx
add esp, 0xc
jmp 0x1001728d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
test eax, eax
jne 0x1001728d
and dword [0x10173690], eax
mov ecx, esi
and dword [0x10173694], eax
and dword [0x10173698], eax
mov eax, dword [esi]
push 3
call dword [eax + 0x1c4]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x38], eax
call fcn.10123c12
ret 0x1c