I've confirmed that 'lua_proc_handle_prep_scan' (called by 'lua_proc_handle_dump' and 'lua_proc_handle_bytescan') indeed receives the correct range but sometime between there and attempting to start dumping the memory (which somehow ends abrubtly) the values are overwritten to 0 and no percentage of the dump/scan can be calculated
Full project is here:
GitHub - awsdert/gasp at c8d0255e3ed3cbe11a734d35b848441d4cfc6602
The mentioned functions and the related calls they make are mainly in lua_process.c and proc.c
I gotta start preparing for work so any further replies I make until I get home tonight will be on my phone.