array C_nextFree233 integer C_firstFree119 integer C_maxIndex158 array C_typeId125 integer C_firstFree119 = 0 integer C_maxIndex158 = 0 function initGlobals109() { } function main773() { initGlobals109(); init_test150(); } function config128() { } function init_test150() { dispatch_C_test_C_M_set149(new_C742(), null, 1.23); } function C_M_set973(integer this630, unit a191, real b131) returns real { return b_131; } function C_init275(integer this101) { construct_C_M103(this_101); } function construct_C_M103(integer this202) { } function new_C742() returns integer { local integer this737 this_737 = alloc_C540(); construct_C122(this_737); return this_737; } function construct_C122(integer this200) { C_init275(this_200); } function alloc_C540() returns integer { local integer this184 if (C_firstFree_119 == 0) { if (C_maxIndex_158 < 32768) { C_maxIndex_158 = (C_maxIndex_158 + 1); this_184 = C_maxIndex_158; C_typeId_125[this_184] = 1; } else { error164("Out of memory: Could not create C."); this_184 = 0; }; } else { C_firstFree_119 = (C_firstFree_119 - 1); this_184 = C_nextFree_233[C_firstFree_119]; C_typeId_125[this_184] = 1; }; return this_184; } function error164(string msg147) { $debugPrint107((msg_147 + (" " + #getStackTrace()))); } function dispatch_C_test_C_M_set149(integer this101, unit a889, real b159) returns real { if (C_typeId_125[this_101] == 0) { if (this_101 == 0) { error164("Nullpointer exception when calling C.set"); } else { error164("Called C.set on invalid object."); }; } else { }; return C_M_set973(this_101, a_889, b_159); }