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