array<integer> Func_nextFree209 integer Func_firstFree134 integer Func_maxIndex352 array<integer> Func_typeId148 array<integer> C_nextFree190 integer C_firstFree191 integer C_maxIndex166 array<integer> C_typeId765 array<any> C_x135 integer Func_firstFree134 = 0 integer Func_maxIndex352 = 0 integer C_firstFree191 = 0 integer C_maxIndex166 = 0 function initGlobals650() { } function main739() { initGlobals650(); init_A130(); } function config163() { } function init_A130() { local integer this116 local integer this969 if (C_firstFree_191 == 0) { if (C_maxIndex_166 < 32768) { C_maxIndex_166 = (C_maxIndex_166 + 1); this_116 = C_maxIndex_166; C_typeId_765[this_116] = 1; } else { error113("Out of memory: Could not create C."); this_116 = 0; }; } else { C_firstFree_191 = (C_firstFree_191 - 1); this_116 = C_nextFree_190[C_firstFree_191]; C_typeId_765[this_116] = 1; }; C_x_135[this_116] = 5; if (Func_firstFree_134 == 0) { if (Func_maxIndex_352 < 32768) { Func_maxIndex_352 = (Func_maxIndex_352 + 1); this_969 = Func_maxIndex_352; Func_typeId_148[this_969] = 3; } else { error113("Out of memory: Could not create Func_map_A."); this_969 = 0; }; } else { Func_firstFree_134 = (Func_firstFree_134 - 1); this_969 = Func_nextFree_209[Func_firstFree_134]; Func_typeId_148[this_969] = 3; }; if (C_typeId_765[this_116] == 0) { if (this_116 == 0) { error113("Nullpointer exception when calling C.map"); } else { error113("Called C.map on invalid object."); }; } else { }; this_116 = C_map183(this_116, this_969); if (C_x_135[this_116] == 10) { testSuccess198(); } else { }; } IS_NATIVE function testSuccess198() { } function C_map183(integer this102, integer f360) returns integer { local any x399 x_399 = C_x_135[this_102]; if (Func_typeId_148[f_360] == 0) { if (f_360 == 0) { error113("Nullpointer exception when calling Func.apply"); } else { error113("Called Func.apply on invalid object."); }; } else { }; return new_C919((2 * x_399)); } function new_C919(any x310) returns integer { local integer this195 if (C_firstFree_191 == 0) { if (C_maxIndex_166 < 32768) { C_maxIndex_166 = (C_maxIndex_166 + 1); this_195 = C_maxIndex_166; C_typeId_765[this_195] = 1; } else { error113("Out of memory: Could not create C."); this_195 = 0; }; } else { C_firstFree_191 = (C_firstFree_191 - 1); this_195 = C_nextFree_190[C_firstFree_191]; C_typeId_765[this_195] = 1; }; C_x_135[this_195] = x_310; return this_195; } function error113(string msg682) { $debugPrint108((msg_682 + (" " + #getStackTrace()))); }