RiyanArtz Posted December 22, 2019 Share Posted December 22, 2019 Can anyone help me? Iam need this for create cleo sun size,but iam write this address not work .text:003BCA9E LDR R3, [R5,R1] ; _ZN10CTimeCycle10m_fSunSizeE_ptr ; CTimeCycle::m_fSunSize Link to comment Share on other sites More sharing options...
xXJHEISONXx Posted January 4, 2020 Share Posted January 4, 2020 Hallo :v On 12/21/2019 at 11:21 PM, RiyanArtz said: Can anyone help me? Iam need this for create cleo sun size,but iam write this address not work .text:003BCA9E LDR R3, [R5,R1] ; _ZN10CTimeCycle10m_fSunSizeE_ptr ; CTimeCycle::m_fSunSize _ZN10CTimeCycle10m_fSunSizeE_ptr is a variable, for read value: {$CLEO .csa} 0000: while true wait 0 0DD0: [email protected] = @_ZN10CTimeCycle10m_fSunSizeE_ptr 0DD9: write_mem [email protected] value 255 size 1 add_ib 0 protected 1 end :_ZN10CTimeCycle10m_fSunSizeE_ptr hex "_ZN10CTimeCycle10m_fSunSizeE_ptr" 00 end Link to comment Share on other sites More sharing options...
OrionSR Posted January 4, 2020 Share Posted January 4, 2020 This doesn't seem right. I would expect _ZN10CTimeCycle10m_fSunSizeE_ptr to be a pointer as indicated by the "_ptr" at the end. You could try looking for _ZN10CTimeCycle10m_fSunSizeE, but if this isn't at a static address then you'll want to read the pointer to find where the variable is stored. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now