Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub_103475F0 proc near ; DATA XREF: sub_100351F0↑o
- .text:103475F0
- .text:103475F0 var_14 = dword ptr -14h
- .text:103475F0 var_8 = dword ptr -8
- .text:103475F0 arg_0 = dword ptr 8
- .text:103475F0
- .text:103475F0 push ebp
- .text:103475F1 mov ebp, esp
- .text:103475F3 and esp, 0FFFFFFF8h
- .text:103475F6 sub esp, 0Ch
- .text:103475F9 mov eax, [ebp+arg_0]
- .text:103475FC test eax, eax
- .text:103475FE push esi
- .text:103475FF mov esi, offset dword_1517D7F0
- .text:10347604 cmovnz esi, eax
- .text:10347607 mov eax, [esi-18h]
- .text:1034760A add esi, 0FFFFFFE8h
- .text:1034760D mov ecx, esi
- .text:1034760F mov eax, [eax+30h]
- .text:10347612 call eax
- .text:10347614 fstp [esp+10h+var_8]
- .text:10347618 movss xmm0, [esp+10h+var_8]
- .text:1034761E ucomiss xmm0, ds:flt_10C0E648
- .text:10347625 lahf
- .text:10347626 test ah, 44h
- .text:10347629 jp short loc_1034769C
- .text:1034762B push 0
- .text:1034762D push offset aViewmodelFov ; "viewmodel_fov"
- .text:10347632 lea ecx, [esp+18h+var_8]
- .text:10347636 call sub_108A6970
- .text:1034763B mov ecx, [esp+10h+var_8]
- .text:1034763F push 3Ch
- .text:10347641 mov eax, [ecx]
- .text:10347643 call dword ptr [eax+4]
- .text:10347646 push 0
- .text:10347648 push offset aViewmodelOffse ; "viewmodel_offset_x"
- .text:1034764D lea ecx, [esp+18h+var_8]
- .text:10347651 call sub_108A6970
- .text:10347656 mov ecx, [esp+10h+var_8]
- .text:1034765A push 1
- .text:1034765C mov eax, [ecx]
- .text:1034765E call dword ptr [eax+4]
- .text:10347661 push 0
- .text:10347663 push offset aViewmodelOffse_0 ; "viewmodel_offset_y"
- .text:10347668 lea ecx, [esp+18h+var_8]
- .text:1034766C call sub_108A6970
- .text:10347671 mov ecx, [esp+10h+var_8]
- .text:10347675 push 1
- .text:10347677 mov eax, [ecx]
- .text:10347679 call dword ptr [eax+4]
- .text:1034767C push 0
- .text:1034767E push offset aViewmodelOffse_1 ; "viewmodel_offset_z"
- .text:10347683 lea ecx, [esp+18h+var_8]
- .text:10347687 call sub_108A6970
- .text:1034768C mov ecx, [esp+10h+var_8]
- .text:10347690 push 0FFFFFFFFh
- .text:10347692 mov eax, [ecx]
- .text:10347694 call dword ptr [eax+4]
- .text:10347697 pop esi
- .text:10347698 mov esp, ebp
- .text:1034769A pop ebp
- .text:1034769B retn
- .text:1034769C ; ---------------------------------------------------------------------------
- .text:1034769C
- .text:1034769C loc_1034769C: ; CODE XREF: sub_103475F0+39↑j
- .text:1034769C mov eax, [esi]
- .text:1034769E mov ecx, esi
- .text:103476A0 mov eax, [eax+30h]
- .text:103476A3 call eax
- .text:103476A5 fstp [esp+10h+var_8]
- .text:103476A9 movss xmm0, [esp+10h+var_8]
- .text:103476AF ucomiss xmm0, ds:dword_10C0EA78
- .text:103476B6 lahf
- .text:103476B7 test ah, 44h
- .text:103476BA jp short loc_1034772D
- .text:103476BC push 0
- .text:103476BE push offset aViewmodelFov ; "viewmodel_fov"
- .text:103476C3 lea ecx, [esp+18h+var_8]
- .text:103476C7 call sub_108A6970
- .text:103476CC mov ecx, [esp+10h+var_8]
- .text:103476D0 push 36h
- .text:103476D2 mov eax, [ecx]
- .text:103476D4 call dword ptr [eax+4]
- .text:103476D7 push 0
- .text:103476D9 push offset aViewmodelOffse ; "viewmodel_offset_x"
- .text:103476DE lea ecx, [esp+18h+var_8]
- .text:103476E2 call sub_108A6970
- .text:103476E7 mov ecx, [esp+10h+var_8]
- .text:103476EB push 0
- .text:103476ED mov eax, [ecx]
- .text:103476EF call dword ptr [eax+4]
- .text:103476F2 push 0
- .text:103476F4 push offset aViewmodelOffse_0 ; "viewmodel_offset_y"
- .text:103476F9 lea ecx, [esp+18h+var_8]
- .text:103476FD call sub_108A6970
- .text:10347702 mov ecx, [esp+10h+var_8]
- .text:10347706 push 0
- .text:10347708 mov eax, [ecx]
- .text:1034770A call dword ptr [eax+4]
- .text:1034770D push 0
- .text:1034770F push offset aViewmodelOffse_1 ; "viewmodel_offset_z"
- .text:10347714 lea ecx, [esp+18h+var_8]
- .text:10347718 call sub_108A6970
- .text:1034771D mov ecx, [esp+10h+var_8]
- .text:10347721 push 0
- .text:10347723 mov eax, [ecx]
- .text:10347725 call dword ptr [eax+4]
- .text:10347728 pop esi
- .text:10347729 mov esp, ebp
- .text:1034772B pop ebp
- .text:1034772C retn
- .text:1034772D ; ---------------------------------------------------------------------------
- .text:1034772D
- .text:1034772D loc_1034772D: ; CODE XREF: sub_103475F0+CA↑j
- .text:1034772D mov eax, [esi]
- .text:1034772F mov ecx, esi
- .text:10347731 mov eax, [eax+30h]
- .text:10347734 call eax
- .text:10347736 fstp [esp+10h+var_8]
- .text:1034773A movss xmm0, [esp+10h+var_8]
- .text:10347740 ucomiss xmm0, ds:dword_10C0EBB8
- .text:10347747 lahf
- .text:10347748 test ah, 44h
- .text:1034774B jp short loc_103477CA
- .text:1034774D push 0
- .text:1034774F push offset aViewmodelFov ; "viewmodel_fov"
- .text:10347754 lea ecx, [esp+18h+var_8]
- .text:10347758 call sub_108A6970
- .text:1034775D mov ecx, [esp+10h+var_8]
- .text:10347761 push 44h
- .text:10347763 mov eax, [ecx]
- .text:10347765 call dword ptr [eax+4]
- .text:10347768 push 0
- .text:1034776A push offset aViewmodelOffse ; "viewmodel_offset_x"
- .text:1034776F lea ecx, [esp+18h+var_8]
- .text:10347773 call sub_108A6970
- .text:10347778 mov ecx, [esp+10h+var_8]
- .text:1034777C push ecx
- .text:1034777D mov [esp+14h+var_14], 40200000h
- .text:10347784 mov eax, [ecx]
- .text:10347786 call dword ptr [eax+8]
- .text:10347789 push 0
- .text:1034778B push offset aViewmodelOffse_0 ; "viewmodel_offset_y"
- .text:10347790 lea ecx, [esp+18h+var_8]
- .text:10347794 call sub_108A6970
- .text:10347799 mov ecx, [esp+10h+var_8]
- .text:1034779D push 0
- .text:1034779F mov eax, [ecx]
- .text:103477A1 call dword ptr [eax+4]
- .text:103477A4 push 0
- .text:103477A6 push offset aViewmodelOffse_1 ; "viewmodel_offset_z"
- .text:103477AB lea ecx, [esp+18h+var_8]
- .text:103477AF call sub_108A6970
- .text:103477B4 mov ecx, [esp+10h+var_8]
- .text:103477B8 push ecx
- .text:103477B9 mov [esp+14h+var_14], 0BFC00000h
- .text:103477C0 mov eax, [ecx]
- .text:103477C2 call dword ptr [eax+8]
- .text:103477C5 pop esi
- .text:103477C6 mov esp, ebp
- .text:103477C8 pop ebp
- .text:103477C9 retn
- .text:103477CA ; ---------------------------------------------------------------------------
- .text:103477CA
- .text:103477CA loc_103477CA: ; CODE XREF: sub_103475F0+15B↑j
- .text:103477CA push offset aValidOptions1D ; "Valid options: 1 = Desktop, 2 = Couch, "...
- .text:103477CF call ds:Warning
- .text:103477D5 add esp, 4
- .text:103477D8 pop esi
- .text:103477D9 mov esp, ebp
- .text:103477DB pop ebp
- .text:103477DC retn
- .text:103477DC sub_103475F0 endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement