Description
I experimenting with some in-RAM / register game hacking (ex. In Pokemon, change the move a trainer will use before they use it, etc). Emulators like BGB (https://bgb.bircd.org/) and Bizhawk (https://github.com/TASVideos/BizHawk) are helpful because they allow for things like breaking on address execution, or adding Lua scripts that are executed on certain conditions.
I think it would be really cool (at least for a project I have in mind) to add API to the wasmboy lib, to allow for executing callbacks on certain conditions, and modifying the internal state (registers, memory, etc). Right now from what I can tell (I'm a JavaScript / Web noob), the lib only allows for a single read and write breakpoint. I think it would be possible to extend the current "plugins" functionality to achieve some of these things?
I'm curious if this is way out of scope for the goals of this project, and if you have a sense of how hard this would be. I would be interested in attempting to contribute some of these features.