Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong name for function in RE RegistryKeys #35

Open
Olganix opened this issue May 19, 2018 · 0 comments
Open

wrong name for function in RE RegistryKeys #35

Olganix opened this issue May 19, 2018 · 0 comments

Comments

@Olganix
Copy link
Contributor

Olganix commented May 19, 2018

(the function is from version Gog, so Us patched)
the function "## Loading registry options" (sub_423CC0) could be renamed InitGame or SetupGame because it do more than just Load Registry Options.

in order, as I see in the function, there is at least :
-ParseCommandLineArguments (sub_424430)
-SetupBasicFunctionHandles (sub_48C3D0)
-Init some handle like for writting in console
-sub_421120_ReadRacerTab
-to some init with Window, like try to set position (witch may be is a test of control)
-sub_49D060_maybe_CreateRegisterKey
-sub_49D230_maybe_ReadRegistryKeyValueImp
-sub_48BC10_maybe_GetDirect3dDevice (confirmed by the Message if it's not a sucess)
-sub_425500_maybe_CheckInstallationAndPath
-Create Folder until config (sub_484310)
-sub_409B10_maybe_LoadVideoConfig
-InitializeCriticalSection
-elfControl_Initialize (sub_404B10)
-sub_49D210_maybe_WriteRegistryKeyValueImp

and after a series of function not really iddentitfy it's still :
-ShowWindow

Another clue is the principals function from WinMain:
-WinMain (sub_4238D0)
--StarGame (49CD40)
---CreateWindowIntance (sub_49CEA0)
---Save some Handles
---InitCommonControls
---if(!InitGame) return 0; //(sub_423CC0)
---While(1)
-----MainRenderLoop function iddentified by JayFoxRox (sub_424140 and sub_423580)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant