array A_nextFree205 integer A_firstFree169 integer A_maxIndex483 array A_typeId168 integer A_firstFree169 = 0 integer A_maxIndex483 = 0 function initGlobals185() { } function main426() { initGlobals185(); init_test161(); } function config180() { } function init_test161() { local integer this973 if (A_firstFree_169 == 0) { if (A_maxIndex_483 < 32768) { A_maxIndex_483 = (A_maxIndex_483 + 1); this_973 = A_maxIndex_483; A_typeId_168[this_973] = 3; } else { error202("Out of memory: Could not create B_test."); this_973 = 0; }; } else { A_firstFree_169 = (A_firstFree_169 - 1); this_973 = A_nextFree_205[A_firstFree_169]; A_typeId_168[this_973] = 3; }; if (A_typeId_168[this_973] == 0) { if (this_973 == 0) { error202("Nullpointer exception when calling B.foo"); } else { error202("Called B.foo on invalid object."); }; } else { }; testSuccess165(); } IS_NATIVE function testSuccess165() { } function error202(string msg106) { $debugPrint106((msg_106 + (" " + #getStackTrace()))); }