array C_nextFree112 integer C_firstFree813 integer C_maxIndex762 array C_typeId531 array E_nextFree784 integer E_firstFree190 integer E_maxIndex192 array E_typeId150 integer C_firstFree813 = 0 integer C_maxIndex762 = 0 integer E_firstFree190 = 0 integer E_maxIndex192 = 0 function initGlobals127() { } function main616() { initGlobals127(); init_Test205(); } function config149() { } function init_Test205() { dispatch_E_Test_E_A_test109(new_E846()); } IS_NATIVE function testSuccess658() { } function C_init269(integer this591) { } function construct_C379(integer this194) { C_init269(this_194); } function E_A_test121(integer this674) { dispatch_D_Test_E_A_D_foo471(new_D179()); } function E_init105(integer this164) { construct_E_A176(this_164); } function construct_E_A176(integer this119) { } function new_E846() returns integer { local integer this281 this_281 = alloc_E130(); construct_E804(this_281); return this_281; } function construct_E804(integer this133) { E_init105(this_133); } function D_foo162(integer this944) { testSuccess658(); } function new_D179() returns integer { local integer this217 this_217 = alloc_D443(); construct_D749(this_217); return this_217; } function D_init159(integer this440) { } function construct_D749(integer this205) { construct_C379(this_205); D_init159(this_205); } function error207(string msg141) { $debugPrint164((msg_141 + (" " + #getStackTrace()))); } function alloc_E130() returns integer { local integer this811 if (E_firstFree_190 == 0) { if (E_maxIndex_192 < 32768) { E_maxIndex_192 = (E_maxIndex_192 + 1); this_811 = E_maxIndex_192; E_typeId_150[this_811] = 3; } else { error207("Out of memory: Could not create E."); this_811 = 0; }; } else { E_firstFree_190 = (E_firstFree_190 - 1); this_811 = E_nextFree_784[E_firstFree_190]; E_typeId_150[this_811] = 3; }; return this_811; } function alloc_D443() returns integer { local integer this904 if (C_firstFree_813 == 0) { if (C_maxIndex_762 < 32768) { C_maxIndex_762 = (C_maxIndex_762 + 1); this_904 = C_maxIndex_762; C_typeId_531[this_904] = 2; } else { error207("Out of memory: Could not create D."); this_904 = 0; }; } else { C_firstFree_813 = (C_firstFree_813 - 1); this_904 = C_nextFree_112[C_firstFree_813]; C_typeId_531[this_904] = 2; }; return this_904; } function dispatch_E_Test_E_A_test109(integer this116) { if (E_typeId_150[this_116] == 0) { if (this_116 == 0) { error207("Nullpointer exception when calling E.test"); } else { error207("Called E.test on invalid object."); }; } else { }; E_A_test121(this_116); } function dispatch_D_Test_E_A_D_foo471(integer this925) { if (C_typeId_531[this_925] == 0) { if (this_925 == 0) { error207("Nullpointer exception when calling D.foo"); } else { error207("Called D.foo on invalid object."); }; } else { }; D_foo162(this_925); }