array A_nextFree648 integer A_firstFree111 integer A_maxIndex123 array Func_nextFree180 integer Func_firstFree115 integer Func_maxIndex762 array Func_typeId170 array A_f205 integer A_firstFree111 = 0 integer A_maxIndex123 = 0 integer Func_firstFree115 = 0 integer Func_maxIndex762 = 0 function initGlobals758() { } function main197() { initGlobals758(); init_test532(); } function config130() { } function init_test532() { local integer this106 this_106 = A_f_205[new_A481()]; if (Func_typeId_170[this_106] == 0) { if (this_106 == 0) { error153("Nullpointer exception when calling Func.apply"); } else { error153("Called Func.apply on invalid object."); }; } else { }; testSuccess708(); } IS_NATIVE function testSuccess708() { } function new_A481() returns integer { local integer this168 local integer this706 if (A_firstFree_111 == 0) { if (A_maxIndex_123 < 32768) { A_maxIndex_123 = (A_maxIndex_123 + 1); this_168 = A_maxIndex_123; } else { error153("Out of memory: Could not create A."); this_168 = 0; }; } else { A_firstFree_111 = (A_firstFree_111 - 1); this_168 = A_nextFree_648[A_firstFree_111]; }; if (Func_firstFree_115 == 0) { if (Func_maxIndex_762 < 32768) { Func_maxIndex_762 = (Func_maxIndex_762 + 1); this_706 = Func_maxIndex_762; Func_typeId_170[this_706] = 3; } else { error153("Out of memory: Could not create Func_A_test."); this_706 = 0; }; } else { Func_firstFree_115 = (Func_firstFree_115 - 1); this_706 = Func_nextFree_180[Func_firstFree_115]; Func_typeId_170[this_706] = 3; }; A_f_205[this_168] = this_706; return this_168; } function error153(string msg154) { $debugPrint186((msg_154 + (" " + #getStackTrace()))); }