Private functions/constants
Private functions/constants Posted on: 02/14/2013 8:33pm
Quote Post
Is it possible to modify functions/constants that are set to private in any way?
Re: Private functions/constants Posted on: 02/15/2013 12:15am
Quote Post
Never let a computer tell´╗┐ me shit.
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_count 
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]
so if you want to change a double, you do it like this:

its dangerous to go alone! take this:

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?"

Re: Private functions/constants Posted on: 02/16/2013 7:02am
Quote Post
So it doesn't matter if they're public constants or private constants; both are editable using aobs. Thanks!