array Cell_nextFree839 integer Cell_firstFree209 integer Cell_maxIndex315 array Cell_typeId120 array Cell_elem673 integer Cell_firstFree209 = 0 integer Cell_maxIndex315 = 0 function initGlobals361() { } function main177() { initGlobals361(); init_test665(); } function config163() { } function init_test665() { local integer c183 local integer this950 local any t801 local integer this152 local any t115 local integer b_z272 local integer this110 local any t550 local integer this150 local any t638 local integer this208 local any test_Cell_get_result110 local integer this248 local integer i115 local integer this117 local any test_Cell_get_result707 local integer this101 local integer tuple_temp859 c_183 = new_Cell197(); this_950 = c_183; tuple_temp_859 = 5; b_z_272 = tuple_temp_859; t_801 = b_z_272; if (Cell_typeId_120[this_950] == 0) { if (this_950 == 0) { error201("Nullpointer exception when calling Cell.set"); } else { error201("Called Cell.set on invalid object."); }; } else { }; this_152 = this_950; t_115 = t_801; Cell_elem_673[this_152] = t_115; this_110 = c_183; this_208 = c_183; if (Cell_typeId_120[this_208] == 0) { if (this_208 == 0) { error201("Nullpointer exception when calling Cell.get"); } else { error201("Called Cell.get on invalid object."); }; } else { }; this_248 = this_208; test_Cell_get_result_110 = Cell_elem_673[this_248]; t_550 = test_Cell_get_result_110; if (Cell_typeId_120[this_110] == 0) { if (this_110 == 0) { error201("Nullpointer exception when calling Cell.set"); } else { error201("Called Cell.set on invalid object."); }; } else { }; this_150 = this_110; t_638 = t_550; Cell_elem_673[this_150] = t_638; this_117 = c_183; if (Cell_typeId_120[this_117] == 0) { if (this_117 == 0) { error201("Nullpointer exception when calling Cell.get"); } else { error201("Called Cell.get on invalid object."); }; } else { }; this_101 = this_117; test_Cell_get_result_707 = Cell_elem_673[this_101]; i_115 = test_Cell_get_result_707; if ((i_115 == 5) and (2 == 2)) { testSuccess209(); } else { }; } IS_NATIVE function testSuccess209() { } function new_Cell197() returns integer { local integer this162 local integer this396 if (Cell_firstFree_209 == 0) { if (Cell_maxIndex_315 < 32768) { Cell_maxIndex_315 = (Cell_maxIndex_315 + 1); this_396 = Cell_maxIndex_315; Cell_typeId_120[this_396] = 1; } else { error201("Out of memory: Could not create Cell."); this_396 = 0; }; } else { Cell_firstFree_209 = (Cell_firstFree_209 - 1); this_396 = Cell_nextFree_839[Cell_firstFree_209]; Cell_typeId_120[this_396] = 1; }; this_162 = this_396; return this_162; } function error201(string msg145) { $debugPrint141((msg_145 + (" " + #getStackTrace()))); }