Bad idea: build a captcha library that embeds DOSBox so it can make you beat levels/puzzles from DOS games to continue.
-
@onelson It's been stuck on a CD-ROM since 1997, so NOPE
-
haha, 1991-1997 programmer: you made the LoadDirectSoundFuncptrs return a 0 for success, but you only ever return 0. your code smells with your bad decisions, which I can see THROUGH TIME from 30 years later
-
you even check, in the calling code, that it returns 0 and not some other value. you have fallback code for if it fails.
it can't fail. -
correction, you're returning a boolean.
and it's hardcoded to always return a 0, which is false.
so this ALWAYS fails.
-
I'm guessing this is dummying out code that didn't work
-
yeah this code is just casually mixing pascal and stdcall calling conventions. I am in hell
-
okay yeah. this is not remotely delphi. this is C++. ghidra mis-detected it, and that may have messed up the analysis
-
yep and it's buggered every single function, even after changing language. I can delete and recreate functions, but that might not fix them because they're getting hints from downstream functions which it still thinks are __fastcall and not __stdcall
-
maybe I just need to delete every function and re-analyze from scratch
-
-
Foone🏳️⚧️replied to Foone🏳️⚧️ last edited by [email protected]
(i just re-imported the EXE as a new file, and I'll manually port over the dozen or so symbols I've found.)
-
BTW it turns out there's cheats in the windows version.
maybe in the other versions too? I don't think anyone has found them if so.
https://www.speedrun.com/super_solvers_gizmos_and_gadgets/forums/vcalv
-
I spotted them in the EXE and googled to see if they were known. Yep. At least in that one post!
-
@foone Did T.L.C. use a common asset storage formats? I’m curious how I’d go about inspecting some of these uralt binaries.
-
@matt I'm not sure yet, I've not been looking at the datafiles yet, just the EXE with Ghidra
-
ah-ha!
see that?
They call GetVersion(), then no matter if it's below 4 or not, they jump to the SAME PLACE, and there's dead code below it.This EXE has been patched after compilation!
-
yeah the EXE has a modification date of 1998, but the compile time inside the EXE says 1994
-
They patched out this dialog box.
-
I think the typo in the name is a bug on my resource viewer
-
yeah, there's other dialogs like "you need to be in 386 enhanced mode!" that I think they just orphaned when they made this version win9x only