Navigate Site: | Home | Blog | Samples | Downloads | About Us | Links | Documentation

Concatenating Code Files

Code Files

When you decompile a subroutine, .c files are created in (when the program is zol) jobs/zol/ and are called, eg, usub_42e0.c. The code file looks like this:

void usub_42e0() {
int LLocal1;
GUI_Draw_Pointer_lo = Global_132;
GUI_Draw_Pointer_hi = 0;
LLocal1 = 3;
do {
	GUI_Draw_Pointer_lo = (GUI_Draw_Pointer_lo C:<< 1);
	GUI_Draw_Pointer_hi = (GUI_Draw_Pointer_hi C:rol 1);
	LLocal1 = (LLocal1 - 1);
} while (LLocal1 != 0);//LoopEndWh 42F2
GUI_Draw_Pointer_lo = (Global_2097[Global_131] + GUI_Draw_Pointer_lo);
GUI_Draw_Pointer_hi = (Global_2072[Global_131] C:+ GUI_Draw_Pointer_hi);
Redraw_PointerToColourMap_lo = (Global_2147[Global_131] + Global_132);
Redraw_PointerToColourMap_hi = (Global_2122[Global_131] C:+ 0);
return;// 4312
};

But what if there is more than one .c file? In this case, you would have to load them up one by one.

But there's a solution! Choose this option:

It will add up all .c files, into the file called (in this case) jobs/zol/zol.allcode.c