integer PowerLevel_amount604 array PowerLevel_nextFree146 integer PowerLevel_firstFree835 integer PowerLevel_maxIndex714 integer PowerLevel_amount604 = 0 integer PowerLevel_firstFree835 = 0 integer PowerLevel_maxIndex714 = 0 function initGlobals907() { PowerLevel_firstFree_835 = 0; PowerLevel_maxIndex_714 = 0; } function main132() { initGlobals907(); init_Vegeta731(); } function config713() { } function init_Vegeta731() { local integer i148 PowerLevel_amount_604 = 0; i_148 = 0; loop { exitwhen (i_148 > 20000); new_PowerLevel595(); i_148 = (i_148 + 1); }; if ((PowerLevel_amount_604 > 9000) and (PowerLevel_amount_604 == 20001)) { testSuccess145(); } else { }; } IS_NATIVE function testSuccess145() { } function PowerLevel_init856(integer this118) { } function new_PowerLevel595() returns integer { local integer this194 this_194 = alloc_PowerLevel635(); construct_PowerLevel176(this_194); return this_194; } function construct_PowerLevel176(integer this614) { PowerLevel_init856(this_614); PowerLevel_amount_604 = (PowerLevel_amount_604 + 1); } function alloc_PowerLevel635() returns integer { local integer this353 if (PowerLevel_firstFree_835 == 0) { if (PowerLevel_maxIndex_714 < 32768) { PowerLevel_maxIndex_714 = (PowerLevel_maxIndex_714 + 1); this_353 = PowerLevel_maxIndex_714; } else { error150("Out of memory: Could not create PowerLevel."); this_353 = 0; }; } else { PowerLevel_firstFree_835 = (PowerLevel_firstFree_835 - 1); this_353 = PowerLevel_nextFree_146[PowerLevel_firstFree_835]; }; return this_353; } function error150(string msg676) { $debugPrint151((msg_676 + (" " + #getStackTrace()))); }