using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom; using RecRoom.Async; using RecRoom.Core; using TMPro; using UnityEngine; using UnityEngine.UI; namespace AGUI.StackedUI { // Token: 0x02001B6E RID: 7022 [Token(Token = "0x2001B6E")] [StructLayout(3)] public class StorePurchaseSkuScreen : WatchUIFlow { // Token: 0x17001DF4 RID: 7668 // (get) Token: 0x0600BCE7 RID: 48359 RVA: 0x002C8660 File Offset: 0x002C6860 [Token(Token = "0x17001DF4")] public IEnumerable JLLCCOJFAOI { [Token(Token = "0x600BCE7")] [Address(RVA = "0x1A9D7D0", Offset = "0x1A9C1D0", VA = "0x181A9D7D0")] get { IEnumerable loohpbdfpnn = this.LOOHPBDFPNN; if (loohpbdfpnn == 0) { List list = new List(); Button3D button3D = this.confirmButton; list.Add(button3D); Button3D button3D2 = this.backButton; list.Add(button3D2); this.LOOHPBDFPNN = list; } return loohpbdfpnn; } } // Token: 0x0600BCE8 RID: 48360 RVA: 0x002C86A8 File Offset: 0x002C68A8 [Token(Token = "0x600BCE8")] [Address(RVA = "0x1A9D150", Offset = "0x1A9BB50", VA = "0x181A9D150", Slot = "10")] public override void OnFlowEntered(StackedUIFlowBase BFHJBBGCMAN) { base.OnFlowEntered(BFHJBBGCMAN); this.k__BackingField.PauseMessages(this); } // Token: 0x0600BCE9 RID: 48361 RVA: 0x002C86D0 File Offset: 0x002C68D0 [Token(Token = "0x600BCE9")] [Address(RVA = "0x1A9D190", Offset = "0x1A9BB90", VA = "0x181A9D190", Slot = "11")] public override void OnFlowExited(StackedUIFlowBase NBINAJPFBOA, bool CJEIBCEPAPO) { base.OnFlowExited(NBINAJPFBOA, CJEIBCEPAPO); WatchUI k__BackingField = this.k__BackingField; this.APBPICPDNOG = (ulong)0L; k__BackingField.UnpauseMessages(this); } // Token: 0x0600BCEA RID: 48362 RVA: 0x002C8704 File Offset: 0x002C6904 [Token(Token = "0x600BCEA")] [Address(RVA = "0x1A9D1D0", Offset = "0x1A9BBD0", VA = "0x181A9D1D0")] public void ShowScreen(GCBPKHFJKCE.DJGBECJHOKF HPNJHHKGNNJ, string JDBKDGCJHMB, string FEEHCDIMBAJ, int? OIHLGGEKIHB) { int num = 0; StorePurchaseSkuScreen.EFPEFHCFIBP efpefhcfibp; efpefhcfibp.FieldGetter(num, JDBKDGCJHMB, FEEHCDIMBAJ); efpefhcfibp.<>4__this = this; string k__BackingField = HPNJHHKGNNJ.k__BackingField; int k__BackingField = HPNJHHKGNNJ.k__BackingField; int num2 = 0; this.APBPICPDNOG = HPNJHHKGNNJ; string k__BackingField = HPNJHHKGNNJ.k__BackingField; ScreenHeader screenHeader = this.screenHeader; bool flag = k__BackingField == 0; this.ONDGGHHHEAA = flag; screenHeader.LKIBJOMNFFD = JDBKDGCJHMB; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; this.FEEHCDIMBAJ = FEEHCDIMBAJ; this.OIHLGGEKIHB = 0; string k__BackingField = apbpicpdnog.k__BackingField; efpefhcfibp.skuPriceText = k__BackingField; GameObject gameObject = this.pagedText.gameObject; bool ondgghhheaa = this.ONDGGHHHEAA; gameObject.SetActive(ondgghhheaa); if ((this.ONDGGHHHEAA ? 1 : 0) == num2) { GameObject gameObject2 = this.confirmButton.gameObject; int num3 = 0; gameObject2.SetActive(num3 != 0); this.DMGKINKJKDF(); } string[] array = new string[5]; if ("Tap Confirm to pay " != 0) { } array[0] = "Tap Confirm to pay "; string skuPriceText = efpefhcfibp.skuPriceText; if (skuPriceText != 0) { } array[1] = skuPriceText; if (" for " != 0) { } array[2] = " for "; string k__BackingField2 = this.APBPICPDNOG.k__BackingField; if (k__BackingField2 != 0) { } array[3] = k__BackingField2; if ("." != 0) { } array[4] = "."; string text = string.Concat(array); ulong num4; this.FFHEADALFEO(text, "Confirm", num4 != 0UL); string purchaseReminderSplitTestGroupString = SingletonMonoBehaviour.Instance.GetPurchaseReminderSplitTestGroupString(); IPromise promise = GCBPKHFJKCE.MEBCEJLLFKN(false, purchaseReminderSplitTestGroupString); Action action = delegate(GCBPKHFJKCE.EJMGHNNHJPD purchaseReminder) { StorePurchaseSkuScreen <>4__this = efpefhcfibp.<>4__this; string[] array2 = new string[5]; if ("Tap Confirm to pay " != 0) { } array2[0] = "Tap Confirm to pay "; string skuPriceText2 = efpefhcfibp.skuPriceText; if (skuPriceText2 != 0) { } array2[1] = skuPriceText2; if (" for " != 0) { } array2[2] = " for "; string k__BackingField = purchaseReminder.k__BackingField; if (k__BackingField != 0) { } array2[3] = k__BackingField; if ("." != 0) { } array2[4] = "."; string text3 = string.Concat(array2); <>4__this.FFHEADALFEO(text3, "Confirm", true); }; WatchUI watchUI; if (num2 < efpefhcfibp) { num2 += num2; if (num2 == efpefhcfibp) { watchUI += watchUI; throw new NullReferenceException(); } num2++; } string k__BackingField2 = HPNJHHKGNNJ.k__BackingField; PagedTextMeshPro3D pagedTextMeshPro3D = this.pagedText; string text2 = "Item Description:\n\n" + k__BackingField2; pagedTextMeshPro3D.SetText(text2); watchUI = this.k__BackingField; string lghbppioobm = this.LGHBPPIOOBM; this.LGHBPPIOOBM = lghbppioobm; watchUI.DMJOIMMIJEF(); } // Token: 0x0600BCEB RID: 48363 RVA: 0x002C88F0 File Offset: 0x002C6AF0 [Token(Token = "0x600BCEB")] [Address(RVA = "0x1A9D0B0", Offset = "0x1A9BAB0", VA = "0x181A9D0B0", Slot = "6")] protected override void OnDestroy() { int num = 0; this.OnFlowEntered(num); this.OnTryPurchase.Clear(); this.OnPurchaseSuccess.Clear(); this.OnPurchaseFailure.Clear(); } // Token: 0x0600BCEC RID: 48364 RVA: 0x002C8930 File Offset: 0x002C6B30 [Token(Token = "0x600BCEC")] [Address(RVA = "0x1A9CAB0", Offset = "0x1A9B4B0", VA = "0x181A9CAB0")] private void DMGKINKJKDF() { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; int? oihlggekihb = this.OIHLGGEKIHB; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = this.FEEHCDIMBAJ; CFLMJLFBOKH.LIOPCOHJCOK(k__BackingField, k__BackingField, feehcdimbaj, oihlggekihb); ActionEvent onTryPurchase = this.OnTryPurchase; if (onTryPurchase != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onTryPurchase.Invoke(apbpicpdnog2); } GameObject gameObject = this.pagedText.gameObject; int num = 0; gameObject.SetActive(num != 0); PlatformManager instance = SingletonMonoBehaviour.Instance; IPromise promise; if (promise == (ulong)1L && SingletonMonoBehaviour.Instance.FGAMGPEBMGE == LocalPlayerController.JJKKCDNKBJI.SCREEN) { int num2 = 0; this.FFHEADALFEO("Unable to purchase while on Oculus Screen Mode! Please try again in VR.", num2, true); return; } int num3 = 0; int num4 = 0; this.FFHEADALFEO("Initiating purchase...", num4, num3 != 0); IPromise promise2 = PEGGCEDHBOF.ABLHAKAKHCI(); Action action = new Action(this.CHDLPJBJOHA); throw new NullReferenceException(); } // Token: 0x0600BCED RID: 48365 RVA: 0x002C8A04 File Offset: 0x002C6C04 [Token(Token = "0x600BCED")] [Address(RVA = "0x1A9CCF0", Offset = "0x1A9B6F0", VA = "0x181A9CCF0")] private void EOLEDECNKDH(string JJGHIEJCCDA, string AIPBOMLEOND) { string text = "An error occurred while trying to " + JJGHIEJCCDA + ". If this persists, please contact us at tokens@recroom.com."; int num = 0; this.FFHEADALFEO(text, num, true); Debug.LogError(AIPBOMLEOND); } // Token: 0x0600BCEE RID: 48366 RVA: 0x002C8A34 File Offset: 0x002C6C34 [Token(Token = "0x600BCEE")] [Address(RVA = "0x1A9CD90", Offset = "0x1A9B790", VA = "0x181A9CD90")] private void FFHEADALFEO(string PAANJCAOOAG, [Optional] string CHCMPAHJJHO, bool OLFNKGDIDNC = true) { int num = 0; if (!(this != num)) { if (SingletonMonoBehaviour.IsInitialized) { NotificationManager instance = SingletonMonoBehaviour.Instance; } return; } this.bodyText.text = PAANJCAOOAG; GameObject gameObject = this.confirmButton.gameObject; bool flag = gameObject == 0; gameObject.SetActive(flag); PLDMAFINLJO.FANDNIHFMNM(this.confirmButton.label, CHCMPAHJJHO); this.backButton.gameObject.SetActive(OLFNKGDIDNC); throw new NullReferenceException(); } // Token: 0x0600BCEF RID: 48367 RVA: 0x002C8AB0 File Offset: 0x002C6CB0 [Token(Token = "0x600BCEF")] [Address(RVA = "0x1A9C510", Offset = "0x1A9AF10", VA = "0x181A9C510")] public void Button_Confirm() { this.DMGKINKJKDF(); } // Token: 0x0600BCF0 RID: 48368 RVA: 0x002C8AC4 File Offset: 0x002C6CC4 [Token(Token = "0x600BCF0")] [Address(RVA = "0x1A9C4D0", Offset = "0x1A9AED0", VA = "0x181A9C4D0")] public void Button_Back() { bool isCompleted = ((IAsyncResult)this.k__BackingField).IsCompleted; } // Token: 0x0600BCF1 RID: 48369 RVA: 0x002C8AE4 File Offset: 0x002C6CE4 [Token(Token = "0x600BCF1")] [Address(RVA = "0x1A9D710", Offset = "0x1A9C110", VA = "0x181A9D710")] public StorePurchaseSkuScreen() { int num; ActionEvent actionEvent = new ActionEvent(4, num != 0); num = 0; this.OnTryPurchase = actionEvent; int num2; ActionEvent actionEvent2 = new ActionEvent(4, num2 != 0); num2 = 0; this.OnPurchaseSuccess = actionEvent2; int num3; ActionEvent actionEvent3 = new ActionEvent(4, num3 != 0); num3 = 0; this.OnPurchaseFailure = actionEvent3; base..ctor(); } // Token: 0x0600BCF2 RID: 48370 RVA: 0x002C8B30 File Offset: 0x002C6D30 [Token(Token = "0x600BCF2")] [Address(RVA = "0x1A9C630", Offset = "0x1A9B030", VA = "0x181A9C630")] [CompilerGenerated] private void CHDLPJBJOHA(bool ONMBEDFEDLD) { if (!ONMBEDFEDLD) { PlatformManager instance = SingletonMonoBehaviour.Instance; float targetFramerate = instance.DKNJHAGIIPK; if (instance == 0) { PlatformManager instance2 = SingletonMonoBehaviour.Instance; Action action = new Action(this.APAGNJBIENB); Action action2 = new Action(this.AFCGAJAIOON); } PlatformManager instance3 = SingletonMonoBehaviour.Instance; Action action3 = new Action(this.BIAMPOPOIAC); int num = 0; num += num; num++; Action action4 = new Action(this.CMCFMHIDHKC); } int num2 = 0; ulong num3; this.FFHEADALFEO("You are not allowed to make in-app purchases!", num2, num3 != 0UL); } // Token: 0x0600BCF3 RID: 48371 RVA: 0x002C8BC4 File Offset: 0x002C6DC4 [Token(Token = "0x600BCF3")] [Address(RVA = "0x1A9CF50", Offset = "0x1A9B950", VA = "0x181A9CF50")] [CompilerGenerated] private void HFNIPLCKHKF(PlatformManager.KKHHEPAKHGA NKDEJLJBNMM) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; int? oihlggekihb = this.OIHLGGEKIHB; string feehcdimbaj = this.FEEHCDIMBAJ; string dobicgdhahe = NKDEJLJBNMM.DOBICGDHAHE; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, dobicgdhahe, feehcdimbaj, oihlggekihb); ActionEvent onPurchaseFailure = this.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } string olfcklenffo = NKDEJLJBNMM.OLFCKLENFFO; int num = 0; this.FFHEADALFEO(olfcklenffo, num, true); } // Token: 0x0600BCF4 RID: 48372 RVA: 0x002C8C44 File Offset: 0x002C6E44 [Token(Token = "0x600BCF4")] [Address(RVA = "0x1A9C3A0", Offset = "0x1A9ADA0", VA = "0x181A9C3A0")] [CompilerGenerated] private void BIAMPOPOIAC(PlatformManager.KKHHEPAKHGA NKDEJLJBNMM) { if (!NKDEJLJBNMM.BLOPJNCHDNN) { this.HFNIPLCKHKF(NKDEJLJBNMM); return; } GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int? oihlggekihb = this.OIHLGGEKIHB; string k__BackingField = apbpicpdnog.k__BackingField; int k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = this.FEEHCDIMBAJ; float num; CFLMJLFBOKH.JMKDDNHGNDP(k__BackingField, k__BackingField, num, feehcdimbaj, oihlggekihb); ActionEvent onPurchaseSuccess = this.OnPurchaseSuccess; if (onPurchaseSuccess != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onPurchaseSuccess.Invoke(apbpicpdnog2); } int num2 = 0; this.FFHEADALFEO("Successfully completed!", num2, true); } // Token: 0x0600BCF5 RID: 48373 RVA: 0x002C8CCC File Offset: 0x002C6ECC [Token(Token = "0x600BCF5")] [Address(RVA = "0x1A9CA20", Offset = "0x1A9B420", VA = "0x181A9CA20")] [CompilerGenerated] private void CMCFMHIDHKC(string MOPOMPHBHKF) { this.HFNIPLCKHKF(new PlatformManager.KKHHEPAKHGA { BLOPJNCHDNN = false, OLFCKLENFFO = "An error occurred while trying to process your purchase. If this persists, please contact us at tokens@recroom.com.", DOBICGDHAHE = MOPOMPHBHKF }); } // Token: 0x0600BCF6 RID: 48374 RVA: 0x002C8D08 File Offset: 0x002C6F08 [Token(Token = "0x600BCF6")] [Address(RVA = "0x1A9C1E0", Offset = "0x1A9ABE0", VA = "0x181A9C1E0")] [CompilerGenerated] private void APAGNJBIENB(string PIHIPPPPEBI) { StorePurchaseSkuScreen.JBMJEHLICEN jbmjehlicen = new StorePurchaseSkuScreen.JBMJEHLICEN(); jbmjehlicen.<>4__this = this; jbmjehlicen.token = PIHIPPPPEBI; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int? oihlggekihb = this.OIHLGGEKIHB; IPromise promise = GCBPKHFJKCE.HMFENPDIJPP(apbpicpdnog.k__BackingField, PIHIPPPPEBI, oihlggekihb); Action action = delegate(long transactionId) { StorePurchaseSkuScreen <>4__this = jbmjehlicen.<>4__this; int num2 = 0; int num3 = 0; <>4__this.FFHEADALFEO("Waiting for authorization...", num3, num2 != 0); PlatformManager instance = SingletonMonoBehaviour.Instance; StorePurchaseSkuScreen <>4__this2 = jbmjehlicen.<>4__this; IPromise commerceSubscriptionAccessToken = instance.GetCommerceSubscriptionAccessToken(); Action <>9__11; Action action3 = delegate { StorePurchaseSkuScreen <>4__this3 = jbmjehlicen.<>4__this; int num4 = 0; int num5 = 0; <>4__this3.FFHEADALFEO("Completing transaction...", num5, num4 != 0); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals = jbmjehlicen; long transactionId = transactionId; string token = cs$<>8__locals.token; IPromise promise2 = GCBPKHFJKCE.LLCCGGHIMBN(transactionId, token); Action action5 = new Action(jbmjehlicen.<>4__this.CBJKMEJFMKG); if (<>9__11 == 0) { Action action6 = delegate(string error) { StorePurchaseSkuScreen <>4__this4 = jbmjehlicen.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = <>4__this4.APBPICPDNOG; int k__BackingField = apbpicpdnog2.k__BackingField; string k__BackingField = apbpicpdnog2.k__BackingField; string feehcdimbaj = <>4__this4.FEEHCDIMBAJ; int? oihlggekihb2 = <>4__this4.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, error, feehcdimbaj, oihlggekihb2); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals2 = jbmjehlicen; StorePurchaseSkuScreen <>4__this5 = cs$<>8__locals2.<>4__this; ActionEvent onPurchaseFailure = <>4__this5.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog3 = <>4__this5.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog3); } StorePurchaseSkuScreen <>4__this6 = cs$<>8__locals2.<>4__this; long transactionId2 = transactionId; string text = string.Format("complete Transaction Id {0}", transactionId2); string text2 = "CompletePurchase error: " + error; <>4__this6.EOLEDECNKDH(text, text2); }; <>9__11 = action6; } throw new NullReferenceException(); }; Action <>9__12; Action action4 = delegate(string error) { StorePurchaseSkuScreen <>4__this7 = jbmjehlicen.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog4 = <>4__this7.APBPICPDNOG; int k__BackingField2 = apbpicpdnog4.k__BackingField; string k__BackingField2 = apbpicpdnog4.k__BackingField; string feehcdimbaj2 = <>4__this7.FEEHCDIMBAJ; int? oihlggekihb3 = <>4__this7.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField2, k__BackingField2, error, feehcdimbaj2, oihlggekihb3); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals3 = jbmjehlicen; StorePurchaseSkuScreen <>4__this8 = cs$<>8__locals3.<>4__this; ActionEvent onPurchaseFailure2 = <>4__this8.OnPurchaseFailure; if (onPurchaseFailure2 != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog5 = <>4__this8.APBPICPDNOG; onPurchaseFailure2.Invoke(apbpicpdnog5); } long transactionId3 = transactionId; string token2 = cs$<>8__locals3.token; IPromise promise3 = GCBPKHFJKCE.LGODMPBJALO(transactionId3, token2); if (<>9__12 == 0) { Action action7 = delegate(string cancelPurchaseError) { long transactionId4 = transactionId; Debug.LogError(string.Format("CancelPurchase error: {0}. Transaction Id: {1}", cancelPurchaseError, transactionId4)); }; <>9__12 = action7; } Action action8 = new Action(jbmjehlicen.<>4__this.OMGPGNDDKIO); throw new NullReferenceException(); }; throw new NullReferenceException(); }; int num = 0; num += num; num++; Action action2 = new Action(this.CIMMGLAFEOD); throw new NullReferenceException(); } // Token: 0x0600BCF7 RID: 48375 RVA: 0x002C8D78 File Offset: 0x002C6F78 [Token(Token = "0x600BCF7")] [Address(RVA = "0x1A9C520", Offset = "0x1A9AF20", VA = "0x181A9C520")] [CompilerGenerated] private void CBJKMEJFMKG() { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int? oihlggekihb = this.OIHLGGEKIHB; string k__BackingField = apbpicpdnog.k__BackingField; int k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = this.FEEHCDIMBAJ; float num; CFLMJLFBOKH.JMKDDNHGNDP(k__BackingField, k__BackingField, num, feehcdimbaj, oihlggekihb); ActionEvent onPurchaseSuccess = this.OnPurchaseSuccess; if (onPurchaseSuccess != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onPurchaseSuccess.Invoke(apbpicpdnog2); } int num2 = 0; this.FFHEADALFEO("Successfully completed!", num2, true); } // Token: 0x0600BCF8 RID: 48376 RVA: 0x002C8DF0 File Offset: 0x002C6FF0 [Token(Token = "0x600BCF8")] [Address(RVA = "0x1A9D060", Offset = "0x1A9BA60", VA = "0x181A9D060")] [CompilerGenerated] private void OMGPGNDDKIO() { int num = 0; this.FFHEADALFEO("Transaction was either cancelled or timed out.", num, true); } // Token: 0x0600BCF9 RID: 48377 RVA: 0x002C8E0C File Offset: 0x002C700C [Token(Token = "0x600BCF9")] [Address(RVA = "0x1A9C910", Offset = "0x1A9B310", VA = "0x181A9C910")] [CompilerGenerated] private void CIMMGLAFEOD(string MOPOMPHBHKF) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int? oihlggekihb = this.OIHLGGEKIHB; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = this.FEEHCDIMBAJ; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, MOPOMPHBHKF, feehcdimbaj, oihlggekihb); ActionEvent onPurchaseFailure = this.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } string text = "InitiatePurchase error: " + MOPOMPHBHKF; this.EOLEDECNKDH("initiate the transaction", text); } // Token: 0x0600BCFA RID: 48378 RVA: 0x002C8E88 File Offset: 0x002C7088 [Token(Token = "0x600BCFA")] [Address(RVA = "0x1A9C0D0", Offset = "0x1A9AAD0", VA = "0x181A9C0D0")] [CompilerGenerated] private void AFCGAJAIOON(string MOPOMPHBHKF) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = this.APBPICPDNOG; int? oihlggekihb = this.OIHLGGEKIHB; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = this.FEEHCDIMBAJ; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, MOPOMPHBHKF, feehcdimbaj, oihlggekihb); ActionEvent onPurchaseFailure = this.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = this.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } string text = "GetCommerceAccessToken error: " + MOPOMPHBHKF; this.EOLEDECNKDH("get the access token", text); } // Token: 0x04007C8D RID: 31885 [global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")] [Token(Token = "0x4007C8D")] [SerializeField] [Header("Buttons")] private Button3D confirmButton; // Token: 0x04007C8E RID: 31886 [global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")] [Token(Token = "0x4007C8E")] [SerializeField] private Button3D backButton; // Token: 0x04007C8F RID: 31887 [global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")] [Token(Token = "0x4007C8F")] [SerializeField] private TextMeshProUGUI bodyText; // Token: 0x04007C90 RID: 31888 [global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")] [Token(Token = "0x4007C90")] [SerializeField] private PagedTextMeshPro3D pagedText; // Token: 0x04007C91 RID: 31889 [global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")] [Token(Token = "0x4007C91")] private bool ONDGGHHHEAA; // Token: 0x04007C92 RID: 31890 [global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")] [Token(Token = "0x4007C92")] private GCBPKHFJKCE.DJGBECJHOKF APBPICPDNOG; // Token: 0x04007C93 RID: 31891 [global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")] [Token(Token = "0x4007C93")] private string FEEHCDIMBAJ; // Token: 0x04007C94 RID: 31892 [global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")] [Token(Token = "0x4007C94")] private int? OIHLGGEKIHB; // Token: 0x04007C95 RID: 31893 [global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")] [Token(Token = "0x4007C95")] public ActionEvent OnTryPurchase; // Token: 0x04007C96 RID: 31894 [global::Cpp2IlInjected.FieldOffset(Offset = "0x100")] [Token(Token = "0x4007C96")] public ActionEvent OnPurchaseSuccess; // Token: 0x04007C97 RID: 31895 [global::Cpp2IlInjected.FieldOffset(Offset = "0x108")] [Token(Token = "0x4007C97")] public ActionEvent OnPurchaseFailure; // Token: 0x04007C98 RID: 31896 [global::Cpp2IlInjected.FieldOffset(Offset = "0x110")] [Token(Token = "0x4007C98")] private IEnumerable LOOHPBDFPNN; // Token: 0x02001B6F RID: 7023 [Token(Token = "0x2001B6F")] [CompilerGenerated] private sealed class EFPEFHCFIBP { // Token: 0x0600BCFB RID: 48379 RVA: 0x002C8F04 File Offset: 0x002C7104 [Token(Token = "0x600BCFB")] [Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")] public EFPEFHCFIBP() { } // Token: 0x0600BCFC RID: 48380 RVA: 0x002C8F18 File Offset: 0x002C7118 [Token(Token = "0x600BCFC")] [Address(RVA = "0x1A8DCB0", Offset = "0x1A8C6B0", VA = "0x181A8DCB0")] internal void b__0(GCBPKHFJKCE.EJMGHNNHJPD purchaseReminder) { StorePurchaseSkuScreen storePurchaseSkuScreen = this.<>4__this; string[] array = new string[5]; if ("Tap Confirm to pay " != 0) { } array[0] = "Tap Confirm to pay "; string text = this.skuPriceText; if (text != 0) { } array[1] = text; if (" for " != 0) { } array[2] = " for "; string k__BackingField = purchaseReminder.k__BackingField; if (k__BackingField != 0) { } array[3] = k__BackingField; if ("." != 0) { } array[4] = "."; string text2 = string.Concat(array); storePurchaseSkuScreen.FFHEADALFEO(text2, "Confirm", true); } // Token: 0x04007C99 RID: 31897 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007C99")] public StorePurchaseSkuScreen <>4__this; // Token: 0x04007C9A RID: 31898 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4007C9A")] public string skuPriceText; } // Token: 0x02001B70 RID: 7024 [Token(Token = "0x2001B70")] [CompilerGenerated] private sealed class JBMJEHLICEN { // Token: 0x0600BCFD RID: 48381 RVA: 0x002C8FB4 File Offset: 0x002C71B4 [Token(Token = "0x600BCFD")] [Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")] public JBMJEHLICEN() { } // Token: 0x0600BCFE RID: 48382 RVA: 0x002C8FC8 File Offset: 0x002C71C8 [Token(Token = "0x600BCFE")] [Address(RVA = "0x1A8F050", Offset = "0x1A8DA50", VA = "0x181A8F050")] internal void b__6(long transactionId) { StorePurchaseSkuScreen.ADJAGKEEMEP adjagkeemep = new StorePurchaseSkuScreen.ADJAGKEEMEP(); adjagkeemep.CS$<>8__locals1 = this; adjagkeemep.transactionId = transactionId; StorePurchaseSkuScreen storePurchaseSkuScreen = this.<>4__this; int num = 0; int num2 = 0; storePurchaseSkuScreen.FFHEADALFEO("Waiting for authorization...", num2, num != 0); PlatformManager instance = SingletonMonoBehaviour.Instance; StorePurchaseSkuScreen storePurchaseSkuScreen2 = this.<>4__this; IPromise commerceSubscriptionAccessToken = instance.GetCommerceSubscriptionAccessToken(); Action action = delegate { StorePurchaseSkuScreen storePurchaseSkuScreen3 = adjagkeemep.CS$<>8__locals1.<>4__this; int num3 = 0; int num4 = 0; storePurchaseSkuScreen3.FFHEADALFEO("Completing transaction...", num4, num3 != 0); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals = adjagkeemep.CS$<>8__locals1; long transactionId2 = adjagkeemep.transactionId; string text = cs$<>8__locals.token; IPromise promise = GCBPKHFJKCE.LLCCGGHIMBN(transactionId2, text); Action action3 = new Action(adjagkeemep.CS$<>8__locals1.<>4__this.CBJKMEJFMKG); if (adjagkeemep.<>9__11 == 0) { Action action4 = delegate(string error) { StorePurchaseSkuScreen storePurchaseSkuScreen4 = adjagkeemep.CS$<>8__locals1.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = storePurchaseSkuScreen4.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = storePurchaseSkuScreen4.FEEHCDIMBAJ; int? oihlggekihb = storePurchaseSkuScreen4.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, error, feehcdimbaj, oihlggekihb); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals2 = adjagkeemep.CS$<>8__locals1; StorePurchaseSkuScreen storePurchaseSkuScreen5 = cs$<>8__locals2.<>4__this; ActionEvent onPurchaseFailure = storePurchaseSkuScreen5.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = storePurchaseSkuScreen5.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } StorePurchaseSkuScreen storePurchaseSkuScreen6 = cs$<>8__locals2.<>4__this; long transactionId3 = adjagkeemep.transactionId; string text2 = string.Format("complete Transaction Id {0}", transactionId3); string text3 = "CompletePurchase error: " + error; storePurchaseSkuScreen6.EOLEDECNKDH(text2, text3); }; adjagkeemep.<>9__11 = action4; } throw new NullReferenceException(); }; Action action2 = delegate(string error) { StorePurchaseSkuScreen storePurchaseSkuScreen7 = adjagkeemep.CS$<>8__locals1.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog3 = storePurchaseSkuScreen7.APBPICPDNOG; int k__BackingField2 = apbpicpdnog3.k__BackingField; string k__BackingField2 = apbpicpdnog3.k__BackingField; string feehcdimbaj2 = storePurchaseSkuScreen7.FEEHCDIMBAJ; int? oihlggekihb2 = storePurchaseSkuScreen7.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField2, k__BackingField2, error, feehcdimbaj2, oihlggekihb2); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals3 = adjagkeemep.CS$<>8__locals1; StorePurchaseSkuScreen storePurchaseSkuScreen8 = cs$<>8__locals3.<>4__this; ActionEvent onPurchaseFailure2 = storePurchaseSkuScreen8.OnPurchaseFailure; if (onPurchaseFailure2 != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog4 = storePurchaseSkuScreen8.APBPICPDNOG; onPurchaseFailure2.Invoke(apbpicpdnog4); } long transactionId4 = adjagkeemep.transactionId; string text4 = cs$<>8__locals3.token; IPromise promise2 = GCBPKHFJKCE.LGODMPBJALO(transactionId4, text4); if (adjagkeemep.<>9__12 == 0) { Action action5 = delegate(string cancelPurchaseError) { long transactionId5 = adjagkeemep.transactionId; Debug.LogError(string.Format("CancelPurchase error: {0}. Transaction Id: {1}", cancelPurchaseError, transactionId5)); }; adjagkeemep.<>9__12 = action5; } Action action6 = new Action(adjagkeemep.CS$<>8__locals1.<>4__this.OMGPGNDDKIO); throw new NullReferenceException(); }; throw new NullReferenceException(); } // Token: 0x04007C9B RID: 31899 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007C9B")] public string token; // Token: 0x04007C9C RID: 31900 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4007C9C")] public StorePurchaseSkuScreen <>4__this; } // Token: 0x02001B71 RID: 7025 [Token(Token = "0x2001B71")] [CompilerGenerated] private sealed class ADJAGKEEMEP { // Token: 0x0600BCFF RID: 48383 RVA: 0x002C903C File Offset: 0x002C723C [Token(Token = "0x600BCFF")] [Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")] public ADJAGKEEMEP() { } // Token: 0x0600BD00 RID: 48384 RVA: 0x002C9050 File Offset: 0x002C7250 [Token(Token = "0x600BD00")] [Address(RVA = "0x1A8D500", Offset = "0x1A8BF00", VA = "0x181A8D500")] internal void b__8() { StorePurchaseSkuScreen <>4__this = this.CS$<>8__locals1.<>4__this; int num = 0; int num2 = 0; <>4__this.FFHEADALFEO("Completing transaction...", num2, num != 0); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals = this.CS$<>8__locals1; long num3 = this.transactionId; string token = cs$<>8__locals.token; IPromise promise = GCBPKHFJKCE.LLCCGGHIMBN(num3, token); Action action = new Action(this.CS$<>8__locals1.<>4__this.CBJKMEJFMKG); if (this.<>9__11 == 0) { Action action2 = delegate(string error) { StorePurchaseSkuScreen <>4__this2 = this.CS$<>8__locals1.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = <>4__this2.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = <>4__this2.FEEHCDIMBAJ; int? oihlggekihb = <>4__this2.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, error, feehcdimbaj, oihlggekihb); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals2 = this.CS$<>8__locals1; StorePurchaseSkuScreen <>4__this3 = cs$<>8__locals2.<>4__this; ActionEvent onPurchaseFailure = <>4__this3.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = <>4__this3.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } StorePurchaseSkuScreen <>4__this4 = cs$<>8__locals2.<>4__this; long num4 = this.transactionId; string text = string.Format("complete Transaction Id {0}", num4); string text2 = "CompletePurchase error: " + error; <>4__this4.EOLEDECNKDH(text, text2); }; this.<>9__11 = action2; } throw new NullReferenceException(); } // Token: 0x0600BD01 RID: 48385 RVA: 0x002C90DC File Offset: 0x002C72DC [Token(Token = "0x600BD01")] [Address(RVA = "0x1A8D2C0", Offset = "0x1A8BCC0", VA = "0x181A8D2C0")] internal void b__11(string error) { StorePurchaseSkuScreen <>4__this = this.CS$<>8__locals1.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = <>4__this.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = <>4__this.FEEHCDIMBAJ; int? oihlggekihb = <>4__this.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, error, feehcdimbaj, oihlggekihb); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals = this.CS$<>8__locals1; StorePurchaseSkuScreen <>4__this2 = cs$<>8__locals.<>4__this; ActionEvent onPurchaseFailure = <>4__this2.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = <>4__this2.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } StorePurchaseSkuScreen <>4__this3 = cs$<>8__locals.<>4__this; long num = this.transactionId; string text = string.Format("complete Transaction Id {0}", num); string text2 = "CompletePurchase error: " + error; <>4__this3.EOLEDECNKDH(text, text2); } // Token: 0x0600BD02 RID: 48386 RVA: 0x002C9194 File Offset: 0x002C7394 [Token(Token = "0x600BD02")] [Address(RVA = "0x1A8D670", Offset = "0x1A8C070", VA = "0x181A8D670")] internal void b__9(string error) { StorePurchaseSkuScreen <>4__this = this.CS$<>8__locals1.<>4__this; GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog = <>4__this.APBPICPDNOG; int k__BackingField = apbpicpdnog.k__BackingField; string k__BackingField = apbpicpdnog.k__BackingField; string feehcdimbaj = <>4__this.FEEHCDIMBAJ; int? oihlggekihb = <>4__this.OIHLGGEKIHB; CFLMJLFBOKH.PKMCABDELPF(k__BackingField, k__BackingField, error, feehcdimbaj, oihlggekihb); StorePurchaseSkuScreen.JBMJEHLICEN cs$<>8__locals = this.CS$<>8__locals1; StorePurchaseSkuScreen <>4__this2 = cs$<>8__locals.<>4__this; ActionEvent onPurchaseFailure = <>4__this2.OnPurchaseFailure; if (onPurchaseFailure != 0) { GCBPKHFJKCE.DJGBECJHOKF apbpicpdnog2 = <>4__this2.APBPICPDNOG; onPurchaseFailure.Invoke(apbpicpdnog2); } long num = this.transactionId; string token = cs$<>8__locals.token; IPromise promise = GCBPKHFJKCE.LGODMPBJALO(num, token); if (this.<>9__12 == 0) { Action action = delegate(string cancelPurchaseError) { long num2 = this.transactionId; Debug.LogError(string.Format("CancelPurchase error: {0}. Transaction Id: {1}", cancelPurchaseError, num2)); }; this.<>9__12 = action; } Action action2 = new Action(this.CS$<>8__locals1.<>4__this.OMGPGNDDKIO); throw new NullReferenceException(); } // Token: 0x0600BD03 RID: 48387 RVA: 0x002C9268 File Offset: 0x002C7468 [Token(Token = "0x600BD03")] [Address(RVA = "0x1A8D470", Offset = "0x1A8BE70", VA = "0x181A8D470")] internal void b__12(string cancelPurchaseError) { long num = this.transactionId; Debug.LogError(string.Format("CancelPurchase error: {0}. Transaction Id: {1}", cancelPurchaseError, num)); } // Token: 0x04007C9D RID: 31901 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007C9D")] public long transactionId; // Token: 0x04007C9E RID: 31902 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4007C9E")] public StorePurchaseSkuScreen.JBMJEHLICEN CS$<>8__locals1; // Token: 0x04007C9F RID: 31903 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4007C9F")] public Action <>9__11; // Token: 0x04007CA0 RID: 31904 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4007CA0")] public Action <>9__12; } } }