array Func_nextFree194 integer Func_firstFree970 integer Func_maxIndex110 array Func_typeId104 array C_nextFree480 integer C_firstFree211 integer C_maxIndex442 array C_typeId408 array C_x129 integer Func_firstFree970 = 0 integer Func_maxIndex110 = 0 integer C_firstFree211 = 0 integer C_maxIndex442 = 0 function initGlobals161() { } function main499() { initGlobals161(); init_A782(); } function config571() { } function init_A782() { local integer this105 local integer this163 if (C_firstFree_211 == 0) { if (C_maxIndex_442 < 32768) { C_maxIndex_442 = (C_maxIndex_442 + 1); this_105 = C_maxIndex_442; C_typeId_408[this_105] = 1; } else { error610("Out of memory: Could not create C."); this_105 = 0; }; } else { C_firstFree_211 = (C_firstFree_211 - 1); this_105 = C_nextFree_480[C_firstFree_211]; C_typeId_408[this_105] = 1; }; C_x_129[this_105] = 5; if (Func_firstFree_970 == 0) { if (Func_maxIndex_110 < 32768) { Func_maxIndex_110 = (Func_maxIndex_110 + 1); this_163 = Func_maxIndex_110; Func_typeId_104[this_163] = 3; } else { error610("Out of memory: Could not create Func_map_A."); this_163 = 0; }; } else { Func_firstFree_970 = (Func_firstFree_970 - 1); this_163 = Func_nextFree_194[Func_firstFree_970]; Func_typeId_104[this_163] = 3; }; if (C_typeId_408[this_105] == 0) { if (this_105 == 0) { error610("Nullpointer exception when calling C.map"); } else { error610("Called C.map on invalid object."); }; } else { }; this_105 = C_map194(this_105, this_163); if (C_x_129[this_105] == 10) { testSuccess484(); } else { }; } IS_NATIVE function testSuccess484() { } function C_map194(integer this105, integer f120) returns integer { local any x296 x_296 = C_x_129[this_105]; if (Func_typeId_104[f_120] == 0) { if (f_120 == 0) { error610("Nullpointer exception when calling Func.apply"); } else { error610("Called Func.apply on invalid object."); }; } else { }; return new_C103((2 * x_296)); } function new_C103(any x309) returns integer { local integer this139 if (C_firstFree_211 == 0) { if (C_maxIndex_442 < 32768) { C_maxIndex_442 = (C_maxIndex_442 + 1); this_139 = C_maxIndex_442; C_typeId_408[this_139] = 1; } else { error610("Out of memory: Could not create C."); this_139 = 0; }; } else { C_firstFree_211 = (C_firstFree_211 - 1); this_139 = C_nextFree_480[C_firstFree_211]; C_typeId_408[this_139] = 1; }; C_x_129[this_139] = x_309; return this_139; } function error610(string msg829) { $debugPrint123((msg_829 + (" " + #getStackTrace()))); }