integer PowerLevel_amount129 array PowerLevel_nextFree189 integer PowerLevel_firstFree843 integer PowerLevel_maxIndex992 integer PowerLevel_amount129 = 0 integer PowerLevel_firstFree843 = 0 integer PowerLevel_maxIndex992 = 0 function initGlobals752() { PowerLevel_firstFree_843 = 0; PowerLevel_maxIndex_992 = 0; } function main204() { initGlobals752(); init_Vegeta169(); } function config617() { } function init_Vegeta169() { local integer i135 PowerLevel_amount_129 = 0; i_135 = 0; loop { exitwhen (i_135 > 20000); new_PowerLevel602(); i_135 = (i_135 + 1); }; if ((PowerLevel_amount_129 > 9000) and (PowerLevel_amount_129 == 20001)) { testSuccess926(); } else { }; } IS_NATIVE function testSuccess926() { } function PowerLevel_init469(integer this876) { } function new_PowerLevel602() returns integer { local integer this209 this_209 = alloc_PowerLevel125(); construct_PowerLevel592(this_209); return this_209; } function construct_PowerLevel592(integer this684) { PowerLevel_init469(this_684); PowerLevel_amount_129 = (PowerLevel_amount_129 + 1); } function alloc_PowerLevel125() returns integer { local integer this176 if (PowerLevel_firstFree_843 == 0) { if (PowerLevel_maxIndex_992 < 32768) { PowerLevel_maxIndex_992 = (PowerLevel_maxIndex_992 + 1); this_176 = PowerLevel_maxIndex_992; } else { error187("Out of memory: Could not create PowerLevel."); this_176 = 0; }; } else { PowerLevel_firstFree_843 = (PowerLevel_firstFree_843 - 1); this_176 = PowerLevel_nextFree_189[PowerLevel_firstFree_843]; }; return this_176; } function error187(string msg166) { $debugPrint994((msg_166 + (" " + #getStackTrace()))); }