integer test_bc516 array Comparison_nextFree155 integer Comparison_firstFree154 integer Comparison_maxIndex233 array Comparison_typeId106 integer test_bc516 = new_BoolComp131() integer Comparison_firstFree154 = 0 integer Comparison_maxIndex233 = 0 function initGlobals785() { } function main165() { initGlobals785(); init_test166(); } function config730() { } function init_test166() { test_bc_516 = new_BoolComp131(); if dispatch_Comparison_test_Comparison_leq410(test_bc_516, booleanToIndex603(false), booleanToIndex603(true)) { testSuccess138(); } else { }; } function booleanToIndex603(boolean b159) returns integer { if b_159 { return 1; } else { }; return 0; } IS_NATIVE function testSuccess138() { } function new_BoolComp131() returns integer { local integer this161 local integer this146 if (Comparison_firstFree_154 == 0) { if (Comparison_maxIndex_233 < 32768) { Comparison_maxIndex_233 = (Comparison_maxIndex_233 + 1); this_146 = Comparison_maxIndex_233; Comparison_typeId_106[this_146] = 2; } else { error209("Out of memory: Could not create BoolComp."); this_146 = 0; }; } else { Comparison_firstFree_154 = (Comparison_firstFree_154 - 1); this_146 = Comparison_nextFree_155[Comparison_firstFree_154]; Comparison_typeId_106[this_146] = 2; }; this_161 = this_146; return this_161; } function error209(string msg992) { $debugPrint139((msg_992 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq410(integer this211, any t181, any u167) returns boolean { local boolean test_Comparison_leq_result705 local any t115 local any u846 local boolean a123 local boolean b102 local integer i559 local integer i593 if (Comparison_typeId_106[this_211] == 0) { if (this_211 == 0) { error209("Nullpointer exception when calling Comparison.leq"); } else { error209("Called Comparison.leq on invalid object."); }; } else { }; t_115 = t_181; u_846 = u_167; i_559 = t_115; a_123 = (i_559 != 0); i_593 = u_846; b_102 = (i_593 != 0); test_Comparison_leq_result_705 = ((not a_123) or b_102); return test_Comparison_leq_result_705; }