integer Test_x174 array LinkedList_nextFree814 integer LinkedList_firstFree132 integer LinkedList_maxIndex107 array LinkedList_typeId349 array LinkedList_t512 integer Test_x174 = dispatch_LinkedList_Test_LinkedList_getFirst165(asList_1178(asList_1178(42))) integer LinkedList_firstFree132 = 0 integer LinkedList_maxIndex107 = 0 function initGlobals177() { } function main100() { initGlobals177(); init_Test206(); } function config181() { } function init_Test206() { local integer this187 local any Test_LinkedList_getFirst_result182 local integer this820 local any ts_0127 local integer ll143 local integer this256 local any t268 local integer this376 local any t125 local integer this786 local any Test_LinkedList_getFirst_result205 local integer this144 ts_0_127 = 42; ll_143 = new_LinkedList388(); this_256 = ll_143; t_268 = ts_0_127; if (LinkedList_typeId_349[this_256] == 0) { if (this_256 == 0) { error135("Nullpointer exception when calling LinkedList.add"); } else { error135("Called LinkedList.add on invalid object."); }; } else { }; this_376 = this_256; t_125 = t_268; LinkedList_t_512[this_376] = t_125; this_187 = asList_1178(ll_143); if (LinkedList_typeId_349[this_187] == 0) { if (this_187 == 0) { error135("Nullpointer exception when calling LinkedList.getFirst"); } else { error135("Called LinkedList.getFirst on invalid object."); }; } else { }; this_820 = this_187; Test_LinkedList_getFirst_result_182 = LinkedList_t_512[this_820]; Test_x_174 = Test_LinkedList_getFirst_result_182; this_786 = Test_x_174; if (LinkedList_typeId_349[this_786] == 0) { if (this_786 == 0) { error135("Nullpointer exception when calling LinkedList.getFirst"); } else { error135("Called LinkedList.getFirst on invalid object."); }; } else { }; this_144 = this_786; Test_LinkedList_getFirst_result_205 = LinkedList_t_512[this_144]; if (Test_LinkedList_getFirst_result_205 == 42) { testSuccess227(); } else { }; } IS_NATIVE function testSuccess227() { } function new_LinkedList388() returns integer { local integer this100 local integer this153 if (LinkedList_firstFree_132 == 0) { if (LinkedList_maxIndex_107 < 32768) { LinkedList_maxIndex_107 = (LinkedList_maxIndex_107 + 1); this_153 = LinkedList_maxIndex_107; LinkedList_typeId_349[this_153] = 1; } else { error135("Out of memory: Could not create LinkedList."); this_153 = 0; }; } else { LinkedList_firstFree_132 = (LinkedList_firstFree_132 - 1); this_153 = LinkedList_nextFree_814[LinkedList_firstFree_132]; LinkedList_typeId_349[this_153] = 1; }; this_100 = this_153; return this_100; } function error135(string msg169) { $debugPrint207((msg_169 + (" " + #getStackTrace()))); } function asList_1178(any ts_0108) returns integer { local integer ll209 local integer this578 local any t162 local integer this943 local any t102 ll_209 = new_LinkedList388(); this_578 = ll_209; t_162 = ts_0_108; if (LinkedList_typeId_349[this_578] == 0) { if (this_578 == 0) { error135("Nullpointer exception when calling LinkedList.add"); } else { error135("Called LinkedList.add on invalid object."); }; } else { }; this_943 = this_578; t_102 = t_162; LinkedList_t_512[this_943] = t_102; return ll_209; }