array Func_nextFree806 integer Func_firstFree123 integer Func_maxIndex487 array Func_typeId601 array C_nextFree151 integer C_firstFree165 integer C_maxIndex162 array C_typeId209 array C_x115 integer Func_firstFree123 = 0 integer Func_maxIndex487 = 0 integer C_firstFree165 = 0 integer C_maxIndex162 = 0 function initGlobals532() { } function main165() { initGlobals532(); init_A107(); } function config106() { } function init_A107() { local integer this179 local integer this181 if (C_firstFree_165 == 0) { if (C_maxIndex_162 < 32768) { C_maxIndex_162 = (C_maxIndex_162 + 1); this_179 = C_maxIndex_162; C_typeId_209[this_179] = 1; } else { error644("Out of memory: Could not create C."); this_179 = 0; }; } else { C_firstFree_165 = (C_firstFree_165 - 1); this_179 = C_nextFree_151[C_firstFree_165]; C_typeId_209[this_179] = 1; }; C_x_115[this_179] = 5; if (Func_firstFree_123 == 0) { if (Func_maxIndex_487 < 32768) { Func_maxIndex_487 = (Func_maxIndex_487 + 1); this_181 = Func_maxIndex_487; Func_typeId_601[this_181] = 3; } else { error644("Out of memory: Could not create Func_map_A."); this_181 = 0; }; } else { Func_firstFree_123 = (Func_firstFree_123 - 1); this_181 = Func_nextFree_806[Func_firstFree_123]; Func_typeId_601[this_181] = 3; }; if (C_typeId_209[this_179] == 0) { if (this_179 == 0) { error644("Nullpointer exception when calling C.map"); } else { error644("Called C.map on invalid object."); }; } else { }; this_179 = C_map123(this_179, this_181); if (C_x_115[this_179] == 10) { testSuccess212(); } else { }; } IS_NATIVE function testSuccess212() { } function C_map123(integer this781, integer f147) returns integer { local any x756 x_756 = C_x_115[this_781]; if (Func_typeId_601[f_147] == 0) { if (f_147 == 0) { error644("Nullpointer exception when calling Func.apply"); } else { error644("Called Func.apply on invalid object."); }; } else { }; return new_C140((2 * x_756)); } function new_C140(any x110) returns integer { local integer this127 if (C_firstFree_165 == 0) { if (C_maxIndex_162 < 32768) { C_maxIndex_162 = (C_maxIndex_162 + 1); this_127 = C_maxIndex_162; C_typeId_209[this_127] = 1; } else { error644("Out of memory: Could not create C."); this_127 = 0; }; } else { C_firstFree_165 = (C_firstFree_165 - 1); this_127 = C_nextFree_151[C_firstFree_165]; C_typeId_209[this_127] = 1; }; C_x_115[this_127] = x_110; return this_127; } function error644(string msg191) { $debugPrint162((msg_191 + (" " + #getStackTrace()))); }