Because TypesByReferenceIndex can be populated in two places (Il2CppModel constructor and GetTypeFromVirtualAddress), we need to avoid generating the same type multiple times.
Because TypesByReferenceIndex can be populated in two places (Il2CppModel constructor and GetTypeFromVirtualAddress), we need to avoid generating the same type multiple times.