array Iterator_nextFree156 integer Iterator_firstFree108 integer Iterator_maxIndex137 array Iterator_typeId570 integer MyClass_firstFree559 = 0 integer MyClass_maxIndex159 = 0 integer Iterator_firstFree108 = 0 integer Iterator_maxIndex137 = 0 function initGlobals698() { Iterator_firstFree_108 = 0; Iterator_maxIndex_137 = 0; } function main734() { initGlobals698(); init_Test339(); } function config284() { } function init_Test339() { dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext590(MyClass_MyModule_LinkedListModule_iterator185()); testSuccess677(); } IS_NATIVE function testSuccess677() { } function MyClass_MyModule_LinkedListModule_iterator185() returns integer { return new_Iterator137(); } function new_Iterator137() returns integer { local integer this188 this_188 = alloc_Iterator121(); construct_Iterator180(this_188); return this_188; } function Iterator_hasNext135(integer this922) returns boolean { return false; } function Iterator_init132(integer this374) { } function construct_Iterator180(integer this951) { Iterator_init132(this_951); } function error858(string msg101) { $debugPrint112((msg_101 + (" " + #getStackTrace()))); } function alloc_Iterator121() returns integer { local integer this121 if (Iterator_firstFree_108 == 0) { if (Iterator_maxIndex_137 < 32768) { Iterator_maxIndex_137 = (Iterator_maxIndex_137 + 1); this_121 = Iterator_maxIndex_137; Iterator_typeId_570[this_121] = 1; } else { error858("Out of memory: Could not create Iterator."); this_121 = 0; }; } else { Iterator_firstFree_108 = (Iterator_firstFree_108 - 1); this_121 = Iterator_nextFree_156[Iterator_firstFree_108]; Iterator_typeId_570[this_121] = 1; }; return this_121; } function dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext590(integer this723) returns boolean { local boolean Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result411 if (Iterator_typeId_570[this_723] == 0) { if (this_723 == 0) { error858("Nullpointer exception when calling Iterator.hasNext"); } else { error858("Called Iterator.hasNext on invalid object."); }; } else { }; Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result_411 = Iterator_hasNext135(this_723); return Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext_result_411; }