Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun_3959bbdc(__return_address());
- eax11 = ebp12->f8;
- v13 = ebx14;
- v15 = esi16;
- eax17 = eax11;
- v18 = edi19;
- esi20 = ecx;
- if (!eax17) {
- addr_0x39518977_2:
- zf21 = (*(uint8_t*)&g395c6ed8 & 1) == 0;
- if (zf21) {
- g395c6ed8 = g395c6ed8 | 1;
- eax22 = g395c0544;
- eax23 = *eax22;
- v24 = eax23->f0;
- *(int32_t*)(ebp25 - 4) = 0;
- fun_3951cf8f(0x395c67d8, v24, "Network:FrameStart", 19);
- *(uint32_t*)(ebp26 - 4) = 0xffffffff;
- }
- } else {
- eax27 = eax17 - 1;
- if (eax27) {
- if (eax27 - 1) {
- addr_0x39518a86_6:
- v28 = ebp29->f8;
- fun_39501199(esi20, v28);
- } else {
- fun_39518baa(ecx);
- edi30 = &esi20->f892;
- *(int32_t**)(ebp31 - 28) = edi30;
- *(int32_t*)(ebp32 - 20) = (int32_t)esi20 + 0x128;
- while (1) {
- *edi30 = *edi30 + 1;
- *(int32_t*)(ebp33 - 4) = 5;
- *(int8_t*)(ebp34 - 13) = 0;
- fun_3950c204((int32_t)esi20 + 0xb0, 1, v18, v15, v13, v35, v36, v37);
- fun_39501199(esi20, 2);
- ebp38->f11 = static_cast<uint8_t>((uint1_t)(esi20->f152 == esi20->f156));
- if (!ebp39->f11) {
- al40 = fun_39518d25(esi20, 2);
- *(int8_t*)(ebp41 - 13) = al40;
- }
- fun_3950c204((int32_t)esi20 + 0xec, 1, 2, 1, v18, v15, v13, v42);
- ecx43 = (int32_t)esi20 + 0xb0;
- fun_3950c204(ecx43, 1, 1, 2, 1, v18, v15, v13);
- v44 = *(int32_t*)(ebp45 - 20);
- EnterCriticalSection(ecx43, v44, 1, 1, 2);
- ecx46 = (int32_t)esi20 + 0x144;
- *(int8_t*)(ebp47 - 4) = 6;
- fun_3950c204(ecx46, 1, v44, 1, 1, 2, 1, v18);
- v48 = *(int32_t*)(ebp49 - 20);
- *(int8_t*)(ebp50 - 4) = 5;
- LeaveCriticalSection(ecx46, v48, 1, v44, 1, 1, 2);
- if (ebp51->f11)
- break;
- if (!*(int8_t*)(ebp52 - 13))
- break;
- ebx53 = &esi20->f896;
- *ebx53 = *ebx53 + 1;
- ebp54->f8 = ebx53;
- zf55 = esi20->f1021 == 0;
- *(int8_t*)(ebp56 - 4) = 7;
- if (!zf55) {
- LeaveCriticalSection(ecx46, (int32_t)esi20 + 0x39c, v48, 1, v44, 1, 1, 2);
- }
- ecx57 = (int32_t)esi20 + 0x1f8;
- fun_3950c204(ecx57, 0, v48, 1, v44, 1, 1, 2);
- if (esi20->f1021) {
- EnterCriticalSection(ecx57, (int32_t)esi20 + 0x39c, 0, v48, 1, v44, 1, 1, 2);
- }
- fun_395560c2((int32_t)esi20 + 0x1bc, (int32_t)esi20 + 0x1f8, 0, v48, 1, v44, 1, 1, 2);
- *ebx53 = *ebx53 - 1;
- *(int8_t*)(ebp58 - 4) = 5;
- fun_39518737(esi20, 0, (int32_t)esi20 + 0x1f8, 0, v48, 1, v44, 1, 1, 2);
- fun_39518737(esi20, 1, (int32_t)esi20 + 0x1f8, 0, v48, 1, v44, 1, 1, 2);
- *edi30 = *edi30 - 1;
- }
- *edi30 = *edi30 - 1;
- }
- g0 = *(int32_t*)(ebp59 - 12);
- goto ebp60->f4;
- }
- zf61 = (*(uint8_t*)&g395c6ed8 & 2) == 0;
- if (zf61) {
- g395c6ed8 = g395c6ed8 | 2;
- *(uint32_t*)(ebp62 - 4) = 2;
- eax63 = g395c0544;
- eax64 = *eax63;
- v65 = eax64->f0;
- fun_3951cf8f(0x395c6b58, v65, "Network:FrameEnd", 19);
- *(uint32_t*)(ebp66 - 4) = 0xffffffff;
- }
- eax67 = g395c0544;
- asm("xorpd xmm0, xmm0");
- asm("movlpd [ebp-0x40], xmm0");
- asm("xorpd xmm0, xmm0");
- asm("movlpd [ebp-0x38], xmm0");
- *(int32_t*)(ebp68 - 48) = 0;
- *(int32_t*)(ebp69 - 44) = 0;
- ecx70 = *eax67;
- if (ecx70->f151) {
- *(int32_t*)(ebp71 - 48) = 0x395c6b58;
- eax72 = *eax67;
- eax72->f152();
- ecx70 = (struct s0*)(ebp73 - 64);
- }
- *(int32_t*)(ebp74 - 4) = 3;
- g395c58d0 = 0;
- fun_39518baa(ecx70);
- ecx75 = (int32_t)esi20 + 0xec;
- fun_3950c204(ecx75, 1, v18, v15, v13, v76, v77, v78);
- edi79 = (int32_t)esi20 + 0x128;
- *(int32_t*)(ebp80 - 20) = edi79;
- EnterCriticalSection(ecx75, edi79, 1);
- ecx81 = (int32_t)esi20 + 0x144;
- *(int8_t*)(ebp82 - 4) = 4;
- fun_3950c204(ecx81, 1, edi79, 1, v18, v15, v13, v83);
- *(int8_t*)(ebp84 - 4) = 3;
- LeaveCriticalSection(ecx81, edi79, 1, edi79, 1);
- zf85 = g395c9a24 == 0;
- if (zf85)
- goto addr_0x39518a6b_24; else
- goto addr_0x39518957_25;
- }
- eax86 = g395c0544;
- asm("xorpd xmm0, xmm0");
- asm("movlpd [ebp-0x40], xmm0");
- asm("xorpd xmm0, xmm0");
- asm("movlpd [ebp-0x38], xmm0");
- *(int32_t*)(ebp87 - 48) = 0;
- *(int32_t*)(ebp88 - 44) = 0;
- if ((*eax86)->f151) {
- *(int32_t*)(ebp89 - 48) = 0x395c67d8;
- eax90 = *eax86;
- eax90->f152();
- eax86 = g395c0544;
- }
- eax91 = *(*eax86)->f0;
- *(int32_t*)(ebp92 - 4) = 1;
- eax93 = (int32_t)eax91->f184();
- eax94 = g395c0544;
- eax95 = *(*eax94)->f20;
- if (eax93 == 1) {
- eax95->f44();
- asm("fmul dword [0x395a6d40]");
- eax96 = fun_3959c066();
- *(int32_t*)(ebp97 - 32) = eax96;
- v98 = ebp99 - 32;
- *(int32_t*)(ebp100 - 28) = edx101;
- eax102 = ebp103 - 24;
- } else {
- v98 = 0;
- eax95->f36(ebp104 - 40, 0);
- eax102 = ebp105 - 32;
- }
- ecx106 = (struct s0*)((int32_t)esi20 + 0x3f0);
- fun_39523c09(ecx106, eax102, v98);
- fun_39518baa(ecx106);
- fun_3950c204((int32_t)esi20 + 0xb0, 1, eax102, v98, v18, v15, v13, v107);
- if (!esi20->f896) {
- fun_395560c2((int32_t)esi20 + 0x1bc, (int32_t)esi20 + 0x1f8, 1, eax102, v98, v18, v15, v13, v108);
- }
- addr_0x39518a6b_24:
- *(uint32_t*)(ebp109 - 4) = 0xffffffff;
- if (*(int32_t*)(ebp110 - 48)) {
- eax111 = g395c0544;
- eax112 = *eax111;
- eax112->f156();
- goto addr_0x39518a86_6;
- }
- addr_0x39518957_25:
- eax113 = g395c0544;
- eax114 = *(*eax113)->f28;
- eax114->f148("SaveLevelStats", 0, 0, edi79, 1, edi79, 1);
- _exit(0, "SaveLevelStats", 0, 0, edi79, 1, edi79, 1);
- goto addr_0x39518977_2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement