public unsafe void Initialize(long sizeStorage) { IntegrityRomFsStorage *integrityRomFsStoragePtr = (IntegrityRomFsStorage *)\u003CModule\u003E.nn\u002Efs\u002Edetail\u002EAllocate(1440U); this.m_pIntegrityRomFsStorage = (IntPtr)integrityRomFsStoragePtr == IntPtr.Zero ? (IntegrityRomFsStorage *)0 : \u003CModule\u003E.nn\u002Efssystem\u002EIntegrityRomFsStorage\u002E\u007Bctor\u007D(integrityRomFsStoragePtr); int num1 = 0; HierarchicalIntegrityVerificationStorageControlArea.InputParam inputParam; do { // ISSUE: cast to a reference type // ISSUE: explicit reference operation ^ (int&)(num1 * 4 + (IntPtr) & inputParam) = 16384; ++num1; }while (num1 < 6);
private unsafe void \u0021HierarchicalIntegrityVerificationStorage() { \u003CModule\u003E.delete((void *)this.m_pMetaInfo, 192U); \u003CModule\u003E.delete((void *)this.m_pInfoLevelHash, 180U); IntegrityRomFsStorage *integrityRomFsStorage = this.m_pIntegrityRomFsStorage; if ((IntPtr)integrityRomFsStorage != IntPtr.Zero) { IntegrityRomFsStorage *integrityRomFsStoragePtr = integrityRomFsStorage; int num = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)integrityRomFsStorage)((uint)integrityRomFsStoragePtr, (IntPtr)num); } FileSystemBufferManager *pBufferManager = this.m_pBufferManager; if ((IntPtr)pBufferManager != IntPtr.Zero) { FileSystemBufferManager *systemBufferManagerPtr = pBufferManager; int num = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)pBufferManager)((uint)systemBufferManagerPtr, (IntPtr)num); } SubStorage *pHashStorage = this.m_pHashStorage; if ((IntPtr)pHashStorage != IntPtr.Zero) { SubStorage *subStoragePtr = pHashStorage; int num = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)pHashStorage)((uint)subStoragePtr, (IntPtr)num); } SubStorage *pDummyStorage = this.m_pDummyStorage; if ((IntPtr)pDummyStorage != IntPtr.Zero) { SubStorage *subStoragePtr = pDummyStorage; int num = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)pDummyStorage)((uint)subStoragePtr, (IntPtr)num); } RomFsStorage *hashStorageBuffer = this.m_pHashStorageBuffer; if ((IntPtr)hashStorageBuffer != IntPtr.Zero) { RomFsStorage *romFsStoragePtr = hashStorageBuffer; int num = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)hashStorageBuffer)((uint)romFsStoragePtr, (IntPtr)num); } DummyStorage *dummyStorageBuffer = this.m_pDummyStorageBuffer; if ((IntPtr)dummyStorageBuffer == IntPtr.Zero) { return; } DummyStorage *dummyStoragePtr = dummyStorageBuffer; int num1 = 1; // ISSUE: cast to a function pointer type // ISSUE: function pointer call void *voidPtr1 = __calli((__FnPtr <void *(IntPtr, uint)>) * (int *)*(int *)dummyStorageBuffer)((uint)dummyStoragePtr, (IntPtr)num1); }