Re: Battalion: Arena
Code: [Select]package
{
import flash.display.*;
dynamic public class wm_resources extends BitmapData
{
public function wm_resources(param1:Number, param2:Number)
{
//d0
_as3_getlocal <0>
//30
_as3_pushscope
//d0
_as3_getlocal <0>
//d1
_as3_getlocal <1>
//d2
_as3_getlocal <2>
//49 02
_as3_constructsuper (param count:2)
//47
_as3_returnvoid
}// end function
}
}
After downloading and opening the swf this is the recources of the Warmachine Raw Data . I thought that d0 30 d0 d1 d2 49 02 47 would be the AoB but this AoB also applies for another 500 things in the game too, i can post other things too to show you that AoBs are the same so i guess the downloading of the swf is not coplete? i tried several downloaders including mr.Whites thing but the swf i end up with is the same. so either we cannot download it or something else happens? ..... ? Any help?
Bytecode hacking isn't just finding the AoB; it's also changing it.
I'm not completely sure about my little theory...but: In this case, what you found is the function that defines an element. So if you find "wm_resources" in another part of the .swf, it doesn't need to be created and defined; it can be used as an element.
I'm not so sure how to explain it further...lets say I make a function "donkey_kongHP" and construct it simply (like shown above.) I can now use it in the .swf without having to construct it and take valuable space.