I'm editing some smali code in which I need to change the value of a certain currency parcel awarded as an achievement entity in a game.
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 0
invoke-static {p0, p1, p2}, Lcom/google/android/gms/games/achievement/AchievementEntityCreator;->a(Lcom/google/android/gms/games/achievement/AchievementEntity;Landroid/os/Parcel;I)V
return-void
.end method
The class Landroid/os/Parcel is set as an integer. I want to set a solid numerical value of 1 billion to this class. This would award me an in-game currency parcel of that size when an achievement is completed, every time - the code is rather self-explanatory. Is that possible? If so, how can it be done?
Note: I am NOT a blackhat hacker using this knowledge to violate anyone's property. It is simply to reverse engineer a test application as a temporary, innocuous learning experience, not for commercial circulation or any malicious intents.