array List_nextFree199 integer List_firstFree136 integer List_maxIndex568 array List_typeId140 integer List_firstFree136 = 0 integer List_maxIndex568 = 0 function initGlobals130() { List_firstFree_136 = 0; List_maxIndex_568 = 0; } function main650() { initGlobals130(); init_Test105(); } function config920() { } function init_Test105() { local integer fxs200 fxs_200 = new_List357(); effectFromIndex213(dispatch_List_Test_List_get696(fxs_200)); } function effectFromIndex213(integer index404) returns effect { return null; } function List_get929(integer this121) returns any { return (0 castTo any); } function List_init829(integer this936) { } function new_List357() returns integer { local integer this201 this_201 = alloc_List168(); construct_List171(this_201); return this_201; } function construct_List171(integer this701) { List_init829(this_701); } function alloc_List168() returns integer { local integer this124 if (List_firstFree_136 == 0) { if (List_maxIndex_568 < 32768) { List_maxIndex_568 = (List_maxIndex_568 + 1); this_124 = List_maxIndex_568; List_typeId_140[this_124] = 1; } else { error862("Out of memory: Could not create List."); this_124 = 0; }; } else { List_firstFree_136 = (List_firstFree_136 - 1); this_124 = List_nextFree_199[List_firstFree_136]; List_typeId_140[this_124] = 1; }; return this_124; } function error862(string msg159) { $debugPrint157((msg_159 + (" " + #getStackTrace()))); } function dispatch_List_Test_List_get696(integer this182) returns any { local any Test_List_get_result382 if (List_typeId_140[this_182] == 0) { if (this_182 == 0) { error862("Nullpointer exception when calling List.get"); } else { error862("Called List.get on invalid object."); }; } else { }; Test_List_get_result_382 = List_get929(this_182); return Test_List_get_result_382; }