annotate stru11.h @ 30:8aa7e4a303c9

Vis::SortVerticesByY fixed
author zipi
date Sun, 20 Jan 2013 13:49:07 +0000
parents 9c0607679772
children c45d51b3f4f4
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 128 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct stru11
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 //----- (00438526) --------------------------------------------------------
Ritor1
parents:
diff changeset
9 stru11()
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 stru11 *v1; // esi@1
Ritor1
parents:
diff changeset
12 signed int v2; // eax@1
Ritor1
parents:
diff changeset
13 char *v3; // edx@1
Ritor1
parents:
diff changeset
14
Ritor1
parents:
diff changeset
15 v1 = this;
Ritor1
parents:
diff changeset
16 v2 = 0;
Ritor1
parents:
diff changeset
17 this->cpuid_00000000_eax_numops = 0;
Ritor1
parents:
diff changeset
18 this->cpuid_00000001_eax = 0;
Ritor1
parents:
diff changeset
19 this->cpuid_00000001_edx = 0;
Ritor1
parents:
diff changeset
20 this->field_38 = 0;
Ritor1
parents:
diff changeset
21 this->field_3C = 0;
Ritor1
parents:
diff changeset
22 this->cpuid_80000000_edx = 0;
Ritor1
parents:
diff changeset
23 this->cpuid_80000001_eax = 0;
Ritor1
parents:
diff changeset
24 this->cpuid_80000001_edx = 0;
Ritor1
parents:
diff changeset
25 this->cpuid_80000005_ebx = 0;
Ritor1
parents:
diff changeset
26 this->cpuid_80000005_ecx = 0;
Ritor1
parents:
diff changeset
27 this->cpuid_80000005_edx = 0;
Ritor1
parents:
diff changeset
28 this->cpuid_80000006_ecx = 0;
Ritor1
parents:
diff changeset
29 this->field_AC = 0;
Ritor1
parents:
diff changeset
30 this->uProcessorManufacturer = 0;
Ritor1
parents:
diff changeset
31 LOBYTE(this->cpuid_80000002_registers2[0]) = 0;
Ritor1
parents:
diff changeset
32 v3 = (char *)&this->cpuid_00000002_eax;
Ritor1
parents:
diff changeset
33 do
Ritor1
parents:
diff changeset
34 {
Ritor1
parents:
diff changeset
35 if ( v2 < 3 )
Ritor1
parents:
diff changeset
36 *((int *)v3 - 9) = 0;
Ritor1
parents:
diff changeset
37 if ( v2 < 4 )
Ritor1
parents:
diff changeset
38 *(int *)v3 = 0;
Ritor1
parents:
diff changeset
39 if ( v2 < 12 )
Ritor1
parents:
diff changeset
40 *((int *)v3 + 17) = 0;
Ritor1
parents:
diff changeset
41 if ( v2 < 13 )
Ritor1
parents:
diff changeset
42 this->pCPUString[v2] = 0;
Ritor1
parents:
diff changeset
43 if ( v2 < 30 )
Ritor1
parents:
diff changeset
44 *((char *)this->field_40 + v2) = 0;
Ritor1
parents:
diff changeset
45 *((char *)&this->cpuid_80000002_registers2[0] + v2++ + 1) = 0;
Ritor1
parents:
diff changeset
46 v3 += 4;
Ritor1
parents:
diff changeset
47 }
Ritor1
parents:
diff changeset
48 while ( v2 < 48 );
Ritor1
parents:
diff changeset
49 CheckCPU();
Ritor1
parents:
diff changeset
50 }
Ritor1
parents:
diff changeset
51
Ritor1
parents:
diff changeset
52 void CheckCPU();
Ritor1
parents:
diff changeset
53 void RunCPUID();
Ritor1
parents:
diff changeset
54 void RunCPUID_op1();
Ritor1
parents:
diff changeset
55 void RunCPUID_op2();
Ritor1
parents:
diff changeset
56 void RunCPUID_ext2_3_4();
Ritor1
parents:
diff changeset
57
Ritor1
parents:
diff changeset
58 int cpuid_00000000_eax_numops;
Ritor1
parents:
diff changeset
59 int cpuid_00000000_ebx_vendorstr1;
Ritor1
parents:
diff changeset
60 int cpuid_00000000_edx_vendorstr2;
Ritor1
parents:
diff changeset
61 int cpuid_00000000_ecx_vendorstr3;
Ritor1
parents:
diff changeset
62 char pCPUString[16];
Ritor1
parents:
diff changeset
63 int cpuid_00000001_eax;
Ritor1
parents:
diff changeset
64 int cpuid_00000001_edx;
Ritor1
parents:
diff changeset
65 int cpuid_00000002_eax;
Ritor1
parents:
diff changeset
66 int cpuid_00000002_ebx;
Ritor1
parents:
diff changeset
67 int cpuid_00000002_ecx;
Ritor1
parents:
diff changeset
68 int cpuid_00000002_edx;
Ritor1
parents:
diff changeset
69 int field_38;
Ritor1
parents:
diff changeset
70 int field_3C;
Ritor1
parents:
diff changeset
71 int field_40[8];
Ritor1
parents:
diff changeset
72 int cpuid_80000000_edx;
Ritor1
parents:
diff changeset
73 int cpuid_80000001_eax;
Ritor1
parents:
diff changeset
74 int cpuid_80000001_edx;
Ritor1
parents:
diff changeset
75 int cpuid_80000002_registers[4];
Ritor1
parents:
diff changeset
76 int cpuid_80000003_registers[4];
Ritor1
parents:
diff changeset
77 int cpuid_80000004_registers[4];
Ritor1
parents:
diff changeset
78 int cpuid_80000005_ebx;
Ritor1
parents:
diff changeset
79 int cpuid_80000005_ecx;
Ritor1
parents:
diff changeset
80 int cpuid_80000005_edx;
Ritor1
parents:
diff changeset
81 int cpuid_80000006_ecx;
Ritor1
parents:
diff changeset
82 int field_AC;
Ritor1
parents:
diff changeset
83 int uProcessorManufacturer;
Ritor1
parents:
diff changeset
84 int cpuid_80000002_registers2[4];
Ritor1
parents:
diff changeset
85 int cpuid_80000003_registers2[4];
Ritor1
parents:
diff changeset
86 int cpuid_80000004_registers2[4];
Ritor1
parents:
diff changeset
87 int field_E4;
Ritor1
parents:
diff changeset
88 };
Ritor1
parents:
diff changeset
89 #pragma pack(pop)