Skip to content
Locked

advanced question

-migrated-

11 posts

advanced question

Posted Nov 20, 2011 1:47 pm

Hi  (broken image removed)
I have this code

Code: [Select]

//5e c2 01
_as3_findproperty var
//24 00
_as3_pushbyte 0
//68 c2 01
_as3_initproperty var

how can I push a number of two bytes to the variable without corrupting the file?

Re: advanced question

Posted Nov 20, 2011 2:14 pm

you will need to find an extra byte somewhere.

I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

Re: advanced question

Posted Nov 20, 2011 2:44 pm

Well, as the name says pushbyte only lets you push one byte. If you wanna push more than one byte you're gonna need to use pushint or pushshort.
And you'll also need to find an extra byte somewhere so it doesn't fuck up the flow of things

Re: advanced question

Posted Nov 20, 2011 4:15 pm

thank u,
I have other question please.

if I have this:

Code: [Select]

//2d 06
_as3_pushint 5153276

how can I reach that value and change it?

Re: advanced question

Posted Nov 20, 2011 6:24 pm

That number is 3 bytes long, 0x4EA1FC, so you're gonna need to find 2 extra bytes there

Re: advanced question

Posted Nov 20, 2011 7:09 pm

where can I find extra bytes here,

Code: [Select]

//5e c2 01
_as3_findproperty var
//24 00
_as3_pushbyte 0
//68 c2 01
_as3_initproperty var
//62 07
_as3_getlocal <7>
//12 18 03 00
_as3_iffalse offset: 792
//62 07
_as3_getlocal <7>
//12 f5 03 00
_as3_iffalse offset: 1013
//10 4e ff ff
_as3_jump offset: -178
//09
_as3_label
//62 04
_as3_getlocal <4>
//62 07
_as3_getlocal <7>
//2a
_as3_dup
//11 03 00 00
_as3_iftrue offset: 3
//29
_as3_pop  

Re: advanced question

Posted Nov 20, 2011 7:29 pm

maybe somewhere outside the loop

I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

Re: advanced question

Posted Nov 20, 2011 8:35 pm

I guess it depends on what you wanna do..
If you don't need those ifs you can use them to get extra bytes

Re: advanced question

Posted Nov 21, 2011 3:42 pm

I have this instruction in the same file

Code: [Select]

//2d 06
_as3_pushint 5153276

and want to replace it with the code, so I won't  need extra bytes

24 00 -> 2d 06

Code: [Select]

//5e c2 01
_as3_findproperty var
//2d 06
_as3_pushint 5153276
//68 c2 01
_as3_initproperty var

but I don't know how to change the value indexed by 06

Re: advanced question

Posted Nov 21, 2011 5:03 pm

Wait, I'm confused now. What exactly are you trying to do?

This topic is locked.