Function at 0x10032b60
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e29d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x998
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x9a4], esi
mov eax, dword [esi + 8]
mov dword [ebp - 0x9a0], eax
lea eax, [ebp - 0x9a0]
push 0x503
push eax
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::Find_unsigned_int_const___enum_CObject::Class_]
mov edi, eax
add esp, 8
mov dword [ebp - 0x99c], edi
test edi, edi
jne 0x10032bf8
lea eax, [ebp - 0x9a0]
push 0x303
push eax
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::Find_unsigned_int_const___enum_CObject::Class_]
mov edi, eax
mov dword [ebp - 0x99c], eax
add esp, 8
test edi, edi
je 0x10033355
lea ecx, [ebp - 0x940]
call dword [sym.imp.Common.dll_public:_void___thiscall_CEquipTraverser::constructor_void_]
lea ecx, [ebp - 0x940]
push ecx
lea ecx, [edi + 0xe4]
call dword [sym.imp.Common.dll_public:_class_CEquip____thiscall_CEquipManager::Traverse_class_CEquipTraverser__]
mov edi, eax
test edi, edi
je 0x10032c74
nop dword [eax]
push edi
call dword [sym.imp.Common.dll_public:_static_class_CEShield____cdecl_CEShield::cast_class_CEquip__]
add esp, 4
test eax, eax
je 0x10032c55
push edi
call dword [sym.imp.Common.dll_public:_static_class_CEShield____cdecl_CEShield::cast_class_CEquip__]
add esp, 4
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
call eax
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10033355
mov ecx, dword [ebp - 0x99c]
lea eax, [ebp - 0x940]
push eax
lea ecx, [ecx + 0xe4]
call dword [sym.imp.Common.dll_public:_class_CEquip____thiscall_CEquipManager::Traverse_class_CEquipTraverser__]
mov edi, eax
test edi, edi
jne 0x10032c20
push dword [esi]
mov dword [ebp - 0x948], 0
call dword [sym.imp.Common.dll_struct_Archetype::Equipment____cdecl_Archetype::GetEquipment_unsigned_int_]
add esp, 4
movss xmm0, dword [eax + 0x80]
push 0x67
movss dword [ebp - 0x30], xmm0
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindFirst_enum_CObject::Class_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10032d30
nop dword [eax + eax]
mov ecx, edi
call dword [sym.imp.Common.dll_public:_struct_Archetype::Projectile_const____thiscall_CProjectile::projarch_void_const]
mov ecx, eax
call dword [sym.imp.Common.dll_public:_unsigned_int___thiscall_Archetype::Root::get_id_void_const]
cmp eax, dword [esi]
jne 0x10032d1a
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
movq xmm0, qword [esi + 0x10]
mov ecx, dword [esi + 0x18]
movq qword [ebp - 0x28], xmm0
movss xmm1, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x24]
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
mov dword [ebp - 0x20], ecx
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1008b888]
comiss xmm0, xmm2
ja 0x10032d28
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindNext_void_]
mov edi, eax
test edi, edi
jne 0x10032cb0
jmp 0x10032d30
test edi, edi
jne 0x10032dcb
push 0xa7
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindFirst_enum_CObject::Class_]
mov edi, eax
add esp, 4
test edi, edi
je 0x10033355
mov ecx, edi
call dword [sym.imp.Common.dll_public:_struct_Archetype::Projectile_const____thiscall_CProjectile::projarch_void_const]
mov ecx, eax
call dword [sym.imp.Common.dll_public:_unsigned_int___thiscall_Archetype::Root::get_id_void_const]
cmp eax, dword [esi]
jne 0x10032db2
mov ecx, edi
call dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
movq xmm0, qword [esi + 0x10]
mov ecx, dword [esi + 0x18]
movq qword [ebp - 0x28], xmm0
movss xmm1, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x24]
subss xmm2, dword [eax + 4]
subss xmm1, dword [eax]
mov dword [ebp - 0x20], ecx
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1008b888]
comiss xmm0, xmm2
ja 0x10032dc3
call dword [sym.imp.Common.dll_public:_static_struct_CObject____cdecl_CObject::FindNext_void_]
mov edi, eax
test edi, edi
jne 0x10032d48
jmp 0x10033355
test edi, edi
je 0x10033355
mov eax, dword [0x101f4508]
xor ecx, ecx
mov esi, dword [0x101f4504]
sub eax, esi
sar eax, 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10032e14
movss xmm1, dword [ebp - 0x30]
xor edx, edx
nop
movss xmm0, dword [esi + edx + 4]
comiss xmm0, xmm1
ja 0x10033249
mov eax, dword [0x101f4508]
inc ecx
sub eax, esi
mov dword [ebp - 0x3c], ecx
sar eax, 4
add edx, 0x10
cmp ecx, eax
jb 0x10032df0
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call esi
xor edx, edx
movsd xmm1, qword [0x1008b900]
div dword [ebp - 0x20]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x1008bb80]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov ecx, dword [ebp - 0x20]
movaps xmm1, xmm0
dec ecx
sub esp, 8
mov eax, ecx
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1008bb80]
movsd qword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1008bb80]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [ebp - 0x38], xmm1
fld qword [ebp - 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm0, qword [ebp - 0x28]
fstp qword [ebp - 0x38]
subsd xmm0, qword [ebp - 0x38]
add esp, 8
call fcn.1007b620
mov edx, dword [0x101f4504]
add eax, eax
mov ecx, dword [edx + eax*8]
mov dword [ebp - 0x94c], ecx
movss xmm0, dword [edx + eax*8 + 8]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx + eax*8 + 0xc]
movss dword [ebp - 0x30], xmm0
call esi
movss xmm1, dword [ebp - 0x30]
subss xmm1, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x99c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1008b9f4]
mulss xmm0, xmm1
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x944], xmm0
call dword [sym.imp.Common.dll_public:_class_Matrix_const____thiscall_EngineObject::get_orientation_void_const]
mov ecx, dword [ebp - 0x99c]
mov esi, dword [sym.imp.Common.dll_public:_class_Vector_const____thiscall_EngineObject::get_position_void_const]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xdc], eax
movups xmmword [ebp - 0x88], xmm0
call esi
movups xmm1, xmmword [ebp - 0xd8]
movups xmm2, xmmword [ebp - 0x88]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
movss dword [ebp - 0xb8], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [ebp - 0xa8], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0xdc]
movss dword [ebp - 0xb4], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x9a4]
movss dword [ebp - 0xa4], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movss dword [ebp - 0xc8], xmm1
shufps xmm1, xmm1, 0xff
movss dword [ebp - 0xc0], xmm1
movss xmm1, dword [eax + 0x18]
subss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0xa0], xmm2
movss xmm2, dword [eax + 0x14]
lea eax, [ebp - 0xc8]
subss xmm2, dword [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x140]
mov dword [ebp - 0x90], 0
push eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x8c], 0x3f800000
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x54], xmm2
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixInverse]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x998]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3TransformCoord]
mov ecx, edi
call esi
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, edi
movq xmm0, qword [eax]
movq qword [ebp - 0x84], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
call eax
mov esi, eax
mov ecx, esi
call fcn.10013350
movsd xmm1, qword [0x1008b8e8]
divsd xmm1, xmm0
push 1
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [esi]
movss dword [esi], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esi + 4]
mulss xmm1, dword [esi + 8]
movss dword [esi + 4], xmm0
movss dword [esi + 8], xmm1
movq xmm0, qword [esi]
movq qword [ebp - 0x38], xmm0
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x99c]
call dword [sym.imp.Common.dll_int___cdecl_PhySys::FindRayIntersect_struct_CObject___class_Vector_const___class_Vector_const___struct_PhySys::RayHit___int_]
add esp, 0x14
push str.Ray_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [edi]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, edi
call dword [eax + 0x54]
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x50]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x60]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x64]
push eax
push eax
movss dword [ebp - 0x48], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXVec3Normalize]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXVec3TransformNormal]
movss xmm0, dword [0x1008bbe0]
movss xmm3, dword [ebp - 0x74]
movss xmm2, dword [ebp - 0x70]
xorps xmm3, xmm0
movss xmm1, dword [ebp - 0x6c]
xorps xmm2, xmm0
mov dword [ebp - 0x38], 0
xorps xmm1, xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x3f800000
movss dword [ebp - 0x28], xmm3
lea eax, [ebp - 0x38]
movss dword [ebp - 0x24], xmm2
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x20], xmm1
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x98c]
mov dword [ebp - 0x40], 0
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixLookAtLH]
mov eax, dword [ebp - 0x9a4]
mov dword [ebp - 0x954], 0
mov dword [ebp - 0x958], 0
mov dword [ebp - 0x95c], 0
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x960], 0
push eax
mov dword [ebp - 0x970], 0
mov dword [ebp - 0x980], 0
mov dword [ebp - 0x950], 0x3f800000
call fcn.10033a70
mov esi, dword [eax]
add esi, 0xc
cmp dword [esi + 4], 0x2aaaaaa
mov edi, dword [esi]
je 0x10033373
jmp 0x100332e4
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call esi
xor edx, edx
movsd xmm1, qword [0x1008b900]
div dword [ebp - 0x3c]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x1008bb80]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
mov ecx, dword [ebp - 0x3c]
movaps xmm1, xmm0
dec ecx
sub esp, 8
mov eax, ecx
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1008bb80]
movsd qword [ebp - 0x28], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x1008bb80]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [ebp - 0x38], xmm1
fld qword [ebp - 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm0, qword [ebp - 0x28]
fstp qword [ebp - 0x38]
subsd xmm0, qword [ebp - 0x38]
jmp 0x10032eaa
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
push 0x60
mov dword [ebp - 0x30], 0
call fcn.1004d771
movups xmm0, xmmword [ebp - 0x998]
mov ecx, eax
add esp, 4
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [ebp - 0x988]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x978]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [ebp - 0x968]
movups xmmword [ecx + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x958]
movups xmmword [ecx + 0x48], xmm0
movq xmm0, qword [ebp - 0x948]
movq qword [ecx + 0x58], xmm0
inc dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [edi + 4], ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.list_too_long
call fcn.1007a7df
int3