int32 FUNC_UDT_DYN_ARRAY_ELEM_BYTES(int32*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT){
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 "data294.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_42844:;
if ((-(((int32*)(__ARRAY_LONG_UDTEARRAYELEMENTS[0]))[array_check((*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT)-__ARRAY_LONG_UDTEARRAYELEMENTS[4],__ARRAY_LONG_UDTEARRAYELEMENTS[5])]== 0 ))||is_error_pending()){
if(qbevent){evnt(28172,2070,"type.bas");if(r)goto S_42844;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28172,2070,"type.bas");}while(r);
}
S_42847:;
if ((FUNC_DYNMEMVARSTR(_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT))||is_error_pending()){
if(qbevent){evnt(28172,2078,"type.bas");if(r)goto S_42847;}
do{
*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_UDT_DYN_ARRAY_ELEM_BYTES= 8 ;
if(!qbevent)break;evnt(28172,2079,"type.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28172,2080,"type.bas");}while(r);
}
S_42851:;
if ((-((((int32*)(__ARRAY_LONG_UDTETYPE[0]))[array_check((*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT)-__ARRAY_LONG_UDTETYPE[4],__ARRAY_LONG_UDTETYPE[5])]&*__LONG_ISUDT)!= 0 ))||is_error_pending()){
if(qbevent){evnt(28172,2083,"type.bas");if(r)goto S_42851;}
do{
*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_UDT_DYN_ARRAY_ELEM_BYTES=qb_safe_idiv(FUNC_UDTDYNLAYOUTSIZE(&(pass5129=((int32*)(__ARRAY_LONG_UDTETYPE[0]))[array_check((*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT)-__ARRAY_LONG_UDTETYPE[4],__ARRAY_LONG_UDTETYPE[5])]& 4095ll )), 8 );
if(!qbevent)break;evnt(28172,2084,"type.bas");}while(r);
}else{
do{
*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_UDT_DYN_ARRAY_ELEM_BYTES=qb_safe_idiv((qb_safe_idiv(((int32*)(__ARRAY_LONG_UDTESIZE[0]))[array_check((*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT)-__ARRAY_LONG_UDTESIZE[4],__ARRAY_LONG_UDTESIZE[5])], 8 )),((int32*)(__ARRAY_LONG_UDTEARRAYELEMENTS[0]))[array_check((*_FUNC_UDT_DYN_ARRAY_ELEM_BYTES_LONG_ELEMENT)-__ARRAY_LONG_UDTEARRAYELEMENTS[4],__ARRAY_LONG_UDTEARRAYELEMENTS[5])]);
if(!qbevent)break;evnt(28172,2086,"type.bas");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free294.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_UDT_DYN_ARRAY_ELEM_BYTES_LONG_UDT_DYN_ARRAY_ELEM_BYTES;
}
