It does look like a variety of Croton (Codiaeum variegatum) The photo is quite dark and it's difficult to see what's actually going on with it but lack of sufficient light and too much water may be the issue.
~ I'm an old gal who still loves playing in the dirt!
~ Playing in the dirt is my therapy ... and I'm in therapy a lot!