text: // Autogenerated from CppHeaderCreator
  // Created by Sc2ad
  // =========================================================================
  #pragma once
  // Begin includes
  #include "beatsaber-hook/shared/utils/typedefs.h"
  #include "beatsaber-hook/shared/utils/byref.hpp"
  // Including type: OVR.OpenVR.IVROverlay
  #include "OVR/OpenVR/IVROverlay.hpp"
  // Including type: System.MulticastDelegate
  #include "System/MulticastDelegate.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
  #include "beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
  #include "beatsaber-hook/shared/utils/utils.h"
  // Completed includes
  // Begin forward declares
  // Forward declaring namespace: System::Text
  namespace System::Text {
    // Forward declaring type: StringBuilder
    class StringBuilder;
  }
  // Forward declaring namespace: OVR::OpenVR
  namespace OVR::OpenVR {
    // Forward declaring type: EVROverlayError
    struct EVROverlayError;
  }
  // Forward declaring namespace: System
  namespace System {
    // Forward declaring type: IAsyncResult
    class IAsyncResult;
    // Forward declaring type: AsyncCallback
    class AsyncCallback;
  }
  // Completed forward declares
  #include "beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
  NEED_NO_BOX(::OVR::OpenVR::IVROverlay::_GetOverlayKey);
  DEFINE_IL2CPP_ARG_TYPE(::OVR::OpenVR::IVROverlay::_GetOverlayKey*, "OVR.OpenVR", "IVROverlay/_GetOverlayKey");
  // Type namespace: OVR.OpenVR
  namespace OVR::OpenVR {
    // Size: 0x70
    #pragma pack(push, 1)
    // Autogenerated type: OVR.OpenVR.IVROverlay/OVR.OpenVR._GetOverlayKey
    // [TokenAttribute] Offset: FFFFFFFF
    // [UnmanagedFunctionPointerAttribute] Offset: 695A30
    class IVROverlay::_GetOverlayKey : public ::System::MulticastDelegate {
      public:
      // public System.Void .ctor(System.Object object, System.IntPtr method)
      // Offset: 0x82625C
      template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
      static IVROverlay::_GetOverlayKey* New_ctor(::Il2CppObject* object, ::System::IntPtr method) {
        static auto ___internal__logger = ::Logger::get().WithContext("::OVR::OpenVR::IVROverlay::_GetOverlayKey::.ctor");
        return THROW_UNLESS((::il2cpp_utils::New<IVROverlay::_GetOverlayKey*, creationType>(object, method)));
      }
      // public System.UInt32 Invoke(System.UInt64 ulOverlayHandle, System.Text.StringBuilder pchValue, System.UInt32 unBufferSize, ref OVR.OpenVR.EVROverlayError pError)
      // Offset: 0x82626C
      uint Invoke(uint64_t ulOverlayHandle, ::System::Text::StringBuilder* pchValue, uint unBufferSize, ByRef<::OVR::OpenVR::EVROverlayError> pError);
      // public System.IAsyncResult BeginInvoke(System.UInt64 ulOverlayHandle, System.Text.StringBuilder pchValue, System.UInt32 unBufferSize, ref OVR.OpenVR.EVROverlayError pError, System.AsyncCallback callback, System.Object object)
      // Offset: 0x8264E4
      ::System::IAsyncResult* BeginInvoke(uint64_t ulOverlayHandle, ::System::Text::StringBuilder* pchValue, uint unBufferSize, ByRef<::OVR::OpenVR::EVROverlayError> pError, ::System::AsyncCallback* callback, ::Il2CppObject* object);
      // public System.UInt32 EndInvoke(ref OVR.OpenVR.EVROverlayError pError, System.IAsyncResult result)
      // Offset: 0x8265D0
      uint EndInvoke(ByRef<::OVR::OpenVR::EVROverlayError> pError, ::System::IAsyncResult* result);
    }; // OVR.OpenVR.IVROverlay/OVR.OpenVR._GetOverlayKey
    #pragma pack(pop)
  }
  #include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
  // Writing MetadataGetter for method: OVR::OpenVR::IVROverlay::_GetOverlayKey::New_ctor
  // Il2CppName: .ctor
  // Cannot get method pointer of value based method overload from template for constructor!
  // Try using FindMethod instead!
  // Writing MetadataGetter for method: OVR::OpenVR::IVROverlay::_GetOverlayKey::Invoke
  // Il2CppName: Invoke
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<uint (OVR::OpenVR::IVROverlay::_GetOverlayKey::*)(uint64_t, ::System::Text::StringBuilder*, uint, ByRef<::OVR::OpenVR::EVROverlayError>)>(&OVR::OpenVR::IVROverlay::_GetOverlayKey::Invoke)> {
    static const MethodInfo* get() {
      static auto* ulOverlayHandle = &::il2cpp_utils::GetClassFromName("System", "UInt64")->byval_arg;
      static auto* pchValue = &::il2cpp_utils::GetClassFromName("System.Text", "StringBuilder")->byval_arg;
      static auto* unBufferSize = &::il2cpp_utils::GetClassFromName("System", "UInt32")->byval_arg;
      static auto* pError = &::il2cpp_utils::GetClassFromName("OVR.OpenVR", "EVROverlayError")->this_arg;
      return ::il2cpp_utils::FindMethod(classof(OVR::OpenVR::IVROverlay::_GetOverlayKey*), "Invoke", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{ulOverlayHandle, pchValue, unBufferSize, pError});
    }
  };
  // Writing MetadataGetter for method: OVR::OpenVR::IVROverlay::_GetOverlayKey::BeginInvoke
  // Il2CppName: BeginInvoke
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<::System::IAsyncResult* (OVR::OpenVR::IVROverlay::_GetOverlayKey::*)(uint64_t, ::System::Text::StringBuilder*, uint, ByRef<::OVR::OpenVR::EVROverlayError>, ::System::AsyncCallback*, ::Il2CppObject*)>(&OVR::OpenVR::IVROverlay::_GetOverlayKey::BeginInvoke)> {
    static const MethodInfo* get() {
      static auto* ulOverlayHandle = &::il2cpp_utils::GetClassFromName("System", "UInt64")->byval_arg;
      static auto* pchValue = &::il2cpp_utils::GetClassFromName("System.Text", "StringBuilder")->byval_arg;
      static auto* unBufferSize = &::il2cpp_utils::GetClassFromName("System", "UInt32")->byval_arg;
      static auto* pError = &::il2cpp_utils::GetClassFromName("OVR.OpenVR", "EVROverlayError")->this_arg;
      static auto* callback = &::il2cpp_utils::GetClassFromName("System", "AsyncCallback")->byval_arg;
      static auto* object = &::il2cpp_utils::GetClassFromName("System", "Object")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(OVR::OpenVR::IVROverlay::_GetOverlayKey*), "BeginInvoke", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{ulOverlayHandle, pchValue, unBufferSize, pError, callback, object});
    }
  };
  // Writing MetadataGetter for method: OVR::OpenVR::IVROverlay::_GetOverlayKey::EndInvoke
  // Il2CppName: EndInvoke
  template<>
  struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<uint (OVR::OpenVR::IVROverlay::_GetOverlayKey::*)(ByRef<::OVR::OpenVR::EVROverlayError>, ::System::IAsyncResult*)>(&OVR::OpenVR::IVROverlay::_GetOverlayKey::EndInvoke)> {
    static const MethodInfo* get() {
      static auto* pError = &::il2cpp_utils::GetClassFromName("OVR.OpenVR", "EVROverlayError")->this_arg;
      static auto* result = &::il2cpp_utils::GetClassFromName("System", "IAsyncResult")->byval_arg;
      return ::il2cpp_utils::FindMethod(classof(OVR::OpenVR::IVROverlay::_GetOverlayKey*), "EndInvoke", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{pError, result});
    }
  };
  