Skip to content

Instantly share code, notes, and snippets.

@sl4v
Last active June 25, 2017 10:09
Show Gist options
  • Save sl4v/957261e9e0282ef562ae0f887acfc9d3 to your computer and use it in GitHub Desktop.
Save sl4v/957261e9e0282ef562ae0f887acfc9d3 to your computer and use it in GitHub Desktop.
{
onEnter: function (log, args, state) {
log("get_gacha(" + args[0].toInt32() + "," + args[1].toInt32() + "," + args[2].toInt32() + "," + ")");
log(hexdump(args[1], { length: 4 }));
log(hexdump(args[2], { length: 4 }));
this.args1 = args[1];
this.args2 = args[2];
}
onLeave: function (log, retval, state) {
log(hexdump(this.args1, { length: 1 }));
log(hexdump(this.args2, { length: 1 }));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment