Floating point on Flash/.swf

Place to talk about all that new hardware and decaying software you have.

Moderator: General Mods

Post Reply
Rashidi
Trooper
Posts: 515
Joined: Fri Aug 18, 2006 2:45 pm

Floating point on Flash/.swf

Post by Rashidi »

how exactly macromedia flash handles that stuff? (mantissa, exponent, sign, endians, etc...)

i wanna cheat certain flash program, but unfortunately, my cheating program can only search values that were native to the processor only (i.e 8-bit byte, 16/32/64-bit word, 32/64/80-bit floating point).

So i intend to make numeric converter that will convert numeric value and represent it into series of bytes that can be used for searching.

consequently, i need to know the what form of floating point, that flash uses.
diminish

Post by diminish »

http://en.wikipedia.org/wiki/ActionScript It seems that it uses double-precision IEEE-754 floating point, but I don't think you can twiddle bits easily.
Rashidi
Trooper
Posts: 515
Joined: Fri Aug 18, 2006 2:45 pm

Post by Rashidi »

sorry, for very late post
i have test various flash player, it seems intel' floating point were used as-is up to version 7,

i can find for 8-byte float value addresses in RAM while the swf was played using adobe flash player version 7 or older.

however, on adobe flash player version 8 or newer, i can not even find the for the address of the values...
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Post by kode54 »

With some newer Flash players and games, I've seen integer values in use. You may want to try relative value searching, as what you are looking for could be the exact value multiplied by two, four, or ten, or something.
PHoNyMiKe
Retrosexual
Posts: 1011
Joined: Wed Jul 28, 2004 2:09 am
Location: Rapture

Post by PHoNyMiKe »

you're trying to cheat a flash game? now that's low.
[url=http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike]ultimate immortality[/url]
[url=http://www.sloganizer.net/en/][img]http://www.sloganizer.net/en/image,zsnes,white,purple.png[/img][/url]
Post Reply