@@ -604,38 +604,3 @@ fix_Hlp_IsValidItem:
604604 call dynamic_cast
605605.backClean:
606606 jmp g1g2( 0x658B3E , 0x6830AE , 0x691F5E , 0x6EF1CE ) + 5
607-
608-
609- ; Deinitialize VDFS on fast exit to ensure release of data file
610- global fastexit_deinit_vdfs
611- fastexit_deinit_vdfs:
612- call zFILE_VDFS__DeinitFileSystem
613- call _exit ; Never returns
614-
615-
616- ; Deinitialize VDFS on improper CGameManager destruction (access violation)
617- global CGameMananager_destruction_deinit_vdfs
618- CGameMananager_destruction_deinit_vdfs:
619- resetStackoffset g1g2( 0x3C , 0x38 , 0 , 0x3C )
620- pusha
621- call zFILE_VDFS__DeinitFileSystem
622- popa
623- verifyStackoffset g1g2( 0x3C , 0x38 , 0 , 0x3C )
624-
625- ; Jump back
626- mov BYTE [ esp + stackoffset - 0x4 ], 0x4
627- jmp g1g2( 0x423BDC , 0x4265C4 , 0x42449C , 0x4247CC ) + 5
628-
629-
630- ; Deinitialize VDFS on libExit (fatal error)
631- global libExit_deinit_vdfs
632- libExit_deinit_vdfs:
633- resetStackoffset
634- pusha
635- call zFILE_VDFS__DeinitFileSystem
636- popa
637- verifyStackoffset
638-
639- ; Jump back
640- mov eax , g1g2( 0x86F51C , 0x8B5138 , 0x8C5C5C , 0x8D4294 )
641- jmp g1g2( 0x4F3C30 , 0x506620 , 0x4FFE30 , 0x502AB0 ) + 5
0 commit comments