| View previous topic :: View next topic |
| Author |
Message |
paul44 Expert Cheater
Reputation: 3
Joined: 20 Jul 2017 Posts: 226
|
Posted: Sat Sep 12, 2026 10:43 am Post subject: Print float_value from register [Solved] |
|
|
see image: [ https://ibb.co/Q7Q9V9bz ]
I thought it to be pretty simple, but everything but...
Found above @Stackoverflow; could not find anything here.
Q: i've got a feeling that this can be done far more easily via CE ?!
ps: tried 'print(readFloat(RAX))' - w/ variants - but no cigar...
Last edited by paul44 on Sun Sep 13, 2026 4:41 am; edited 1 time in total |
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 98
Joined: 14 Jul 2007 Posts: 3427
|
Posted: Sat Sep 12, 2026 1:12 pm Post subject: |
|
|
Have you tried EAX?
Look like it's a value there, not a pointer.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 26002 Location: The netherlands
|
Posted: Sat Sep 12, 2026 4:07 pm Post subject: |
|
|
byteTableToFloat(dwordToByteTable(RAX))
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
paul44 Expert Cheater
Reputation: 3
Joined: 20 Jul 2017 Posts: 226
|
Posted: Sun Sep 13, 2026 4:40 am Post subject: i got no idea... really ?! |
|
|
^ i was actually thinking of doing that myself
If anyone asks, i've got zero clue about this one...
Anywho: tested and solved. big thx here !
(considering the time i spent on this initially)
ps: in the mean time, i also came up with this: [ https://ibb.co/xPMzzv5 ]
=> if you use %f on fval, you still get integer
ps2: one can convert these values online ofc: [ https://gregstoll.com/~gregstoll/floattohex/ ]
(which is what i used initially to get going...)
|
|
| Back to top |
|
 |
|