Sorry for the confusion. I'll explain the issue in detail.
Game is big so I created an alternative sample code, were you can get the 'Correct MessageBox' if you enter "I_Love_PB".
Code: Select all
If InputRequester("PoorMan", "Enter Password:", "") = "I_Love_PB"
MessageRequester("", "Password is Correct!")
Else
MessageRequester("", "Password is Incorrect!")
EndIf
https://ibb.co/jwpjghv
Actually, I need the following DLL Code to change "eax value to 1" once the code leaves RVA $10BE":
Code: Select all
EnableExplicit
ProcedureDll DoASM() ; Procedure Name will be changed later
Protected EAX.l
! mov eax, 1
! mov dword [p.v_EAX], eax ; p.v_EAX -> pointer to variable EAX
EndProcedure
DoASM()