2#ifndef PCDOGS_RUNTIME_GLOBALS_H
3#define PCDOGS_RUNTIME_GLOBALS_H
10#define g_crtCompilerMarker (*(global_type_g_crtCompilerMarker *)(data_storage + 0x4a070))
13#define data_44d1c8 (*(global_type_data_44d1c8 *)(data_storage + 0x4d1c8))
16#define g_dCRT_Zero (*(global_type_g_dCRT_Zero *)(data_storage + 0x4d1d8))
19#define g_dCRT_NegativeTwo (*(global_type_g_dCRT_NegativeTwo *)(data_storage + 0x4d1e0))
22#define g_sz_CRT_Kernel32 (*(global_type_g_sz_CRT_Kernel32 *)(data_storage + 0x4d20c))
25#define g_dCRT_PositiveZero (*(global_type_g_dCRT_PositiveZero *)(data_storage + 0x4d218))
28#define g_sz_CRT_ExponentSuffix (*(global_type_g_sz_CRT_ExponentSuffix *)(data_storage + 0x4d220))
31#define data_44d2a0 (*(global_type_data_44d2a0 *)(data_storage + 0x4d2a0))
34#define g_sz_CRT_RuntimeLibTitle (*(global_type_g_sz_CRT_RuntimeLibTitle *)(data_storage + 0x4d538))
37#define g_sz_CRT_NewlinePad (*(global_type_g_sz_CRT_NewlinePad *)(data_storage + 0x4d560))
40#define g_sz_CRT_RuntimeErrorPrefix (*(global_type_g_sz_CRT_RuntimeErrorPrefix *)(data_storage + 0x4d564))
43#define g_sz_CRT_Ellipsis (*(global_type_g_sz_CRT_Ellipsis *)(data_storage + 0x4d580))
46#define g_sz_CRT_ProgramNameUnknown (*(global_type_g_sz_CRT_ProgramNameUnknown *)(data_storage + 0x4d584))
49#define data_44d5a8 (*(global_type_data_44d5a8 *)(data_storage + 0x4d5a8))
52#define g_sz_CRT_GetLastActivePopup (*(global_type_g_sz_CRT_GetLastActivePopup *)(data_storage + 0x4d5b4))
55#define g_sz_CRT_GetActiveWindow (*(global_type_g_sz_CRT_GetActiveWindow *)(data_storage + 0x4d5c8))
58#define g_sz_CRT_MessageBoxA (*(global_type_g_sz_CRT_MessageBoxA *)(data_storage + 0x4d5d8))
61#define g_sz_CRT_User32Dll (*(global_type_g_sz_CRT_User32Dll *)(data_storage + 0x4d5e4))
64#define data_44d5f0 (*(global_type_data_44d5f0 *)(data_storage + 0x4d5f0))
67#define g_sz_CRT_QNan (*(global_type_g_sz_CRT_QNan *)(data_storage + 0x4d608))
70#define g_sz_CRT_Inf (*(global_type_g_sz_CRT_Inf *)(data_storage + 0x4d610))
73#define g_sz_CRT_Ind (*(global_type_g_sz_CRT_Ind *)(data_storage + 0x4d618))
76#define g_sz_CRT_SNan (*(global_type_g_sz_CRT_SNan *)(data_storage + 0x4d620))
79#define g_sz_File_CantFindPkg (*(global_type_g_sz_File_CantFindPkg *)(data_storage + 0x51908))
82#define g_fmt_File_SetupPath (*(global_type_g_fmt_File_SetupPath *)(data_storage + 0x5192c))
85#define g_fmt_File_DalmsSetupPath (*(global_type_g_fmt_File_DalmsSetupPath *)(data_storage + 0x51950))
88#define g_fmt_File_DriveLetter (*(global_type_g_fmt_File_DriveLetter *)(data_storage + 0x51970))
91#define g_crtFloatingPointInitializer (*(global_type_g_crtFloatingPointInitializer *)(data_storage + 0x551b4))
94#define g_pCRT_ErrorHandler (*(global_type_g_pCRT_ErrorHandler *)(data_storage + 0x55440))
97#define g_crtConsoleMode (*(global_type_g_crtConsoleMode *)(data_storage + 0x55444))
100#define g_pCRT_FloatHandler0 (*(global_type_g_pCRT_FloatHandler0 *)(data_storage + 0x55450))
103#define g_pCRT_FloatHandler1 (*(global_type_g_pCRT_FloatHandler1 *)(data_storage + 0x55458))
105typedef char *(*global_type_g_pCRT_FloatHandler2)(
double const *,
char *, int32_t, int32_t, int32_t);
106#define g_pCRT_FloatHandler2 (*(global_type_g_pCRT_FloatHandler2 *)(data_storage + 0x5545c))
109#define g_CRT_WideCharValidatorTable (*(global_type_g_CRT_WideCharValidatorTable *)(data_storage + 0x5546a))
112#define g_crtLcCodepage (*(global_type_g_crtLcCodepage *)(data_storage + 0x5566c))
115#define g_CRT_ExceptionContext0 (*(global_type_g_CRT_ExceptionContext0 *)(data_storage + 0x5568c))
118#define g_CRT_ExceptionContext1 (*(global_type_g_CRT_ExceptionContext1 *)(data_storage + 0x55690))
121#define g_CRT_ExceptionContext2 (*(global_type_g_CRT_ExceptionContext2 *)(data_storage + 0x55694))
124#define g_CRT_FileCharBuffer (*(global_type_g_CRT_FileCharBuffer *)(data_storage + 0x556a0))
127#define g_crtExceptionActions (*(global_type_g_crtExceptionActions *)(data_storage + 0x556b0))
130#define g_crtExceptionCode1 (*(global_type_g_crtExceptionCode1 *)(data_storage + 0x55728))
133#define g_crtExceptionCode2 (*(global_type_g_crtExceptionCode2 *)(data_storage + 0x5572c))
136#define g_crtExceptionActionCount (*(global_type_g_crtExceptionActionCount *)(data_storage + 0x55730))
139#define g_crtErrnoBackup (*(global_type_g_crtErrnoBackup *)(data_storage + 0x55734))
142#define g_crtRuntimeErrorID1 (*(global_type_g_crtRuntimeErrorID1 *)(data_storage + 0x55738))
145#define g_ieeeDoubleFormatDescriptor (*(global_type_g_ieeeDoubleFormatDescriptor *)(data_storage + 0x557c8))
148#define g_ieeeFloatFormatDescriptor (*(global_type_g_ieeeFloatFormatDescriptor *)(data_storage + 0x557e0))
151#define g_crtOSErrorToErrnoTable (*(global_type_g_crtOSErrorToErrnoTable *)(data_storage + 0x55800))
154#define g_CRT_ErrorMappingTable (*(global_type_g_CRT_ErrorMappingTable *)(data_storage + 0x55804))
157#define g_crtMultiByteCodePage1 (*(global_type_g_crtMultiByteCodePage1 *)(data_storage + 0x55970))
160#define g_crtFloatingPointMode (*(global_type_g_crtFloatingPointMode *)(data_storage + 0x224134))
163#define g_crtLastError (*(global_type_g_crtLastError *)(data_storage + 0x224138))
166#define g_crtLastOSError (*(global_type_g_crtLastOSError *)(data_storage + 0x22413c))
169#define g_crtOpenFileFlags (*(global_type_g_crtOpenFileFlags *)(data_storage + 0x224140))
172#define g_crtStartupFlags (*(global_type_g_crtStartupFlags *)(data_storage + 0x224144))
175#define g_crtExitProcessing (*(global_type_g_crtExitProcessing *)(data_storage + 0x224178))
178#define g_crtExitCode (*(global_type_g_crtExitCode *)(data_storage + 0x22417c))
181#define g_crtExitInProgress (*(global_type_g_crtExitInProgress *)(data_storage + 0x224180))
184#define g_crtFileBufferSerial (*(global_type_g_crtFileBufferSerial *)(data_storage + 0x224184))
187#define g_crtAppType (*(global_type_g_crtAppType *)(data_storage + 0x224190))
190#define g_crtHeapInitialized (*(global_type_g_crtHeapInitialized *)(data_storage + 0x22419c))
193#define g_crtDecimalPoint (*(global_type_g_crtDecimalPoint *)(data_storage + 0x2241a0))
196#define g_crtStdioBufferTable (*(global_type_g_crtStdioBufferTable *)(data_storage + 0x2241a4))
199#define g_crtDllMain (*(global_type_g_crtDllMain *)(data_storage + 0x2241ac))
202#define g_crtFiberContext (*(global_type_g_crtFiberContext *)(data_storage + 0x2241b0))
205#define g_crtCurrentExceptionPointers (*(global_type_g_crtCurrentExceptionPointers *)(data_storage + 0x2241b4))
208#define g_crtCommandLineBuffer (*(global_type_g_crtCommandLineBuffer *)(data_storage + 0x2241b8))
211#define g_crtEnvStringsMode (*(global_type_g_crtEnvStringsMode *)(data_storage + 0x2242bc))
214#define g_crtRuntimeErrorBannerCallback (*(global_type_g_crtRuntimeErrorBannerCallback *)(data_storage + 0x2242c0))
217#define g_crtFloatOutExp (*(global_type_g_crtFloatOutExp *)(data_storage + 0x2242c8))
220#define g_crtFloatState (*(global_type_g_crtFloatState *)(data_storage + 0x2242e8))
223#define g_crtFloatPrecision (*(global_type_g_crtFloatPrecision *)(data_storage + 0x2242ec))
226#define g_crtFPMathState0 (*(global_type_g_crtFPMathState0 *)(data_storage + 0x2242f0))
229#define g_crtFPMathState1 (*(global_type_g_crtFPMathState1 *)(data_storage + 0x2242f4))
232#define g_crtStartupInfo (*(global_type_g_crtStartupInfo *)(data_storage + 0x2242f8))
235#define g_crtDefaultTextMode (*(global_type_g_crtDefaultTextMode *)(data_storage + 0x2242fc))
238#define g_crtNewMode (*(global_type_g_crtNewMode *)(data_storage + 0x224300))
241#define g_crtExceptionList (*(global_type_g_crtExceptionList *)(data_storage + 0x224310))
244#define g_crtLocaleFlags (*(global_type_g_crtLocaleFlags *)(data_storage + 0x22431c))
247#define g_crtWideCharFlags (*(global_type_g_crtWideCharFlags *)(data_storage + 0x22432c))
250#define g_crtUmask (*(global_type_g_crtUmask *)(data_storage + 0x224334))
253#define g_crtMultibyteTablePtr (*(global_type_g_crtMultibyteTablePtr *)(data_storage + 0x168adf0))
256#define g_crtMultibyteCharMap (*(global_type_g_crtMultibyteCharMap *)(data_storage + 0x168adfc))
259#define g_crtMultibyteCodepage (*(global_type_g_crtMultibyteCodepage *)(data_storage + 0x168ae00))
262#define g_crtMultibyteCP_ACP (*(global_type_g_crtMultibyteCP_ACP *)(data_storage + 0x168ae04))
265#define g_crtMultibyteState (*(global_type_g_crtMultibyteState *)(data_storage + 0x168ae0c))
268#define g_crtMultibyteClassTable (*(global_type_g_crtMultibyteClassTable *)(data_storage + 0x168af20))
271#define g_crtMultibyteCodepageInfo (*(global_type_g_crtMultibyteCodepageInfo *)(data_storage + 0x168b024))
274#define g_fileDescriptorTable (*(global_type_g_fileDescriptorTable *)(data_storage + 0x168b040))
277#define g_cachedHeapSegment (*(global_type_g_cachedHeapSegment *)(data_storage + 0x168b14c))
280#define g_lastFreedSegment (*(global_type_g_lastFreedSegment *)(data_storage + 0x168b150))
283#define g_heapSegments (*(global_type_g_heapSegments *)(data_storage + 0x168b158))
286#define g_crtHeapHandle (*(global_type_g_crtHeapHandle *)(data_storage + 0x168b15c))
289#define g_fileHandleArray (*(global_type_g_fileHandleArray *)(data_storage + 0x168b164))
292#define g_maxFileHandleCount (*(global_type_g_maxFileHandleCount *)(data_storage + 0x168c180))
295#define g_CRT_EnvironmentBlock (*(global_type_g_CRT_EnvironmentBlock *)(data_storage + 0x168c184))
298#define g_crtInitialized (*(global_type_g_crtInitialized *)(data_storage + 0x168c188))
301#define __export_name_ptr_table_0_KERNEL32_WriteFile_ (*(global_type___export_name_ptr_table_0_KERNEL32_WriteFile_ *)(data_storage + 0x168d536))
304#define __export_name_ptr_table_0_KERNEL32_CreateFileA_ (*(global_type___export_name_ptr_table_0_KERNEL32_CreateFileA_ *)(data_storage + 0x168d542))
307#define __export_name_ptr_table_0_KERNEL32_FlushFileBuffers_ (*(global_type___export_name_ptr_table_0_KERNEL32_FlushFileBuffers_ *)(data_storage + 0x168ddd8))
310#define __export_name_ptr_table_0_KERNEL32_GetFileType_ (*(global_type___export_name_ptr_table_0_KERNEL32_GetFileType_ *)(data_storage + 0x168de54))
313#define __export_name_ptr_table_0_KERNEL32_SetFilePointer_ (*(global_type___export_name_ptr_table_0_KERNEL32_SetFilePointer_ *)(data_storage + 0x168de62))
316#define __export_name_ptr_table_0_KERNEL32_ReadFile_ (*(global_type___export_name_ptr_table_0_KERNEL32_ReadFile_ *)(data_storage + 0x168de74))
319#define __export_name_ptr_table_0_KERNEL32_GetModuleFileNameA_ (*(global_type___export_name_ptr_table_0_KERNEL32_GetModuleFileNameA_ *)(data_storage + 0x168de9c))
322#define __export_name_ptr_table_0_KERNEL32_SetEndOfFile_ (*(global_type___export_name_ptr_table_0_KERNEL32_SetEndOfFile_ *)(data_storage + 0x168dfca))
324#define __builtin_wcscpy wcscpy
326#define __builtin_wmemcpy wmemcpy
329#define g_crtSubsystemInitializers ((CRT_Initializer *)(data_storage + 0x4e008))
330#define g_crtApplicationInitializers ((CRT_Initializer *)(data_storage + 0x4e000))
331#define g_crtPreTerminators ((CRT_Initializer *)(data_storage + 0x4e01c))
332#define g_crtTerminators ((CRT_Initializer *)(data_storage + 0x4e028))
333#define g_crtPositivePowersOfTen ((struct CRT_LD12Fields *)(data_storage + 0x55a60))
334#define g_crtNegativePowersOfTen ((struct CRT_LD12Fields *)(data_storage + 0x55bc0))
335#define g_crtMultibyteCaseFold ((uint8_t *)(data_storage + 0x168ae20))
336#define g_crtStaticStreams ((struct File_Handle *)(data_storage + 0x551c0))
337#define g_crtPrintfStateTable ((uint8_t *)(data_storage + 0x4d228))
338#define g_crtRuntimeErrors ((struct CRT_RuntimeErrorEntry *)(data_storage + 0x55738))
339#define g_crtOSErrorMappings ((struct CRT_OSErrorMapping *)(data_storage + 0x55800))
340#define g_crtCodepageRecords ((struct CRT_CodepageRecord *)(data_storage + 0x55970))
341#define g_crtMultibyteClassMasks ((uint8_t *)(data_storage + 0x55968))
342#define g_crtStandardBuffers ((char **)(data_storage + 0x2241a4))
uint16_t global_type___export_name_ptr_table_0_KERNEL32_GetModuleFileNameA_
char const global_type_g_sz_CRT_GetActiveWindow[0x10]
int32_t global_type_g_crtFloatState
char const global_type_g_sz_CRT_Ind[0x6]
int32_t global_type_g_crtFloatingPointMode
HANDLE global_type_g_crtHeapHandle
struct CRT_SEHScopeEntry global_type_data_44d5f0[0x2]
uint8_t global_type_g_CRT_ErrorMappingTable
struct CRT_IEEEFormatDescriptor global_type_g_ieeeDoubleFormatDescriptor
struct CRT_HeapSegment * global_type_g_cachedHeapSegment
uint32_t global_type_g_crtOpenFileFlags
int32_t global_type_g_crtDllMain
char const global_type_g_sz_CRT_ExponentSuffix[0x6]
char const global_type_g_sz_CRT_GetLastActivePopup[0x13]
char const global_type_g_sz_CRT_RuntimeLibTitle[0x25]
struct CRT_DecimalFloatOutput global_type_g_crtFloatOutExp
int32_t global_type_g_CRT_ExceptionContext1
uint16_t global_type___export_name_ptr_table_0_KERNEL32_SetEndOfFile_
int32_t global_type_g_crtStartupFlags
int32_t global_type_g_crtFPMathState0
struct CRT_SEHScopeEntry global_type_data_44d2a0
int64_t global_type_g_dCRT_PositiveZero
uint16_t global_type___export_name_ptr_table_0_KERNEL32_CreateFileA_
void(* global_type_g_crtRuntimeErrorBannerCallback)(void)
char global_type_g_crtExitProcessing
uint8_t global_type_g_crtRuntimeErrorID1
int32_t global_type_g_crtHeapInitialized
uint8_t global_type_g_sz_CRT_NewlinePad
struct CRT_ExceptionAction global_type_g_crtExceptionActions[0xa]
void(* global_type_g_pCRT_FloatHandler0)(int32_t, void *, char const *)
uint8_t global_type_g_crtMultibyteClassTable[0x101]
int32_t global_type_g_crtFloatPrecision
int32_t global_type_g_maxFileHandleCount
int32_t global_type_g_crtEnvStringsMode
int64_t global_type_g_dCRT_Zero
uint8_t global_type_g_CRT_FileCharBuffer
int64_t global_type_g_dCRT_NegativeTwo
struct CRT_SEHScopeEntry global_type_data_44d5a8
struct _EXCEPTION_POINTERS * global_type_g_crtCurrentExceptionPointers
int32_t global_type_g_CRT_ExceptionContext0
int32_t global_type_g_crtAppType
char const global_type_g_sz_CRT_Kernel32[0x9]
uint16_t global_type___export_name_ptr_table_0_KERNEL32_SetFilePointer_
int32_t global_type_g_crtInitialized
int32_t global_type_g_crtDefaultTextMode
char global_type_g_fmt_File_SetupPath[0x12]
int32_t(* global_type_g_pCRT_FloatHandler1)(double const *)
int32_t global_type_g_crtFiberContext
int32_t global_type_g_crtLcCodepage
int32_t global_type_g_crtExitCode
uint16_t global_type___export_name_ptr_table_0_KERNEL32_WriteFile_
uint32_t global_type_g_crtUmask
int32_t global_type_g_crtExceptionList
struct CRT_FileDescriptor * global_type_g_fileDescriptorTable[64]
int32_t global_type_g_CRT_ExceptionContext2
char global_type_g_fmt_File_DriveLetter[0x5]
uint8_t global_type_g_crtMultiByteCodePage1
void(* global_type_g_crtFloatingPointInitializer)(void)
int32_t global_type_g_crtMultibyteState
char global_type_g_sz_File_CantFindPkg[0x22]
int32_t global_type_g_crtErrnoBackup
int32_t global_type_g_crtLocaleFlags
int32_t global_type_g_crtExitInProgress
uint16_t global_type_g_CRT_WideCharValidatorTable[0x100]
int32_t global_type_g_crtStartupInfo
char global_type_g_crtCommandLineBuffer[260]
char const global_type_g_sz_CRT_User32Dll[0xb]
int32_t global_type_g_crtFPMathState1
int32_t global_type_g_crtNewMode
uint8_t global_type_g_sz_CRT_Ellipsis
int32_t global_type_g_crtExceptionCode1
struct CRT_HeapSegment * global_type_g_lastFreedSegment
uint8_t global_type_g_crtOSErrorToErrnoTable
char const global_type_g_sz_CRT_QNan[0x7]
uint16_t global_type___export_name_ptr_table_0_KERNEL32_FlushFileBuffers_
uint32_t global_type_g_crtExceptionActionCount
int32_t global_type_g_crtMultibyteCodepage
int32_t global_type_g_crtLastError
struct CRT_IEEEFormatDescriptor global_type_g_ieeeFloatFormatDescriptor
int32_t global_type_g_CRT_EnvironmentBlock
int32_t global_type_g_crtConsoleMode
char global_type_g_crtDecimalPoint
uint32_t global_type_g_crtLastOSError
char const global_type_g_sz_CRT_RuntimeErrorPrefix[0x1a]
struct File_Handle ** global_type_g_fileHandleArray
int32_t global_type_g_crtExceptionCode2
int32_t global_type_g_crtMultibyteCodepageInfo
uint16_t global_type___export_name_ptr_table_0_KERNEL32_GetFileType_
struct CRT_HeapSegment * global_type_g_heapSegments
char const global_type_g_sz_CRT_SNan[0x7]
int32_t(* global_type_g_pCRT_ErrorHandler)(int32_t)
char const global_type_g_sz_CRT_MessageBoxA[0xc]
int32_t global_type_g_crtFileBufferSerial
char global_type_g_fmt_File_DalmsSetupPath[0x1d]
char global_type_g_crtCompilerMarker[0x8]
struct CRT_SEHScopeEntry global_type_data_44d1c8
int32_t global_type_g_crtMultibyteTablePtr
uint8_t global_type_g_crtMultibyteCharMap
uint8_t global_type_g_crtStdioBufferTable
uint8_t global_type_g_crtMultibyteCP_ACP
uint16_t global_type___export_name_ptr_table_0_KERNEL32_ReadFile_
int32_t global_type_g_crtWideCharFlags
char const global_type_g_sz_CRT_Inf[0x6]
char const global_type_g_sz_CRT_ProgramNameUnknown[0x17]