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

Disassembly:
push 0x144
mov eax, 0x1012640d
call fcn.10123694
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
lea ecx, [edi + 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
mov dword [ebp - 0x20], eax
test eax, eax
jg 0x1001629b
cmp dword [ebp + 0x20], 0
je 0x1001742f
push dword [ebp + 0x1c]
mov ecx, edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100155c6
mov ecx, dword [edi + 0xa8]
lea eax, [edi + 0x70]
push eax
add ecx, 0x38
call fcn.1003dd22
mov esi, dword [edi + 0x50]
mov ecx, dword [edi + 0x28]
add esi, 0x14
call fcn.100029cf
push 0
lea ecx, [eax + 0x88]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Array::setLength_unsigned_int_]
mov eax, dword [ebp + 0x1c]
xor edx, edx
and dword [ebp + 0x10], 0
mov ecx, eax
shr ecx, 3
inc edx
and cl, dl
mov byte [ebp + 0xc], 0
mov dword [ebp - 0x40], ecx
mov ecx, eax
shr ecx, 7
and cl, dl
mov dword [ebp - 0x24], ecx
mov ecx, eax
shr ecx, 6
shr eax, 5
and cl, dl
and al, dl
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], eax
jle 0x10016372
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 0x10016366
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 - 0x20]
jl 0x1001631c
jmp 0x10016372
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 esi, dword [eax + 0x1c]
mov dword [ebp - 0x30], esi
test esi, esi
je 0x1001742f
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x94]
push ecx
mov ecx, esi
call dword [eax + 0x1b4]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp + 0x14]
add eax, edx
mov ecx, dword [ebp + 0x18]
and dword [ebp + 0x10], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x90]
add eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x538]
test eax, eax
je 0x10016414
mov esi, dword [ebp + 0x10]
mov edi, eax
cmp byte [ebp - 0x24], 0
jne 0x100163e3
test esi, esi
jne 0x100163e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
test al, al
cmovne esi, edi
cmp byte [ebp + 0xc], 0
jne 0x10016401
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 0x100163cd
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 0x10016432
cmp byte [ebp - 0x24], 0
jne 0x10016432
cmp byte [ebp - 0x2c], 0
jne 0x10016432
cmp byte [ebp - 0x40], 0
jne 0x10016432
and dword [ebp - 0x18], 0
jmp 0x10016446
push ecx
mov ecx, dword [edi + 0x28]
push edx
call fcn.100029cf
mov ecx, eax
call fcn.1001a2b9
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x28]
xor al, al
mov byte [ebp + 0x1b], al
mov ecx, dword [ecx + 0x538]
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x100164ce
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
je 0x100164b3
test edi, edi
je 0x10016473
cmp esi, edi
jne 0x100164b3
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 0x100164b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov ecx, esi
test al, al
je 0x100164a5
xor eax, eax
mov edi, esi
inc eax
mov byte [ebp + 0x1b], al
mov eax, dword [esi]
call dword [eax + 0x40]
jmp 0x100164b3
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 0x10016460
mov al, byte [ebp + 0x1b]
mov esi, dword [ebp - 0x30]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x10]
test al, al
jne 0x1001666d
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 0x538]
jmp 0x100165f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
jne 0x100165f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x100165f6
cmp dword [ebp - 0x18], 0
je 0x100165f6
mov ecx, dword [edi + 0x28]
call fcn.100029cf
mov ecx, eax
call fcn.1001a08c
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x100165f6
xor eax, eax
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x100165f6
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 0x100165e0
mov ecx, dword [esi + 0x48]
mov eax, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], eax
jne 0x100165e0
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x18]
test al, al
je 0x100165e0
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
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 - 0x34]
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 0x100165d5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x100165d5
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 0x100165f0
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp - 0x44]
jl 0x1001653a
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 0x18]
mov esi, dword [esi + 4]
mov dword [ebp + 0x18], esi
test esi, esi
jne 0x100164dc
cmp dword [ebp - 0x18], 0
jne 0x1001666a
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 0x538]
test esi, esi
je 0x1001666a
mov edi, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
jne 0x1001665d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
test al, al
jne 0x1001665d
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 0x10016656
test edi, edi
jne 0x10016656
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 0x1001661a
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x30]
cmp dword [ebp + 0x10], 0
jne 0x1001742f
mov edx, dword [ebp + 0x20]
xor ecx, ecx
test edx, edx
push 0xffffffffffffffff
pop eax
cmovne ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x20]
jge 0x10016be1
jmp 0x10016695
or eax, 0xffffffff
cmp ecx, eax
jne 0x100166c3
mov eax, dword [edi + 0xa8]
mov ecx, dword [ebp - 0x3c]
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 0x10016bcb
mov esi, dword [edi + 0x50]
add esi, 0x14
je 0x100166e0
lea ecx, [edi + 0x50]
call dword [sym.imp.sccore.dll_public:_int___thiscall_ScCore::SimpleArray::length_void_const]
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
jge 0x100166e0
mov eax, dword [esi + ecx*4]
jmp 0x100166e2
xor eax, eax
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10016bce
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 [ebp - 0x10]
lea edx, [ebp - 0xf0]
xor esi, esi
mov byte [ebp - 4], 8
push esi
push edx
mov eax, dword [ecx]
push 4
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0xd8]
push esi
push edx
push 5
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x108]
push esi
push edx
push 6
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0xc0]
push esi
push edx
push 7
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x138]
push esi
push edx
push 8
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x5c]
push esi
push edx
push 9
mov eax, dword [ecx]
call dword [eax + 0x74]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x74]
push esi
mov eax, dword [ecx]
push edx
push 0xa
call dword [eax + 0x74]
mov esi, dword [sym.imp.sccore.dll_public:_bool___thiscall_ScCore::Variant::getBool_void_const]
lea ecx, [ebp - 0xf0]
call esi
lea ecx, [ebp - 0xd8]
mov byte [ebp + 0x1f], al
call esi
lea ecx, [ebp - 0x108]
mov byte [ebp + 0xb], al
call esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0x19], al
call esi
lea ecx, [ebp - 0x138]
mov byte [ebp + 0x1b], al
call esi
lea ecx, [ebp - 0x5c]
mov byte [ebp + 0x13], al
call esi
lea ecx, [ebp - 0x74]
mov byte [ebp + 0x17], al
call esi
lea ecx, [ebp - 0x8c]
mov byte [ebp + 0xf], al
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
push 0
push ecx
push 0xb
mov edx, dword [eax]
mov ecx, eax
mov byte [ebp - 4], 9
call dword [edx + 0x74]
test eax, eax
jne 0x1001689c
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 0x1001689c
mov edx, dword [esi]
mov ecx, esi
push dword [0x101686d8]
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 0x1001689c
mov eax, dword [esi + 0x3c]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100168b0
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 - 0x34], 0
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x8c]
push 0
push edx
push 0xb
mov eax, dword [ecx]
mov byte [ebp - 4], 0xa
call dword [eax + 0x74]
test eax, eax
jne 0x10016917
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 0x10016917
mov edx, dword [esi]
mov ecx, esi
push dword [0x10168020]
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 0x10016917
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x1001692c
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 - 0x34]
test edx, edx
jne 0x1001697e
test esi, esi
jne 0x1001697e
cmp byte [ebp + 0x1f], dl
je 0x10016945
cmp byte [ebp - 0x40], dl
jne 0x10016b58
cmp byte [ebp + 0xb], 0
je 0x10016955
cmp byte [ebp - 0x24], 0
jne 0x10016b58
cmp byte [ebp - 0x19], 0
je 0x10016965
cmp byte [ebp - 0x2c], 0
jne 0x10016b58
cmp byte [ebp - 0x3c], 0
je 0x10016b67
cmp byte [ebp + 0x1b], 0
je 0x10016b67
jmp 0x10016b58
cmp byte [ebp - 0x3c], 0
je 0x10016b15
cmp byte [ebp + 0x1b], 0
jne 0x100169a4
cmp byte [ebp + 0x13], 0
jne 0x100169a4
cmp byte [ebp + 0x17], 0
jne 0x100169a4
cmp byte [ebp + 0xf], 0
je 0x10016b15
push 0
push dword [ebp - 0x18]
push esi
push edx
call fcn.1003dd22
push 0
push dword [edi + 0x38]
mov byte [ebp + 0x1f], al
push esi
push edx
call fcn.1003dd22
add esp, 0x20
mov cl, al
cmp byte [ebp + 0x17], 0
mov al, byte [ebp + 0x1f]
je 0x100169fa
test cl, cl
je 0x100169fa
test al, al
jne 0x100169fa
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
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x45], cl
jmp 0x10016b4f
cmp byte [ebp + 0x13], 0
je 0x10016a20
test cl, cl
jne 0x10016a20
test al, al
je 0x10016a20
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x49], cl
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x48], 0
jmp 0x100169ec
cmp byte [ebp + 0x1b], 0
je 0x10016a43
test al, al
je 0x10016a43
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
jmp 0x100169ec
cmp byte [ebp + 0xf], 0
je 0x10016b67
test edx, edx
jne 0x10016a81
test esi, esi
je 0x10016a81
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 0x10016b58
mov ecx, dword [edi + 0x28]
call fcn.100029cf
mov ecx, eax
call fcn.1001a08c
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 0x10016b67
xor eax, eax
mov dword [ebp + 0x1c], eax
test ecx, ecx
jle 0x10016b67
mov esi, dword [ebp - 0x10]
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 dword [ebp - 0x14]
push dword [ebp - 0x34]
call fcn.1003dd22
add esp, 0x10
test al, al
je 0x10016b07
mov eax, dword [edi + 0xa8]
xor ecx, ecx
inc ecx
mov byte [eax + 0x44], cl
mov ecx, esi
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x45], 0
lea eax, [edi + 0xac]
push eax
call fcn.100201a0
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp + 0x14]
jl 0x10016ab7
jmp 0x10016b67
cmp byte [ebp + 0x1f], 0
je 0x10016b21
cmp byte [ebp - 0x40], 0
jne 0x10016b39
cmp byte [ebp + 0xb], 0
je 0x10016b2d
cmp byte [ebp - 0x24], 0
jne 0x10016b39
cmp byte [ebp - 0x19], 0
je 0x10016b67
cmp byte [ebp - 0x2c], 0
je 0x10016b67
push 0
push dword [ebp - 0x18]
push esi
push edx
call fcn.1003dd22
add esp, 0x10
test al, al
je 0x10016b67
xor ecx, ecx
inc ecx
mov eax, dword [edi + 0xa8]
mov byte [eax + 0x44], cl
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 0xac]
push eax
call fcn.100201a0
mov esi, dword [sym.imp.sccore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 7
call esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
call esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 4
call esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call esi
xor eax, eax
lea ecx, [ebp - 0xd8]
inc eax
mov byte [ebp - 4], al
call esi
or eax, 0xffffffff
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x20]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x20]
jl 0x10016692
mov esi, dword [ebp - 0x30]
push str._alignCameraTargetToFace
lea ecx, [ebp - 0x4c]
mov byte [ebp + 0x1f], 0
mov byte [ebp + 0x1b], 0
mov byte [ebp + 0x10], 0
mov byte [ebp + 0x20], 0
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
cmp byte [ebp + 0x17], 0
je 0x10016c33
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016d33
push str._alignTargetToFace
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
cmp byte [ebp + 0x17], 0
je 0x10016c75
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016d7c
push str._alignCameraTargetToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
cmp byte [ebp + 0x17], 0
je 0x10016cb4
xor eax, eax
inc eax
mov byte [ebp + 0x1b], al
jmp 0x10016d33
push str._alignTargetToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xe
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
cmp byte [ebp + 0x17], 0
je 0x10016cf6
xor eax, eax
inc eax
mov byte [ebp + 0x1b], al
jmp 0x10016d7c
push str._alignCameraTargetToBbox
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0xf
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
cmp byte [ebp + 0x17], 0
je 0x10016d38
xor eax, eax
inc eax
mov byte [ebp + 0x10], al
mov byte [ebp + 0x20], al
jmp 0x10016d7c
push str._alignTargetToBbox
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0x10
push eax
lea ecx, [edi + 0x70]
call fcn.1003dd22
mov byte [ebp + 0x17], al
lea ecx, [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.10006d3c
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 0x10016dc1
push str._alignToFace
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
xor eax, eax
mov dword [ebp - 4], 0x11
inc eax
lea ecx, [edi + 0x70]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1003dd22
test al, al
jne 0x10016db9
cmp byte [ebp + 0x1f], al
jne 0x10016db9
cmp byte [ebp + 0x10], al
je 0x10016dc1
xor ecx, ecx
inc ecx
mov byte [ebp + 0x17], cl
jmp 0x10016dc8
xor ecx, ecx
mov byte [ebp + 0x17], 0
inc ecx
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
test cl, al
je 0x10016de6
and eax, 0xfffffffe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
call fcn.10006d3c
xor ecx, ecx
inc ecx
cmp byte [ebp + 0x17], 0
je 0x10016f6f
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c4]
cmp dword [ebp - 0x18], 0
je 0x10016f6f
mov ecx, dword [edi + 0x28]
call fcn.100029cf
mov ecx, eax
call fcn.1001a08c
mov ecx, eax
mov dword [ebp + 0xc], eax
mov edx, dword [eax]
call dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
jle 0x10016f6f
xor eax, eax
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x10016f6f
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.1003dd22
add esp, 0x10
test al, al
je 0x10016f5f
mov ecx, dword [edx + 0x40]
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
call dword [eax + 0xd4]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [eax + 0x3c]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd4]
cmp byte [ebp + 0x10], 0
movss xmm0, dword [ebp - 0x44]
mov ecx, dword [edi + 0x28]
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x48], xmm0
mov eax, dword [ecx]
je 0x10016efa
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 0x10016f3d
cmp byte [ebp + 0x1f], 0
je 0x10016f15
push 0
push dword [ebp + 0x20]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x68]
push edx
call dword [eax + 0x2a4]
jmp 0x10016f3d
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 0x10016f53
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 - 0x20]
jl 0x10016e38
cmp byte [ebp - 0x2c], 0
je 0x10016fb2
push str._alignToThreePoint
lea ecx, [ebp - 0x4c]
call fcn.1003dd22
mov eax, dword [ebp - 0x38]
lea ecx, [edi + 0x70]
or eax, 2
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1003dd22
test al, al
jne 0x10016faa
cmp byte [ebp + 0x1b], al
je 0x10016fb2
xor eax, eax
inc eax
mov byte [ebp + 0x1f], al
jmp 0x10016fb6
mov byte [ebp + 0x1f], 0
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
test al, 2
je 0x10016fcb
lea ecx, [ebp - 0x4c]
call fcn.10006d3c
cmp byte [ebp + 0x1f], 0
je 0x10017429
mov eax, dword [0x101726b4]
xor ecx, ecx
inc ecx
test cl, al
jne 0x10016fe8
or eax, ecx
mov dword [0x101726b4], eax
test al, 2
jne 0x10016ff4
or eax, 2
mov dword [0x101726b4], eax
test al, 4
jne 0x10017000
or eax, 4
mov dword [0x101726b4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x9c]
cmp dword [ebp - 0x18], 0
mov dword [ebp + 0x1c], eax
je 0x100173fd
mov ecx, dword [edi + 0x28]
call fcn.100029cf
mov ecx, eax
call fcn.1001a08c
mov ecx, eax
mov dword [ebp - 0x44], 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 0x10017057
mov ecx, dword [edi + 0x28]
call fcn.10003386
mov ecx, dword [ebp + 0x10]
test eax, eax
je 0x10017057
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x14], eax
test ecx, ecx
jle 0x10017429
xor eax, eax
mov dword [ebp + 0xc], eax
test ecx, ecx
jle 0x10017429
mov ecx, dword [ebp - 0x44]
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.1003dd22
add esp, 0x10
test al, al
jne 0x100170ad
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jl 0x1001706c
jmp 0x10017429
mov ecx, dword [edx + 0x40]
lea edx, [ebp - 0x20]
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 0x10017112
and dword [0x10172690], eax
mov ecx, esi
and dword [0x10172694], eax
and dword [0x10172698], eax
mov eax, dword [esi]
push 2
call dword [eax + 0x1c4]
jmp 0x1001712b
mov esi, dword [esi]
mov ecx, dword [ebp - 0x30]
call dword [esi + 0x1c8]
mov ecx, dword [ebp - 0x30]
dec eax
push eax
call dword [esi + 0x1c4]
mov esi, dword [ebp - 0x30]
movss xmm0, dword [ebp + 8]
mov ecx, esi
addss xmm0, dword [0x10172690]
mov eax, dword [esi]
movss dword [0x10172690], xmm0
movss xmm0, dword [ebp - 0x2c]
addss xmm0, dword [0x10172694]
movss dword [0x10172694], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, dword [0x10172698]
movss dword [0x10172698], xmm0
call dword [eax + 0x1c8]
xor ecx, ecx
mov edx, str.threePtClip
sub eax, ecx
je 0x1001723e
dec eax
je 0x1001720c
dec eax
jne 0x100172aa
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x20]
mov eax, dword [ebp + 0x1c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [0x1017269c], xmm0
movsd qword [0x101726a4], xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101726ac], xmm2
test eax, eax
je 0x100172aa
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.10041383
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x68]
push 0
push 2
push dword [ebp + 0x14]
push eax
push str.threePtClip
jmp 0x1001729d
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x20]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101726b8], xmm0
movsd qword [0x101726c0], xmm1
movsd qword [0x101726c8], xmm2
jmp 0x1001726e
movss xmm0, dword [ebp + 8]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x20]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm2
movsd qword [0x101726d0], xmm0
movsd qword [0x101726d8], xmm1
movsd qword [0x101726e0], xmm2
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x100172aa
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.10040cdf
mov ecx, dword [ebp + 0x1c]
call fcn.100417cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
test eax, eax
jne 0x10017429
movss xmm0, dword [0x101359e0]
lea eax, [ebp - 0x120]
movss xmm3, dword [0x10172690]
movss xmm2, dword [0x10172694]
movss xmm1, dword [0x10172698]
divss xmm3, xmm0
push eax
push 0x101726d0
push 0x101726b8
push 0x1017269c
divss xmm2, xmm0
divss xmm1, xmm0
movss dword [0x10172690], xmm3
movss dword [0x10172694], xmm2
movss dword [0x10172698], xmm1
movss dword [ebp - 0x80], xmm3
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x78], xmm1
call fcn.1003dd22
movsd xmm1, qword [0x10135a00]
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 0x100173a2
push dword [ebp + 0x20]
lea edx, [ebp - 0xa0]
push edx
lea edx, [ebp - 0x80]
push edx
call dword [eax + 0x2a4]
jmp 0x100173c9
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 0x100173e5
push 0
push str.threePtClip
mov ecx, esi
call fcn.100414b4
mov ecx, esi
call fcn.100417cf
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10017429
push 0
push dword [eax + 0x7c]
push 0x53
call ecx
add esp, 0xc
jmp 0x10017429
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
test eax, eax
jne 0x10017429
and dword [0x10172690], eax
mov ecx, esi
and dword [0x10172694], eax
and dword [0x10172698], eax
mov eax, dword [esi]
push 3
call dword [eax + 0x1c4]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x38], eax
call fcn.10123662
ret 0x1c