Open LanHikari22 opened 6 years ago
Sometimes, a stack offset is necessary. This is accounted for.
Other times, the base doesn't seem consistent, the code just appears to use different values for base.
Other instructions manipulating SP affect the base.
For most of the time, the current implementation accounts for the right stack values.
When they don't, stack variables should be manually disabled.
One example is from exe4rs: sub_8016460.
It seems to have to stack bases, and it's difficult to pinpoint the value for the stack variables
For now, stack variables are not supported.
Sometimes, a stack offset is necessary. This is accounted for.
Other times, the base doesn't seem consistent, the code just appears to use different values for base.
Other instructions manipulating SP affect the base.
For most of the time, the current implementation accounts for the right stack values.
When they don't, stack variables should be manually disabled.