integer Test_x849 array LinkedList_nextFree712 integer LinkedList_firstFree132 integer LinkedList_maxIndex111 array LinkedList_typeId846 array LinkedList_t199 integer Test_x849 = dispatch_LinkedList_Test_LinkedList_getFirst113(asList_1676(asList_1676(42))) integer LinkedList_firstFree132 = 0 integer LinkedList_maxIndex111 = 0 function initGlobals160() { } function main969() { initGlobals160(); init_Test117(); } function config948() { } function init_Test117() { local integer this105 local any Test_LinkedList_getFirst_result114 local integer this808 local any ts_0410 local integer ll118 local integer this152 local any t135 local integer this131 local any t809 local integer this101 local any Test_LinkedList_getFirst_result441 local integer this209 ts_0_410 = 42; ll_118 = new_LinkedList164(); this_152 = ll_118; t_135 = ts_0_410; if (LinkedList_typeId_846[this_152] == 0) { if (this_152 == 0) { error438("Nullpointer exception when calling LinkedList.add"); } else { error438("Called LinkedList.add on invalid object."); }; } else { }; this_131 = this_152; t_809 = t_135; LinkedList_t_199[this_131] = t_809; this_105 = asList_1676(ll_118); if (LinkedList_typeId_846[this_105] == 0) { if (this_105 == 0) { error438("Nullpointer exception when calling LinkedList.getFirst"); } else { error438("Called LinkedList.getFirst on invalid object."); }; } else { }; this_808 = this_105; Test_LinkedList_getFirst_result_114 = LinkedList_t_199[this_808]; Test_x_849 = Test_LinkedList_getFirst_result_114; this_101 = Test_x_849; if (LinkedList_typeId_846[this_101] == 0) { if (this_101 == 0) { error438("Nullpointer exception when calling LinkedList.getFirst"); } else { error438("Called LinkedList.getFirst on invalid object."); }; } else { }; this_209 = this_101; Test_LinkedList_getFirst_result_441 = LinkedList_t_199[this_209]; if (Test_LinkedList_getFirst_result_441 == 42) { testSuccess205(); } else { }; } IS_NATIVE function testSuccess205() { } function new_LinkedList164() returns integer { local integer this189 local integer this160 if (LinkedList_firstFree_132 == 0) { if (LinkedList_maxIndex_111 < 32768) { LinkedList_maxIndex_111 = (LinkedList_maxIndex_111 + 1); this_160 = LinkedList_maxIndex_111; LinkedList_typeId_846[this_160] = 1; } else { error438("Out of memory: Could not create LinkedList."); this_160 = 0; }; } else { LinkedList_firstFree_132 = (LinkedList_firstFree_132 - 1); this_160 = LinkedList_nextFree_712[LinkedList_firstFree_132]; LinkedList_typeId_846[this_160] = 1; }; this_189 = this_160; return this_189; } function error438(string msg382) { $debugPrint159((msg_382 + (" " + #getStackTrace()))); } function asList_1676(any ts_0795) returns integer { local integer ll162 local integer this176 local any t209 local integer this159 local any t356 ll_162 = new_LinkedList164(); this_176 = ll_162; t_209 = ts_0_795; if (LinkedList_typeId_846[this_176] == 0) { if (this_176 == 0) { error438("Nullpointer exception when calling LinkedList.add"); } else { error438("Called LinkedList.add on invalid object."); }; } else { }; this_159 = this_176; t_356 = t_209; LinkedList_t_199[this_159] = t_356; return ll_162; }