array C_nextFree729 integer C_firstFree176 integer C_maxIndex546 array C_typeId237 integer C_firstFree176 = 0 integer C_maxIndex546 = 0 function initGlobals229() { } function main151() { initGlobals229(); init_test182(); } function config205() { } function init_test182() { dispatch_C_test_C_M_set871(new_C285(), null, 1.23); } function C_M_set206(integer this662, unit a196, real b141) returns real { return b_141; } function C_init181(integer this921) { construct_C_M145(this_921); } function construct_C_M145(integer this129) { } function new_C285() returns integer { local integer this116 this_116 = alloc_C190(); construct_C155(this_116); return this_116; } function construct_C155(integer this115) { C_init181(this_115); } function alloc_C190() returns integer { local integer this211 if (C_firstFree_176 == 0) { if (C_maxIndex_546 < 32768) { C_maxIndex_546 = (C_maxIndex_546 + 1); this_211 = C_maxIndex_546; C_typeId_237[this_211] = 1; } else { error131("Out of memory: Could not create C."); this_211 = 0; }; } else { C_firstFree_176 = (C_firstFree_176 - 1); this_211 = C_nextFree_729[C_firstFree_176]; C_typeId_237[this_211] = 1; }; return this_211; } function error131(string msg142) { $debugPrint649((msg_142 + (" " + #getStackTrace()))); } function dispatch_C_test_C_M_set871(integer this139, unit a704, real b368) returns real { if (C_typeId_237[this_139] == 0) { if (this_139 == 0) { error131("Nullpointer exception when calling C.set"); } else { error131("Called C.set on invalid object."); }; } else { }; return C_M_set206(this_139, a_704, b_368); }