// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals integer tempReturn_integer=0 endglobals native testSuccess takes nothing returns nothing function cyc_c takes integer funcChoice, integer i returns nothing if funcChoice == 0 then if i == 0 then set tempReturn_integer = 0 return endif call cyc_c(2, i / 2) set tempReturn_integer = tempReturn_integer return elseif funcChoice == 1 then if i == 0 then set tempReturn_integer = 0 return endif call cyc_c(0, i / 2) set tempReturn_integer = tempReturn_integer return elseif funcChoice == 2 then if i == 0 then set tempReturn_integer = 0 return endif call cyc_c(1, i / 2) set tempReturn_integer = tempReturn_integer return endif endfunction function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing call initGlobals() call cyc_c(2, 42) if tempReturn_integer == 0 then call testSuccess() endif endfunction function config takes nothing returns nothing endfunction