integer test_bc145 array Comparison_nextFree153 integer Comparison_firstFree173 integer Comparison_maxIndex842 array Comparison_typeId168 integer test_bc145 = new_BoolComp655() integer Comparison_firstFree173 = 0 integer Comparison_maxIndex842 = 0 function initGlobals187() { } function main308() { initGlobals187(); init_test477(); } function config184() { } function init_test477() { test_bc_145 = new_BoolComp655(); if dispatch_Comparison_test_Comparison_leq891(test_bc_145, booleanToIndex101(false), booleanToIndex101(true)) { testSuccess127(); } else { }; } function booleanToIndex101(boolean b160) returns integer { if b_160 { return 1; } else { }; return 0; } function booleanFromIndex979(integer i203) returns boolean { return (i_203 != 0); } IS_NATIVE function testSuccess127() { } function test_BoolComp_leq_wrapper163(integer this133, any t101, any u203) returns boolean { return BoolComp_leq196(this_133, booleanFromIndex979(t_101), booleanFromIndex979(u_203)); } function BoolComp_leq196(integer this119, boolean a327, boolean b177) returns boolean { return ((not a_327) or b_177); } function BoolComp_init243(integer this572) { } function new_BoolComp655() returns integer { local integer this702 this_702 = alloc_BoolComp203(); construct_BoolComp353(this_702); return this_702; } function construct_BoolComp353(integer this681) { construct_Comparison180(this_681); BoolComp_init243(this_681); } function Comparison_leq919(integer this187, any t125, any u199) returns boolean { return true; } function Comparison_init995(integer this140) { } function construct_Comparison180(integer this224) { Comparison_init995(this_224); } function alloc_BoolComp203() returns integer { local integer this113 if (Comparison_firstFree_173 == 0) { if (Comparison_maxIndex_842 < 32768) { Comparison_maxIndex_842 = (Comparison_maxIndex_842 + 1); this_113 = Comparison_maxIndex_842; Comparison_typeId_168[this_113] = 2; } else { error811("Out of memory: Could not create BoolComp."); this_113 = 0; }; } else { Comparison_firstFree_173 = (Comparison_firstFree_173 - 1); this_113 = Comparison_nextFree_153[Comparison_firstFree_173]; Comparison_typeId_168[this_113] = 2; }; return this_113; } function error811(string msg460) { $debugPrint726((msg_460 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq891(integer this200, any t487, any u129) returns boolean { local boolean test_Comparison_leq_result577 if (Comparison_typeId_168[this_200] == 0) { if (this_200 == 0) { error811("Nullpointer exception when calling Comparison.leq"); } else { error811("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_168[this_200] <= 1) { test_Comparison_leq_result_577 = Comparison_leq919(this_200, t_487, u_129); } else { test_Comparison_leq_result_577 = test_BoolComp_leq_wrapper163(this_200, t_487, u_129); }; return test_Comparison_leq_result_577; }