Files
2026-04-08 23:40:05 +02:00

157 lines
4.7 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.Pools
{
// Token: 0x02002813 RID: 10259
[Token(Token = "0x2002813")]
[StructLayout(3)]
public class ObjectPool : MonoBehaviour
{
// Token: 0x06011FD8 RID: 73688 RVA: 0x0044CB04 File Offset: 0x0044AD04
[Token(Token = "0x6011FD8")]
[Address(RVA = "0x1F30980", Offset = "0x1F2F380", VA = "0x181F30980")]
public T Acquire<T>(T CFAPNBBHEKB) where T : Component
{
throw new NullReferenceException();
}
// Token: 0x06011FD9 RID: 73689 RVA: 0x0044CB18 File Offset: 0x0044AD18
[Token(Token = "0x6011FD9")]
[Address(RVA = "0x1F308D0", Offset = "0x1F2F2D0", VA = "0x181F308D0")]
public T Acquire<T>(T CFAPNBBHEKB, out bool DDLEAFECMOO) where T : Component
{
while (0 == 0)
{
}
throw new NullReferenceException();
}
// Token: 0x06011FDA RID: 73690 RVA: 0x0044CB30 File Offset: 0x0044AD30
[Token(Token = "0x6011FDA")]
[Address(RVA = "0x2170E90", Offset = "0x216F890", VA = "0x182170E90")]
public bool Release<T>(T NLNHFEEMFBN) where T : Component
{
bool flag;
if (!flag)
{
int num = 0;
PooledObject pooledObject;
if (!(pooledObject != num))
{
}
GameObject gameObject;
if (pooledObject.PoolEntry == 0)
{
global::UnityEngine.Object.Destroy(gameObject);
}
OVRMesh.MeshType meshType = ((OVRMesh.IOVRMeshDataProvider)gameObject).GetMeshType();
}
throw new NullReferenceException();
}
// Token: 0x06011FDB RID: 73691 RVA: 0x0044CB74 File Offset: 0x0044AD74
[Token(Token = "0x6011FDB")]
[Address(RVA = "0x1AB1540", Offset = "0x1AAFF40", VA = "0x181AB1540")]
public void Prefill<T>(T CFAPNBBHEKB, int A_2) where T : Component
{
bool isCompleted = ((IAsyncResult)this).IsCompleted;
}
// Token: 0x06011FDC RID: 73692 RVA: 0x0044CB90 File Offset: 0x0044AD90
[Token(Token = "0x6011FDC")]
[Address(RVA = "0x1AB14A0", Offset = "0x1AAFEA0", VA = "0x181AB14A0")]
public void Clear<T>(T CFAPNBBHEKB) where T : Component
{
Dictionary<Component, BDCOKCFLLPB> eihjlmgclki = this.EIHJLMGCLKI;
bool flag;
if (flag)
{
Dictionary<Component, BDCOKCFLLPB> eihjlmgclki2 = this.EIHJLMGCLKI;
}
}
// Token: 0x06011FDD RID: 73693 RVA: 0x0044CBB8 File Offset: 0x0044ADB8
[Token(Token = "0x6011FDD")]
[Address(RVA = "0x19A5D50", Offset = "0x19A4750", VA = "0x1819A5D50")]
public void Clear()
{
int num;
do
{
num = 0;
Dictionary<Component, BDCOKCFLLPB>.ValueCollection values = this.EIHJLMGCLKI.Values;
Dictionary<Component, BDCOKCFLLPB>.ValueCollection.Enumerator enumerator;
if (enumerator != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
this.EIHJLMGCLKI.Clear();
}
// Token: 0x06011FDE RID: 73694 RVA: 0x0044CBF8 File Offset: 0x0044ADF8
[Token(Token = "0x6011FDE")]
[Address(RVA = "0x1FAE300", Offset = "0x1FACD00", VA = "0x181FAE300")]
private BDCOKCFLLPB PFMMKFGKOMN<T>(T CFAPNBBHEKB) where T : Component
{
bool flag;
if (!flag)
{
}
Dictionary<Component, BDCOKCFLLPB> eihjlmgclki = this.EIHJLMGCLKI;
bool flag2;
if (!flag2)
{
Dictionary<Component, BDCOKCFLLPB> eihjlmgclki2 = this.EIHJLMGCLKI;
}
throw new NullReferenceException();
}
// Token: 0x06011FDF RID: 73695 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6011FDF")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
public void TrackInstantiation(string HAKOMHOMAAN)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06011FE0 RID: 73696 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6011FE0")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
public void EnableStats(bool CJLKAJABAHC)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06011FE1 RID: 73697 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6011FE1")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60")]
public void ResetStats()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06011FE2 RID: 73698 RVA: 0x0044CC24 File Offset: 0x0044AE24
[Token(Token = "0x6011FE2")]
[Address(RVA = "0x19A1A00", Offset = "0x19A0400", VA = "0x1819A1A00")]
public ObjectPool()
{
Dictionary<Component, BDCOKCFLLPB> dictionary = new Dictionary();
this.EIHJLMGCLKI = dictionary;
base..ctor();
}
// Token: 0x0400C068 RID: 49256
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400C068")]
private readonly Dictionary<Component, BDCOKCFLLPB> EIHJLMGCLKI;
}
}