integer Test_x556 array LinkedList_nextFree210 integer LinkedList_firstFree117 integer LinkedList_maxIndex487 array LinkedList_typeId364 array LinkedList_t156 integer Test_x556 = dispatch_LinkedList_Test_LinkedList_getFirst193(asList_1157(asList_1157(42))) integer LinkedList_firstFree117 = 0 integer LinkedList_maxIndex487 = 0 function initGlobals190() { LinkedList_firstFree_117 = 0; LinkedList_maxIndex_487 = 0; } function main551() { initGlobals190(); init_Test257(); } function config156() { } function init_Test257() { Test_x_556 = dispatch_LinkedList_Test_LinkedList_getFirst193(asList_1157(asList_1157(42))); if (dispatch_LinkedList_Test_LinkedList_getFirst193(Test_x_556) == 42) { testSuccess215(); } else { }; } IS_NATIVE function testSuccess215() { } function LinkedList_add350(integer this283, any t752) { LinkedList_t_156[this_283] = t_752; } function LinkedList_getFirst105(integer this156) returns any { return LinkedList_t_156[this_156]; } function LinkedList_init359(integer this169) { } function new_LinkedList147() returns integer { local integer this949 this_949 = alloc_LinkedList144(); construct_LinkedList135(this_949); return this_949; } function construct_LinkedList135(integer this159) { LinkedList_init359(this_159); } function alloc_LinkedList144() returns integer { local integer this584 if (LinkedList_firstFree_117 == 0) { if (LinkedList_maxIndex_487 < 32768) { LinkedList_maxIndex_487 = (LinkedList_maxIndex_487 + 1); this_584 = LinkedList_maxIndex_487; LinkedList_typeId_364[this_584] = 1; } else { error815("Out of memory: Could not create LinkedList."); this_584 = 0; }; } else { LinkedList_firstFree_117 = (LinkedList_firstFree_117 - 1); this_584 = LinkedList_nextFree_210[LinkedList_firstFree_117]; LinkedList_typeId_364[this_584] = 1; }; return this_584; } function error815(string msg201) { $debugPrint989((msg_201 + (" " + #getStackTrace()))); } function dispatch_LinkedList_Test_LinkedList_add837(integer this173, any t787) { if (LinkedList_typeId_364[this_173] == 0) { if (this_173 == 0) { error815("Nullpointer exception when calling LinkedList.add"); } else { error815("Called LinkedList.add on invalid object."); }; } else { }; LinkedList_add350(this_173, t_787); } function dispatch_LinkedList_Test_LinkedList_getFirst193(integer this336) returns any { local any Test_LinkedList_getFirst_result865 if (LinkedList_typeId_364[this_336] == 0) { if (this_336 == 0) { error815("Nullpointer exception when calling LinkedList.getFirst"); } else { error815("Called LinkedList.getFirst on invalid object."); }; } else { }; Test_LinkedList_getFirst_result_865 = LinkedList_getFirst105(this_336); return Test_LinkedList_getFirst_result_865; } function asList_1157(any ts_0123) returns integer { local integer ll130 ll_130 = new_LinkedList147(); dispatch_LinkedList_Test_LinkedList_add837(ll_130, ts_0_123); return ll_130; }