Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Problem with P-Code (https://forum.exetools.com/showthread.php?t=8813)

Sarge 02-08-2006 02:18

Hmmm, remember that Variants are structures, the read/write address indicated by the stack parameter is the
address of the structure, not the data IN the structure.

Also, I can't reconcile your statements:

"I'm on the above instruction in WKT and top of Stack shows:

0012E4D0: 68E81200 284B6500

Looking at 0012E868 supplies 02000000 and looking at 00654B28 supplies 08001200"

I assume that the value "68E81200" is the top-of-stack, and that "284B6500" is the next-to-top-of-stack? If so, go
to those two addresses, find the Variant structures, then find the numeric values represented by those structures, and
multiply them. Then, store the result in the local Frame in the location indicated by the offset that is Parameter #1. (This IS explained in the text I have posted.)

I don't see where "0012E868" and "00654B28" come from. Of course, I am not very familiar with the "Whiskey-with-Tequila" debugger's syntax.

If this is not a correct analysis, it's because (as I said), I don't see where the data you have indicated comes from.

Sarge

squareD 02-09-2006 19:29

Quote:

I assume that the value "68E81200" is the top-of-stack, and that "284B6500" is the next-to-top-of-stack?
That's absolutely right.
Quote:

If so, go to those two addresses, find the Variant structures, then find the numeric values represented by those structures, and multiply them. Then, store the result in the local Frame in the location indicated by the offset that is Parameter #1.
Well, I'm not very familar with variants.
So I think I have to take a deeper look as above described.

Thanks for your toil.

Regards,
squareD


All times are GMT +8. The time now is 20:51.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX