// [TypeInfo RVA: 0x0]
public class GameObjectShopManager : MonoBehaviour
{
	private string skuToPurchase; // 0x20
	private UnityEngine.GameObject purchaseableObject; // 0x28
	private string NameOfObjectToBuy; // 0x30
	private System.String[] skus; // 0x38

	// RVA: 0x320653C VA: 0x78188F153C
	private void Start();
	/*
	 *   bool bVar1;
	 *   int iVar2;
	 *   void *methodInfo_00;
	 *   void *obj;
	 *   long lVar3;
	 *
	 *   GameObjectShopManager.GetPrices(this);
	 *   GameObjectShopManager.GetPurchases(this);
	 *   bVar1 = UnityEngine.PlayerPrefs.HasKey(this.NameOfObjectToBuy);
	 *   if (!bVar1) {
	 *     return;
	 *   }
	 *   iVar2 = UnityEngine.PlayerPrefs.GetInt(this.NameOfObjectToBuy);
	 *   obj = this.purchaseableObject;
	 *   if (obj != null) {
	 *     if ((bRam000000000755f7e0 & 1) == 0) {
	 *       func_0x031fdc8c(PTR_DAT_0714f3e0,iVar2 == 1,0);
	 *       bRam000000000755f7e0 = 1;
	 *     }
	 *     if (obj != null) {
	 *       lVar3 = *(long *)((long)obj + 0x10);
	 *       if (lVar3 == 0) {
	 *         UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
	 *       }
	 *       if (pcRam000000000755f860 == null) {
	 *         pcRam000000000755f860 = (code *)func_0x031fdc50(&UNK_0138da18);
	 *       }
	 *       (*pcRam000000000755f860)(lVar3,iVar2 == 1);
	 *       return;
	 *     }
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3206598 VA: 0x78188F1598
	private void GetPrices();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   void *pvVar3;
	 *   long lVar4;
	 *   long *plVar5;
	 *   void *message;
	 *   undefined8 uVar6;
	 *
	 *   puVar2 = PTR_DAT_070c14c8;
	 *   puVar1 = PTR_DAT_070c1400;
	 *   if ((bRam000000000754a7d3 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c1400);
	 *     func_0x031fdc8c(PTR_DAT_070c14c8);
	 *     func_0x031fdc8c(PTR_DAT_070c1410);
	 *     bRam000000000754a7d3 = 1;
	 *   }
	 *   pvVar3 = IAP.GetProductsBySKU(this.skus);
	 *   lVar4 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *   func_0x048d50bc(lVar4,this,*(undefined8 *)puVar2,0);
	 *   if (pvVar3 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   uVar6 = *(undefined8 *)PTR_DAT_070c1410;
	 *   if ((bRam000000000754ca72 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_Oculus_Platform_Callback_6FC7178);
	 *     bRam000000000754ca72 = 1;
	 *   }
	 *   puVar1 = typeinfo_ptr_Oculus_Platform_Callback_6FC7178;
	 *   plVar5 = (long *)((long)pvVar3 + 0x30);
	 *   if ((*plVar5 == 0) && (*(long *)((long)pvVar3 + 0x38) == 0)) {
	 *     *plVar5 = lVar4;
	 *     func_0x031fdc38(plVar5,lVar4);
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     Oculus.Platform.Message.Callback.AddRequest(pvVar3);
	 *     return;
	 *   }
	 *   func_0x031fdca0(PTR_DAT_070c56e0);
	 *   pvVar3 = (void *)func_0x031fdf24();
	 *   message = (void *)func_0x031fdca0(PTR_DAT_070ca320);
	 *   UnityEngine.UnityException..ctor(pvVar3,message);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x32066FC VA: 0x78188F16FC
	private void GetPricesCallback(Oculus.Platform.Message<Oculus.Platform.Models.ProductList> msg);
	/*
	 *   if (msg == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   if (*(long *)((long)msg + 0x30) != 0) {
	 *     return;
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x320664C VA: 0x78188F164C
	private void GetPurchases();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   void *pvVar3;
	 *   long lVar4;
	 *   long *plVar5;
	 *   void *message;
	 *   undefined8 uVar6;
	 *
	 *   puVar2 = PTR_DAT_070c14d0;
	 *   puVar1 = PTR_DAT_070c1378;
	 *   if ((bRam000000000754a7d4 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c1378);
	 *     func_0x031fdc8c(PTR_DAT_070c14d0);
	 *     func_0x031fdc8c(PTR_DAT_070c1388);
	 *     bRam000000000754a7d4 = 1;
	 *   }
	 *   pvVar3 = IAP.GetViewerPurchases();
	 *   lVar4 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *   func_0x048d50bc(lVar4,this,*(undefined8 *)puVar2,0);
	 *   if (pvVar3 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   uVar6 = *(undefined8 *)PTR_DAT_070c1388;
	 *   if ((bRam000000000754ca72 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_Oculus_Platform_Callback_6FC7178);
	 *     bRam000000000754ca72 = 1;
	 *   }
	 *   puVar1 = typeinfo_ptr_Oculus_Platform_Callback_6FC7178;
	 *   plVar5 = (long *)((long)pvVar3 + 0x30);
	 *   if ((*plVar5 == 0) && (*(long *)((long)pvVar3 + 0x38) == 0)) {
	 *     *plVar5 = lVar4;
	 *     func_0x031fdc38(plVar5,lVar4);
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     Oculus.Platform.Message.Callback.AddRequest(pvVar3);
	 *     return;
	 *   }
	 *   func_0x031fdca0(PTR_DAT_070c56e0);
	 *   pvVar3 = (void *)func_0x031fdf24();
	 *   message = (void *)func_0x031fdca0(PTR_DAT_070ca320);
	 *   UnityEngine.UnityException..ctor(pvVar3,message);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x3206714 VA: 0x78188F1714
	private void GetPurchasesCallback(Oculus.Platform.Message<Oculus.Platform.Models.PurchaseList> msg);
	/*
	 *   if (msg == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   if (*(long *)((long)msg + 0x30) != 0) {
	 *     return;
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x320672C VA: 0x78188F172C
	public void BuyProduct();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   void *pvVar3;
	 *   long lVar4;
	 *   long *plVar5;
	 *   void *message;
	 *   undefined8 uVar6;
	 *
	 *   puVar2 = PTR_DAT_070c14d8;
	 *   puVar1 = PTR_DAT_070c1430;
	 *   if ((bRam000000000754a7d5 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c1430);
	 *     func_0x031fdc8c(PTR_DAT_070c14d8);
	 *     func_0x031fdc8c(PTR_DAT_070c1440);
	 *     bRam000000000754a7d5 = 1;
	 *   }
	 *   pvVar3 = IAP.LaunchCheckoutFlow(this.skuToPurchase);
	 *   lVar4 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *   func_0x048d50bc(lVar4,this,*(undefined8 *)puVar2,0);
	 *   if (pvVar3 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   uVar6 = *(undefined8 *)PTR_DAT_070c1440;
	 *   if ((bRam000000000754ca72 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_Oculus_Platform_Callback_6FC7178);
	 *     bRam000000000754ca72 = 1;
	 *   }
	 *   puVar1 = typeinfo_ptr_Oculus_Platform_Callback_6FC7178;
	 *   plVar5 = (long *)((long)pvVar3 + 0x30);
	 *   if ((*plVar5 == 0) && (*(long *)((long)pvVar3 + 0x38) == 0)) {
	 *     *plVar5 = lVar4;
	 *     func_0x031fdc38(plVar5,lVar4);
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     Oculus.Platform.Message.Callback.AddRequest(pvVar3);
	 *     return;
	 *   }
	 *   func_0x031fdca0(PTR_DAT_070c56e0);
	 *   pvVar3 = (void *)func_0x031fdf24();
	 *   message = (void *)func_0x031fdca0(PTR_DAT_070ca320);
	 *   UnityEngine.UnityException..ctor(pvVar3,message);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x32067E0 VA: 0x78188F17E0
	private void BuyProductCallback(Oculus.Platform.Message<Oculus.Platform.Models.Purchase> msg);
	/*
	 *   bool bVar1;
	 *
	 *   if (msg != null) {
	 *     bVar1 = Oculus.Platform.Message.get_IsError(msg);
	 *     if (bVar1) {
	 *       return;
	 *     }
	 *     if (this.purchaseableObject != null) {
	 *       UnityEngine.GameObject.SetActive(this.purchaseableObject,true);
	 *       UnityEngine.PlayerPrefs.SetInt(this.NameOfObjectToBuy,1);
	 *       if (pcRam000000000755f590 == null) {
	 *         pcRam000000000755f590 = (code *)func_0x031fdc50(&UNK_0136035d);
	 *       }
	 *       (*pcRam000000000755f590)();
	 *       return;
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3206838 VA: 0x78188F1838
	private void OnTriggerEnter(UnityEngine.Collider other);
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   bool bVar3;
	 *   void *pvVar4;
	 *   long lVar5;
	 *   long *plVar6;
	 *   void *message;
	 *   undefined8 uVar7;
	 *
	 *   if ((bRam000000000754a7d6 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c07b8);
	 *     bRam000000000754a7d6 = 1;
	 *   }
	 *   if (other == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   bVar3 = UnityEngine.Component.CompareTag(other,*(void **)PTR_DAT_070c07b8);
	 *   puVar2 = PTR_DAT_070c14d8;
	 *   puVar1 = PTR_DAT_070c1430;
	 *   if (!bVar3) {
	 *     return;
	 *   }
	 *   if ((bRam000000000754a7d5 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c1430);
	 *     func_0x031fdc8c(PTR_DAT_070c14d8);
	 *     func_0x031fdc8c(PTR_DAT_070c1440);
	 *     bRam000000000754a7d5 = 1;
	 *   }
	 *   pvVar4 = IAP.LaunchCheckoutFlow(this.skuToPurchase);
	 *   lVar5 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *   func_0x048d50bc(lVar5,this,*(undefined8 *)puVar2,0);
	 *   if (pvVar4 != null) {
	 *     uVar7 = *(undefined8 *)PTR_DAT_070c1440;
	 *     if ((bRam000000000754ca72 & 1) == 0) {
	 *       func_0x031fdc8c(typeinfo_ptr_Oculus_Platform_Callback_6FC7178);
	 *       bRam000000000754ca72 = 1;
	 *     }
	 *     puVar1 = typeinfo_ptr_Oculus_Platform_Callback_6FC7178;
	 *     plVar6 = (long *)((long)pvVar4 + 0x30);
	 *     if ((*plVar6 == 0) && (*(long *)((long)pvVar4 + 0x38) == 0)) {
	 *       *plVar6 = lVar5;
	 *       func_0x031fdc38(plVar6,lVar5);
	 *       if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       Oculus.Platform.Message.Callback.AddRequest(pvVar4);
	 *       return;
	 *     }
	 *     func_0x031fdca0(PTR_DAT_070c56e0);
	 *     pvVar4 = (void *)func_0x031fdf24();
	 *     message = (void *)func_0x031fdca0(PTR_DAT_070ca320);
	 *     UnityEngine.UnityException..ctor(pvVar4,message);
	 *     IL2CPP.ThrowManagedException();
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x32068A8 VA: 0x78188F18A8
	public void .ctor();
	/*
	 *   undefined *puVar1;
	 *   void *pvVar2;
	 *
	 *   puVar1 = PTR_DAT_070c0a80;
	 *   if ((bRam000000000754a7d7 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c0a80);
	 *     func_0x031fdc8c(PTR_DAT_070c13f0);
	 *     func_0x031fdc8c(PTR_DAT_070c13f8);
	 *     bRam000000000754a7d7 = 1;
	 *   }
	 *   pvVar2 = (void *)func_0x031fdd78(*(undefined8 *)puVar1,2);
	 *   if (pvVar2 != null) {
	 *     if (*(int *)((long)pvVar2 + 0x18) != 0) {
	 *       *(undefined8 *)((long)pvVar2 + 0x20) = *(undefined8 *)PTR_DAT_070c13f8;
	 *       func_0x031fdc38((undefined8 *)((long)pvVar2 + 0x20));
	 *       if ((*(uint *)((long)pvVar2 + 0x18) & 0xfffffffe) != 0) {
	 *         *(undefined8 *)((long)pvVar2 + 0x28) = *(undefined8 *)PTR_DAT_070c13f0;
	 *         func_0x031fdc38();
	 *         this.skus = pvVar2;
	 *         func_0x031fdc38(&this.skus,pvVar2);
	 *         puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *         if ((bRam000000000755f76f & 1) == 0) {
	 *           func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,0);
	 *           bRam000000000755f76f = 1;
	 *         }
	 *         if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *           func_0x031fde08();
	 *         }
	 *         return;
	 *       }
	 *     }
	 *     IL2CPP.ThrowIndexOutOfRangeException();
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
}
