Private functions/constants
Posted Feb 14, 2013 8:33 pm
Is it possible to modify functions/constants that are set to private in any way?
-migrated-
3 posts
Is it possible to modify functions/constants that are set to private in any way?
Ive already told you about constants
they are members of the constant_pool. The constant values of the AVM2 are one of the following types: int, uint, double, string, namespace, undefined, or null. The values of these types appear directly in the ABC file or in the instruction encodings.
the constant pool looks like this.Code: [Select]u30 int_countso if you want to change a double, you do it like this:
s32 integer[int_count]
u30 uint_count
u32 uinteger[uint_count]
u30 double_count
d64 double[double_count]
u30 string_count
string_info string[string_count]
u30 namespace_count
namespace_info namespace[namespace_count]
u30 ns_set_count
ns_set_info ns_set[ns_set_count]
u30 multiname_count
multiname_info multiname[multiname_count]
its dangerous to go alone! take this: http://www.adobe.com/content/dam/Adobe/en/devnet/actionscript/articles/avm2overview.pdf
just scan for them with CE as whatever the type is. u30 is tricky i guess, but there are tons of scripts and programs that can convert to u30 for you.
for functions, yes you can modify them with standard aob techniques.
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?"
So it doesn't matter if they're public constants or private constants; both are editable using aobs. Thanks!