integer test_bc883 array Comparison_nextFree142 integer Comparison_firstFree134 integer Comparison_maxIndex901 array Comparison_typeId900 integer test_bc883 = new_BoolComp107() integer Comparison_firstFree134 = 0 integer Comparison_maxIndex901 = 0 function initGlobals184() { } function main195() { initGlobals184(); init_test208(); } function config228() { } function init_test208() { test_bc_883 = new_BoolComp107(); if dispatch_Comparison_test_Comparison_leq187(test_bc_883, booleanToIndex729(false), booleanToIndex729(true)) { testSuccess320(); } else { }; } function booleanToIndex729(boolean b173) returns integer { if b_173 { return 1; } else { }; return 0; } function booleanFromIndex189(integer i749) returns boolean { return (i_749 != 0); } IS_NATIVE function testSuccess320() { } function test_BoolComp_leq_wrapper132(integer this178, any t306, any u119) returns boolean { return BoolComp_leq493(this_178, booleanFromIndex189(t_306), booleanFromIndex189(u_119)); } function BoolComp_leq493(integer this203, boolean a591, boolean b426) returns boolean { return ((not a_591) or b_426); } function BoolComp_init510(integer this207) { } function new_BoolComp107() returns integer { local integer this129 this_129 = alloc_BoolComp191(); construct_BoolComp972(this_129); return this_129; } function construct_BoolComp972(integer this783) { construct_Comparison440(this_783); BoolComp_init510(this_783); } function Comparison_leq135(integer this138, any t858, any u135) returns boolean { return true; } function Comparison_init714(integer this991) { } function construct_Comparison440(integer this941) { Comparison_init714(this_941); } function alloc_BoolComp191() returns integer { local integer this169 if (Comparison_firstFree_134 == 0) { if (Comparison_maxIndex_901 < 32768) { Comparison_maxIndex_901 = (Comparison_maxIndex_901 + 1); this_169 = Comparison_maxIndex_901; Comparison_typeId_900[this_169] = 2; } else { error110("Out of memory: Could not create BoolComp."); this_169 = 0; }; } else { Comparison_firstFree_134 = (Comparison_firstFree_134 - 1); this_169 = Comparison_nextFree_142[Comparison_firstFree_134]; Comparison_typeId_900[this_169] = 2; }; return this_169; } function error110(string msg144) { $debugPrint685((msg_144 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq187(integer this777, any t920, any u198) returns boolean { local boolean test_Comparison_leq_result134 if (Comparison_typeId_900[this_777] == 0) { if (this_777 == 0) { error110("Nullpointer exception when calling Comparison.leq"); } else { error110("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_900[this_777] <= 1) { test_Comparison_leq_result_134 = Comparison_leq135(this_777, t_920, u_198); } else { test_Comparison_leq_result_134 = test_BoolComp_leq_wrapper132(this_777, t_920, u_198); }; return test_Comparison_leq_result_134; }