Here is code from Temple of Terror, 3526 hex offset subroutine

The function has been named as 'QSAVE' by me (and GetSizeOfSaveData). Other than that, this is all automated decompilation.

void QSAVE() {
void FLocal1 = GetSizeOfSaveData();
Global_13622 = FLocal1;
LLocal1 = FLocal1;
do {
        Global_1411[LLocal1] = Global_1023[LLocal1];
        LLocal1 = (LLocal1 - 1);
} while (LLocal1 != 0);//LoopEndWh 3533
return();// 3535
};