Mercurial > might-and-magic-trilogy
view stru11.h @ 5:ca90d9e499b3
.
author | Серик@ПончиК |
---|---|
date | Tue, 09 Oct 2012 20:00:01 +0600 |
parents | 8b8875f5b359 |
children |
line wrap: on
line source
#pragma once /* 128 */ #pragma pack(push, 1) struct stru11 { //----- (00438526) -------------------------------------------------------- stru11() { stru11 *v1; // esi@1 signed int v2; // eax@1 char *v3; // edx@1 v1 = this; v2 = 0; this->cpuid_00000000_eax_numops = 0; this->cpuid_00000001_eax = 0; this->cpuid_00000001_edx = 0; this->field_38 = 0; this->field_3C = 0; this->cpuid_80000000_edx = 0; this->cpuid_80000001_eax = 0; this->cpuid_80000001_edx = 0; this->cpuid_80000005_ebx = 0; this->cpuid_80000005_ecx = 0; this->cpuid_80000005_edx = 0; this->cpuid_80000006_ecx = 0; this->field_AC = 0; this->uProcessorManufacturer = 0; LOBYTE(this->cpuid_80000002_registers2[0]) = 0; v3 = (char *)&this->cpuid_00000002_eax; do { if ( v2 < 3 ) *((int *)v3 - 9) = 0; if ( v2 < 4 ) *(int *)v3 = 0; if ( v2 < 12 ) *((int *)v3 + 17) = 0; if ( v2 < 13 ) this->pCPUString[v2] = 0; if ( v2 < 30 ) *((char *)this->field_40 + v2) = 0; *((char *)&this->cpuid_80000002_registers2[0] + v2++ + 1) = 0; v3 += 4; } while ( v2 < 48 ); CheckCPU(); } void CheckCPU(); void RunCPUID(); void RunCPUID_op1(); void RunCPUID_op2(); void RunCPUID_ext2_3_4(); int cpuid_00000000_eax_numops; int cpuid_00000000_ebx_vendorstr1; int cpuid_00000000_edx_vendorstr2; int cpuid_00000000_ecx_vendorstr3; char pCPUString[16]; int cpuid_00000001_eax; int cpuid_00000001_edx; int cpuid_00000002_eax; int cpuid_00000002_ebx; int cpuid_00000002_ecx; int cpuid_00000002_edx; int field_38; int field_3C; int field_40[8]; int cpuid_80000000_edx; int cpuid_80000001_eax; int cpuid_80000001_edx; int cpuid_80000002_registers[4]; int cpuid_80000003_registers[4]; int cpuid_80000004_registers[4]; int cpuid_80000005_ebx; int cpuid_80000005_ecx; int cpuid_80000005_edx; int cpuid_80000006_ecx; int field_AC; int uProcessorManufacturer; int cpuid_80000002_registers2[4]; int cpuid_80000003_registers2[4]; int cpuid_80000004_registers2[4]; int field_E4; }; #pragma pack(pop)