array List_nextFree996 integer List_firstFree185 integer List_maxIndex131 array List_typeId124 integer List_firstFree185 = 0 integer List_maxIndex131 = 0 function initGlobals615() { List_firstFree_185 = 0; List_maxIndex_131 = 0; } function main678() { initGlobals615(); init_Test133(); } function config113() { } function init_Test133() { local integer fxs170 fxs_170 = new_List180(); effectFromIndex154(dispatch_List_Test_List_get471(fxs_170)); } function effectFromIndex154(integer index373) returns effect { return null; } function List_get205(integer this214) returns any { return (0 castTo any); } function List_init779(integer this108) { } function new_List180() returns integer { local integer this327 this_327 = alloc_List136(); construct_List125(this_327); return this_327; } function construct_List125(integer this844) { List_init779(this_844); } function alloc_List136() returns integer { local integer this831 if (List_firstFree_185 == 0) { if (List_maxIndex_131 < 32768) { List_maxIndex_131 = (List_maxIndex_131 + 1); this_831 = List_maxIndex_131; List_typeId_124[this_831] = 1; } else { error206("Out of memory: Could not create List."); this_831 = 0; }; } else { List_firstFree_185 = (List_firstFree_185 - 1); this_831 = List_nextFree_996[List_firstFree_185]; List_typeId_124[this_831] = 1; }; return this_831; } function error206(string msg115) { $debugPrint190((msg_115 + (" " + #getStackTrace()))); } function dispatch_List_Test_List_get471(integer this106) returns any { local any Test_List_get_result882 if (List_typeId_124[this_106] == 0) { if (this_106 == 0) { error206("Nullpointer exception when calling List.get"); } else { error206("Called List.get on invalid object."); }; } else { }; Test_List_get_result_882 = List_get205(this_106); return Test_List_get_result_882; }