array C_nextFree701 integer C_firstFree124 integer C_maxIndex134 array C_typeId593 integer C_firstFree124 = 0 integer C_maxIndex134 = 0 function initGlobals425() { } function main159() { initGlobals425(); init_test137(); } function config999() { } function init_test137() { dispatch_C_test_C_M_set175(new_C673(), null, 1.23); } function C_M_set109(integer this210, unit a907, real b172) returns real { return b_172; } function C_init558(integer this161) { construct_C_M943(this_161); } function construct_C_M943(integer this644) { } function new_C673() returns integer { local integer this144 this_144 = alloc_C312(); construct_C147(this_144); return this_144; } function construct_C147(integer this187) { C_init558(this_187); } function alloc_C312() returns integer { local integer this984 if (C_firstFree_124 == 0) { if (C_maxIndex_134 < 32768) { C_maxIndex_134 = (C_maxIndex_134 + 1); this_984 = C_maxIndex_134; C_typeId_593[this_984] = 1; } else { error205("Out of memory: Could not create C."); this_984 = 0; }; } else { C_firstFree_124 = (C_firstFree_124 - 1); this_984 = C_nextFree_701[C_firstFree_124]; C_typeId_593[this_984] = 1; }; return this_984; } function error205(string msg498) { $debugPrint183((msg_498 + (" " + #getStackTrace()))); } function dispatch_C_test_C_M_set175(integer this501, unit a131, real b126) returns real { if (C_typeId_593[this_501] == 0) { if (this_501 == 0) { error205("Nullpointer exception when calling C.set"); } else { error205("Called C.set on invalid object."); }; } else { }; return C_M_set109(this_501, a_131, b_126); }