array A_nextFree669 integer A_firstFree212 integer A_maxIndex329 array A_typeId985 integer A_firstFree212 = 0 integer A_maxIndex329 = 0 function initGlobals126() { } function main783() { initGlobals126(); init_test203(); } function config712() { } function init_test203() { if (dispatch_A_test_A_f1142(new_C860()) == 3) { testSuccess848(); } else { }; } IS_NATIVE function testSuccess848() { } function C_f1110(integer this173) returns integer { return 3; } function C_init103(integer this857) { } function new_C860() returns integer { local integer this120 this_120 = alloc_C208(); construct_C155(this_120); return this_120; } function construct_C155(integer this122) { C_init103(this_122); } function error225(string msg520) { $debugPrint578((msg_520 + (" " + #getStackTrace()))); } function alloc_C208() returns integer { local integer this458 if (A_firstFree_212 == 0) { if (A_maxIndex_329 < 32768) { A_maxIndex_329 = (A_maxIndex_329 + 1); this_458 = A_maxIndex_329; A_typeId_985[this_458] = 3; } else { error225("Out of memory: Could not create C."); this_458 = 0; }; } else { A_firstFree_212 = (A_firstFree_212 - 1); this_458 = A_nextFree_669[A_firstFree_212]; A_typeId_985[this_458] = 3; }; return this_458; } function dispatch_A_test_A_f1142(integer this543) returns integer { if (A_typeId_985[this_543] == 0) { if (this_543 == 0) { error225("Nullpointer exception when calling A.f1"); } else { error225("Called A.f1 on invalid object."); }; } else { }; return C_f1110(this_543); }