integer PowerLevel_amount939 array PowerLevel_nextFree209 integer PowerLevel_firstFree172 integer PowerLevel_maxIndex576 integer PowerLevel_amount939 = 0 integer PowerLevel_firstFree172 = 0 integer PowerLevel_maxIndex576 = 0 function initGlobals199() { } function main580() { local integer i644 initGlobals199(); i_644 = 0; loop { exitwhen (i_644 > 20000); new_PowerLevel206(); i_644 = (i_644 + 1); }; if ((PowerLevel_amount_939 > 9000) and (PowerLevel_amount_939 == 20001)) { testSuccess171(); } else { }; } function config203() { } IS_NATIVE function testSuccess171() { } function new_PowerLevel206() returns integer { local integer this455 local integer this476 if (PowerLevel_firstFree_172 == 0) { if (PowerLevel_maxIndex_576 < 32768) { PowerLevel_maxIndex_576 = (PowerLevel_maxIndex_576 + 1); this_476 = PowerLevel_maxIndex_576; } else { error170("Out of memory: Could not create PowerLevel."); this_476 = 0; }; } else { PowerLevel_firstFree_172 = (PowerLevel_firstFree_172 - 1); this_476 = PowerLevel_nextFree_209[PowerLevel_firstFree_172]; }; this_455 = this_476; PowerLevel_amount_939 = (PowerLevel_amount_939 + 1); return this_455; } function error170(string msg115) { $debugPrint735((msg_115 + (" " + #getStackTrace()))); }