// Common definition required for all generated files

#ifndef A523F6DB_0645_4DEB_8AEB_3792CB732B49
#define A523F6DB_0645_4DEB_8AEB_3792CB732B49

#if _WIN32
#include <Windows.h>
#include <d3d8.h>
#include <dinput.h>
#else
#include "win32_shim.h"
#endif
#include <stdint.h>
#include <stdio.h>
#include <string.h>

typedef long long longlong;
typedef uint8_t undefined;
typedef uint32_t undefined4;
typedef uint16_t undefined2;
typedef uint16_t word;
typedef uint32_t dword;
typedef unsigned long ulong;
typedef unsigned char uchar;
typedef unsigned long uint;

struct undefined3 {
  uint8_t _0;
  uint8_t _1;
  uint8_t _2;

  undefined3& operator=(const uint32_t& other) {
    _0 = other & 0xff;
    _1 = (other >> 8) & 0xff;
    _2 = (other >> 16) & 0xff;
    return *this;
  }
  operator uint32_t() const {
    return _0 | (_1 << 8) | (_2 << 16);
  }
};
typedef unsigned char byte;
typedef byte undefined1;
// typedef uint64_t uint;
typedef void *pointer;
typedef char *TerminatedCString;
typedef char *string;

#endif /* A523F6DB_0645_4DEB_8AEB_3792CB732B49 */
