Managed to fix it, mishandled the return values of 2 different functions which prevented the scan from being done in the 1st place, so not overwritten, just never filled to begin with

Edit: Forgot to link the updated code
GitHub - awsdert/gasp at a28900925aa487fd4d2d5c01a89f2794164a1407