array C_nextFree746 integer C_firstFree130 integer C_maxIndex149 array C_typeId196 integer C_firstFree130 = 0 integer C_maxIndex149 = 0 function initGlobals142() { } function main135() { initGlobals142(); init_test701(); } function config372() { } function init_test701() { local integer c880 c_880 = new_C155(); if (C_typeId_196[c_880] == 0) { if (c_880 == 0) { error136("Nullpointer exception when calling C.setX"); } else { error136("Called C.setX on invalid object."); }; } else { }; if (C_typeId_196[c_880] == 0) { if (c_880 == 0) { error136("Nullpointer exception when calling C.getX"); } else { error136("Called C.getX on invalid object."); }; } else { }; if ("42" == "42") { testSuccess929(); } else { }; } IS_NATIVE function testSuccess929() { } function new_C155() returns integer { local integer this783 if (C_firstFree_130 == 0) { if (C_maxIndex_149 < 32768) { C_maxIndex_149 = (C_maxIndex_149 + 1); this_783 = C_maxIndex_149; C_typeId_196[this_783] = 1; } else { error136("Out of memory: Could not create C."); this_783 = 0; }; } else { C_firstFree_130 = (C_firstFree_130 - 1); this_783 = C_nextFree_746[C_firstFree_130]; C_typeId_196[this_783] = 1; }; return this_783; } function error136(string msg268) { $debugPrint746((msg_268 + (" " + #getStackTrace()))); }