LoadIconA and LoadCursorA deal with resource pointers; these are either pointers into memory (if high-order word isn't zero), or they are resource identifiers (if high-order word is zero).
This is relevant as hacky_printf will access them (which possibly crashes).
The game only seems to use IDI_APPLICATION as resource identifier. More can be added if necessary.
LoadIconA
andLoadCursorA
deal with resource pointers; these are either pointers into memory (if high-order word isn't zero), or they are resource identifiers (if high-order word is zero).This is relevant as
hacky_printf
will access them (which possibly crashes).The game only seems to use
IDI_APPLICATION
as resource identifier. More can be added if necessary.