array C_nextFree935 integer C_firstFree554 integer C_maxIndex990 array C_typeId886 integer C_firstFree554 = 0 integer C_maxIndex990 = 0 function initGlobals124() { } function main209() { initGlobals124(); init_test116(); } function config177() { } function init_test116() { local integer c161 c_161 = new_C198(); if (C_typeId_886[c_161] == 0) { if (c_161 == 0) { error590("Nullpointer exception when calling C.setX"); } else { error590("Called C.setX on invalid object."); }; } else { }; if (C_typeId_886[c_161] == 0) { if (c_161 == 0) { error590("Nullpointer exception when calling C.getX"); } else { error590("Called C.getX on invalid object."); }; } else { }; if ("42" == "42") { testSuccess366(); } else { }; } IS_NATIVE function testSuccess366() { } function new_C198() returns integer { local integer this187 if (C_firstFree_554 == 0) { if (C_maxIndex_990 < 32768) { C_maxIndex_990 = (C_maxIndex_990 + 1); this_187 = C_maxIndex_990; C_typeId_886[this_187] = 1; } else { error590("Out of memory: Could not create C."); this_187 = 0; }; } else { C_firstFree_554 = (C_firstFree_554 - 1); this_187 = C_nextFree_935[C_firstFree_554]; C_typeId_886[this_187] = 1; }; return this_187; } function error590(string msg609) { $debugPrint154((msg_609 + (" " + #getStackTrace()))); }