array SimpleFunc_nextFree201 integer SimpleFunc_firstFree102 integer SimpleFunc_maxIndex872 array SimpleFunc_typeId669 integer SimpleFunc_firstFree102 = 0 integer SimpleFunc_maxIndex872 = 0 function initGlobals202() { } function main139() { initGlobals202(); init_test193(); } function config162() { } function init_test193() { local integer f648 local integer clVar863 local integer this858 local integer this130 if (SimpleFunc_firstFree_102 == 0) { if (SimpleFunc_maxIndex_872 < 32768) { SimpleFunc_maxIndex_872 = (SimpleFunc_maxIndex_872 + 1); this_858 = SimpleFunc_maxIndex_872; SimpleFunc_typeId_669[this_858] = 2; } else { error189("Out of memory: Could not create SimpleFunc_test."); this_858 = 0; }; } else { SimpleFunc_firstFree_102 = (SimpleFunc_firstFree_102 - 1); this_858 = SimpleFunc_nextFree_201[SimpleFunc_firstFree_102]; SimpleFunc_typeId_669[this_858] = 2; }; clVar_863 = this_858; f_648 = clVar_863; this_130 = f_648; if (SimpleFunc_typeId_669[this_130] == 0) { if (this_130 == 0) { error189("Nullpointer exception when calling SimpleFunc.apply"); } else { error189("Called SimpleFunc.apply on invalid object."); }; } else { }; testSuccess106(); } IS_NATIVE function testSuccess106() { } function error189(string msg568) { $debugPrint167((msg_568 + (" " + #getStackTrace()))); }