Okay, looking at azukame's IDA decompilation, it makes much more sense than mine through Ghidra, not sure what's produced my erroneous results. |
==> |
I've figured out the solution, but I can't quite figure out *why* based on my decompiler. I'm still getting used to static analysis, I'm trying to get to the point where I don't just ignore elements of the decompilation because I don't understand it. |
==> |