array Cell_nextFree980 integer Cell_firstFree230 integer Cell_maxIndex402 array Cell_typeId500 array Cell_elem517 integer Cell_firstFree230 = 0 integer Cell_maxIndex402 = 0 function initGlobals140() { } function main127() { initGlobals140(); init_test127(); } function config169() { } function init_test127() { local integer c839 local integer this161 local any t963 local integer this884 local any t439 local integer b_z140 local integer i684 local integer this139 local any test_Cell_get_result728 local integer this292 local integer tuple_temp129 c_839 = new_Cell103(); this_161 = c_839; tuple_temp_129 = 5; b_z_140 = tuple_temp_129; t_963 = b_z_140; if (Cell_typeId_500[this_161] == 0) { if (this_161 == 0) { error102("Nullpointer exception when calling Cell.set"); } else { error102("Called Cell.set on invalid object."); }; } else { }; this_884 = this_161; t_439 = t_963; Cell_elem_517[this_884] = t_439; this_139 = c_839; if (Cell_typeId_500[this_139] == 0) { if (this_139 == 0) { error102("Nullpointer exception when calling Cell.get"); } else { error102("Called Cell.get on invalid object."); }; } else { }; this_292 = this_139; test_Cell_get_result_728 = Cell_elem_517[this_292]; i_684 = test_Cell_get_result_728; if ((i_684 == 5) and (2 == 2)) { testSuccess196(); } else { }; } IS_NATIVE function testSuccess196() { } function new_Cell103() returns integer { local integer this261 local integer this210 if (Cell_firstFree_230 == 0) { if (Cell_maxIndex_402 < 32768) { Cell_maxIndex_402 = (Cell_maxIndex_402 + 1); this_210 = Cell_maxIndex_402; Cell_typeId_500[this_210] = 1; } else { error102("Out of memory: Could not create Cell."); this_210 = 0; }; } else { Cell_firstFree_230 = (Cell_firstFree_230 - 1); this_210 = Cell_nextFree_980[Cell_firstFree_230]; Cell_typeId_500[this_210] = 1; }; this_261 = this_210; return this_261; } function error102(string msg646) { $debugPrint129((msg_646 + (" " + #getStackTrace()))); }