qbs* FUNC_UDTDYNARRAYBYTESEXPR(qbs*_FUNC_UDTDYNARRAYBYTESEXPR_STRING_DESC_EXPR,int32*_FUNC_UDTDYNARRAYBYTESEXPR_LONG_ELEM_BYTES){
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 "data32.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;
do{
if(!qbevent)break;evnt(16378);}while(r);
do{
if(!qbevent)break;evnt(16379);}while(r);
S_18882:;
if ((-(*_FUNC_UDTDYNARRAYBYTESEXPR_LONG_ELEM_BYTES<= 0 ))||is_error_pending()){
if(qbevent){evnt(16381);if(r)goto S_18882;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Cannot process the declared bounds of this TYPE member array",60));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16381);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(16381);}while(r);
}
do{
qbs_set(_FUNC_UDTDYNARRAYBYTESEXPR_STRING_HELPER_NAME,qbs_add(qbs_new_txt_len("udt_dyn_array_bytes_",20),qbs__tostr((int32)(FUNC_UNIQUENUMBER()),NULL,0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16383);}while(r);
do{
qbs_set(_FUNC_UDTDYNARRAYBYTESEXPR_STRING_ELEM_TEXT,qbs_ltrim(qbs_str((int32)(*_FUNC_UDTDYNARRAYBYTESEXPR_LONG_ELEM_BYTES))));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16384);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2776=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("static ptrszint ",16),_FUNC_UDTDYNARRAYBYTESEXPR_STRING_HELPER_NAME),qbs_new_txt_len("(ptrszint *qb_desc){",20)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16386);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2777=*__LONG_GLOBTXTBUF),qbs_new_txt_len("ptrszint qb_i;",14));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16387);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2778=*__LONG_GLOBTXTBUF),qbs_new_txt_len("ptrszint qb_arg;",16));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16388);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2779=*__LONG_GLOBTXTBUF),qbs_new_txt_len("ptrszint qb_count;",18));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16389);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2780=*__LONG_GLOBTXTBUF),qbs_new_txt_len("uint64 qb_total=1;",18));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16390);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2781=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if ((!qb_desc)||(qb_desc[3]<=0)){error(9); return 0;}",53));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16391);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2782=*__LONG_GLOBTXTBUF),qbs_new_txt_len("for(qb_i=1; qb_i<=qb_desc[3]; qb_i++){",38));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16392);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2783=*__LONG_GLOBTXTBUF),qbs_new_txt_len("qb_arg=(qb_desc[3]-qb_i)*4+4;",29));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16393);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2784=*__LONG_GLOBTXTBUF),qbs_new_txt_len("qb_count=qb_desc[qb_arg+1];",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16394);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2785=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if (qb_count<0){error(9); return 0;}",36));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16395);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2786=*__LONG_GLOBTXTBUF),qbs_new_txt_len("if (qb_count&&qb_total>(18446744073709551615ull/(uint64)qb_count)){error(257); return 0;}",89));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16396);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2787=*__LONG_GLOBTXTBUF),qbs_new_txt_len("qb_total*=(uint64)qb_count;",27));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16397);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2788=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16398);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2789=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("if (qb_total>(18446744073709551615ull/(uint64)",46),_FUNC_UDTDYNARRAYBYTESEXPR_STRING_ELEM_TEXT),qbs_new_txt_len(")){error(257); return 0;}",25)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16399);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2790=*__LONG_GLOBTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("return (ptrszint)(qb_total*(uint64)",35),_FUNC_UDTDYNARRAYBYTESEXPR_STRING_ELEM_TEXT),qbs_new_txt_len(");",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16400);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2791=*__LONG_GLOBTXTBUF),qbs_new_txt_len("}",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16401);}while(r);
do{
qbs_set(_FUNC_UDTDYNARRAYBYTESEXPR_STRING_UDTDYNARRAYBYTESEXPR,qbs_add(qbs_add(qbs_add(_FUNC_UDTDYNARRAYBYTESEXPR_STRING_HELPER_NAME,qbs_new_txt_len("(",1)),_FUNC_UDTDYNARRAYBYTESEXPR_STRING_DESC_EXPR),qbs_new_txt_len(")",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16403);}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free32.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;
qbs_maketmp(_FUNC_UDTDYNARRAYBYTESEXPR_STRING_UDTDYNARRAYBYTESEXPR);return _FUNC_UDTDYNARRAYBYTESEXPR_STRING_UDTDYNARRAYBYTESEXPR;
}
