using VersionedSerialization.Attributes; namespace Il2CppInspector.Next.BinaryMetadata; [VersionedStruct] public partial record struct Il2CppCodeGenModule { public PrimitivePointer ModuleName; // const char* [NativeInteger] public uint MethodPointerCount; public Pointer MethodPointers; [NativeInteger] [VersionCondition(EqualTo = "24.5")] [VersionCondition(GreaterThan = "27.1")] public uint AdjustorThunksCount; [VersionCondition(EqualTo = "24.5")] [VersionCondition(GreaterThan = "27.1")] public Pointer AdjustorThunks; public PrimitivePointer InvokerIndices; // int* [NativeInteger] public uint ReversePInvokeWrapperCount; public Pointer ReversePInvokeWrapperIndices; [NativeInteger] public uint RgctxRangesCount; public Pointer RgctxRanges; [NativeInteger] public uint RgctxsCount; public Pointer Rgctxs; public PrimitivePointer DebuggerMetadata; // Pointer DebuggerMetadata; [VersionCondition(GreaterThan = "27.0", LessThan = "27.2")] public Pointer CustomAttributeCacheGenerator; [VersionCondition(GreaterThan = "27.0")] public Il2CppMethodPointer ModuleInitializer; [VersionCondition(GreaterThan = "27.0")] public PrimitivePointer StaticConstructorTypeIndices; // TypeDefinitionIndex* [VersionCondition(GreaterThan = "27.0")] public PrimitivePointer MetadataRegistration; // Pointer [VersionCondition(GreaterThan = "27.0")] public PrimitivePointer CodeRegistration; // Pointer }