int32 FUNC_GETUDTCANONMODE(int32*_FUNC_GETUDTCANONMODE_LONG_UDT){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data9.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
S_17212:;
if (((-(*_FUNC_GETUDTCANONMODE_LONG_UDT<= 0 ))|(-(*_FUNC_GETUDTCANONMODE_LONG_UDT>func_ubound(__ARRAY_INTEGER_UDTXCANONMODE,1,1))))||is_error_pending()){
if(qbevent){evnt(14594);if(r)goto S_17212;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(14594);}while(r);
}
do{
*_FUNC_GETUDTCANONMODE_LONG_GETUDTCANONMODE=((int16*)(__ARRAY_INTEGER_UDTXCANONMODE[0]))[array_check((*_FUNC_GETUDTCANONMODE_LONG_UDT)-__ARRAY_INTEGER_UDTXCANONMODE[4],__ARRAY_INTEGER_UDTXCANONMODE[5])];
if(!qbevent)break;evnt(14595);}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free9.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
return *_FUNC_GETUDTCANONMODE_LONG_GETUDTCANONMODE;
}
