#line 14767 "qb64pe.bas"
int32 FUNC_GETUDTCANONMODE(int32*_FUNC_GETUDTCANONMODE_LONG_UDT){
#line 14767 "qb64pe.bas"
qbs *tqbs;
#line 14767 "qb64pe.bas"
ptrszint tmp_long;
#line 14767 "qb64pe.bas"
int32 tmp_fileno;
#line 14767 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 14767 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 14767 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 14767 "qb64pe.bas"
#include "data10.txt"
#line 14767 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 14767 "qb64pe.bas"
new_mem_lock();
#line 14767 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 14767 "qb64pe.bas"
sf_mem_lock->type=3;
#line 14767 "qb64pe.bas"
libqb_check_stack();
#line 14767 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 14769 "qb64pe.bas"
S_17365:;
#line 14769 "qb64pe.bas"
if (((-(*_FUNC_GETUDTCANONMODE_LONG_UDT<= 0 ))|(-(*_FUNC_GETUDTCANONMODE_LONG_UDT>func_ubound(__ARRAY_INTEGER_UDTXCANONMODE,1,1))))||is_error_pending()){
#line 14769 "qb64pe.bas"
if(qbevent){evnt(14769);if(r)goto S_17365;}
#line 14769 "qb64pe.bas"
do{
#line 14769 "qb64pe.bas"
goto exit_subfunc;
#line 14769 "qb64pe.bas"
if(!qbevent)break;evnt(14769);}while(r);
#line 14769 "qb64pe.bas"
}
#line 14770 "qb64pe.bas"
do{
#line 14770 "qb64pe.bas"
*_FUNC_GETUDTCANONMODE_LONG_GETUDTCANONMODE=((int16*)(__ARRAY_INTEGER_UDTXCANONMODE[0]))[array_check((*_FUNC_GETUDTCANONMODE_LONG_UDT)-__ARRAY_INTEGER_UDTXCANONMODE[4],__ARRAY_INTEGER_UDTXCANONMODE[5])];
#line 14770 "qb64pe.bas"
if(!qbevent)break;evnt(14770);}while(r);
#line 14771 "qb64pe.bas"
exit_subfunc:;
#line 14771 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 14771 "qb64pe.bas"
#include "free10.txt"
#line 14771 "qb64pe.bas"
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;
#line 14771 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 14771 "qb64pe.bas"
return *_FUNC_GETUDTCANONMODE_LONG_GETUDTCANONMODE;
#line 14771 "qb64pe.bas"
}
