First of all, You need these stuff
1. cws2fws.exe
(This stuff make a compressed CWS to a uncompressed FWS, so you can edit P-code. You can not edit P-code of the compressed CWS.)
2. Sothink SWF Decompiler
(And your knowledge to handle this)
3. Hex Editor
( Ez to hex
)
Now you must make the robokill & robokill2 runnable in you local browser(not in the rocksolidarcade webpage)
preload::CustomPreloader:
nEnterFrame(event:Event )
Code:
if (_loc_3.split(".")[_loc_3.split(".").length - 2] == "rocksolidarcade")
{
demo = false;
}
else
{
demo = true;
}
This is the browser's site checking code. if 'demo' is true, START button invokes the rocksolidarcade web page.
(this part is same with the 'robokill 2' )
change the code as like the following one
Code:
if (_loc_3.split(".")[_loc_3.split(".").length - 2] == "rocksolidarcade")
{
demo = false;
}
else
{
demo = false;
}
Very simple
Now There is the PremiumContent checking code
PremiumContent::PremiumContentPanel::verifycheck()
Code:
if (verify.data == "Valid " + verifyKey)
{
PremiumContentNotifier.registered = true;
PremiumContentNotifier.registeredEmail = verifyEmail;
PremiumContentNotifier.save();
if (active)
{
active = false;
PremiumContentSuccess.success = true;
reglayer.push(PremiumContentSuccess.create, true);
}
}
else
{
PremiumContentSuccess.success = false;
reglayer.push(PremiumContentSuccess.create);
PremiumContentNotifier.registered = false;
}
The important P-Code of the 'if (verify.data == "Valid " + verifyKey)' is the following one. (this part is same with the 'robokill 2' )
Code:
//2c 96 46
_as3_pushstring "Valid "
//60 ce 2b
_as3_getlex verifyKey
//a0
_as3_add
//14 3e 00 00
_as3_ifne offset: 62
That's it!
make the jump offset of the _as3_ifne to zero!
to
Even if the registeration failed, it always make it registered.
That's all. Now execute the modified SWF file then register.
Input any e-mail address and wait a few seconds, then play the full contents.