array Iterator_nextFree131 integer Iterator_firstFree169 integer Iterator_maxIndex119 array Iterator_typeId169 integer MyClass_firstFree137 = 0 integer MyClass_maxIndex689 = 0 integer Iterator_firstFree169 = 0 integer Iterator_maxIndex119 = 0 function initGlobals206() { Iterator_firstFree_169 = 0; Iterator_maxIndex_119 = 0; } function main584() { initGlobals206(); init_Test454(); } function config114() { } function init_Test454() { dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext179(MyClass_MyModule_LinkedListModule_iterator185()); testSuccess122(); } IS_NATIVE function testSuccess122() { } function MyClass_MyModule_LinkedListModule_iterator185() returns integer { return new_Iterator192(); } function new_Iterator192() returns integer { local integer this130 this_130 = alloc_Iterator324(); construct_Iterator111(this_130); return this_130; } function Iterator_hasNext272(integer this529) returns boolean { return false; } function Iterator_init168(integer this619) { } function construct_Iterator111(integer this112) { Iterator_init168(this_112); } function error363(string msg477) { $debugPrint958((msg_477 + (" " + #getStackTrace()))); } function alloc_Iterator324() returns integer { local integer this175 if (Iterator_firstFree_169 == 0) { if (Iterator_maxIndex_119 < 32768) { Iterator_maxIndex_119 = (Iterator_maxIndex_119 + 1); this_175 = Iterator_maxIndex_119; Iterator_typeId_169[this_175] = 1; } else { error363("Out of memory: Could not create Iterator."); this_175 = 0; }; } else { Iterator_firstFree_169 = (Iterator_firstFree_169 - 1); this_175 = Iterator_nextFree_131[Iterator_firstFree_169]; Iterator_typeId_169[this_175] = 1; }; return this_175; } function dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext179(integer this246) returns boolean { local boolean Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result800 if (Iterator_typeId_169[this_246] == 0) { if (this_246 == 0) { error363("Nullpointer exception when calling Iterator.hasNext"); } else { error363("Called Iterator.hasNext on invalid object."); }; } else { }; Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result_800 = Iterator_hasNext272(this_246); return Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result_800; }