Help? (Hex Editing)
-migrated-
Help? (Hex Editing) Posted on: 12/24/2010 9:31am
Quote Post
Hey guys,
I'm just new into the hex editing,so I could use some help here.

I got this from Sothink
Code: [Select]
_as3_findproperty bucketCapacity
//24 0a
_as3_pushbyte 10
//68 e8 08
_as3_initproperty bucketCapacity
//5e d9 08

And this is the extracted AoB
Code: [Select]
5e e8 08 24 0a 68 e8 08 5e d9 08
I'm just wondering what do I need to change about that code up there so I can get _as3_pushbyte 10 change to 99999 or anything high like that?
Re: Help? Posted on: 12/24/2010 10:15am
Quote Post
( ͡° ͜ʖ ͡°)
You can only change it from  pushbyte 10 to pushbyte 127
10 = 0a
127 = 7F
5e e8 08 24 0a 68 e8 08 5e d9 08
5e e8 08 24 7F 68 e8 08 5e d9 08
Is there anything below this lines of codes? Any subtract or decrement?
The highest possible hex number in this case would be FF or 255 but that is for unsigned values, pushbyte pushes signed values which range from 00 to 7F.



Flash .sol locations
Chrome: \AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\
Normal: \AppData\Roaming\Macromedia\Flash Player\#SharedObjects

Re: Help? Posted on: 12/24/2010 12:03pm
Quote Post
Search for //2d (which is pushint) which will allow you to use bigger numbers. Unfortunately it uses a constant pool so you can't use your own numbers.
Re: Help? Posted on: 12/24/2010 3:19pm
Quote Post
System Bot
Quote from: "Derek"
Search for //2d (which is pushint) which will allow you to use bigger numbers. Unfortunately it uses a constant pool so you can't use your own numbers.
Indeed. I wonder why he didn't do that as I told him about pushint not so long ago...

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Help? Posted on: 12/25/2010 6:50am
Quote Post
Thanks everyone. Yes,phren,thanks for explaining to me that time I was just unsure about the values those pushbytes have.
Although the AoBs were successfully replaced and worked,the game wasn't hacked but I'm 100% sure it's my bad.

Few more questions,is there ABSOLUTELY NO WAY you can change the public and private variables?
And is 7F the only high value I can give to a pushbyte?
Re: Help? Posted on: 12/25/2010 8:15am
Quote Post
System Bot
Quote from: "MartinRistov"
Few more questions,is there ABSOLUTELY NO WAY you can change the public and private variables?
It's not possible by using AoBs, but with Flash you can change them ofc (if you have the .fla file).

Quote from: "MartinRistov"
And is 7F the only high value I can give to a pushbyte?
Well, it's the highest. Everything above 7F is negative. FF for example is -1.

This post was imported from an account that no longer exists!
Previous Name: phreneticus
Re: Help? Posted on: 12/25/2010 8:46am
Quote Post
Alrighty,thank you.

Quote from: "phreneticus"
It's not possible by using AoBs, but with Flash you can change them ofc (if you have the .fla file).
Hmm and how about this - Find the right .as at first where the variable is located,decompile the .swf with Sothink into a .fla,get into that .as,edit it out,save back and compile it?
You think this might work?