tag:blogger.com,1999:blog-3128206808448113063.post3953261508808357417..comments2023-08-27T13:30:28.359-07:00Comments on Bmanatee's blog: Basic SWF Bytecode modification (AVM2/AS3) tutorialbmanateehttp://www.blogger.com/profile/04008622051019858872noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-3128206808448113063.post-65017876257872162902015-11-09T14:57:24.694-08:002015-11-09T14:57:24.694-08:00Thanks for the guide...It was really useful.
One t...Thanks for the guide...It was really useful.<br />One thing that i didnt get was that i used the class initializer to change some static values on another swf game i had, and changed a pushbyte 3 to a pushint 9999 and saved the file. But checking the file with another decompiler i still see the initial 3 there...Where was the 9999 saved ? If i move the file to another computer will that value still hold ?<br />ThanksMarioshttps://www.blogger.com/profile/15230266680729504530noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-40459155280309942772015-08-28T12:22:30.482-07:002015-08-28T12:22:30.482-07:00nice tutorial....i love using jpex. People used to...nice tutorial....i love using jpex. People used to post codes for hacks and one day i realized using this program that the code can be reversed back to actionscript and found in the file. One thing that confuses me is ive seen codes before that do not match. Why is it that some hacks have codes that dont match byte size?BeStZPRoGiEhttps://www.blogger.com/profile/09825087793403854305noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-76626687843164144492015-04-17T15:57:47.958-07:002015-04-17T15:57:47.958-07:00"It also means if you increase or decrease th..."It also means if you increase or decrease the SWFs size when hex editing and don't update the SWF size in the SWF header, the SWF will almost certainly not load"<br /><br />Hey I have a problem, I would appreciate your help, I've editing the swf and it always load, but if I insert bytes it never load. i tried to insert bytes in a swf file and changed the file size in the header too, the header correpond with the filesize, but it still don't load.<br /><br />How can i make this work? Thanks for your time, excellent tutorial btw this is the first good tutorial on swf editing that i have seen.millanhttps://www.blogger.com/profile/12388763684723170604noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-5617829455879912292014-10-01T11:53:14.643-07:002014-10-01T11:53:14.643-07:00Hey! Thanks for such a good tutorial.
But i have a...Hey! Thanks for such a good tutorial.<br />But i have a doubt that if there is a swf file of 8 ball pool it contains 10000 or more scripts so how can i come to know that in which script the hack i wanted to create is present.Anonymoushttps://www.blogger.com/profile/06320813556020552954noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-22819214213278650762014-08-21T00:30:22.554-07:002014-08-21T00:30:22.554-07:00Thanks for all ! I learned many of this things alo...Thanks for all ! I learned many of this things alone, so it is good to read your experience.Anonymoushttps://www.blogger.com/profile/10203391817483092378noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-33684833155487414202013-08-31T00:00:16.687-07:002013-08-31T00:00:16.687-07:00My bad. Fixed.My bad. Fixed.bmanateehttps://www.blogger.com/profile/04008622051019858872noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-10673432394543599322013-08-30T20:12:53.377-07:002013-08-30T20:12:53.377-07:00Thanks for explanation.
Also thanks for article it...Thanks for explanation.<br />Also thanks for article itself, it is great. There are no other articles on the internet showing FFDec usage so I am glad to see somebody uses it :-).<br /><br />One note:<br />You edited the article to find initializer in the traits list. You tell people to click "instance intitalizer".<br /><br />Instance initializer is so called "constructor" of the class. For static initializer, you must click "class initializer" instead.Anonymoushttps://www.blogger.com/profile/15280129317575049868noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-75756462799446818012013-08-30T17:58:15.258-07:002013-08-30T17:58:15.258-07:00Thanks for your input
Yeah, I know about the edit...Thanks for your input<br /><br />Yeah, I know about the editor (which I mention in the after note). I just think people should learn to do it via hex editing before moving on to proper p-code editors.<br />Learning to hex edit SWFs provides a lot of knowledge that can be applied to making AoBs for memory editing, which is quite popular despite it's problems (which is something you can't do without knowing how to hex edit SWFs). Plus, if you know how to modify a SWF via hex editing, you should easily be able to pick up using a p-code editor.<br />If you where using a p-code editor, you definitely wouldn't need to NOP things, but it's useful to learn how to use NOPs for memory based AoBs.<br />Some more advanced edits are difficult/impossible to do with regular p-code editors. I've had times where even RABCDASM wasn't good enough. It's useful to be familiar with hex editor based modifications for them.<br />In saying that, I'll definitely agree once one has gotten a good handle on hex editing SWFs, one should pretty much immediately move on to using p-code editors and almost never hex edit SWFs again.<br /><br />Thanks for telling me that. I'm still pretty new to FFDec, I'll update the tutorial with that information.<br /><br />Gotta say, I absolutely love FFDec. Over the course of about a month it's become my favourite decompiler, and it's the one I recommend to everyone.bmanateehttps://www.blogger.com/profile/04008622051019858872noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-49572395384276260622013-08-30T12:11:57.131-07:002013-08-30T12:11:57.131-07:00Also one note:
"To access the static initiali...Also one note:<br />"To access the static initializer, you must go settings -> disable decompilation."<br /><br />This is not needed. You can go to static initializer via traits list which is located at the bottom left. It is list of all methods/vars/consts which also contains both initializers.Anonymoushttps://www.blogger.com/profile/15280129317575049868noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-89911861572144878062013-08-30T12:02:42.292-07:002013-08-30T12:02:42.292-07:00I must add a comment to this:
If you use FFDec,
t...I must add a comment to this:<br /><br />If you use FFDec,<br />the easiest way to change p-code (eg. pushbyte 1 to pushbyte 100) is change p-code with p-code editor.<br /><br />You can just press "Edit" button under p-code textarea, modify/replace/edit instructions and hit save.<br /><br />There is also no need to NOP anything.<br /><br />I think it is unnecessary to edit hex codes at all.<br /><br />I know what is the point of the post...<br />but I just wanted to say my opinion (I am the author of FFDec)Anonymoushttps://www.blogger.com/profile/15280129317575049868noreply@blogger.comtag:blogger.com,1999:blog-3128206808448113063.post-48649428737415837022013-08-30T11:10:48.085-07:002013-08-30T11:10:48.085-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/15280129317575049868noreply@blogger.com