array Iterator_nextFree188 integer Iterator_firstFree112 integer Iterator_maxIndex154 array Iterator_typeId845 integer MyClass_firstFree113 = 0 integer MyClass_maxIndex150 = 0 integer Iterator_firstFree112 = 0 integer Iterator_maxIndex154 = 0 function initGlobals177() { } function main868() { initGlobals177(); init_Test166(); } function config195() { } function init_Test166() { dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext313(MyClass_MyModule_LinkedListModule_iterator188()); testSuccess573(); } IS_NATIVE function testSuccess573() { } function MyClass_MyModule_LinkedListModule_iterator188() returns integer { return new_Iterator373(); } function new_Iterator373() returns integer { local integer this171 this_171 = alloc_Iterator139(); construct_Iterator104(this_171); return this_171; } function Iterator_hasNext133(integer this150) returns boolean { return false; } function Iterator_init153(integer this159) { } function construct_Iterator104(integer this101) { Iterator_init153(this_101); } function error135(string msg182) { $debugPrint143((msg_182 + (" " + #getStackTrace()))); } function alloc_Iterator139() returns integer { local integer this210 if (Iterator_firstFree_112 == 0) { if (Iterator_maxIndex_154 < 32768) { Iterator_maxIndex_154 = (Iterator_maxIndex_154 + 1); this_210 = Iterator_maxIndex_154; Iterator_typeId_845[this_210] = 1; } else { error135("Out of memory: Could not create Iterator."); this_210 = 0; }; } else { Iterator_firstFree_112 = (Iterator_firstFree_112 - 1); this_210 = Iterator_nextFree_188[Iterator_firstFree_112]; Iterator_typeId_845[this_210] = 1; }; return this_210; } function dispatch_Iterator_Test_MyClass_MyModule_LinkedListModule_Iterator_hasNext313(integer this896) returns boolean { if (Iterator_typeId_845[this_896] == 0) { if (this_896 == 0) { error135("Nullpointer exception when calling Iterator.hasNext"); } else { error135("Called Iterator.hasNext on invalid object."); }; } else { }; return Iterator_hasNext133(this_896); }