Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sat Jun 06, 2020 2:05 pm Post subject:
Few methods of finding the related code:
- Look for strings that match the video file name.
- Look for DLL calls to video player-related methods. (If using external libraries to play the videos.)
- Look for internal exports of video player-related methods. (In some cases, processes will statically link to a library but still export that libraries functions.)
- Look for functionality related to game data/file loading. (If the video file is in a certain archive/data file of the game, look for that file name or the means of how the game loads said file.)
You can also try hooking onto/debugging file-related APIs such as:
- CreateFileA / CreateFileW
- ReadFile
- fopen / fopen_s
- fread
And monitor for when the API is being used to load the video file you are looking to skip. Trace back to where the API was called from to find where the game is loading said file and work from there. _________________
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Sun Jun 07, 2020 1:19 pm Post subject:
fopen, and similar, are part of the C standard library. Which library that implements them depends on how the application was compiled and with what compiler/linker. Compilers will generally offer them in a specific lib that implements the C standard functions, but you can also make your own and not compile against a normal standard lib. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum