integer Test_x536 array LinkedList_nextFree104 integer LinkedList_firstFree115 integer LinkedList_maxIndex166 array LinkedList_typeId239 array LinkedList_t717 integer Test_x536 = dispatch_LinkedList_Test_LinkedList_getFirst521(asList_1208(asList_1208(42))) integer LinkedList_firstFree115 = 0 integer LinkedList_maxIndex166 = 0 function initGlobals444() { LinkedList_firstFree_115 = 0; LinkedList_maxIndex_166 = 0; } function main524() { initGlobals444(); init_Test261(); } function config127() { } function init_Test261() { Test_x_536 = dispatch_LinkedList_Test_LinkedList_getFirst521(asList_1208(asList_1208(42))); if (dispatch_LinkedList_Test_LinkedList_getFirst521(Test_x_536) == 42) { testSuccess133(); } else { }; } IS_NATIVE function testSuccess133() { } function LinkedList_add188(integer this286, any t201) { LinkedList_t_717[this_286] = t_201; } function LinkedList_getFirst628(integer this105) returns any { return LinkedList_t_717[this_105]; } function LinkedList_init418(integer this119) { } function new_LinkedList179() returns integer { local integer this106 this_106 = alloc_LinkedList640(); construct_LinkedList189(this_106); return this_106; } function construct_LinkedList189(integer this189) { LinkedList_init418(this_189); } function alloc_LinkedList640() returns integer { local integer this271 if (LinkedList_firstFree_115 == 0) { if (LinkedList_maxIndex_166 < 32768) { LinkedList_maxIndex_166 = (LinkedList_maxIndex_166 + 1); this_271 = LinkedList_maxIndex_166; LinkedList_typeId_239[this_271] = 1; } else { error107("Out of memory: Could not create LinkedList."); this_271 = 0; }; } else { LinkedList_firstFree_115 = (LinkedList_firstFree_115 - 1); this_271 = LinkedList_nextFree_104[LinkedList_firstFree_115]; LinkedList_typeId_239[this_271] = 1; }; return this_271; } function error107(string msg255) { $debugPrint266((msg_255 + (" " + #getStackTrace()))); } function dispatch_LinkedList_Test_LinkedList_add145(integer this682, any t162) { if (LinkedList_typeId_239[this_682] == 0) { if (this_682 == 0) { error107("Nullpointer exception when calling LinkedList.add"); } else { error107("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_add188(this_682, t_162); } function dispatch_LinkedList_Test_LinkedList_getFirst521(integer this259) returns any { local any Test_LinkedList_getFirst_result138 if (LinkedList_typeId_239[this_259] == 0) { if (this_259 == 0) { error107("Nullpointer exception when calling LinkedList.getFirst"); } else { error107("Called LinkedList.getFirst on invalid object."); }; } else { }; Test_LinkedList_getFirst_result_138 = LinkedList_getFirst628(this_259); return Test_LinkedList_getFirst_result_138; } function asList_1208(any ts_0140) returns integer { local integer ll810 ll_810 = new_LinkedList179(); dispatch_LinkedList_Test_LinkedList_add145(ll_810, ts_0_140); return ll_810; }