array Cell_nextFree512 integer Cell_firstFree586 integer Cell_maxIndex120 array Cell_typeId428 array Cell_elem138 integer Cell_firstFree586 = 0 integer Cell_maxIndex120 = 0 function initGlobals808() { } function main349() { initGlobals808(); init_test202(); } function config162() { } function init_test202() { local integer c790 local integer this401 local any t605 local integer this333 local any t128 local integer b_z964 local integer i209 local integer this118 local any test_Cell_get_result210 local integer this169 local integer tuple_temp344 c_790 = new_Cell207(); this_401 = c_790; tuple_temp_344 = 5; b_z_964 = tuple_temp_344; t_605 = b_z_964; if (Cell_typeId_428[this_401] == 0) { if (this_401 == 0) { error127("Nullpointer exception when calling Cell.set"); } else { error127("Called Cell.set on invalid object."); }; } else { }; this_333 = this_401; t_128 = t_605; Cell_elem_138[this_333] = t_128; this_118 = c_790; if (Cell_typeId_428[this_118] == 0) { if (this_118 == 0) { error127("Nullpointer exception when calling Cell.get"); } else { error127("Called Cell.get on invalid object."); }; } else { }; this_169 = this_118; test_Cell_get_result_210 = Cell_elem_138[this_169]; i_209 = test_Cell_get_result_210; if ((i_209 == 5) and (2 == 2)) { testSuccess167(); } else { }; } IS_NATIVE function testSuccess167() { } function new_Cell207() returns integer { local integer this931 local integer this113 if (Cell_firstFree_586 == 0) { if (Cell_maxIndex_120 < 32768) { Cell_maxIndex_120 = (Cell_maxIndex_120 + 1); this_113 = Cell_maxIndex_120; Cell_typeId_428[this_113] = 1; } else { error127("Out of memory: Could not create Cell."); this_113 = 0; }; } else { Cell_firstFree_586 = (Cell_firstFree_586 - 1); this_113 = Cell_nextFree_512[Cell_firstFree_586]; Cell_typeId_428[this_113] = 1; }; this_931 = this_113; return this_931; } function error127(string msg209) { $debugPrint616((msg_209 + (" " + #getStackTrace()))); }