array Cell_nextFree833 integer Cell_firstFree112 integer Cell_maxIndex912 array Cell_typeId107 array Cell_elem150 integer Cell_firstFree112 = 0 integer Cell_maxIndex912 = 0 function initGlobals202() { } function main357() { initGlobals202(); init_test129(); } function config602() { } function init_test129() { local integer c144 local integer this479 local any t201 local integer this188 local any t924 local integer b_z176 local integer i283 local integer this168 local any test_Cell_get_result464 local integer this467 local integer tuple_temp369 c_144 = new_Cell138(); this_479 = c_144; tuple_temp_369 = 5; b_z_176 = tuple_temp_369; t_201 = b_z_176; if (Cell_typeId_107[this_479] == 0) { if (this_479 == 0) { error175("Nullpointer exception when calling Cell.set"); } else { error175("Called Cell.set on invalid object."); }; } else { }; this_188 = this_479; t_924 = t_201; Cell_elem_150[this_188] = t_924; this_168 = c_144; if (Cell_typeId_107[this_168] == 0) { if (this_168 == 0) { error175("Nullpointer exception when calling Cell.get"); } else { error175("Called Cell.get on invalid object."); }; } else { }; this_467 = this_168; test_Cell_get_result_464 = Cell_elem_150[this_467]; i_283 = test_Cell_get_result_464; if ((i_283 == 5) and (2 == 2)) { testSuccess587(); } else { }; } IS_NATIVE function testSuccess587() { } function new_Cell138() returns integer { local integer this203 local integer this118 if (Cell_firstFree_112 == 0) { if (Cell_maxIndex_912 < 32768) { Cell_maxIndex_912 = (Cell_maxIndex_912 + 1); this_118 = Cell_maxIndex_912; Cell_typeId_107[this_118] = 1; } else { error175("Out of memory: Could not create Cell."); this_118 = 0; }; } else { Cell_firstFree_112 = (Cell_firstFree_112 - 1); this_118 = Cell_nextFree_833[Cell_firstFree_112]; Cell_typeId_107[this_118] = 1; }; this_203 = this_118; return this_203; } function error175(string msg196) { $debugPrint107((msg_196 + (" " + #getStackTrace()))); }