This is not a c++ question per se, but I do not see a better forum to ask it. I have a binary executable (compiled with Visual Studio C++ 2005) and the source code for this file. I need to change a constant, but for various reason I do not want to compile sources. I know the value and the type of the constant float 60.0f. The constant itself is mentioned multiple times in the code.
What are my options? Any suggestion would be welcome.
Theoretically speaking, I guess, I should be able to search through the binary to locate four bytes which contain 60.0f. But I think constants are stored in some particular place in the executable file.