rendered paste body.text:008035C0
.text:008035C0 ; =============== S U B R O U T I N E =======================================
.text:008035C0
.text:008035C0 ; Attributes: bp-based frame
.text:008035C0
.text:008035C0 sub_8035C0 proc near ; DATA XREF: .data:00BB3E6Co
.text:008035C0
.text:008035C0 var_18 = qword ptr -18h
.text:008035C0 var_C = dword ptr -0Ch
.text:008035C0 var_8 = dword ptr -8
.text:008035C0 var_4 = dword ptr -4
.text:008035C0 arg_0 = dword ptr 8
.text:008035C0
.text:008035C0 push ebp
.text:008035C1 mov ebp, esp
.text:008035C3 mov eax, dword_E60E30
.text:008035C8 sub esp, 0Ch
.text:008035CB test eax, eax
.text:008035CD jnz short loc_8035E1
.text:008035CF mov eax, dword_DC9988
.text:008035D4 add eax, 1
.text:008035D7 mov dword_DC9988, eax
.text:008035DC mov dword_E60E30, eax
.text:008035E1
.text:008035E1 loc_8035E1: ; CODE XREF: sub_8035C0+Dj
.text:008035E1 push esi
.text:008035E2 mov esi, [ebp+arg_0]
.text:008035E5 push eax
.text:008035E6 call sub_4C3F30
.text:008035EB mov ecx, [eax+3D4h]
.text:008035F1 mov edx, [eax+3D8h]
.text:008035F7 mov eax, [eax+3DCh]
.text:008035FD mov [ebp+var_C], ecx
.text:00803600 fld [ebp+var_C]
.text:00803603 push ecx ; double
.text:00803604 fstp [esp+18h+var_18]
.text:00803607 push esi ; int
.text:00803608 mov [ebp+var_8], edx
.text:0080360B mov [ebp+var_4], eax
.text:0080360E call sub_713380
.text:00803613 fld [ebp+var_8]
.text:00803616 add esp, 4
.text:00803619 fstp [esp+18h+var_18]
.text:0080361C push esi ; int
.text:0080361D call sub_713380
.text:00803622 fld [ebp+var_4]
.text:00803625 add esp, 4
.text:00803628 fstp [esp+18h+var_18]
.text:0080362B push esi ; int
.text:0080362C call sub_713380
.text:00803631 add esp, 0Ch
.text:00803634 mov eax, 3
.text:00803639 pop esi
.text:0080363A mov esp, ebp
.text:0080363C pop ebp
.text:0080363D retn
.text:0080363D sub_8035C0 endp
.text:0080363D
.text:0080363D ; ---------------------------------------------------------------------------