array C_nextFree123 integer C_firstFree180 integer C_maxIndex645 integer C_firstFree180 = 0 integer C_maxIndex645 = 0 function initGlobals120() { } function main153() { local integer zeroInt123 initGlobals120(); zeroInt_123 = (0 castTo integer); takesInt116((0 castTo integer)); takesInt116(zeroInt_123); takesInt116(((zeroInt_123 castTo integer) castTo integer)); testClass155(); } function config434() { } IS_NATIVE function takesInt116(integer i194) { } function testClass155() { local integer cObj113 local integer cInt285 cObj_113 = new_C556(); cInt_285 = (cObj_113 castTo integer); takesC388(cObj_113); takesInt116(cInt_285); takesC388((cInt_285 castTo integer)); } IS_NATIVE function takesC388(integer c160) { } function new_C556() returns integer { local integer this205 if (C_firstFree_180 == 0) { if (C_maxIndex_645 < 32768) { C_maxIndex_645 = (C_maxIndex_645 + 1); this_205 = C_maxIndex_645; } else { error779("Out of memory: Could not create C."); this_205 = 0; }; } else { C_firstFree_180 = (C_firstFree_180 - 1); this_205 = C_nextFree_123[C_firstFree_180]; }; return this_205; } function error779(string msg754) { $debugPrint134((msg_754 + (" " + #getStackTrace()))); }