TGA dumps work, courtesy of @bunnei