void SUB_BUILDUDTDYNLAYOUT(int32*_SUB_BUILDUDTDYNLAYOUT_LONG_UDT_INDEX){
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 "data266.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{
SUB_BUILDUDTDYNLAYOUTM(_SUB_BUILDUDTDYNLAYOUT_LONG_UDT_INDEX,&(pass4971= 1 ));
if(!qbevent)break;evnt(28172,813,"type.bas");}while(r);
do{
tmp_long=array_check((*_SUB_BUILDUDTDYNLAYOUT_LONG_UDT_INDEX)-__ARRAY_INTEGER_UDTXCANONMODE[4],__ARRAY_INTEGER_UDTXCANONMODE[5]);
if (!is_error_pending()) ((int16*)(__ARRAY_INTEGER_UDTXCANONMODE[0]))[tmp_long]= 0 ;
if(!qbevent)break;evnt(28172,815,"type.bas");}while(r);
S_41752:;
if ((FUNC_UDTDYNHASMEMBERARRAYS(_SUB_BUILDUDTDYNLAYOUT_LONG_UDT_INDEX,&(pass4972= 1 )))||is_error_pending()){
if(qbevent){evnt(28172,816,"type.bas");if(r)goto S_41752;}
do{
tmp_long=array_check((*_SUB_BUILDUDTDYNLAYOUT_LONG_UDT_INDEX)-__ARRAY_INTEGER_UDTXCANONMODE[4],__ARRAY_INTEGER_UDTXCANONMODE[5]);
if (!is_error_pending()) ((int16*)(__ARRAY_INTEGER_UDTXCANONMODE[0]))[tmp_long]= 1 ;
if(!qbevent)break;evnt(28172,816,"type.bas");}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free266.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;
}
