What happened: I'm looking at a function that's clearly a strcmp of some kind. It seems to compare against a length, so... strncmp? looks like it, except it takes FOUR ARGUMENTS?! what could this be?
I look at several variants of strncmp to see if there's a 4-argument version, then give up and look back at ghidra's decompilation: it never uses argument 1.
I figured out the hypothetical 4-argument strcmp:
it's a locale-specific strnnicmp.
That's stricmp (compare insensitively) and also strncmp (compare only the first n characters), but with TWO LENGTHS! Why? To compare two strings of different lengths, case-insensitively.
(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