integer test_bc136 array Comparison_nextFree556 integer Comparison_firstFree727 integer Comparison_maxIndex187 array Comparison_typeId873 integer test_bc136 = new_BoolComp136() integer Comparison_firstFree727 = 0 integer Comparison_maxIndex187 = 0 function initGlobals393() { Comparison_firstFree_727 = 0; Comparison_maxIndex_187 = 0; } function main183() { initGlobals393(); init_test808(); } function config702() { } function init_test808() { test_bc_136 = new_BoolComp136(); if dispatch_Comparison_test_Comparison_leq110(test_bc_136, booleanToIndex969(false), booleanToIndex969(true)) { testSuccess196(); } else { }; } function booleanToIndex969(boolean b624) returns integer { if b_624 { return 1; } else { }; return 0; } function booleanFromIndex101(integer i368) returns boolean { return (i_368 != 0); } IS_NATIVE function testSuccess196() { } function test_BoolComp_leq_wrapper123(integer this149, any t151, any u516) returns boolean { return BoolComp_leq279(this_149, booleanFromIndex101(t_151), booleanFromIndex101(u_516)); } function BoolComp_leq279(integer this468, boolean a193, boolean b161) returns boolean { return ((not a_193) or b_161); } function BoolComp_init251(integer this196) { } function new_BoolComp136() returns integer { local integer this145 this_145 = alloc_BoolComp641(); construct_BoolComp644(this_145); return this_145; } function construct_BoolComp644(integer this186) { construct_Comparison118(this_186); BoolComp_init251(this_186); } function Comparison_leq586(integer this135, any t121, any u846) returns boolean { return true; } function Comparison_init175(integer this668) { } function construct_Comparison118(integer this563) { Comparison_init175(this_563); } function alloc_BoolComp641() returns integer { local integer this391 if (Comparison_firstFree_727 == 0) { if (Comparison_maxIndex_187 < 32768) { Comparison_maxIndex_187 = (Comparison_maxIndex_187 + 1); this_391 = Comparison_maxIndex_187; Comparison_typeId_873[this_391] = 2; } else { error183("Out of memory: Could not create BoolComp."); this_391 = 0; }; } else { Comparison_firstFree_727 = (Comparison_firstFree_727 - 1); this_391 = Comparison_nextFree_556[Comparison_firstFree_727]; Comparison_typeId_873[this_391] = 2; }; return this_391; } function error183(string msg291) { $debugPrint414((msg_291 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq110(integer this125, any t107, any u309) returns boolean { local boolean test_Comparison_leq_result590 if (Comparison_typeId_873[this_125] == 0) { if (this_125 == 0) { error183("Nullpointer exception when calling Comparison.leq"); } else { error183("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_873[this_125] <= 1) { test_Comparison_leq_result_590 = Comparison_leq586(this_125, t_107, u_309); } else { test_Comparison_leq_result_590 = test_BoolComp_leq_wrapper123(this_125, t_107, u_309); }; return test_Comparison_leq_result_590; }