Originally Posted by
Jadd
Depends on your implementation. Post your code for "DoString."
Here it is:
Code:
"call " + (Memory.ClientProcess.WowModule + 15118u),
"test eax, eax",
"je @out",
"mov eax, " + aloc,
"push 0",
"push eax",
"push eax",
"mov eax, " + (Memory.ClientProcess.WowModule + 151869u),
"call eax",
"add esp, 0xC",
"@out:",
"retn"
Im using customized version of blackmagik. The hook is located inside the endscene function(exactly how it is done by fraps).
Ah. And of course the GetLocalizedText call:
Code:
"call " + (Memory.ClientProcess.WowModule + 15118u),
"test eax, eax",
"je @out",
"call " + (Memory.ClientProcess.WowModule + 15118u),
"mov ecx, eax",
"push -1",
"mov edx, " + aloc,
"push edx",
"call " + (Memory.ClientProcess.WowModule + 3055698u),
"@out:",
"retn"