/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: August 31, 1992 8:43:43 pm PDT */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: XTSetterImpl, module: XTSetterImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [866326193,1324582134] XTSetterImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {word f0, f1;} W2; typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef struct {word f0, f1, f2;} W3; typedef struct {word f0, f1, f2, f3;} W4; typedef W3 *W3Pt; typedef struct {W8 f; W8 r;} W16; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef struct {W8 f; W6 r;} W14; typedef struct {W16 f; W14 r;} W30; typedef struct {W8 f; W4 r;} W12; typedef struct {W16 f; W12 r;} W28; typedef struct {W8 f; W2 r;} W10; typedef struct {W16 f; W10 r;} W26; typedef W26 *W26Pt; typedef W28 *W28Pt; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef struct {W8 f; W5 r;} W13; typedef struct {W16 f; W13 r;} W29; typedef struct {W8 f; W3 r;} W11; typedef struct {W16 f; W11 r;} W27; typedef W27 *W27Pt; typedef struct {W16 f; W16 r;} W32; typedef struct {W32 f; W3 r;} W35; typedef W12 *W12Pt; typedef struct {W8 f; word r;} W9; typedef struct {W16 f; W3 r;} W19; typedef W4 *W4Pt; typedef struct {W32 f; W32 r;} W64; typedef struct {W32 f; W6 r;} W38; typedef struct {W64 f; W38 r;} W102; typedef struct {W64 f; W26 r;} W90; typedef W90 *W90Pt; typedef W5 *W5Pt; typedef struct {unsigned f:1, u2:7;} * P1x0b; typedef W2 *W2Pt; #define SOURCE(p, l) /* source p, l */ #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR_RaiseBoundsFault()) : (idx) ) #define IOP2(op, x, y) ( (word) ((x) op (y)) ) static float fc220 = 1.0; #define SGNCK(i) ((int) (word) (i) < 0 ? XR_RaiseArithmeticFault(): i ) static float fc234 = 0.0; static float fc282 = 100.0; #define MIN(cast, x, y) ( ( cast x) < ( cast y) ? (x) : (y) ) #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) static void NoName_Q5892(); static void XTSetterImpl_P0(); static word GetTool_P60(); static word LookUpTool_P3360(); static word NewTool_P120(); static word NoName_Q5952(); static void CreateViewer_P180(); static void AddMenuEntry_P3420(); static word GetLabel_P240(); static void DestroyTool_P300(); static word NoName_Q6012(); static void NewButton_P360(); static word NoName_Q6072(); static void LeftScreenButton_P420(); static void ScreenButton_P480(); static void RightScreenButton_P540(); static void ColorScreenButton_P600(); static void PrintButton_P660(); static word NoName_Q6132(); static word FileNameSelected_P3528(); static word FileFromHint_P3588(); static word NoName_Q6192(); static void InvalidFile_P3648(); static void OptionsButton_P720(); static void ServerStatusButton_P780(); static void CreateBoolButton_P840(); static void ClickBoolButton_P900(); static word GetBoolButton_P960(); static void SetBoolButton_P1020(); static void CreateIntButton_P1080(); static word GetIntButton_P1140(); static word NoName_Q6252(); static void SetIntButton_P1200(); static void ClickIntButton_P1260(); static void CreateRealButton_P1320(); static word GetRealButton_P1380(); static word NoName_Q6312(); static void SetRealButton_P1440(); static void ClickRealButton_P1500(); static void CreateRopeButton_P1560(); static word GetRopeButton_P1620(); static void SetRopeButton_P1680(); static void ClickRopeButton_P1740(); static word NextName_P3804(); static void ClickCompress_P1800(); static void CreateOptionsViewer_P1860(); static word NoName_Q6372(); static void DestroyOptionsViewer_P1920(); static word NoName_Q6432(); static word GetOptions_P1980(); static word NoName_Q6492(); static word GetOptionsInternal_P2040(); static void SetOptions_P2100(); static word NoName_Q6552(); static word NoName_Q6612(); static word DefaultOptions_P2160(); static void DefaultOptionsFromProfile_P2220(); static word EachTool_P4008(); static void CreateServerStatusViewer_P2280(); static word NoName_Q6672(); static word NewNamedLabel_P4116(); static void DestroyServerStatusViewer_P2340(); static word NoName_Q6732(); static void ServerStatusWatcher_P2400(); static word NoName_Q6792(); static void SetServerStatusTimer_P4176(); static word NoName_Q6852(); static void WaitServerStatusTimer_P4236(); static word NoName_Q6912(); static void Report_P4296(); static word CreateStatusReport_P2460(); static word NoName_Q6972(); static void ResizeStatusContainer_P2520(); static void Resize_P4500(); static void StopButtonProc_P2580(); static void SetSendingStatus_P2640(); static void PrintStatusUpdate_P2700(); static void PlaceChild_P2760(); static word XTSViewerAdjust_P2820(); static word RedisplayTool_P2880(); static void DoIt_P5136(); static void SetupPrinterVersion_P3000(); static void DefinePrinterVersions_P3060(); static void XTSetterCommand_P3120(); static word NoName_Q7032(); static word NoName_Q7092(); static void NewProfile_P3180(); static void NewUser_P3240(); static void Init_P3300(); static void Define_P5340(); static void NoName_Q7152(); static void NoName_Q7212(); static void NoName_Q7272(); static void NoName_Q7332(); static void NoName_Q7392(); static void NoName_Q7452(); static void NoName_Q7512(); static void NoName_Q7572(); static void NoName_Q7632(); static void NoName_Q7692(); static void NoName_Q7752(); static void NoName_Q7812(); static void NoName_Q7872(); static void NoName_Q7932(); static void NoName_Q7992(); static void NoName_Q8052(); static void NoName_Q8112(); static void NoName_Q8172(); static void NoName_Q8232(); static void NoName_Q8292(); static word NoName_Q8352(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\200\000\000"}; static struct {unsigned f; char r[68];} string2 = {4390979, "\006\031\020\001\024\001\030\001\044\001\050\001\054\001\060\001\064\001\070\001\074\001\100\100\001\100\104\001\100\110\001\100\114\001\100\120\001\100\124\001\100\130\001\100\134\001\100\140\001\100\144\001\100\150\001\100\154\001\100\160\001\100\214\001\100\220\001"}; static struct {unsigned f; char r[48];} string3 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\363\223\326\161\300\017\164\046\072\104\350\005\004\162\145\163\164\214\216\257\300\363\223\326\161\300\017\164\046\072\104\350\261\000\000\000"}; static struct {unsigned f; char r[4];} string4 = {131074, "\004\003\000"}; static struct {unsigned f; char r[16];} string5 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[4];} string6 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\113\175\243\331\300\252\247\212\133\100\200\000\000"}; static struct {unsigned f; char r[12];} string8 = {720907, "\006\004\000\0018\001<\001@L\001"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\164\000\000"}; static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\063\243\026\261\300\116\363\204\366\106\024\000\000"}; static struct {unsigned f; char r[4];} string11 = {131074, "\004\021\000"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\063\243\026\261\300\116\363\204\366\102\344\000\000"}; static struct {unsigned f; char r[16];} string13 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\324\000\000"}; static struct {unsigned f; char r[4];} string14 = {131074, "\004?\000"}; static struct {unsigned f; char r[16];} string15 = {851984, "\257\300\250\170\135\274\300\073\343\245\166\100\200\000\000"}; static struct {unsigned f; char r[4];} string16 = {196611, "\004FH"}; static struct {unsigned f; char r[16];} string17 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\274\000\000"}; static struct {unsigned f; char r[4];} string18 = {131074, "\004\007\000"}; static struct {unsigned f; char r[16];} string19 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\260\000\000"}; static struct {unsigned f; char r[4];} string20 = {131074, "\004\005\000"}; static struct {unsigned f; char r[16];} string21 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\244\000\000"}; static struct {unsigned f; char r[16];} string22 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\230\000\000"}; static struct {unsigned f; char r[4];} string23 = {131076, "\216\251\000"}; static struct {unsigned f; char r[12];} string24 = {524300, "XTSetter\000\000\000"}; static struct {unsigned f; char r[36];} string25 = {2097188, "Connection with %g established.\012\000\000\000"}; static struct {unsigned f; char r[4];} string26 = {196612, "New"}; static struct {unsigned f; char r[4];} string27 = {196612, "<--"}; static struct {unsigned f; char r[8];} string28 = {393224, "Screen\000"}; static struct {unsigned f; char r[4];} string29 = {196612, "-->"}; static struct {unsigned f; char r[8];} string30 = {327688, "Color\000\000"}; static struct {unsigned f; char r[8];} string31 = {327688, "Print\000\000"}; static struct {unsigned f; char r[8];} string32 = {458760, "Options"}; static struct {unsigned f; char r[16];} string33 = {786448, "ServerStatus\000\000\000"}; static struct {unsigned f; char r[4];} string34 = {65540, ":\000\000"}; static struct {unsigned f; char r[44];} string35 = {2752556, "Color display is off! Nothing to print...\012\000"}; static struct {unsigned f; char r[40];} string36 = {2359336, "Nothing to print has been selected!\012\000\000\000"}; static struct {unsigned f; char r[4];} string37 = {131076, " \011\000"}; static struct {unsigned f; char r[4];} string38 = {65540, " \000\000"}; static struct {unsigned f; char r[12];} string39 = {720908, "Dummy.dummy"}; static struct {unsigned f; char r[16];} string40 = {983056, "File error: %g\012"}; static struct {unsigned f; char r[40];} string41 = {2359336, "Unable to connect to printer %g: %g\012\000\000\000"}; static struct {unsigned f; char r[16];} string42 = {786448, "WhiteOnBlack\000\000\000"}; static struct {unsigned f; char r[12];} string43 = {720908, "BlackOnGrey"}; static struct {unsigned f; char r[16];} string44 = {786448, "BlackOnWhite\000\000\000"}; static struct {unsigned f; char r[20];} string45 = {1048596, "Usage: XTSetter \000\000\000"}; static struct {unsigned f; char r[124];} string46 = {7864444, "[]\012Create a viewer to print things on an XNS based printer.\012Arguments:\012\011 Print on that service\000\000\000"}; static struct {unsigned f; char r[8];} string47 = {327688, "Quoth\000\000"}; static struct {unsigned f; char r[12];} string48 = {524300, "Compress\000\000\000"}; static struct {unsigned f; char r[8];} string49 = {393224, "KeepIP\000"}; static struct {unsigned f; char r[8];} string50 = {393224, "Scale:\000"}; static struct {unsigned f; char r[8];} string51 = {393224, "Style:\000"}; static struct {unsigned f; char r[8];} string52 = {393224, "Staple\000"}; static struct {unsigned f; char r[8];} string53 = {458760, "2-sided"}; static struct {unsigned f; char r[8];} string54 = {458760, "Copies:"}; static struct {unsigned f; char r[8];} string55 = {327688, "Page:\000\000"}; static struct {unsigned f; char r[4];} string56 = {196612, "To:"}; static struct {unsigned f; char r[8];} string57 = {393224, "Paper:\000"}; static struct {unsigned f; char r[8];} string58 = {458760, "Device:"}; static struct {unsigned f; char r[8];} string59 = {327688, "Quill\000\000"}; static struct {unsigned f; char r[12];} string60 = {720908, "TimsPrinter"}; static struct {unsigned f; char r[16];} string61 = {983056, "XTSetter.KeepIP"}; static struct {unsigned f; char r[16];} string62 = {917520, "XTSetter.Style\000"}; static struct {unsigned f; char r[16];} string63 = {983056, "XTSetter.Device"}; static struct {unsigned f; char r[24];} string64 = {1441816, "XTSetter.UsePressFonts\000"}; static struct {unsigned f; char r[8];} string65 = {327688, "press\000\000"}; static struct {unsigned f; char r[20];} string66 = {1179668, "XTSetter.StyleList\000"}; static struct {unsigned f; char r[12];} string67 = {655372, "33UpLabels\000"}; static struct {unsigned f; char r[12];} string68 = {524300, "CedarACM\000\000\000"}; static struct {unsigned f; char r[16];} string69 = {786448, "BlueAndWhite\000\000\000"}; static struct {unsigned f; char r[16];} string70 = {851984, "AnacapaSlides\000\000"}; static struct {unsigned f; char r[16];} string71 = {786448, "AnacapaCedar\000\000\000"}; static struct {unsigned f; char r[16];} string72 = {917520, "TwoColumnCedar\000"}; static struct {unsigned f; char r[24];} string73 = {1507352, "TwoColumnLandscapeCedar"}; static struct {unsigned f; char r[8];} string74 = {393224, "Slides\000"}; static struct {unsigned f; char r[20];} string75 = {1245204, "XTSetter.DeviceList"}; static struct {unsigned f; char r[8];} string76 = {458760, "anacapa"}; static struct {unsigned f; char r[4];} string77 = {196612, "xcc"}; static struct {unsigned f; char r[28];} string78 = {1572892, "XTSetter.PrinterVersions\000\000\000"}; static struct {unsigned f; char r[12];} string79 = {524300, "Spooler:\000\000\000"}; static struct {unsigned f; char r[12];} string80 = {720908, "Available "}; static struct {unsigned f; char r[12];} string81 = {655372, "Formatter:\000"}; static struct {unsigned f; char r[12];} string82 = {655372, "Available \000"}; static struct {unsigned f; char r[16];} string83 = {983056, "Marking engine:"}; static struct {unsigned f; char r[20];} string84 = {1114132, "NeedsKeyOperator \000\000"}; static struct {unsigned f; char r[4];} string85 = {65540, "?\000\000"}; static struct {unsigned f; char r[28];} string86 = {1638428, "Problem with printer: %g\012\000\000"}; static struct {unsigned f; char r[4];} string87 = {65540, ",\000\000"}; static struct {unsigned f; char r[12];} string88 = {589836, "available\000\000"}; static struct {unsigned f; char r[8];} string89 = {262152, "busy\000\000\000"}; static struct {unsigned f; char r[8];} string90 = {458760, "3.0-PGS"}; static struct {unsigned f; char r[8];} string91 = {262152, "STOP\000\000\000"}; static struct {unsigned f; char r[8];} string92 = {458760, "Sending"}; static struct {unsigned f; char r[24];} string93 = {1507352, "Status of %g: %g -> %g\012"}; static struct {unsigned f; char r[8];} string94 = {458760, "%g: %g\012"}; static struct {unsigned f; char r[24];} string95 = {1376280, "XTSViewerPositionInfo\000\000"}; static struct {unsigned f; char r[8];} string96 = {393224, "Zipper\000"}; static struct {unsigned f; char r[8];} string97 = {393224, "3.0-CS\000"}; static struct {unsigned f; char r[12];} string98 = {589836, "Perfector\000\000"}; static struct {unsigned f; char r[12];} string99 = {589836, " DEFAULT \000\000"}; static struct {unsigned f; char r[4];} string100 = {131076, "[s\000"}; static struct {unsigned f; char r[8];} string101 = {458760, "Failure"}; static struct {unsigned f; char r[16];} string102 = {917520, "XTSetter.icons\000"}; static struct {unsigned f; char r[8];} string103 = {458760, "2.1-RLS"}; static struct {unsigned f; char r[8];} string104 = {458760, "Scripto"}; static struct {unsigned f; char r[12];} string105 = {589836, "Papermate\000\000"}; static struct {unsigned f; char r[4];} string106 = {196612, "1.0"}; static struct {unsigned f; char r[16];} string107 = {851984, "\257\300\063\243\026\261\300\116\363\204\366\100\200\000\000"}; static struct {unsigned f; char r[28];} string108 = {1703962, "\006\011\024\001\030\001\034\001\040\001\044\001\050\001\054\001\074\001\100\240\010\000\004\100\124\001\000"}; static struct {unsigned f; char r[16];} string109 = {851984, "\257\300\061\070\246\330\300\204\123\076\053\100\150\000\000"}; static struct {unsigned f; char r[16];} string110 = {851984, "\257\300\271\262\125\170\300\162\064\273\376\100\150\000\000"}; static struct {unsigned f; char r[16];} string111 = {851984, "\257\300\254\030\332\131\300\213\154\253\301\100\150\000\000"}; static struct {unsigned f; char r[16];} string112 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"}; static struct {unsigned f; char r[16];} string113 = {851984, "\257\300\176\323\376\273\300\203\041\251\010\100\150\000\000"}; static struct {unsigned f; char r[16];} string114 = {851984, "\257\300\255\053\300\023\300\142\135\315\105\100\150\000\000"}; static struct {unsigned f; char r[16];} string115 = {851984, "\257\300G%\013_\300`#|\374@h\000\000"}; static struct {unsigned f; char r[16];} string116 = {851984, "\257\300\031\357\041\010\300\216\301\043\377\100\150\000\000"}; static struct {unsigned f; char r[16];} string117 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"}; static struct {unsigned f; char r[16];} string118 = {851984, "\257\300\011\021\311\300\300\132\131\043\377\100\150\000\000"}; static struct {unsigned f; char r[16];} string119 = {851984, "\257\300\317\042\141\053\300\247\142\073\274\100\150\000\000"}; static struct {unsigned f; char r[16];} string120 = {851984, "\257\300\141\260\110\353\300\162\250\066\353\100\150\000\000"}; static struct {unsigned f; char r[16];} string121 = {851984, "\257\300\262\273\312\107\300\263\011\337\010\100\150\000\000"}; static struct {unsigned f; char r[16];} string122 = {851984, "\257\300\346\240\101\312\300\362\270\362\345\100\150\000\000"}; static struct {unsigned f; char r[16];} string123 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string124 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string125 = {851984, "\257\300\255\220\043\324\300\140\002\100\200\100\150\000\000"}; static struct {unsigned f; char r[16];} string126 = {851984, "\257\300\117\004\011\134\300\015\100\060\362\100\150\000\000"}; static struct {unsigned f; char r[16];} string127 = {851984, "\257\300\072\337\114\355\300\232\070\352\142\100\150\000\000"}; static struct {unsigned f; char r[16];} string128 = {851984, "\257\300\320\311\235\120\300\167\152\340\132\100\150\000\000"}; static struct {unsigned f; char r[16];} string129 = {851984, "\257\300\134\353\367\206\300\202\044\112\356\100\150\000\000"}; static struct {unsigned f; char r[16];} string130 = {851984, "\257\300\307\064\200\136\300\211\002\312\172\100\150\000\000"}; static struct {unsigned f; char r[16];} string131 = {851984, "\257\300\254\253\350\355\300\233\126\335\104\100\150\000\000"}; static struct {unsigned f; char r[16];} string132 = {851984, "\257\300\354\332\367\333\300\361\203\205\173\100\150\000\000"}; static struct {unsigned f; char r[16];} string133 = {851984, "\257\300\045\005\337\143\300\252\356\334\244\100\150\000\000"}; static struct {unsigned f; char r[16];} string134 = {851984, "\257\300\332\340\311\370\300\226\134\357\055\100\150\000\000"}; static struct {unsigned f; char r[16];} string135 = {851984, "\257\300\306\227\367\035\300\335\164\342\360\100\150\000\000"}; static struct {unsigned f; char r[16];} string136 = {851984, "\257\300\025\111\264\003\300\120\101\002\231\100\150\000\000"}; static struct {unsigned f; char r[16];} string137 = {851984, "\257\300\267\042\202\002\300\227\171\261\041\100\150\000\000"}; static struct {unsigned f; char r[8];} string138 = {1481921381, "tter"}; static struct {unsigned f; char r[16];} string139 = {851984, "\257\300\250\170\135\274\300\073\343\245\166\100\164\000\000"}; static struct {unsigned f; char r[24];} string140 = {1310744, "\211\010\007\124\157\157\154\122\145\160\300\250\170\135\274\300\073\343\245\166\000\000\000"}; static struct {unsigned f; char r[16];} string141 = {851984, "\257\300\307\354\363\163\300\374\037\154\341\100\150\000\000"}; static struct { word f0[125]; word f125; word f126; word f127; word f128; word f129; word f130; word f131; word f132; word f133; word f134; word f135; word f136; word f137; word f138; word f139; word f140; word f141; word f142; word f143; word f144; word f145; word f146; word f147; word f148; word f149; word f150; word f151; word f152; word f153; word f154; word f155; word f156; word f157; word f158; word f159; word f160; word f161; word f162; word f163; word f164; word f165; word f166; word f167; word f168; word f169; word f170; word f171; word f172; word f173; word f174; word f175; word f176; word f177; word f178; word f179; word f180; word f181; word f182; word f183; word f184; word f185; word f186; word f187; word f188; word f189; word f190; word f191; word f192; word f193; word f194; word f195; word f196; word f197; word f198; word f199; word f200; word f201; word f202; word f203; word f204; word f205; word f206; word f207; word f208; word f209; word f210; word f211; word f212; word f213; word f214; word f215; word f216; word f217; word f218; word f219; word f220; word f221; word f222; word f223; word f224; word f225; word f226; word f227; word f228; word f229; word f230; word f231; word f232; word f233; word f234[33]; } globalframe = { {0}, (word) Init_P3300, 0, (word) NewUser_P3240, 0, (word) NewProfile_P3180, 0, (word) XTSetterCommand_P3120, 0, (word) DefinePrinterVersions_P3060, 0, (word) SetupPrinterVersion_P3000, 0, (word) RedisplayTool_P2880, 0, (word) XTSViewerAdjust_P2820, 0, (word) PlaceChild_P2760, 0, (word) PrintStatusUpdate_P2700, 0, (word) SetSendingStatus_P2640, 0, (word) StopButtonProc_P2580, 0, (word) ResizeStatusContainer_P2520, 0, (word) CreateStatusReport_P2460, 0, (word) ServerStatusWatcher_P2400, 0, (word) DestroyServerStatusViewer_P2340, 0, (word) CreateServerStatusViewer_P2280, 0, (word) DefaultOptionsFromProfile_P2220, 0, (word) DefaultOptions_P2160, 0, (word) SetOptions_P2100, 0, (word) GetOptionsInternal_P2040, 0, (word) GetOptions_P1980, 0, (word) DestroyOptionsViewer_P1920, 0, (word) CreateOptionsViewer_P1860, 0, (word) ClickCompress_P1800, 0, (word) ClickRopeButton_P1740, 0, (word) SetRopeButton_P1680, 0, (word) GetRopeButton_P1620, 0, (word) CreateRopeButton_P1560, 0, (word) ClickRealButton_P1500, 0, (word) SetRealButton_P1440, 0, (word) GetRealButton_P1380, 0, (word) CreateRealButton_P1320, 0, (word) ClickIntButton_P1260, 0, (word) SetIntButton_P1200, 0, (word) GetIntButton_P1140, 0, (word) CreateIntButton_P1080, 0, (word) SetBoolButton_P1020, 0, (word) GetBoolButton_P960, 0, (word) ClickBoolButton_P900, 0, (word) CreateBoolButton_P840, 0, (word) ServerStatusButton_P780, 0, (word) OptionsButton_P720, 0, (word) PrintButton_P660, 0, (word) ColorScreenButton_P600, 0, (word) RightScreenButton_P540, 0, (word) ScreenButton_P480, 0, (word) LeftScreenButton_P420, 0, (word) NewButton_P360, 0, (word) DestroyTool_P300, 0, (word) GetLabel_P240, 0, (word) CreateViewer_P180, 0, (word) NewTool_P120, 0, (word) GetTool_P60, 0, (word) XTSetterImpl_P0, {0} }; static void NoName_Q5892() { register ptr gf_c0719 = (ptr) &globalframe; word var_c64700; (* (( (ptr) gf_c0719)+16) ) = (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf_c0719)+17) ) = (word) XR_GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf_c0719)+19) ) = (word) XR_GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf_c0719)+23) ) = (word) XR_GetTypeIndex((word) &string7, 0, (word) &string8); (* (( (ptr) gf_c0719)+24) ) = (word) XR_GetTypeIndexS((word) (&string9)); (* (( (ptr) gf_c0719)+25) ) = (word) XR_GetTypeIndex((word) &string10, 0, (word) &string11); (* (( (ptr) gf_c0719)+26) ) = (word) XR_GetTypeIndexS((word) (&string12)); (* (( (ptr) gf_c0719)+27) ) = (word) XR_GetTypeIndex((word) &string13, 0, (word) &string14); (* (( (ptr) gf_c0719)+29) ) = (word) XR_GetTypeIndex((word) &string15, 0, (word) &string16); (* (( (ptr) gf_c0719)+30) ) = (word) XR_GetTypeIndex((word) &string17, 0, (word) &string18); (* (( (ptr) gf_c0719)+31) ) = (word) XR_GetTypeIndex((word) &string19, 0, (word) &string20); (* (( (ptr) gf_c0719)+32) ) = (word) XR_GetTypeIndex((word) &string21, 0, (word) &string20); (* (( (ptr) gf_c0719)+34) ) = (word) XR_GetTypeIndex((word) &string22, 0, (word) &string20); (* (( (ptr) gf_c0719)+39) ) = (word) XR_GetTypeIndex((word) &string23, 0, (word) &string6); (* (ptr) (( (bPt) gf_c0719)+160) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string24); (* (ptr) (( (bPt) gf_c0719)+164) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string25); (* (ptr) (( (bPt) gf_c0719)+168) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string26); (* (ptr) (( (bPt) gf_c0719)+172) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string27); (* (ptr) (( (bPt) gf_c0719)+176) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string28); (* (ptr) (( (bPt) gf_c0719)+180) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string29); (* (ptr) (( (bPt) gf_c0719)+184) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string30); (* (ptr) (( (bPt) gf_c0719)+188) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string31); (* (ptr) (( (bPt) gf_c0719)+192) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string32); (* (ptr) (( (bPt) gf_c0719)+196) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string33); (* (ptr) (( (bPt) gf_c0719)+200) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string34); (* (ptr) (( (bPt) gf_c0719)+204) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string35); (* (ptr) (( (bPt) gf_c0719)+208) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string36); (* (ptr) (( (bPt) gf_c0719)+212) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string37); (* (ptr) (( (bPt) gf_c0719)+216) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string38); (* (ptr) (( (bPt) gf_c0719)+220) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string39); (* (ptr) (( (bPt) gf_c0719)+224) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string40); (* (ptr) (( (bPt) gf_c0719)+228) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string41); (* (ptr) (( (bPt) gf_c0719)+232) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string42); (* (ptr) (( (bPt) gf_c0719)+236) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string43); (* (ptr) (( (bPt) gf_c0719)+240) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string44); (* (ptr) (( (bPt) gf_c0719)+244) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string45); (* (ptr) (( (bPt) gf_c0719)+248) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string46); (* (ptr) (( (bPt) gf_c0719)+252) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string47); (* (ptr) (( (bPt) gf_c0719)+256) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string48); (* (ptr) (( (bPt) gf_c0719)+260) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string49); (* (ptr) (( (bPt) gf_c0719)+264) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string50); (* (ptr) (( (bPt) gf_c0719)+268) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string51); (* (ptr) (( (bPt) gf_c0719)+272) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string52); (* (ptr) (( (bPt) gf_c0719)+276) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string53); (* (ptr) (( (bPt) gf_c0719)+280) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string54); (* (ptr) (( (bPt) gf_c0719)+284) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string55); (* (ptr) (( (bPt) gf_c0719)+288) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string56); (* (ptr) (( (bPt) gf_c0719)+292) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string57); (* (ptr) (( (bPt) gf_c0719)+296) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string58); (* (ptr) (( (bPt) gf_c0719)+300) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string59); (* (ptr) (( (bPt) gf_c0719)+304) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string60); (* (ptr) (( (bPt) gf_c0719)+308) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string61); (* (ptr) (( (bPt) gf_c0719)+312) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string62); (* (ptr) (( (bPt) gf_c0719)+316) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string63); (* (ptr) (( (bPt) gf_c0719)+320) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string64); (* (ptr) (( (bPt) gf_c0719)+324) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string65); (* (ptr) (( (bPt) gf_c0719)+328) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string66); (* (ptr) (( (bPt) gf_c0719)+332) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string67); (* (ptr) (( (bPt) gf_c0719)+336) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string68); (* (ptr) (( (bPt) gf_c0719)+340) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string69); (* (ptr) (( (bPt) gf_c0719)+344) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string70); (* (ptr) (( (bPt) gf_c0719)+348) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string71); (* (ptr) (( (bPt) gf_c0719)+352) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string72); (* (ptr) (( (bPt) gf_c0719)+356) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string73); (* (ptr) (( (bPt) gf_c0719)+360) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string74); (* (ptr) (( (bPt) gf_c0719)+364) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string75); (* (ptr) (( (bPt) gf_c0719)+368) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string76); (* (ptr) (( (bPt) gf_c0719)+372) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string77); (* (ptr) (( (bPt) gf_c0719)+376) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string78); (* (ptr) (( (bPt) gf_c0719)+380) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string79); (* (ptr) (( (bPt) gf_c0719)+384) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string80); (* (ptr) (( (bPt) gf_c0719)+388) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string81); (* (ptr) (( (bPt) gf_c0719)+392) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string82); (* (ptr) (( (bPt) gf_c0719)+396) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string83); (* (ptr) (( (bPt) gf_c0719)+400) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string84); (* (ptr) (( (bPt) gf_c0719)+404) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string85); (* (ptr) (( (bPt) gf_c0719)+408) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string86); (* (ptr) (( (bPt) gf_c0719)+412) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string87); (* (ptr) (( (bPt) gf_c0719)+416) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string88); (* (ptr) (( (bPt) gf_c0719)+420) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string89); (* (ptr) (( (bPt) gf_c0719)+424) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string90); (* (ptr) (( (bPt) gf_c0719)+428) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string91); (* (ptr) (( (bPt) gf_c0719)+432) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string92); (* (ptr) (( (bPt) gf_c0719)+436) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string93); (* (ptr) (( (bPt) gf_c0719)+440) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string94); (* (ptr) (( (bPt) gf_c0719)+444) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string95); (* (ptr) (( (bPt) gf_c0719)+448) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string96); (* (ptr) (( (bPt) gf_c0719)+452) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string97); (* (ptr) (( (bPt) gf_c0719)+456) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string98); (* (ptr) (( (bPt) gf_c0719)+460) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string99); (* (ptr) (( (bPt) gf_c0719)+464) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string100); (* (ptr) (( (bPt) gf_c0719)+468) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+39) ), (word) &string101); (* (ptr) (( (bPt) gf_c0719)+472) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string102); (* (ptr) (( (bPt) gf_c0719)+476) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string103); (* (ptr) (( (bPt) gf_c0719)+480) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string104); (* (ptr) (( (bPt) gf_c0719)+484) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string105); (* (ptr) (( (bPt) gf_c0719)+488) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string106); (* (ptr) (( (bPt) gf_c0719)+492) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0719)+19) ), (word) &string24); (void) XR_DeclareGlobalFrame((word) "XTSetterImpl", &globalframe, (word) XR_GetTypeIndex((word) &string107, 0, (word) &string108) , (word) (( (bPt) gf_c0719)+932)/* var_c58908 */ ); var_c64700 = (word) XR_ImportInterface((word) "Args", (word) XR_GetTypeIndexS((word) (&string109)), 10); (* (( (ptr) gf_c0719)+261)/* var_c64092 */ ) = var_c64700; (void) XR_ImportProc(var_c64700, 8, 360, 12, 3); var_c64700 = (word) XR_ImportInterface((word) "Buttons", (word) XR_GetTypeIndexS((word) (&string110)), 4); (* (( (ptr) gf_c0719)+247)/* var_c60188 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 787203); (void) XR_ImportProcS(var_c64700, 76283912); var_c64700 = (word) XR_ImportInterface((word) "ChoiceButtons", (word) XR_GetTypeIndexS((word) (&string111)), 9); (* (( (ptr) gf_c0719)+252)/* var_c61436 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 786947); (void) XR_ImportProcS(var_c64700, 67371265); (void) XR_ImportProcS(var_c64700, 70516749); var_c64700 = (word) XR_ImportInterface((word) "Commander", (word) XR_GetTypeIndexS((word) (&string112)), 3); (* (( (ptr) gf_c0719)+264)/* var_c64572 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 1310725); var_c64700 = (word) XR_ImportInterface((word) "Containers", (word) XR_GetTypeIndexS((word) (&string113)), 5); (* (( (ptr) gf_c0719)+250)/* var_c60988 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 74711042); var_c64700 = (word) XR_ImportInterface((word) "Convert", (word) XR_GetTypeIndexS((word) (&string114)), 73); (* (( (ptr) gf_c0719)+248)/* var_c60412 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67902211); (void) XR_ImportProcS(var_c64700, 67373057); (void) XR_ImportProcS(var_c64700, 67901187); (void) XR_ImportProcS(var_c64700, 67634690); var_c64700 = (word) XR_ImportInterface((word) "FileDWIM", (word) XR_GetTypeIndexS((word) (&string115)), 1); (* (( (ptr) gf_c0719)+246)/* var_c60060 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 269484036); var_c64700 = (word) XR_ImportInterface((word) "Icons", (word) XR_GetTypeIndexS((word) (&string116)), 3); (* (( (ptr) gf_c0719)+262)/* var_c64316 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67633666); var_c64700 = (word) XR_ImportInterface((word) "IO", (word) XR_GetTypeIndexS((word) (&string117)), 103); (* (( (ptr) gf_c0719)+239)/* var_c59292 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 1071364); (void) XR_ImportProcS(var_c64700, 1063171); (void) XR_ImportProcS(var_c64700, 267521); (void) XR_ImportProcS(var_c64700, 2111493); var_c64700 = (word) XR_ImportInterface((word) "Labels", (word) XR_GetTypeIndexS((word) (&string118)), 4); (* (( (ptr) gf_c0719)+256)/* var_c62556 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 787203); (void) XR_ImportProcS(var_c64700, 786947); (void) XR_ImportProcS(var_c64700, 74973187); var_c64700 = (word) XR_ImportInterface((word) "Menus", (word) XR_GetTypeIndexS((word) (&string119)), 21); (* (( (ptr) gf_c0719)+240)/* var_c59516 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 788483); (void) XR_ImportProcS(var_c64700, 68682246); (void) XR_ImportProcS(var_c64700, 67371009); var_c64700 = (word) XR_ImportInterface((word) "PFS", (word) XR_GetTypeIndexS((word) (&string120)), 40); (* (( (ptr) gf_c0719)+245)/* var_c59996 */ ) = var_c64700; var_c64700 = (word) XR_ImportInterface((word) "PieViewers", (word) XR_GetTypeIndexS((word) (&string121)), 2); (* (( (ptr) gf_c0719)+258)/* var_c63228 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 524546); (void) XR_ImportProcS(var_c64700, 68681734); var_c64700 = (word) XR_ImportInterface((word) "PrintingP4V3Aux", (word) XR_GetTypeIndexS((word) (&string122)), 32); (* (( (ptr) gf_c0719)+257)/* var_c62940 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67634690); (void) XR_ImportProcS(var_c64700, 67635970); (void) XR_ImportProcS(var_c64700, 67639042); (void) XR_ImportProcS(var_c64700, 67636482); var_c64700 = (word) XR_ImportInterface((word) "Process", (word) XR_GetTypeIndexS((word) (&string123)), 22); (* (( (ptr) gf_c0719)+255)/* var_c62492 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67371777); (void) XR_ImportProcS(var_c64700, 525570); (void) XR_ImportProcS(var_c64700, 526081); var_c64700 = (word) XR_ImportInterface((word) "Rope", (word) XR_GetTypeIndexS((word) (&string124)), 43); (* (( (ptr) gf_c0719)+235)/* var_c59004 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 68419845); (void) XR_ImportProcS(var_c64700, 67900419); (void) XR_ImportProcS(var_c64700, 67373569); (void) XR_ImportProcS(var_c64700, 68158980); (void) XR_ImportProcS(var_c64700, 67898627); (void) XR_ImportProcS(var_c64700, 67896323); (void) XR_ImportProcS(var_c64700, 67373313); (void) XR_ImportProcS(var_c64700, 67633666); var_c64700 = (word) XR_ImportInterface((word) "RopeList", (word) XR_GetTypeIndexS((word) (&string125)), 15); (* (( (ptr) gf_c0719)+251)/* var_c61372 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67372545); (void) XR_ImportProcS(var_c64700, 67895555); var_c64700 = (word) XR_ImportInterface((word) "Rules", (word) XR_GetTypeIndexS((word) (&string126)), 3); (* (( (ptr) gf_c0719)+253)/* var_c61564 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 74973187); var_c64700 = (word) XR_ImportInterface((word) "SymTab", (word) XR_GetTypeIndexS((word) (&string127)), 13); (* (( (ptr) gf_c0719)+260)/* var_c63996 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67896835); (void) XR_ImportProcS(var_c64700, 67633410); (void) XR_ImportProcS(var_c64700, 134742786); var_c64700 = (word) XR_ImportInterface((word) "TypeScript", (word) XR_GetTypeIndexS((word) (&string128)), 25); (* (( (ptr) gf_c0719)+241)/* var_c59644 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 74711042); var_c64700 = (word) XR_ImportInterface((word) "UserProfile", (word) XR_GetTypeIndexS((word) (&string129)), 11); (* (( (ptr) gf_c0719)+254)/* var_c62044 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 264193); (void) XR_ImportProcS(var_c64700, 67633922); (void) XR_ImportProcS(var_c64700, 67633666); (void) XR_ImportProcS(var_c64700, 67633154); var_c64700 = (word) XR_ImportInterface((word) "ViewerIO", (word) XR_GetTypeIndexS((word) (&string130)), 5); (* (( (ptr) gf_c0719)+238)/* var_c59164 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 135528453); (void) XR_ImportProcS(var_c64700, 67109376); var_c64700 = (word) XR_ImportInterface((word) "ViewerLocks", (word) XR_GetTypeIndexS((word) (&string131)), 9); (* (( (ptr) gf_c0719)+259)/* var_c63356 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 524290); var_c64700 = (word) XR_ImportInterface((word) "ViewerOps", (word) XR_GetTypeIndexS((word) (&string132)), 43); (* (( (ptr) gf_c0719)+237)/* var_c59100 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 524290); (void) XR_ImportProcS(var_c64700, 67639554); (void) XR_ImportProcS(var_c64700, 792579); (void) XR_ImportProcS(var_c64700, 1575430); (void) XR_ImportProcS(var_c64700, 1319173); (void) XR_ImportProcS(var_c64700, 527106); (void) XR_ImportProcS(var_c64700, 1051652); (void) XR_ImportProcS(var_c64700, 793603); (void) XR_ImportProcS(var_c64700, 74973699); (void) XR_ImportProcS(var_c64700, 267521); var_c64700 = (word) XR_ImportInterface((word) "ViewerTools", (word) XR_GetTypeIndexS((word) (&string133)), 12); (* (( (ptr) gf_c0719)+242)/* var_c59676 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 524802); (void) XR_ImportProcS(var_c64700, 788227); (void) XR_ImportProcS(var_c64700, 67372545); (void) XR_ImportProcS(var_c64700, 74711298); (void) XR_ImportProcS(var_c64700, 67109632); (void) XR_ImportProcS(var_c64700, 67109888); (void) XR_ImportProcS(var_c64700, 264705); var_c64700 = (word) XR_ImportInterface((word) "VFonts", (word) XR_GetTypeIndexS((word) (&string134)), 8); (* (( (ptr) gf_c0719)+249)/* var_c60892 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 67634178); (void) XR_ImportProcS(var_c64700, 67633922); var_c64700 = (word) XR_ImportInterface((word) "WindowManager", (word) XR_GetTypeIndexS((word) (&string135)), 7); (* (( (ptr) gf_c0719)+244)/* var_c59868 */ ) = var_c64700; var_c64700 = (word) XR_ImportInterface((word) "XNSCredentials", (word) XR_GetTypeIndexS((word) (&string136)), 5); (* (( (ptr) gf_c0719)+263)/* var_c64540 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 525314); var_c64700 = (word) XR_ImportInterface((word) "XNSPrint", (word) XR_GetTypeIndexS((word) (&string137)), 29); (* (( (ptr) gf_c0719)+236)/* var_c59068 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 265473); (void) XR_ImportProcS(var_c64700, 335807745); (void) XR_ImportProcS(var_c64700, 268698625); (void) XR_ImportProcS(var_c64700, 67373057); var_c64700 = (word) XR_ImportInterface((word) &string138, (word) XR_GetTypeIndexS((word) (&string139)), 20); (* (( (ptr) gf_c0719)+243)/* var_c59836 */ ) = var_c64700; (void) XR_ImportProcS(var_c64700, 940049922); (void) XR_ImportProcS(var_c64700, 790019); (void) XR_ImportProcS(var_c64700, 789763); (void) XR_ImportProcS(var_c64700, 790275); var_c64700 = (word) XR_ExportInterface((word) &string138, (word) XR_GetTypeIndexS((word) (&string139)), 20); (* (( (ptr) gf_c0719)+265)/* var_c64732 */ ) = var_c64700; (void) XR_ExportType((word) "ToolRep", (word) XR_GetTypeIndexS((word) (&string140)), (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2) ); (void) XR_ExportVar(var_c64700, 1, (word) (( (bPt) gf_c0719)+496)/* var_c57148 */ ); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+924)/* var_c58876 */ , 67633666); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+892)/* var_c58748 */ , 262913); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+644)/* var_c57756 */ , 67109888); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+668)/* var_c57852 */ , 67634434); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+652)/* var_c57788 */ , 526082); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+684)/* var_c57916 */ , 264449); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+676)/* var_c57884 */ , 264705); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+628)/* var_c57692 */ , 264961); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+620)/* var_c57660 */ , 265217); var_c64700 = (word) XR_ExportInterface((word) "XTSetterPrivate", (word) XR_GetTypeIndexS((word) (&string141)), 5); (* (( (ptr) gf_c0719)+266)/* var_c64764 */ ) = var_c64700; (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+660)/* var_c57820 */ , 67633154); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+604)/* var_c57596 */ , 67633410); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+596)/* var_c57564 */ , 262657); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+580)/* var_c57500 */ , 262913); (void) XR_ExportProcS(var_c64700, (word) (( (bPt) gf_c0719)+572)/* var_c57468 */ , 525314); } static void XTSetterImpl_P0(formal_c0136, formal_c0133) word formal_c0136; word formal_c0133; { register ptr gf_c64796 = (ptr) &globalframe; /* XTSetterImpl: */ SOURCE(1919, 34260) SOURCE(3005, 18) { word var_c58940; word var_c58972; var_c58940 = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = var_c58940; (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+63) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+106) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+75) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+106) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+76) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+106) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+112) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+113) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+114) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+119) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+120) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+122) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+121) ); (* (( (ptr) var_c58972)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c64796)+17) )); var_c58972 = (* (( (ptr) var_c58972)+1) ); (* (ptr) var_c58972 ) = (* (( (ptr) gf_c64796)+122) ); (* (( (ptr) gf_c64796)+11)/* standardVersions_v4428 */ ) = var_c58940; }; SOURCE(8906, 20) (* (( (ptr) gf_c64796)+12)/* entryHSpace_v4876 */ ) = 6; SOURCE(8928, 21) (* (( (ptr) gf_c64796)+13)/* entryVSpace_v4904 */ ) = 16; SOURCE(8951, 17) (* (( (ptr) gf_c64796)+14)/* textFuzz_v4932 */ ) = 1; SOURCE(34491, 56) { word pd142; pd142 = (* (( (ptr) (* (( (ptr) gf_c64796)+235)/* var_c59004 */ ))+6) ); (* (( (ptr) gf_c64796)+15)/* cmdUsage_v6108 */ ) = (word) ( *( (fPt) ((* (ptr) pd142 ))))((* (( (ptr) gf_c64796)+61) ), (* ( ( (ptr) gf_c64796)+62) ), pd142); }; SOURCE(36173, 6) (void) Init_P3300(); } static word GetTool_P60(formal_c0907, new_v6796) word formal_c0907; word new_v6796; { W8 var_c64828; /* declaration of printer_v6768 skipped */ register ptr gf_c64860 = (ptr) &globalframe; /* declaration of tool_v6840 skipped */ /* declaration of var_c59036 skipped */ var_c64828.f4/* printer_v6768 */ = formal_c0907; /* GetTool: */ SOURCE(3266, 31410) { word tmpAddr143; tmpAddr143 = (word) (( (ptr) &var_c64828)+6)/* var_c59036 */ ; (* (ptr) tmpAddr143 ) = ( ((word) (fPt) LookUpTool_P3360) ); (* (( (ptr) tmpAddr143) + 1) ) = 1; }; SOURCE(3266, 31410) var_c64828.f5/* tool_v6840 */ = 0; SOURCE(3530, 31146) { word pd144; pd144 = (* (( (ptr) (* (( (ptr) gf_c64860)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd144 ))))(var_c64828.f4/* printer_v6768 */ , pd144))) { SOURCE(3560, 31116) { word pd145; pd145 = (* (( (ptr) (* (( (ptr) gf_c64860)+236)/* var_c59068 */ ))+12) ); var_c64828.f4/* printer_v6768 */ = (* (( (ptr) ( *( (fPt) ((* (ptr) pd145 ))))(0, pd145))+5) ); }; }; }; SOURCE(3606, 51) if ((0 == new_v6796)) { SOURCE(3619, 38) { word pd146; pd146 = (* (( (ptr) (* (( (ptr) gf_c64860)+237)/* var_c59100 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd146 ))))((word) ((( (bPt) &var_c64828)+24)/* var_c59036 */ ), pd146); }; }; SOURCE(3687, 30989) if ((var_c64828.f5/* tool_v6840 */ == 0)) { SOURCE(3704, 30972) { word var_c59132; { word pd147; pd147 = (* (( (ptr) (* (( (ptr) gf_c64860)+238)/* var_c59164 */ ))+6) ); var_c59132 = (word) ( *( (fPt) ((* (ptr) pd147 ))))(pd147); }; var_c64828.f5/* tool_v6840 */ = (word) NewTool_P120(var_c64828.f4/* printer_v6768 */ , var_c59132); }; }; SOURCE(3266, 31410) return(var_c64828.f5/* tool_v6840 */ ); } static word LookUpTool_P3360(v_v45936, formal_c64924) word v_v45936; word formal_c64924; { register ptr gf_c64892 = (ptr) &globalframe; word var_c45980; formal_c64924 = (formal_c64924 - 24); /* LookUpTool: */ SOURCE(3359, 31317) SOURCE(3359, 31317) var_c45980 = 1; SOURCE(3394, 31282) { word pd149; if (((* (ptr) v_v45936 ) != (* (( (ptr) gf_c64892)+5)/* xTSViewerClass_v4260 */ ))) { goto then0148;}; if ((* (( (bPt) v_v45936)+77) ) & 0100) { goto then0148;}; pd149 = (* (( (ptr) (* (( (ptr) gf_c64892)+235)/* var_c59004 */ ))+8) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd149 ))))((* (( (ptr) v_v45936)+13) ), (* (( (ptr) formal_c64924)+4) ), 1, pd149) )) { then0148: ; SOURCE(3472, 13) return(1); }; }; SOURCE(3487, 22) (* (( (ptr) formal_c64924)+5) ) = XR_Narrow((* (( (ptr) v_v45936)+26) ), (* (( (ptr) gf_c64892)+16) )); SOURCE(3511, 14) return(0); } static word NewTool_P120(formal_c0908, formal_c0909) word formal_c0908; word formal_c0909; { W7 var_c64956; /* declaration of printer_v6900 skipped */ /* declaration of feedBack_v6928 skipped */ /* declaration of tool_v6972 skipped */ var_c64956.f4/* printer_v6900 */ = formal_c0908; var_c64956.f5/* feedBack_v6928 */ = formal_c0909; /* NewTool: */ SOURCE(3771, 30905) SOURCE(3771, 30905) var_c64956.f6/* tool_v6972 */ = 0; SOURCE(3844, 30832) { word var_c0829; var_c0829 = (word) &var_c64956; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q5952) ), ( ((word) (fPt) NoName_Q8292) ), var_c0829); }; SOURCE(3771, 30905) return(var_c64956.f6/* tool_v6972 */ ); } static word NoName_Q5952(formal_c0725) word formal_c0725; { register ptr gf_c0724 = (ptr) &globalframe; SOURCE(4021, 30655) { word var_c59324; var_c59324 = XR_NewObject(152, (* (( (ptr) gf_c0724)+16) )); (* (( (ptr) var_c59324)+4) ) = (* (( (ptr) formal_c0725)+4) ); (* (( (ptr) formal_c0725)+6) ) = var_c59324; }; SOURCE(4068, 30608) { W3 var_c59356; W4 var_c0149; { word pd150; pd150 = (* (( (ptr) (* (( (ptr) gf_c0724)+236)/* var_c59068 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd150 ))))((word) &var_c0149, (* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+4) ), pd150); }; var_c59356 = (* (W3Pt) (( (ptr) &var_c0149)+1) ); (* (W3Pt) (( (ptr) (* (( (ptr) formal_c0725)+6) ))+6) ) = var_c59356; }; SOURCE(4149, 25) (void) SetupPrinterVersion_P3000((* ((( (ptr) formal_c0725)+6)) )); SOURCE(4176, 30500) (* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+11) ) = (word) DefaultOptions_P2160(); SOURCE(4216, 58) (* (( (ptr) (* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+11) ))+1) ) = (* (( (ptr) (* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+5) ))+3) ); SOURCE(4276, 18) (void) CreateViewer_P180((* ((( (ptr) formal_c0725)+6)) )); SOURCE(4346, 30330) { W2 var_c59388; { W2 var_c59420; word v_v57100; v_v57100 = (* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+4) ); var_c59420.f0 = 11; var_c59420.f1 = v_v57100; var_c59388 = var_c59420; }; { word pd151; pd151 = (* (( (ptr) (* (( (ptr) gf_c0724)+239)/* var_c59292 */ ))+61) ); (void) ( *( (fPt) ((* (ptr) pd151 ))))((* (( (ptr) (* (( (ptr) formal_c0725)+6) ))+9) ), (* (( (ptr) gf_c0724)+41) ), var_c59388, pd151) ; }; }; return(0); } static void CreateViewer_P180(formal_c0910) word formal_c0910; { W8 var_c64988; /* declaration of tool_v7032 skipped */ register ptr gf_c65020 = (ptr) &globalframe; /* declaration of var_c59484 skipped */ /* declaration of menu_v11112 skipped */ word typeScript_v11140 = 0; var_c64988.f4/* tool_v7032 */ = formal_c0910; /* CreateViewer: */ SOURCE(4434, 30242) { word tmpAddr152; tmpAddr152 = (word) (( (ptr) &var_c64988)+5)/* var_c59484 */ ; (* (ptr) tmpAddr152 ) = ( ((word) (fPt) AddMenuEntry_P3420) ); (* (( (ptr) tmpAddr152) + 1) ) = 1; }; SOURCE(4791, 37) { word pd153; pd153 = (* (( (ptr) (* (( (ptr) gf_c65020)+240)/* var_c59516 */ ))+4) ); var_c64988.f7/* menu_v11112 */ = (word) ( *( (fPt) ((* (ptr) pd153 ))))(1, pd153); }; SOURCE(4850, 29826) { word var_c59548; var_c59548 = (word) GetLabel_P240(var_c64988.f4/* tool_v7032 */ ); { W28 var_c59580; W30 var_c0159; (* (ptr) (word) &var_c0159 ) = (* (( (ptr) gf_c65020)+40) ); XR_FillWords(&(* (W26Pt) (&var_c59580)), 26, 0); (* (( (ptr) &var_c59580)+13) ) = (* (( (ptr) var_c64988.f4/* tool_v7032 */ )+4) ); (* (( (ptr) &var_c59580)+15) ) = var_c59548; (* (( (ptr) &var_c59580)+17) ) = (word) -1; (* (( (ptr) &var_c59580)+18) ) = 2; (* (( (ptr) &var_c59580)+19) ) = 419430400; (* (( (ptr) &var_c59580)+26) ) = var_c64988.f4/* tool_v7032 */ ; (* (( (ptr) &var_c59580)+27) ) = 27; (* (W28Pt) (( (ptr) (word) &var_c0159) + 1) ) = var_c59580; (* (( (ptr) (word) &var_c0159) + 29) ) = 0; { word pd154; pd154 = (* (( (ptr) (* (( (ptr) gf_c65020)+237)/* var_c59100 */ ))+6) ); (* (( (ptr) var_c64988.f4/* tool_v7032 */ )+10) ) = (word) ( *( (fPt) ((* (ptr) pd154 ))))((word) (&var_c0159), pd154); }; }; }; SOURCE(5065, 54) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+42) ), (word) (( (bPt) gf_c65020)+884)/* var_c58716 */ , 1, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5121, 49) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+43) ), (word) (( (bPt) gf_c65020)+876)/* var_c58684 */ , 0, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5172, 48) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+44) ), (word) (( (bPt) gf_c65020)+868)/* var_c58652 */ , 0, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5222, 50) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+45) ), (word) (( (bPt) gf_c65020)+860)/* var_c58620 */ , 0, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5274, 52) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+46) ), (word) (( (bPt) gf_c65020)+852)/* var_c58588 */ , 0, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5328, 58) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+47) ), (word) (( (bPt) gf_c65020)+844)/* var_c58556 */ , 1, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5388, 62) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+48) ), (word) (( (bPt) gf_c65020)+836)/* var_c58524 */ , 1, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5452, 72) (void) AddMenuEntry_P3420((* (( (ptr) gf_c65020)+49) ), (word) (( (bPt) gf_c65020)+828)/* var_c58492 */ , 1, 0, 0, (word) ( ( (bPt) &var_c64988)+20)/* var_c59484 */ ); SOURCE(5526, 36) { word pd155; pd155 = (* (( (ptr) (* (( (ptr) gf_c65020)+237)/* var_c59100 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd155 ))))((* (( (ptr) var_c64988.f4/* tool_v7032 */ )+10) ), var_c64988.f7/* menu_v11112 */ , 1, pd155) ; }; SOURCE(5564, 29112) { W28 var_c59612; W29 var_c0161; XR_FillWords(&(* (W27Pt) (&var_c59612)), 27, 0); (* (( (ptr) &var_c59612)+3) ) = 9999; (* (( (ptr) &var_c59612)+17) ) = (word) -1; (* (( (ptr) &var_c59612)+18) ) = 1; (* (( (ptr) &var_c59612)+19) ) = 1358954496; (* (( (ptr) &var_c59612)+22) ) = (* (( (ptr) var_c64988.f4/* tool_v7032 */ )+10) ); (* (( (ptr) &var_c59612)+27) ) = 27; (* (W28Pt) (word) &var_c0161 ) = var_c59612; (* (( (ptr) (word) &var_c0161) + 28) ) = 0; { word pd156; pd156 = (* (( (ptr) (* (( (ptr) gf_c65020)+241)/* var_c59644 */ ))+4) ); typeScript_v11140 = (word) ( *( (fPt) ((* (ptr) pd156 ))))((word) (&var_c0161), pd156); }; }; SOURCE(5686, 40) { word pd157; pd157 = (* (( (ptr) (* (( (ptr) gf_c65020)+242)/* var_c59676 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd157 ))))(typeScript_v11140, pd157); }; SOURCE(5728, 74) (void) PlaceChild_P2760(typeScript_v11140, 4, 30, (word) -1); SOURCE(5804, 28872) { word var_c59708; W2 var_c0163; { word pd158; pd158 = (* (( (ptr) (* (( (ptr) gf_c65020)+238)/* var_c59164 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd158 ))))((word) &var_c0163, 0, typeScript_v11140, 0, 1, 0, pd158); }; var_c59708 = var_c0163.f1; (* (( (ptr) var_c64988.f4/* tool_v7032 */ )+9) ) = var_c59708; }; SOURCE(5885, 39) { word pd159; pd159 = (* (( (ptr) (* (( (ptr) gf_c65020)+237)/* var_c59100 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd159 ))))((* (( (ptr) var_c64988.f4/* tool_v7032 */ )+10) ), 0, 1, 0, pd159); }; } static void AddMenuEntry_P3420(name_v11216, proc_v11244, fork_v11272, row_v11300, guardDoc_v11328, formal_c65084) word name_v11216; word proc_v11244; word fork_v11272; word row_v11300; word guardDoc_v11328; word formal_c65084; { register ptr gf_c65052 = (ptr) &globalframe; word menuEntry_v11356; formal_c65084 = (formal_c65084 - 20); /* AddMenuEntry: */ SOURCE(4470, 30206) SOURCE(4593, 148) { word pd160; pd160 = (* (( (ptr) (* (( (ptr) gf_c65052)+240)/* var_c59516 */ ))+6) ); menuEntry_v11356 = (word) ( *( (fPt) ((* (ptr) pd160 ))))(name_v11216, proc_v11244, (* (( (ptr) formal_c65084)+4) ), guardDoc_v11328, fork_v11272, (guardDoc_v11328 != 0), pd160) ; }; SOURCE(4743, 43) { word pd161; pd161 = (* (( (ptr) (* (( (ptr) gf_c65052)+240)/* var_c59516 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd161 ))))((* (( (ptr) formal_c65084)+7) ), menuEntry_v11356, BCK(row_v11300, 5), pd161); }; } static word GetLabel_P240(tool_v7092) word tool_v7092; { register ptr gf_c65116 = (ptr) &globalframe; word label_v7136; word name_v11400; /* GetLabel: */ SOURCE(5930, 28746) SOURCE(5930, 28746) label_v7136 = 0; SOURCE(5984, 29) name_v11400 = (* (( (ptr) tool_v7092)+4) ); SOURCE(6015, 28661) { word var_c59772; { word pd162; pd162 = (* (( (ptr) (* (( (ptr) gf_c65116)+235)/* var_c59004 */ ))+10) ); var_c59772 = (word) ( *( (fPt) ((* (ptr) pd162 ))))(name_v11400, 0, (* (( (ptr) gf_c65116)+50) ), 1, pd162); }; { word pd163; pd163 = (* (( (ptr) (* (( (ptr) gf_c65116)+235)/* var_c59004 */ ))+17) ); return((word) ( *( (fPt) ((* (ptr) pd163 ))))(name_v11400, 0, var_c59772, pd163)); }; }; } static void DestroyTool_P300(formal_c0911) word formal_c0911; { W5 var_c65148; /* declaration of tool_v7196 skipped */ var_c65148.f4/* tool_v7196 */ = formal_c0911; /* DestroyTool: */ SOURCE(6065, 107) (void) (XR_MonitorEntry(var_c65148.f4/* tool_v7196 */ )); SOURCE(6113, 59) { word var_c0830; var_c0830 = (word) &var_c65148; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6012) ), ( ((word) (fPt) NoName_Q8232) ), var_c0830); }; SOURCE(6065, 107) (void) (XR_MonitorExit(var_c65148.f4/* tool_v7196 */ )); return; } static word NoName_Q6012(formal_c0731) word formal_c0731; { register ptr gf_c0730 = (ptr) &globalframe; SOURCE(6136, 36) { word pd164; pd164 = (* (( (ptr) (* (( (ptr) gf_c0730)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd164 ))))((* (( (ptr) (* (( (ptr) formal_c0731)+4) ))+10) ), 1, pd164); }; return(0); } static void NewButton_P360(parent_v43004, clientData_v43032, mouseButton_v43060, shift_v43088, control_v43116) word parent_v43004; word clientData_v43032; word mouseButton_v43060; word shift_v43088; word control_v43116; { W7 var_c65180; register ptr gf_c65212 = (ptr) &globalframe; word tool_v11444; /* declaration of printer_v11472 skipped */ /* NewButton: */ SOURCE(6177, 28499) SOURCE(6207, 31) tool_v11444 = XR_Narrow(clientData_v43032, (* (( (ptr) gf_c65212)+16) )); SOURCE(6240, 50) { word pd165; pd165 = (* (( (ptr) (* (( (ptr) gf_c65212)+242)/* var_c59676 */ ))+8) ); var_c65180.f4/* printer_v11472 */ = (word) ( *( (fPt) ((* (ptr) pd165 ))))(pd165); }; SOURCE(6292, 28384) { word pd166; pd166 = (* (( (ptr) (* (( (ptr) gf_c65212)+235)/* var_c59004 */ ))+13) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd166 ))))(var_c65180.f4/* printer_v11472 */ , pd166))) { SOURCE(6323, 28353) SOURCE(6323, 28353) { word var_c59804; { /* declaration of var_c01 skipped */ var_c65180.f5/* var_c01 */ = (* (( (ptr) tool_v11444)+9) ); { /* declaration of var_c02 skipped */ { word var_c03; { word var_c0831; var_c0831 = (word) &var_c65180; var_c03 = (word) XR_Enable(( ((word) (fPt) NoName_Q6072) ), ( ((word) (fPt) NoName_Q8172) ), var_c0831); }; if ((var_c03 == 2)) { goto lab_L100006; }; }; var_c59804 = var_c65180.f6/* var_c02 */ ; }; }; }; lab_L100006: ; }; }; } static word NoName_Q6072(formal_c0733) word formal_c0733; { SOURCE(6323, 28353) (* (( (ptr) formal_c0733)+6) ) = (word) NewTool_P120((* (( (ptr) formal_c0733)+4) ), (* (( (ptr) formal_c0733)+5) )); return(0); } static void LeftScreenButton_P420(parent_v43176, clientData_v43204, mouseButton_v43232, shift_v43260, control_v43288) word parent_v43176; word clientData_v43204; word mouseButton_v43232; word shift_v43260; word control_v43288; { register ptr gf_c65244 = (ptr) &globalframe; word tool_v11516; /* LeftScreenButton: */ SOURCE(6385, 102) SOURCE(6422, 31) tool_v11516 = XR_Narrow(clientData_v43204, (* (( (ptr) gf_c65244)+16) )); SOURCE(6455, 32) { word pd167; pd167 = (* (( (ptr) (* (( (ptr) gf_c65244)+243)/* var_c59836 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd167 ))))(tool_v11516, 1, 0, pd167); }; } static void ScreenButton_P480(parent_v43348, clientData_v43376, mouseButton_v43404, shift_v43432, control_v43460) word parent_v43348; word clientData_v43376; word mouseButton_v43404; word shift_v43432; word control_v43460; { register ptr gf_c65276 = (ptr) &globalframe; word tool_v11560; /* ScreenButton: */ SOURCE(6493, 96) SOURCE(6526, 31) tool_v11560 = XR_Narrow(clientData_v43376, (* (( (ptr) gf_c65276)+16) )); SOURCE(6559, 30) { word pd168; pd168 = (* (( (ptr) (* (( (ptr) gf_c65276)+243)/* var_c59836 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd168 ))))(tool_v11560, 0, 0, pd168); }; } static void RightScreenButton_P540(parent_v43520, clientData_v43548, mouseButton_v43576, shift_v43604, control_v43632) word parent_v43520; word clientData_v43548; word mouseButton_v43576; word shift_v43604; word control_v43632; { register ptr gf_c65308 = (ptr) &globalframe; word tool_v11604; /* RightScreenButton: */ SOURCE(6595, 104) SOURCE(6633, 31) tool_v11604 = XR_Narrow(clientData_v43548, (* (( (ptr) gf_c65308)+16) )); SOURCE(6666, 33) { word pd169; pd169 = (* (( (ptr) (* (( (ptr) gf_c65308)+243)/* var_c59836 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd169 ))))(tool_v11604, 2, 0, pd169); }; } static void ColorScreenButton_P600(parent_v43692, clientData_v43720, mouseButton_v43748, shift_v43776, control_v43804) word parent_v43692; word clientData_v43720; word mouseButton_v43748; word shift_v43776; word control_v43804; { register ptr gf_c65340 = (ptr) &globalframe; word tool_v11648; /* ColorScreenButton: */ SOURCE(6705, 215) SOURCE(6743, 31) tool_v11648 = XR_Narrow(clientData_v43720, (* (( (ptr) gf_c65340)+16) )); SOURCE(6776, 144) if ((0 != (* (ptr) (* (( (ptr) (* (( (ptr) gf_c65340)+244)/* var_c59868 */ ))+10) ) ))) { SOURCE(6813, 39) { word pd170; pd170 = (* (( (ptr) (* (( (ptr) gf_c65340)+243)/* var_c59836 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd170 ))))(tool_v11648, 3, 0, pd170); }; } else { SOURCE(6852, 68) { word pd171; pd171 = (* (( (ptr) (* (( (ptr) gf_c65340)+239)/* var_c59292 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd171 ))))((* (( (ptr) tool_v11648)+9) ), (* (( (ptr) gf_c65340)+51) ), 0, 2147483647, pd171) ; }; }; } static void PrintButton_P660(parent_v43864, clientData_v43892, mouseButton_v43920, shift_v43948, control_v43976) word parent_v43864; word clientData_v43892; word mouseButton_v43920; word shift_v43948; word control_v43976; { W13 var_c65372; register ptr gf_c65404 = (ptr) &globalframe; /* declaration of var_c59900 skipped */ /* declaration of var_c59932 skipped */ /* declaration of var_c59964 skipped */ /* PrintButton: */ SOURCE(6926, 27750) { word tmpAddr172; tmpAddr172 = (word) (( (ptr) &var_c65372)+4)/* var_c59900 */ ; (* (ptr) tmpAddr172 ) = ( ((word) (fPt) InvalidFile_P3648) ); (* (( (ptr) tmpAddr172) + 1) ) = 1; }; { word tmpAddr173; tmpAddr173 = (word) (( (ptr) &var_c65372)+6)/* var_c59932 */ ; (* (ptr) tmpAddr173 ) = ( ((word) (fPt) FileFromHint_P3588) ); (* (( (ptr) tmpAddr173) + 1) ) = 1; }; { word tmpAddr174; tmpAddr174 = (word) (( (ptr) &var_c65372)+8)/* var_c59964 */ ; (* (ptr) tmpAddr174 ) = ( ((word) (fPt) FileNameSelected_P3528) ); (* (( (ptr) tmpAddr174) + 1) ) = 1; }; SOURCE(6956, 27720) SOURCE(6958, 24) { /* declaration of tool_v11776 skipped */ word curSel_v11804; word curViewer_v11832; SOURCE(7882, 31) (* (( (ptr) &var_c65372)+10)/* tool_v11776 */ ) = XR_Narrow(clientData_v43892, (* (( (ptr) gf_c65404)+16) )); SOURCE(7915, 49) { word pd175; pd175 = (* (( (ptr) (* (( (ptr) gf_c65404)+242)/* var_c59676 */ ))+8) ); curSel_v11804 = (word) ( *( (fPt) ((* (ptr) pd175 ))))(pd175); }; SOURCE(7966, 51) { word pd176; pd176 = (* (( (ptr) (* (( (ptr) gf_c65404)+242)/* var_c59676 */ ))+7) ); curViewer_v11832 = (word) ( *( (fPt) ((* (ptr) pd176 ))))(pd176); }; if ((0 != (word) FileNameSelected_P3528(curSel_v11804, (word) (( (bPt) &var_c65372)+32)/* var_c59964 */ ))) { SOURCE(8064, 177) { /* declaration of fName_v12172 skipped */ SOURCE(8098, 45) (* (( (ptr) &var_c65372)+11)/* fName_v12172 */ ) = (word) FileFromHint_P3588(curSel_v11804, curViewer_v11832, (word) (( (bPt) &var_c65372)+24) /* var_c59932 */ ); SOURCE(8145, 78) { /* declaration of var_c04 skipped */ (* (( (ptr) &var_c65372)+12)/* var_c04 */ ) = (* (( (ptr) (* (( (ptr) gf_c65404)+243)/* var_c59836 */ ))+17) ); { word var_c05; { word var_c0832; var_c0832 = (word) &var_c65372; var_c05 = (word) XR_Enable(( ((word) (fPt) NoName_Q6132) ), ( ((word) (fPt) NoName_Q8112) ), var_c0832); }; if ((var_c05 == 3)) { goto lab_L100009; }; }; }; }; } else { if ((curViewer_v11832 != 0)) { SOURCE(8281, 37) { word pd177; pd177 = (* (( (ptr) (* (( (ptr) gf_c65404)+243)/* var_c59836 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd177 ))))((* (( (ptr) &var_c65372)+10)/* tool_v11776 */ ), curViewer_v11832, 0, pd177); }; } else { SOURCE(8364, 66) { word pd178; pd178 = (* (( (ptr) (* (( (ptr) gf_c65404)+239)/* var_c59292 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd178 ))))((* (( (ptr) (* (( (ptr) &var_c65372)+10)/* tool_v11776 */ ))+9) ), (* (( (ptr) gf_c65404)+52) ), 0, 2147483647, pd178); }; }; }; }; goto lab_L100012; lab_L100009: ; lab_L100012: ; } static word NoName_Q6132(formal_c0739) word formal_c0739; { SOURCE(8145, 78) { word pd179; pd179 = (* (( (ptr) formal_c0739)+12) ); (void) ( *( (fPt) ((* (ptr) pd179 ))))((* (( (ptr) formal_c0739)+10) ), (* (( (ptr) formal_c0739)+11) ), 0, pd179); }; return(0); } static word FileNameSelected_P3528(self_v11908, formal_c65468) word self_v11908; word formal_c65468; { register ptr gf_c65436 = (ptr) &globalframe; word var_c11952; word length_v12216; formal_c65468 = (formal_c65468 - 32); /* FileNameSelected: */ SOURCE(6958, 24) SOURCE(7013, 27) { word pd180; pd180 = (* (( (ptr) (* (( (ptr) gf_c65436)+235)/* var_c59004 */ ))+14) ); length_v12216 = (word) ( *( (fPt) ((* (ptr) pd180 ))))(self_v11908, pd180); }; SOURCE(7042, 33) if (( (int)length_v12216 < (int)2)) { SOURCE(7061, 14) return(0); }; SOURCE(7098, 27578) { word pd181; pd181 = (* (( (ptr) (* (( (ptr) gf_c65436)+235)/* var_c59004 */ ))+24) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd181 ))))(self_v11908, 0, (* (( (ptr) gf_c65436)+53) ), pd181) != (int)length_v12216)) { SOURCE(7149, 14) return(0); }; }; SOURCE(7187, 13) return(1); } static word FileFromHint_P3588(formal_c0912, formal_c0913, formal_c65532) word formal_c0912; word formal_c0913; word formal_c65532; { W8 var_c65500; /* declaration of hint_v12012 skipped */ /* declaration of v_v12040 skipped */ /* declaration of var_c06 skipped */ /* declaration of fName_v12084 skipped */ formal_c65532 = (formal_c65532 - 24); var_c65500.f4/* hint_v12012 */ = formal_c0912; var_c65500.f5/* v_v12040 */ = formal_c0913; var_c65500.f0 = formal_c65532; /* FileFromHint: */ SOURCE(7218, 20) SOURCE(7218, 20) var_c65500.f7/* fName_v12084 */ = 0; SOURCE(7285, 27391) SOURCE(7287, 27389) { word var_c07; { word var_c0833; var_c0833 = (word) &var_c65500; var_c07 = (word) XR_Enable(( ((word) (fPt) NoName_Q6192) ), ( ((word) (fPt) NoName_Q8052) ), var_c0833); }; if ((var_c07 == 4)) { goto lab_L100013; } else { if ((var_c07 == 1)) { goto lab_L06; }; }; }; goto lab_L100016; lab_L100013: ; SOURCE(7769, 12) var_c65500.f7/* fName_v12084 */ = var_c65500.f4/* hint_v12012 */ ; lab_L100016: ; SOURCE(7218, 20) return(var_c65500.f7/* fName_v12084 */ ); lab_L06: ; return(var_c65500.f6/* var_c06 */ ); } static word NoName_Q6192(formal_c0744) word formal_c0744; { register ptr gf_c0743 = (ptr) &globalframe; SOURCE(7321, 11) { word ctxFN_v12260 = 0; W4 var_c0228; SOURCE(7334, 34) if (((* (( (ptr) formal_c0744)+5) ) == 0)) { SOURCE(7348, 20) (* (( (ptr) formal_c0744)+6) ) = (* (( (ptr) formal_c0744)+4) ); return(1); }; SOURCE(7384, 14) ctxFN_v12260 = (* (( (ptr) (* (( (ptr) formal_c0744)+5) ))+14) ); SOURCE(7400, 27276) { word tc182; word pd183; pd183 = (* (( (ptr) (* (( (ptr) gf_c0743)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd183 ))))(ctxFN_v12260, pd183))) { tc182 = (word) ((* (( (ptr) (* (( (ptr) formal_c0744)+5) ))+13) ) != 0); } else { tc182 = (word) 0; }; if (tc182) { { W14 var_c0227; SOURCE(7474, 27202) { word var_c60028; { word pd184; pd184 = (* (( (ptr) (* (( (ptr) gf_c0743)+235)/* var_c59004 */ ))+24) ); var_c60028 = (word) ( *( (fPt) ((* (ptr) pd184 ))))((* (( (ptr) (* (( (ptr) formal_c0744)+5) ))+13) ), 0, (* (( (ptr) gf_c0743)+54) ), pd184); }; { word pd185; pd185 = (* (( (ptr) (* (( (ptr) gf_c0743)+235)/* var_c59004 */ ))+17) ); ctxFN_v12260 = (word) ( *( (fPt) ((* (ptr) pd185 ))))((* (( (ptr) (* (( (ptr) formal_c0744)+5) ))+13) ), 0, var_c60028, pd185) ; }; }; SOURCE(7535, 27141) { word pd186; pd186 = (* (( (ptr) (* (( (ptr) gf_c0743)+243)/* var_c59836 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd186 ))))((word) &var_c0227, (* (( (ptr) gf_c0743)+55) ), ctxFN_v12260, pd186); }; ctxFN_v12260 = (* (ptr) &var_c0227 ); }; }; }; SOURCE(7599, 27077) { word pd187; pd187 = (* (( (ptr) (* (( (ptr) gf_c0743)+246)/* var_c60060 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd187 ))))((word) &var_c0228, (* (( (ptr) formal_c0744)+4) ), ctxFN_v12260, 0, 1, pd187); }; (* (( (ptr) formal_c0744)+7) ) = var_c0228.f0; SOURCE(7711, 26965) { word pd188; pd188 = (* (( (ptr) (* (( (ptr) gf_c0743)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd188 ))))((* ((( (ptr) formal_c0744)+7)) ), pd188))) { SOURCE(7739, 12) (* (( (ptr) formal_c0744)+7) ) = (* (( (ptr) formal_c0744)+4) ); }; }; }; return(0); } static void InvalidFile_P3648(why_v12144, formal_c65596) word why_v12144; word formal_c65596; { register ptr gf_c65564 = (ptr) &globalframe; formal_c65596 = (formal_c65596 - 16); /* InvalidFile: */ SOURCE(7786, 19) SOURCE(7820, 26856) { W2 var_c60092; var_c60092.f0 = 11; var_c60092.f1 = why_v12144; { word pd189; pd189 = (* (( (ptr) (* (( (ptr) gf_c65564)+239)/* var_c59292 */ ))+61) ); (void) ( *( (fPt) ((* (ptr) pd189 ))))((* (( (ptr) (* (( (ptr) formal_c65596)+10) ))+9) ), (* (( (ptr) gf_c65564)+56) ), var_c60092, pd189) ; }; }; } static void OptionsButton_P720(parent_v44036, clientData_v44064, mouseButton_v44092, shift_v44120, control_v44148) word parent_v44036; word clientData_v44064; word mouseButton_v44092; word shift_v44120; word control_v44148; { register ptr gf_c65628 = (ptr) &globalframe; word tool_v12304; /* OptionsButton: */ SOURCE(8461, 187) SOURCE(8495, 31) tool_v12304 = XR_Narrow(clientData_v44064, (* (( (ptr) gf_c65628)+16) )); SOURCE(8528, 120) if (((* (( (ptr) tool_v12304)+12) ) == 0) || (* (( (bPt) (* (( (ptr) tool_v12304)+12) ))+77) ) & 0100) { SOURCE(8591, 31) (void) CreateOptionsViewer_P1860(tool_v12304); } else { SOURCE(8622, 26) (void) DestroyOptionsViewer_P1920(tool_v12304); }; } static void ServerStatusButton_P780(parent_v44208, clientData_v44236, mouseButton_v44264, shift_v44292, control_v44320) word parent_v44208; word clientData_v44236; word mouseButton_v44264; word shift_v44292; word control_v44320; { register ptr gf_c65660 = (ptr) &globalframe; word tool_v12348; /* ServerStatusButton: */ SOURCE(8654, 214) SOURCE(8693, 31) tool_v12348 = XR_Narrow(clientData_v44236, (* (( (ptr) gf_c65660)+16) )); SOURCE(8726, 142) if (((* (( (ptr) tool_v12348)+24) ) == 0) || (* (( (bPt) (* (( (ptr) tool_v12348)+24) ))+77) ) & 0100) { SOURCE(8801, 36) (void) CreateServerStatusViewer_P2280(tool_v12348); } else { SOURCE(8837, 31) (void) DestroyServerStatusViewer_P2340(tool_v12348); }; } static void CreateBoolButton_P840(formal_c0254, name_v7328, parent_v7356, pos_v7384, init_v7412, possible_v7440, click_v7468) word formal_c0254; word name_v7328; word parent_v7356; W2 pos_v7384; word init_v7412; word possible_v7440; word click_v7468; { register ptr gf_c65692 = (ptr) &globalframe; word state_v7512; word newx_v7540; /* CreateBoolButton: */ SOURCE(8971, 25705) SOURCE(8971, 25705) state_v7512 = 0; SOURCE(9133, 25543) { word var_c60124; var_c60124 = XR_NewObject(16, (* (( (ptr) gf_c65692)+34) )); if ((0 != possible_v7440)) { (* (( (ptr) var_c60124)+2) ) = (* (( (ptr) gf_c65692)+58) ); } else { (* (( (ptr) var_c60124)+2) ) = (* (( (ptr) gf_c65692)+59) ); }; (* (( (ptr) var_c60124)+3) ) = XR_CheckProc(click_v7468); state_v7512 = var_c60124; }; SOURCE(9234, 25442) { W28 var_c60156; W35 var_c0253; XR_FillWords(&(* (W27Pt) (&var_c60156)), 27, 0); (* (( (ptr) &var_c60156)+1) ) = pos_v7384.f0; (* (( (ptr) &var_c60156)+2) ) = pos_v7384.f1; (* (( (ptr) &var_c60156)+13) ) = name_v7328; (* (( (ptr) &var_c60156)+17) ) = (word) -1; (* (( (ptr) &var_c60156)+18) ) = 1; (* (( (ptr) &var_c60156)+19) ) = 1493172224; (* (( (ptr) &var_c60156)+22) ) = parent_v7356; (* (( (ptr) &var_c60156)+27) ) = 27; (* (W28Pt) (word) &var_c0253 ) = var_c60156; (* (( (ptr) (word) &var_c0253) + 28) ) = (word) (( (bPt) gf_c65692)+812)/* var_c58428 */ ; (* (( (ptr) (word) &var_c0253) + 29) ) = state_v7512; (* (( (ptr) (word) &var_c0253) + 30) ) = 0; (* (( (ptr) (word) &var_c0253) + 31) ) = 0; (* (( (ptr) (word) &var_c0253) + 32) ) = 0; (* (( (ptr) (word) &var_c0253) + 33) ) = 0; (* (( (ptr) (word) &var_c0253) + 34) ) = 0; { word pd190; pd190 = (* (( (ptr) (* (( (ptr) gf_c65692)+247)/* var_c60188 */ ))+4) ); (* (ptr) state_v7512 ) = (word) ( *( (fPt) ((* (ptr) pd190 ))))((word) (&var_c0253), pd190); }; }; SOURCE(9407, 44) newx_v7540 = ((pos_v7384.f0 + (* (( (ptr) (* (ptr) state_v7512 ))+3) )) + (* (( (ptr) gf_c65692)+12)/* entryHSpace_v4876 */ )); SOURCE(9453, 39) (void) SetBoolButton_P1020(state_v7512, ((0 != init_v7412) && (0 != possible_v7440))); /* removed tail goto */ (* (ptr) formal_c0254 ) = state_v7512; (* (( (ptr) formal_c0254)+1) ) = newx_v7540; return; } static void ClickBoolButton_P900(parent_v44380, clientData_v44408, mouseButton_v44436, shift_v44464, control_v44492) word parent_v44380; word clientData_v44408; word mouseButton_v44436; word shift_v44464; word control_v44492; { register ptr gf_c65724 = (ptr) &globalframe; word state_v12392; /* ClickBoolButton: */ SOURCE(9498, 161) SOURCE(9538, 39) state_v12392 = XR_Narrow(clientData_v44408, (* (( (ptr) gf_c65724)+34) )); SOURCE(9579, 36) (void) SetBoolButton_P1020(state_v12392, (0 == (* (( (ptr) state_v12392)+1) ))); SOURCE(9617, 42) if (((* (( (ptr) state_v12392)+3) ) != 0)) { SOURCE(9641, 18) { word pd191; pd191 = (* (( (ptr) state_v12392)+3) ); (void) ( *( (fPt) ((* (ptr) pd191 ))))(state_v12392, pd191); }; }; } static word GetBoolButton_P960(state_v7600) word state_v7600; { word var_c7644; /* GetBoolButton: */ SOURCE(9665, 78) SOURCE(9724, 19) return((* (( (ptr) state_v7600)+1) )); } static void SetBoolButton_P1020(state_v7704, value_v7732) word state_v7704; word value_v7732; { register ptr gf_c65756 = (ptr) &globalframe; /* SetBoolButton: */ SOURCE(9749, 163) SOURCE(9805, 18) (* (( (ptr) state_v7704)+1) ) = value_v7732; SOURCE(9825, 87) { word pd192; pd192 = (* (( (ptr) (* (( (ptr) gf_c65756)+247)/* var_c60188 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd192 ))))((* (ptr) state_v7704 ), ( (0 != value_v7732) ? (* (( (ptr) state_v7704)+2) ) : (* ( ( (ptr) gf_c65756)+60) ) ) , 1, pd192); }; } static void CreateIntButton_P1080(formal_c0281, name_v7792, parent_v7820, pos_v7848, w_v7876, default_v7904, defined_v7932, init_v7960) word formal_c0281; word name_v7792; word parent_v7820; W2 pos_v7848; word w_v7876; word default_v7904; word defined_v7932; word init_v7960; { register ptr gf_c65788 = (ptr) &globalframe; word state_v8004; word newx_v8032; /* CreateIntButton: */ SOURCE(9918, 24758) SOURCE(9918, 24758) state_v8004 = 0; SOURCE(10087, 24589) { word var_c60220; var_c60220 = XR_NewObject(12, (* (( (ptr) gf_c65788)+32) )); (* (( (ptr) var_c60220)+1) ) = default_v7904; state_v8004 = var_c60220; }; SOURCE(10136, 24540) { W28 var_c60252; W35 var_c0276; XR_FillWords(&(* (W27Pt) (&var_c60252)), 27, 0); (* (( (ptr) &var_c60252)+1) ) = pos_v7848.f0; (* (( (ptr) &var_c60252)+2) ) = pos_v7848.f1; (* (( (ptr) &var_c60252)+13) ) = name_v7792; (* (( (ptr) &var_c60252)+17) ) = (word) -1; (* (( (ptr) &var_c60252)+18) ) = 1; (* (( (ptr) &var_c60252)+19) ) = 1358954496; (* (( (ptr) &var_c60252)+22) ) = parent_v7820; (* (( (ptr) &var_c60252)+27) ) = 27; (* (W28Pt) (word) &var_c0276 ) = var_c60252; (* (( (ptr) (word) &var_c0276) + 28) ) = (word) (( (bPt) gf_c65788)+764)/* var_c58236 */ ; (* (( (ptr) (word) &var_c0276) + 29) ) = state_v8004; (* (( (ptr) (word) &var_c0276) + 30) ) = 0; (* (( (ptr) (word) &var_c0276) + 31) ) = 0; (* (( (ptr) (word) &var_c0276) + 32) ) = 0; (* (( (ptr) (word) &var_c0276) + 33) ) = 0; (* (( (ptr) (word) &var_c0276) + 34) ) = 0; { word pd193; pd193 = (* (( (ptr) (* (( (ptr) gf_c65788)+247)/* var_c60188 */ ))+4) ); (* (ptr) state_v8004 ) = (word) ( *( (fPt) ((* (ptr) pd193 ))))((word) (&var_c0276), pd193); }; }; SOURCE(10310, 24366) { word var_c60284; word var_c60316; var_c60284 = (pos_v7848.f0 + (* (( (ptr) (* (ptr) state_v8004 ))+3) )); var_c60316 = (pos_v7848.f1 + (* (( (ptr) gf_c65788)+14)/* textFuzz_v4932 */ )); pos_v7848.f0 = var_c60284; pos_v7848.f1 = var_c60316; }; SOURCE(10394, 24282) { W28 var_c60348; W29 var_c0280; XR_FillWords(&(* (W27Pt) (&var_c60348)), 27, 0); (* (( (ptr) &var_c60348)+1) ) = pos_v7848.f0; (* (( (ptr) &var_c60348)+2) ) = pos_v7848.f1; (* (( (ptr) &var_c60348)+3) ) = w_v7876; (* (( (ptr) &var_c60348)+4) ) = (* (( (ptr) (* (ptr) state_v8004 ))+4) ); (* (( (ptr) &var_c60348)+17) ) = (word) -1; (* (( (ptr) &var_c60348)+18) ) = 1; (* (( (ptr) &var_c60348)+19) ) = 1358954496; (* (( (ptr) &var_c60348)+22) ) = parent_v7820; (* (( (ptr) &var_c60348)+27) ) = 27; (* (W28Pt) (word) &var_c0280 ) = (var_c60348 ); (* (( (ptr) (word) &var_c0280) + 28) ) = 0; { word pd194; pd194 = (* (( (ptr) (* (( (ptr) gf_c65788)+242)/* var_c59676 */ ))+5) ); (* (( (ptr) state_v8004)+2) ) = (word) ( *( (fPt) ((* (ptr) pd194 ))))((word) (&var_c0280), pd194); }; }; SOURCE(10542, 16) newx_v8032 = (pos_v7848.f0 + w_v7876); SOURCE(10560, 34) (void) SetIntButton_P1200(state_v8004, defined_v7932, init_v7960); /* removed tail goto */ (* (ptr) formal_c0281 ) = state_v8004; (* (( (ptr) formal_c0281)+1) ) = newx_v8032; return; } static word GetIntButton_P1140(state_v8092) word state_v8092; { W7 var_c65820; register ptr gf_c65852 = (ptr) &globalframe; word val_v8136; /* GetIntButton: */ SOURCE(10600, 24076) SOURCE(10661, 19) val_v8136 = (* (( (ptr) state_v8092)+1) ); SOURCE(10682, 23994) SOURCE(10682, 23994) { /* declaration of var_c60380 skipped */ { word pd195; pd195 = (* (( (ptr) (* (( (ptr) gf_c65852)+242)/* var_c59676 */ ))+10) ); var_c65820.f4/* var_c60380 */ = (word) ( *( (fPt) ((* (ptr) pd195 ))))((* ((( (ptr) state_v8092)+2)) ), pd195); }; { /* declaration of var_c08 skipped */ var_c65820.f5/* var_c08 */ = (* (( (ptr) (* (( (ptr) gf_c65852)+248)/* var_c60412 */ ))+10) ); { /* declaration of var_c09 skipped */ { word var_c010; { word var_c0834; var_c0834 = (word) &var_c65820; var_c010 = (word) XR_Enable(( ((word) (fPt) NoName_Q6252) ), ( ((word) (fPt) NoName_Q7992) ), var_c0834); }; if ((var_c010 == 5)) { goto lab_L100020; }; }; val_v8136 = var_c65820.f6/* var_c09 */ ; }; }; }; lab_L100020: ; SOURCE(10600, 24076) return(val_v8136); } static word NoName_Q6252(formal_c0754) word formal_c0754; { SOURCE(10682, 23994) { word pd196; pd196 = (* (( (ptr) formal_c0754)+5) ); (* (( (ptr) formal_c0754)+6) ) = (word) ( *( (fPt) ((* (ptr) pd196 ))))((* (( (ptr) formal_c0754)+4) ), 8, pd196); }; return(0); } static void SetIntButton_P1200(state_v8196, defined_v8224, init_v8252) word state_v8196; word defined_v8224; word init_v8252; { register ptr gf_c65884 = (ptr) &globalframe; word val_v12436 = 0; /* SetIntButton: */ SOURCE(10778, 23898) SOURCE(10874, 23802) if ( ( (0 != defined_v8224) ? ( (int)init_v8252 != (int)(* (( (ptr) state_v8196)+1) )) : 0 ) ) { SOURCE(10913, 23763) { word pd197; pd197 = (* (( (ptr) (* (( (ptr) gf_c65884)+248)/* var_c60412 */ ))+27) ); val_v12436 = (word) ( *( (fPt) ((* (ptr) pd197 ))))(init_v8252, 8, 1, pd197); }; }; SOURCE(10946, 40) { word pd198; pd198 = (* (( (ptr) (* (( (ptr) gf_c65884)+242)/* var_c59676 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd198 ))))((* (( (ptr) state_v8196)+2) ), val_v12436, 1, pd198); }; } static void ClickIntButton_P1260(parent_v44552, clientData_v44580, mouseButton_v44608, shift_v44636, control_v44664) word parent_v44552; word clientData_v44580; word mouseButton_v44608; word shift_v44636; word control_v44664; { register ptr gf_c65916 = (ptr) &globalframe; word state_v12480; /* ClickIntButton: */ SOURCE(10992, 115) SOURCE(11031, 38) state_v12480 = XR_Narrow(clientData_v44580, (* (( (ptr) gf_c65916)+32) )); SOURCE(11071, 36) { word pd199; pd199 = (* (( (ptr) (* (( (ptr) gf_c65916)+242)/* var_c59676 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd199 ))))((* (( (ptr) state_v12480)+2) ), 0, pd199); }; } static void CreateRealButton_P1320(formal_c0311, name_v8312, parent_v8340, pos_v8368, w_v8396, default_v8424, defined_v8452, init_v8480) word formal_c0311; word name_v8312; word parent_v8340; W2 pos_v8368; word w_v8396; word default_v8424; word defined_v8452; word init_v8480; { register ptr gf_c65948 = (ptr) &globalframe; word state_v8524; word newx_v8552; /* CreateRealButton: */ SOURCE(11113, 23563) SOURCE(11113, 23563) state_v8524 = 0; SOURCE(11288, 23388) { word var_c60444; var_c60444 = XR_NewObject(12, (* (( (ptr) gf_c65948)+31) )); (* (( (ptr) var_c60444)+1) ) = default_v8424; state_v8524 = var_c60444; }; SOURCE(11338, 23338) { W28 var_c60476; W35 var_c0306; XR_FillWords(&(* (W27Pt) (&var_c60476)), 27, 0); (* (( (ptr) &var_c60476)+1) ) = pos_v8368.f0; (* (( (ptr) &var_c60476)+2) ) = pos_v8368.f1; (* (( (ptr) &var_c60476)+13) ) = name_v8312; (* (( (ptr) &var_c60476)+17) ) = (word) -1; (* (( (ptr) &var_c60476)+18) ) = 1; (* (( (ptr) &var_c60476)+19) ) = 1358954496; (* (( (ptr) &var_c60476)+22) ) = parent_v8340; (* (( (ptr) &var_c60476)+27) ) = 27; (* (W28Pt) (word) &var_c0306 ) = var_c60476; (* (( (ptr) (word) &var_c0306) + 28) ) = (word) (( (bPt) gf_c65948)+732)/* var_c58108 */ ; (* (( (ptr) (word) &var_c0306) + 29) ) = state_v8524; (* (( (ptr) (word) &var_c0306) + 30) ) = 0; (* (( (ptr) (word) &var_c0306) + 31) ) = 0; (* (( (ptr) (word) &var_c0306) + 32) ) = 0; (* (( (ptr) (word) &var_c0306) + 33) ) = 0; (* (( (ptr) (word) &var_c0306) + 34) ) = 0; { word pd200; pd200 = (* (( (ptr) (* (( (ptr) gf_c65948)+247)/* var_c60188 */ ))+4) ); (* (ptr) state_v8524 ) = (word) ( *( (fPt) ((* (ptr) pd200 ))))((word) (&var_c0306), pd200); }; }; SOURCE(11513, 23163) { word var_c60508; word var_c60540; var_c60508 = (pos_v8368.f0 + (* (( (ptr) (* (ptr) state_v8524 ))+3) )); var_c60540 = (pos_v8368.f1 + (* (( (ptr) gf_c65948)+14)/* textFuzz_v4932 */ )); pos_v8368.f0 = var_c60508; pos_v8368.f1 = var_c60540; }; SOURCE(11597, 23079) { W28 var_c60572; W29 var_c0310; XR_FillWords(&(* (W27Pt) (&var_c60572)), 27, 0); (* (( (ptr) &var_c60572)+1) ) = pos_v8368.f0; (* (( (ptr) &var_c60572)+2) ) = pos_v8368.f1; (* (( (ptr) &var_c60572)+3) ) = w_v8396; (* (( (ptr) &var_c60572)+4) ) = (* (( (ptr) (* (ptr) state_v8524 ))+4) ); (* (( (ptr) &var_c60572)+17) ) = (word) -1; (* (( (ptr) &var_c60572)+18) ) = 1; (* (( (ptr) &var_c60572)+19) ) = 1358954496; (* (( (ptr) &var_c60572)+22) ) = parent_v8340; (* (( (ptr) &var_c60572)+27) ) = 27; (* (W28Pt) (word) &var_c0310 ) = (var_c60572 ); (* (( (ptr) (word) &var_c0310) + 28) ) = 0; { word pd201; pd201 = (* (( (ptr) (* (( (ptr) gf_c65948)+242)/* var_c59676 */ ))+5) ); (* (( (ptr) state_v8524)+2) ) = (word) ( *( (fPt) ((* (ptr) pd201 ))))((word) (&var_c0310), pd201); }; }; SOURCE(11745, 16) newx_v8552 = (pos_v8368.f0 + w_v8396); SOURCE(11763, 35) (void) SetRealButton_P1440(state_v8524, defined_v8452, init_v8480); /* removed tail goto */ (* (ptr) formal_c0311 ) = state_v8524; (* (( (ptr) formal_c0311)+1) ) = newx_v8552; return; } static word GetRealButton_P1380(state_v8612) word state_v8612; { W7 var_c65980; register ptr gf_c66012 = (ptr) &globalframe; word val_v8656; /* GetRealButton: */ SOURCE(11804, 22872) SOURCE(11868, 19) val_v8656 = (* (( (ptr) state_v8612)+1) ); SOURCE(11889, 22787) SOURCE(11889, 22787) { /* declaration of var_c60604 skipped */ { word pd202; pd202 = (* (( (ptr) (* (( (ptr) gf_c66012)+242)/* var_c59676 */ ))+10) ); var_c65980.f4/* var_c60604 */ = (word) ( *( (fPt) ((* (ptr) pd202 ))))((* ((( (ptr) state_v8612)+2)) ), pd202); }; { /* declaration of var_c011 skipped */ var_c65980.f5/* var_c011 */ = (* (( (ptr) (* (( (ptr) gf_c66012)+248)/* var_c60412 */ ))+12) ); { /* declaration of var_c012 skipped */ { word var_c013; { word var_c0835; var_c0835 = (word) &var_c65980; var_c013 = (word) XR_Enable(( ((word) (fPt) NoName_Q6312) ), ( ((word) (fPt) NoName_Q7932) ), var_c0835); }; if ((var_c013 == 6)) { goto lab_L100025; }; }; val_v8656 = var_c65980.f6/* var_c012 */ ; }; }; }; lab_L100025: ; SOURCE(11804, 22872) return(val_v8656); } static word NoName_Q6312(formal_c0759) word formal_c0759; { SOURCE(11889, 22787) { word pd203; pd203 = (* (( (ptr) formal_c0759)+5) ); (* (( (ptr) formal_c0759)+6) ) = (word) ( *( (fPt) ((* (ptr) pd203 ))))((* ((( (ptr) formal_c0759)+4)) ), pd203); }; return(0); } static void SetRealButton_P1440(state_v8716, defined_v8744, init_v8772) word state_v8716; word defined_v8744; word init_v8772; { register ptr gf_c66044 = (ptr) &globalframe; word val_v12524 = 0; /* SetRealButton: */ SOURCE(11986, 22690) SOURCE(12085, 22591) { word x204; word x205; if ( ( (0 != defined_v8744) ? (( x204 = init_v8772, *(float*)&x204 ) != ( x205 = (* (( (ptr) state_v8716)+1) ), *(float*)&x205 )) : 0 ) ) { SOURCE(12124, 22552) { word pd206; pd206 = (* (( (ptr) (* (( (ptr) gf_c66044)+248)/* var_c60412 */ ))+31) ); val_v12524 = (word) ( *( (fPt) ((* (ptr) pd206 ))))(init_v8772, 7, 0, pd206); }; }; }; SOURCE(12158, 40) { word pd207; pd207 = (* (( (ptr) (* (( (ptr) gf_c66044)+242)/* var_c59676 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd207 ))))((* (( (ptr) state_v8716)+2) ), val_v12524, 1, pd207); }; } static void ClickRealButton_P1500(parent_v44724, clientData_v44752, mouseButton_v44780, shift_v44808, control_v44836) word parent_v44724; word clientData_v44752; word mouseButton_v44780; word shift_v44808; word control_v44836; { register ptr gf_c66076 = (ptr) &globalframe; word state_v12568; /* ClickRealButton: */ SOURCE(12204, 117) SOURCE(12244, 39) state_v12568 = XR_Narrow(clientData_v44752, (* (( (ptr) gf_c66076)+31) )); SOURCE(12285, 36) { word pd208; pd208 = (* (( (ptr) (* (( (ptr) gf_c66076)+242)/* var_c59676 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd208 ))))((* (( (ptr) state_v12568)+2) ), 0, pd208); }; } static void CreateRopeButton_P1560(formal_c0340, name_v8832, parent_v8860, pos_v8888, w_v8916, values_v8944, init_v8972) word formal_c0340; word name_v8832; word parent_v8860; W2 pos_v8888; word w_v8916; word values_v8944; word init_v8972; { register ptr gf_c66108 = (ptr) &globalframe; word state_v9100; word newx_v9128; /* CreateRopeButton: */ SOURCE(12327, 22349) SOURCE(12327, 22349) state_v9100 = 0; SOURCE(12493, 22183) { word var_c60636; var_c60636 = XR_NewObject(12, (* (( (ptr) gf_c66108)+30) )); (* (( (ptr) var_c60636)+1) ) = values_v8944; state_v9100 = var_c60636; }; SOURCE(12543, 22133) { W28 var_c60668; W35 var_c0335; XR_FillWords(&(* (W27Pt) (&var_c60668)), 27, 0); (* (( (ptr) &var_c60668)+1) ) = pos_v8888.f0; (* (( (ptr) &var_c60668)+2) ) = pos_v8888.f1; (* (( (ptr) &var_c60668)+13) ) = name_v8832; (* (( (ptr) &var_c60668)+17) ) = (word) -1; (* (( (ptr) &var_c60668)+18) ) = 1; (* (( (ptr) &var_c60668)+19) ) = 1358954496; (* (( (ptr) &var_c60668)+22) ) = parent_v8860; (* (( (ptr) &var_c60668)+27) ) = 27; (* (W28Pt) (word) &var_c0335 ) = var_c60668; (* (( (ptr) (word) &var_c0335) + 28) ) = (word) (( (bPt) gf_c66108)+700)/* var_c57980 */ ; (* (( (ptr) (word) &var_c0335) + 29) ) = state_v9100; (* (( (ptr) (word) &var_c0335) + 30) ) = 0; (* (( (ptr) (word) &var_c0335) + 31) ) = 0; (* (( (ptr) (word) &var_c0335) + 32) ) = 0; (* (( (ptr) (word) &var_c0335) + 33) ) = 0; (* (( (ptr) (word) &var_c0335) + 34) ) = 0; { word pd209; pd209 = (* (( (ptr) (* (( (ptr) gf_c66108)+247)/* var_c60188 */ ))+4) ); (* (ptr) state_v9100 ) = (word) ( *( (fPt) ((* (ptr) pd209 ))))((word) (&var_c0335), pd209); }; }; SOURCE(12718, 21958) { word var_c60700; word var_c60732; var_c60700 = (pos_v8888.f0 + (* (( (ptr) (* (ptr) state_v9100 ))+3) )); var_c60732 = (pos_v8888.f1 + (* (( (ptr) gf_c66108)+14)/* textFuzz_v4932 */ )); pos_v8888.f0 = var_c60700; pos_v8888.f1 = var_c60732; }; SOURCE(12802, 21874) { W28 var_c60764; W29 var_c0339; XR_FillWords(&(* (W27Pt) (&var_c60764)), 27, 0); (* (( (ptr) &var_c60764)+1) ) = pos_v8888.f0; (* (( (ptr) &var_c60764)+2) ) = pos_v8888.f1; (* (( (ptr) &var_c60764)+3) ) = w_v8916; (* (( (ptr) &var_c60764)+4) ) = (* (( (ptr) (* (ptr) state_v9100 ))+4) ); (* (( (ptr) &var_c60764)+17) ) = (word) -1; (* (( (ptr) &var_c60764)+18) ) = 1; (* (( (ptr) &var_c60764)+19) ) = 1358954496; (* (( (ptr) &var_c60764)+22) ) = parent_v8860; (* (( (ptr) &var_c60764)+27) ) = 27; (* (W28Pt) (word) &var_c0339 ) = (var_c60764 ); (* (( (ptr) (word) &var_c0339) + 28) ) = 0; { word pd210; pd210 = (* (( (ptr) (* (( (ptr) gf_c66108)+242)/* var_c59676 */ ))+5) ); (* (( (ptr) state_v9100)+2) ) = (word) ( *( (fPt) ((* (ptr) pd210 ))))((word) (&var_c0339), pd210); }; }; SOURCE(12950, 30) newx_v9128 = ((pos_v8888.f0 + w_v8916) + (* (( (ptr) gf_c66108)+12)/* entryHSpace_v4876 */ )); SOURCE(12982, 26) (void) SetRopeButton_P1680(state_v9100, init_v8972); /* removed tail goto */ (* (ptr) formal_c0340 ) = state_v9100; (* (( (ptr) formal_c0340)+1) ) = newx_v9128; return; } static word GetRopeButton_P1620(state_v9188) word state_v9188; { register ptr gf_c66140 = (ptr) &globalframe; word var_c9232; /* GetRopeButton: */ SOURCE(13014, 21662) SOURCE(13073, 21603) { word pd211; pd211 = (* (( (ptr) (* (( (ptr) gf_c66140)+242)/* var_c59676 */ ))+10) ); return((word) ( *( (fPt) ((* (ptr) pd211 ))))((* ((( (ptr) state_v9188)+2)) ), pd211)); }; } static void SetRopeButton_P1680(state_v9292, val_v9320) word state_v9292; word val_v9320; { register ptr gf_c66172 = (ptr) &globalframe; /* SetRopeButton: */ SOURCE(13123, 95) SOURCE(13178, 40) { word pd212; pd212 = (* (( (ptr) (* (( (ptr) gf_c66172)+242)/* var_c59676 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd212 ))))((* (( (ptr) state_v9292)+2) ), val_v9320, 1, pd212); }; } static void ClickRopeButton_P1740(parent_v44896, clientData_v44924, mouseButton_v44952, shift_v44980, control_v45008) word parent_v44896; word clientData_v44924; word mouseButton_v44952; word shift_v44980; word control_v45008; { W6 var_c66204; register ptr gf_c66236 = (ptr) &globalframe; /* declaration of var_c60828 skipped */ word state_v12640; /* ClickRopeButton: */ SOURCE(13224, 21452) { word tmpAddr213; tmpAddr213 = (word) (( (ptr) &var_c66204)+4)/* var_c60828 */ ; (* (ptr) tmpAddr213 ) = ( ((word) (fPt) NextName_P3804) ); (* (( (ptr) tmpAddr213) + 1) ) = 1; }; SOURCE(13630, 39) state_v12640 = XR_Narrow(clientData_v44924, (* (( (ptr) gf_c66236)+30) )); SOURCE(13671, 21005) if ((mouseButton_v44952 == 2)) { SOURCE(13698, 42) { word pd214; pd214 = (* (( (ptr) (* (( (ptr) gf_c66236)+242)/* var_c59676 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd214 ))))((* (( (ptr) state_v12640)+2) ), 0, pd214); }; } else { SOURCE(13740, 20936) { word var_c60860; var_c60860 = (word) NextName_P3804(state_v12640, (word) (( (bPt) &var_c66204)+16)/* var_c60828 */ ); { word pd215; pd215 = (* (( (ptr) (* (( (ptr) gf_c66236)+242)/* var_c59676 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd215 ))))((* (( (ptr) state_v12640)+2) ), var_c60860, 1, pd215); }; }; }; } static word NextName_P3804(state_v12716, formal_c66300) word state_v12716; word formal_c66300; { register ptr gf_c66268 = (ptr) &globalframe; word next_v12760; word current_v12788; formal_c66300 = (formal_c66300 - 16); /* NextName: */ SOURCE(13264, 21412) SOURCE(13264, 21412) next_v12760 = 0; SOURCE(13330, 51) { word pd216; pd216 = (* (( (ptr) (* (( (ptr) gf_c66268)+242)/* var_c59676 */ ))+10) ); current_v12788 = (word) ( *( (fPt) ((* (ptr) pd216 ))))((* ((( (ptr) state_v12716)+2)) ), pd216); }; SOURCE(13383, 35) if (((* (( (ptr) state_v12716)+1) ) == 0)) { SOURCE(13412, 6) return(next_v12760); }; SOURCE(13420, 21256) { register word l_v12832; l_v12832 = (* (( (ptr) state_v12716)+1) ); lab_L100032: ; if ((l_v12832 != 0)) { } else { goto lab_L100029; }; SOURCE(13482, 21194) { word pd217; pd217 = (* (( (ptr) (* (( (ptr) gf_c66268)+235)/* var_c59004 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd217 ))))(current_v12788, (* (ptr) l_v12832 ), 0, pd217))) { SOURCE(13520, 67) if (((* (( (ptr) l_v12832)+1) ) == 0)) { return((* (ptr) (* (( (ptr) state_v12716)+1) ) )); } else { return((* (ptr) (* (( (ptr) l_v12832)+1) ) )); }; }; }; l_v12832 = (* (( (ptr) l_v12832)+1) ); goto lab_L100032; lab_L100029: ; }; SOURCE(13598, 29) return((* (ptr) (* (( (ptr) state_v12716)+1) ) )); } static void ClickCompress_P1800(state_v45068) word state_v45068; { register ptr gf_c66332 = (ptr) &globalframe; word tool_v12960; /* ClickCompress: */ SOURCE(13798, 38) SOURCE(13838, 53) tool_v12960 = XR_Narrow((* (( (ptr) (* (( (ptr) (* (( (ptr) (* (ptr) state_v45068 ))+22) ))+22) ))+26) ), (* (( (ptr) gf_c66332)+16) )); } static void CreateOptionsViewer_P1860(formal_c0914) word formal_c0914; { W5 var_c66364; /* declaration of tool_v9380 skipped */ var_c66364.f4/* tool_v9380 */ = formal_c0914; /* CreateOptionsViewer: */ SOURCE(13897, 20779) (void) (XR_MonitorEntry(var_c66364.f4/* tool_v9380 */ )); SOURCE(13953, 20723) { word var_c014; { word var_c0836; var_c0836 = (word) &var_c66364; var_c014 = (word) XR_Enable(( ((word) (fPt) NoName_Q6372) ), ( ((word) (fPt) NoName_Q7872) ), var_c0836); }; if ((var_c014 == 1)) { goto lab_L010; }; }; SOURCE(13897, 20779) (void) (XR_MonitorExit(var_c66364.f4/* tool_v9380 */ )); return; lab_L010: ; return; } static word NoName_Q6372(formal_c0770) word formal_c0770; { register ptr gf_c0769 = (ptr) &globalframe; SOURCE(13976, 11) { W2 curPos_v13004; word em_v13032; word options_v13060; word paperButtons_v13088 = 0; word defaultPaper_v13116 = 0; word var_c60924; word v_v56908; SOURCE(13989, 30) { word pd218; pd218 = (* (( (ptr) (* (( (ptr) gf_c0769)+249)/* var_c60892 */ ))+7) ); em_v13032 = (word) ( *( (fPt) ((* (ptr) pd218 ))))(109, 0, pd218); }; SOURCE(14021, 38) options_v13060 = (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+11) ); SOURCE(14177, 20499) v_v56908 = (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ); SOURCE(33546, 30) if ((v_v56908 == 0)) { var_c60924 = 1; } else { var_c60924 = (((unsigned)(* (( (bPt) v_v56908)+77) ) << 25) >> 31); }; if ((0 == var_c60924)) { SOURCE(14215, 6) (void) (XR_MonitorExit(* (( (ptr) formal_c0770)+4) )); return(1); }; SOURCE(14246, 20430) { W28 var_c60956; W29 var_c0368; XR_FillWords(&(* (W27Pt) (&var_c60956)), 27, 0); (* (( (ptr) &var_c60956)+3) ) = 9999; (* (( (ptr) &var_c60956)+17) ) = (word) -1; (* (( (ptr) &var_c60956)+18) ) = 1; (* (( (ptr) &var_c60956)+19) ) = 285212672; (* (( (ptr) &var_c60956)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+10) ); (* (( (ptr) &var_c60956)+27) ) = 27; (* (W28Pt) (word) &var_c0368 ) = var_c60956; (* (( (ptr) (word) &var_c0368) + 28) ) = 0; { word pd219; pd219 = (* (( (ptr) (* (( (ptr) gf_c0769)+250)/* var_c60988 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ) = (word) ( *( (fPt) ((* (ptr) pd219 ))))((word) (&var_c0368), pd219); }; }; SOURCE(14395, 20281) curPos_v13004.f0 = (* (( (ptr) gf_c0769)+12)/* entryHSpace_v4876 */ ); curPos_v13004.f1 = 4; SOURCE(14422, 20254) if ((0 != (* (( (ptr) (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+5) ))+2) ))) { SOURCE(14456, 20220) { W2 var_c61020; (void) CreateBoolButton_P840((word) &var_c61020, (* (( (ptr) gf_c0769)+64) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, (* (( (ptr) options_v13060)+1) ), 1 , (word) (( (bPt) gf_c0769)+692)/* var_c57948 */ ); curPos_v13004.f0 = var_c61020.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+16) ) = var_c61020.f0; }; }; SOURCE(14630, 20046) { W2 var_c61052; (void) CreateBoolButton_P840((word) &var_c61052, (* (( (ptr) gf_c0769)+65) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, (* (ptr) options_v13060 ), 1 , 0); curPos_v13004.f0 = var_c61052.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+15) ) = var_c61052.f0; }; SOURCE(14776, 19900) { W2 var_c61084; (void) CreateRealButton_P1320((word) &var_c61084, (* (( (ptr) gf_c0769)+66) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, IOP2( * , (int)6, (int)em_v13032), (* (ptr) &fc220 ) , 1, (* (( (ptr) options_v13060)+11) )); curPos_v13004.f0 = var_c61084.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+22) ) = var_c61084.f0; }; SOURCE(14932, 19744) { W2 var_c61116; (void) CreateRopeButton_P1560((word) &var_c61116, (* (( (ptr) gf_c0769)+67) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, 9999, (* (( (ptr) gf_c0769)+7)/* styleList_v4316 */ ) , (* (( (ptr) options_v13060)+10) )); curPos_v13004.f0 = var_c61116.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+21) ) = var_c61116.f0; }; SOURCE(15084, 19592) { word var_c61148; var_c61148 = (curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13)/* entryVSpace_v4904 */ )); curPos_v13004.f0 = (* (( (ptr) gf_c0769)+12)/* entryHSpace_v4876 */ ); curPos_v13004.f1 = var_c61148; }; SOURCE(15132, 19544) { W2 var_c61180; (void) CreateBoolButton_P840((word) &var_c61180, (* (( (ptr) gf_c0769)+68) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, (* (( (ptr) options_v13060)+7) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+7) ) , 0); curPos_v13004.f0 = var_c61180.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+13) ) = var_c61180.f0; }; SOURCE(15304, 19372) { W2 var_c61212; (void) CreateBoolButton_P840((word) &var_c61212, (* (( (ptr) gf_c0769)+69) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, (* (( (ptr) options_v13060)+8) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+8) ) , 0); curPos_v13004.f0 = var_c61212.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+14) ) = var_c61212.f0; }; SOURCE(15482, 19194) { W2 var_c61244; (void) CreateIntButton_P1080((word) &var_c61244, (* (( (ptr) gf_c0769)+70) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, IOP2( * , (int)4, (int)em_v13032), 1 , 1, (* (( (ptr) options_v13060)+2) )); curPos_v13004.f0 = var_c61244.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+17) ) = var_c61244.f0; }; SOURCE(15636, 19040) { W2 var_c61276; (void) CreateIntButton_P1080((word) &var_c61276, (* (( (ptr) gf_c0769)+71) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, IOP2( * , (int)7, (int)em_v13032), 1 , 1, (* (( (ptr) options_v13060)+4) )); curPos_v13004.f0 = var_c61276.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+18) ) = var_c61276.f0; }; SOURCE(15791, 18885) { W2 var_c61308; (void) CreateIntButton_P1080((word) &var_c61308, (* (( (ptr) gf_c0769)+72) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, IOP2( * , (int)7, (int)em_v13032), 65535 , 1, (* (( (ptr) options_v13060)+5) )); curPos_v13004.f0 = var_c61308.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+19) ) = var_c61308.f0; }; SOURCE(15954, 18722) { word var_c61340; var_c61340 = (curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13)/* entryVSpace_v4904 */ )); curPos_v13004.f0 = (* (( (ptr) gf_c0769)+12)/* entryHSpace_v4876 */ ); curPos_v13004.f1 = var_c61340; }; SOURCE(16002, 18674) { register word mList_v13244; mList_v13244 = (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+6) ); lab_L100039: ; if ((mList_v13244 != 0)) { } else { goto lab_L100036; }; SOURCE(16088, 18588) { word pd221; pd221 = (* (( (ptr) (* (( (ptr) gf_c0769)+235)/* var_c59004 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd221 ))))((* (ptr) mList_v13244 ), (* (( (ptr) options_v13060)+6) ), 1, pd221))) { SOURCE(16140, 26) defaultPaper_v13116 = (* (ptr) mList_v13244 ); }; }; SOURCE(16168, 18508) { word pd222; pd222 = (* (( (ptr) (* (( (ptr) gf_c0769)+251)/* var_c61372 */ ))+5) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd222 ))))(paperButtons_v13088, (* (ptr) mList_v13244 ), 1, pd222))) { SOURCE(16221, 47) { word var_c61404; var_c61404 = XR_NewObject(8, (* (( (ptr) gf_c0769)+17) )); (* (ptr) var_c61404 ) = (* (ptr) mList_v13244 ); (* (( (ptr) var_c61404)+1) ) = paperButtons_v13088; paperButtons_v13088 = var_c61404; }; }; }; mList_v13244 = (* (( (ptr) mList_v13244)+1) ); goto lab_L100039; lab_L100036: ; }; SOURCE(16279, 18397) { word pd223; pd223 = (* (( (ptr) (* (( (ptr) gf_c0769)+251)/* var_c61372 */ ))+10) ); paperButtons_v13088 = (word) ( *( (fPt) ((* (ptr) pd223 ))))(paperButtons_v13088, pd223); }; SOURCE(16326, 18350) { word pd224; pd224 = (* (( (ptr) (* (( (ptr) gf_c0769)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd224 ))))(defaultPaper_v13116, pd224))) { SOURCE(16361, 33) defaultPaper_v13116 = (* (ptr) paperButtons_v13088 ); }; }; SOURCE(16413, 18263) { word pd225; word idx226; word idx227; pd225 = (* (( (ptr) (* (( (ptr) gf_c0769)+252)/* var_c61436 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+23) ) = (word) ( *( (fPt) ((* (ptr) pd225 ))))((* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), ( idx226 = (word) curPos_v13004.f0, SGNCK(idx226) ), ( idx227 = (word) curPos_v13004.f1, SGNCK(idx227) ), (* (( (ptr) gf_c0769)+73) ), paperButtons_v13088, defaultPaper_v13116 , 1, 0, 0, 0, 0, 1 , 2147483647, pd225); }; SOURCE(16615, 18061) { word var_c61468; var_c61468 = (curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13)/* entryVSpace_v4904 */ )); curPos_v13004.f0 = (* (( (ptr) gf_c0769)+12)/* entryHSpace_v4876 */ ); curPos_v13004.f1 = var_c61468; }; SOURCE(16663, 18013) { W2 var_c61500; (void) CreateRopeButton_P1560((word) &var_c61500, (* (( (ptr) gf_c0769)+74) ), (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), curPos_v13004, 9999, (* (( (ptr) gf_c0769)+8)/* deviceList_v4344 */ ) , (* (( (ptr) options_v13060)+3) )); curPos_v13004.f0 = var_c61500.f1; (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+20) ) = var_c61500.f0; }; SOURCE(16814, 17862) { word var_c61596; { W28 var_c61532; W30 var_c0396; XR_FillWords(&(* (W27Pt) (&var_c61532)), 27, 0); (* (( (ptr) &var_c61532)+2) ) = (curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13)/* entryVSpace_v4904 */ )); (* (( (ptr) &var_c61532)+3) ) = 9999; (* (( (ptr) &var_c61532)+4) ) = 1; (* (( (ptr) &var_c61532)+17) ) = (word) -1; (* (( (ptr) &var_c61532)+18) ) = 1; (* (( (ptr) &var_c61532)+19) ) = 1493172224; (* (( (ptr) &var_c61532)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ); (* (( (ptr) &var_c61532)+27) ) = 27; (* (W28Pt) (word) &var_c0396 ) = var_c61532; (* (( (ptr) (word) &var_c0396) + 28) ) = 0; (* (( (ptr) (word) &var_c0396) + 29) ) = 0; { word pd228; pd228 = (* (( (ptr) (* (( (ptr) gf_c0769)+253)/* var_c61564 */ ))+4) ); var_c61596 = (word) ( *( (fPt) ((* (ptr) pd228 ))))((word) (&var_c0396), pd228); }; }; }; SOURCE(16934, 119) (void) PlaceChild_P2760((* (( (ptr) (* (( (ptr) formal_c0770)+4) ))+12) ), 1, ((curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13) /* entryVSpace_v4904 */ )) + 1), ((curPos_v13004.f1 + (* (( (ptr) gf_c0769)+13)/* entryVSpace_v4904 */ )) + 1)); SOURCE(17055, 17621) { word var_c61628; var_c61628 = (word) RedisplayTool_P2880((* ((( (ptr) formal_c0770)+4)) )); }; }; return(0); } static void DestroyOptionsViewer_P1920(formal_c0915) word formal_c0915; { W5 var_c66396; /* declaration of tool_v9440 skipped */ var_c66396.f4/* tool_v9440 */ = formal_c0915; /* DestroyOptionsViewer: */ SOURCE(17085, 17591) (void) (XR_MonitorEntry(var_c66396.f4/* tool_v9440 */ )); SOURCE(17142, 17534) { word var_c0837; var_c0837 = (word) &var_c66396; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6432) ), ( ((word) (fPt) NoName_Q7812) ), var_c0837); }; SOURCE(17085, 17591) (void) (XR_MonitorExit(var_c66396.f4/* tool_v9440 */ )); return; } static word NoName_Q6432(formal_c0772) word formal_c0772; { register ptr gf_c0771 = (ptr) &globalframe; SOURCE(17165, 17511) { word var_c61660; var_c61660 = (word) GetOptionsInternal_P2040((* (( (ptr) formal_c0772)+4) ), 0); }; SOURCE(17203, 65) { word pd229; pd229 = (* (( (ptr) (* (( (ptr) gf_c0771)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd229 ))))((* (( (ptr) (* (( (ptr) formal_c0772)+4) ))+12) ), 0, pd229); }; SOURCE(17270, 24) (* (( (ptr) (* (( (ptr) formal_c0772)+4) ))+12) ) = 0; SOURCE(17296, 17380) { word var_c61692; var_c61692 = (word) RedisplayTool_P2880((* ((( (ptr) formal_c0772)+4)) )); }; return(0); } static word GetOptions_P1980(formal_c0916, formal_c0917) word formal_c0916; word formal_c0917; { W7 var_c66428; /* declaration of tool_v9500 skipped */ /* declaration of reset_v9528 skipped */ /* declaration of options_v9572 skipped */ var_c66428.f4/* tool_v9500 */ = formal_c0916; var_c66428.f5/* reset_v9528 */ = formal_c0917; /* GetOptions: */ SOURCE(17326, 17350) (void) (XR_MonitorEntry(var_c66428.f4/* tool_v9500 */ )); SOURCE(17326, 17350) var_c66428.f6/* options_v9572 */ = 0; SOURCE(17420, 17256) { word var_c0838; var_c0838 = (word) &var_c66428; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6492) ), ( ((word) (fPt) NoName_Q7752) ), var_c0838); }; SOURCE(17326, 17350) (void) (XR_MonitorExit(var_c66428.f4/* tool_v9500 */ )); return(var_c66428.f6/* options_v9572 */ ); } static word NoName_Q6492(formal_c0773) word formal_c0773; { SOURCE(17443, 17233) (* (( (ptr) formal_c0773)+6) ) = (word) GetOptionsInternal_P2040((* (( (ptr) formal_c0773)+4) ), (* (( (ptr) formal_c0773)+5) )); return(0); } static word GetOptionsInternal_P2040(tool_v9632, reset_v9660) word tool_v9632; word reset_v9660; { register ptr gf_c66460 = (ptr) &globalframe; word options_v9704; /* GetOptionsInternal: */ SOURCE(17490, 17186) SOURCE(17490, 17186) options_v9704 = 0; { word var_c61724; word v_v56860; SOURCE(17586, 17090) v_v56860 = (* (( (ptr) tool_v9632)+12) ); SOURCE(33546, 30) if ((v_v56860 == 0)) { var_c61724 = 1; } else { var_c61724 = (((unsigned)(* (( (bPt) v_v56860)+77) ) << 25) >> 31); }; if ((0 == var_c61724)) { SOURCE(17670, 17006) { word var_c61756; if (((* (( (ptr) tool_v9632)+16) ) != 0)) { var_c61756 = (word) GetBoolButton_P960((* ((( (ptr) tool_v9632)+16)) )); } else { var_c61756 = 0; }; (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+1) ) = var_c61756; }; SOURCE(17790, 16886) (* (ptr) (* (( (ptr) tool_v9632)+11) ) ) = (word) GetBoolButton_P960((* ((( (ptr) tool_v9632)+15)) )); SOURCE(17861, 16815) { word var_c61788; { word idx230; var_c61788 = ( idx230 = (word) GetIntButton_P1140((* ((( (ptr) tool_v9632)+17)) )), BCK(idx230, 65536) ); }; (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+2) ) = var_c61788; }; SOURCE(17934, 16742) { word var_c61820; { word idx231; var_c61820 = ( idx231 = (word) GetIntButton_P1140((* ((( (ptr) tool_v9632)+18)) )), BCK(idx231, 65536) ); }; (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+4) ) = var_c61820; }; SOURCE(18010, 16666) { word var_c61852; { word idx232; var_c61852 = ( idx232 = (word) GetIntButton_P1140((* ((( (ptr) tool_v9632)+19)) )), BCK(idx232, 65536) ); }; (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+5) ) = var_c61852; }; SOURCE(18084, 16592) { word pd233; pd233 = (* (( (ptr) (* (( (ptr) gf_c66460)+252)/* var_c61436 */ ))+5) ); (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+6) ) = (word) ( *( (fPt) ((* (ptr) pd233 ))))((* ((( (ptr) tool_v9632)+23)) ), pd233) ; }; SOURCE(18169, 16507) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+7) ) = (word) GetBoolButton_P960((* ((( (ptr) tool_v9632)+13)) )); SOURCE(18241, 16435) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+8) ) = (word) GetBoolButton_P960((* ((( (ptr) tool_v9632)+14)) )); SOURCE(18316, 35) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+9) ) = 0; SOURCE(18372, 16304) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+10) ) = (word) GetRopeButton_P1620((* ((( (ptr) tool_v9632)+21)) )); SOURCE(18446, 16230) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+3) ) = (word) GetRopeButton_P1620((* ((( (ptr) tool_v9632)+20)) )); SOURCE(18517, 16159) (* (( (ptr) (* (( (ptr) tool_v9632)+11) ))+11) ) = (word) GetRealButton_P1380((* ((( (ptr) tool_v9632)+22)) )); SOURCE(18591, 301) if ((0 != reset_v9660)) { SOURCE(18661, 55) (void) SetIntButton_P1200((* (( (ptr) tool_v9632)+17) ), 0, 0); SOURCE(18718, 58) (void) SetIntButton_P1200((* (( (ptr) tool_v9632)+18) ), 0, 0); SOURCE(18778, 57) (void) SetIntButton_P1200((* (( (ptr) tool_v9632)+19) ), 0, 0); SOURCE(18837, 55) (void) SetRealButton_P1440((* (( (ptr) tool_v9632)+22) ), 0, (* (ptr) &fc234 )); }; }; SOURCE(18900, 49) { word var_c61884; var_c61884 = XR_NewObject(48, (* (( (ptr) gf_c66460)+29) )); (* (W12Pt) var_c61884 ) = (* (W12Pt) (* (( (ptr) tool_v9632)+11) ) ); options_v9704 = var_c61884; }; }; SOURCE(17490, 17186) return(options_v9704); } static void SetOptions_P2100(formal_c0918, formal_c0919) word formal_c0918; word formal_c0919; { W6 var_c66492; /* declaration of tool_v9764 skipped */ /* declaration of options_v9792 skipped */ var_c66492.f4/* tool_v9764 */ = formal_c0918; var_c66492.f5/* options_v9792 */ = formal_c0919; /* SetOptions: */ SOURCE(18986, 15690) (void) (XR_MonitorEntry(var_c66492.f4/* tool_v9764 */ )); SOURCE(19051, 15625) { word var_c0839; var_c0839 = (word) &var_c66492; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6552) ), ( ((word) (fPt) NoName_Q7632) ), var_c0839); }; SOURCE(18986, 15690) (void) (XR_MonitorExit(var_c66492.f4/* tool_v9764 */ )); return; } static word NoName_Q6552(formal_c0776) word formal_c0776; { W8 var_c0884; register ptr gf_c0775 = (ptr) &globalframe; word var_c61916; word v_v56812; var_c0884.f0 = formal_c0776; SOURCE(19074, 31) (* (W12Pt) (* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+11) ) ) = (* (W12Pt) (* (( (ptr) formal_c0776)+5) ) ); SOURCE(19137, 15539) v_v56812 = (* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+12) ); SOURCE(33546, 30) if ((v_v56812 == 0)) { var_c61916 = 1; } else { var_c61916 = (((unsigned)(* (( (bPt) v_v56812)+77) ) << 25) >> 31); }; if ((0 == var_c61916)) { SOURCE(19219, 139) if (((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+16) ) != 0)) { SOURCE(19254, 67) (void) SetBoolButton_P1020((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+16) ), (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+1) )); SOURCE(19323, 35) (void) ClickCompress_P1800((* ((( (ptr) (* (( (ptr) formal_c0776)+4) ))+16)) )); }; SOURCE(19363, 63) (void) SetBoolButton_P1020((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+15) ), (* (ptr) (* (( (ptr) formal_c0776)+5) ) )) ; SOURCE(19428, 64) (void) SetBoolButton_P1020((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+13) ), (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+7) )); SOURCE(19494, 67) (void) SetBoolButton_P1020((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+14) ), (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+8) )); SOURCE(19563, 64) (void) SetIntButton_P1200((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+17) ), 1, (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+2) )); SOURCE(19629, 67) (void) SetIntButton_P1200((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+18) ), 1, (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+4) )); SOURCE(19698, 65) (void) SetIntButton_P1200((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+19) ), 1, (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+5) )); SOURCE(19765, 160) SOURCE(19765, 160) { /* declaration of var_c015 skipped */ /* declaration of var_c016 skipped */ /* declaration of var_c017 skipped */ /* declaration of var_c018 skipped */ var_c0884.f4/* var_c015 */ = (* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+12) ); var_c0884.f5/* var_c016 */ = (* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+23) ); var_c0884.f6/* var_c017 */ = (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+6) ); var_c0884.f7/* var_c018 */ = (* (( (ptr) (* (( (ptr) gf_c0775)+252)/* var_c61436 */ ))+6) ); { word var_c019; { word var_c0840; var_c0840 = (word) &var_c0884; var_c019 = (word) XR_Enable(( ((word) (fPt) NoName_Q6612) ), ( ((word) (fPt) NoName_Q7692) ), var_c0840); }; /* removed trivial cond node */ }; }; SOURCE(19936, 64) (void) SetRopeButton_P1680((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+21) ), (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+10) )); SOURCE(20002, 65) (void) SetRealButton_P1440((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+22) ), 1, (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+11) )); SOURCE(20069, 61) (void) SetRopeButton_P1680((* (( (ptr) (* (( (ptr) formal_c0776)+4) ))+20) ), (* (( (ptr) (* (( (ptr) formal_c0776)+5) ))+3) )); }; return(0); } static word NoName_Q6612(formal_c0777) word formal_c0777; { SOURCE(19765, 160) { word pd235; pd235 = (* (( (ptr) formal_c0777)+7) ); (void) ( *( (fPt) ((* (ptr) pd235 ))))((* (( (ptr) formal_c0777)+4) ), (* (( (ptr) formal_c0777)+5) ), (* (( (ptr) formal_c0777)+6) ), pd235); }; return(0); } static word DefaultOptions_P2160() { register ptr gf_c66524 = (ptr) &globalframe; word options_v9852; word context_v13372; /* DefaultOptions: */ SOURCE(20139, 14537) SOURCE(20139, 14537) options_v9852 = 0; SOURCE(20201, 50) { word pd236; pd236 = (* (( (ptr) (* (( (ptr) gf_c66524)+236)/* var_c59068 */ ))+12) ); context_v13372 = (word) ( *( (fPt) ((* (ptr) pd236 ))))(0, pd236); }; SOURCE(20253, 44) { word var_c61948; var_c61948 = XR_NewObject(48, (* (( (ptr) gf_c66524)+29) )); (* (W12Pt) var_c61948 ) = (* (W12Pt) (* (( (ptr) gf_c66524)+6)/* defaultOptions_v4288 */ ) ); options_v9852 = var_c61948; }; SOURCE(20334, 39) (* (( (ptr) options_v9852)+6) ) = (* (( (ptr) context_v13372)+1) ); SOURCE(20375, 33) (* (( (ptr) options_v9852)+7) ) = (* (( (ptr) context_v13372)+13) ); SOURCE(20410, 35) (* (( (ptr) options_v9852)+8) ) = (* (( (ptr) context_v13372)+15) ); SOURCE(20447, 37) (* (( (ptr) options_v9852)+9) ) = (* (( (ptr) context_v13372)+14) ); SOURCE(20139, 14537) return(options_v9852); } static void DefaultOptionsFromProfile_P2220() { W6 var_c66556; register ptr gf_c66588 = (ptr) &globalframe; /* declaration of var_c61980 skipped */ word options_v13444; /* DefaultOptionsFromProfile: */ SOURCE(20490, 14186) { word tmpAddr237; tmpAddr237 = (word) (( (ptr) &var_c66556)+4)/* var_c61980 */ ; (* (ptr) tmpAddr237 ) = ( ((word) (fPt) EachTool_P4008) ); (* (( (ptr) tmpAddr237) + 1) ) = 1; }; SOURCE(20689, 35) options_v13444 = XR_NewObject(48, (* (( (ptr) gf_c66588)+29) )); (* (( (ptr) options_v13444)+2) ) = 1; (* (( (ptr) options_v13444)+4) ) = 1; (* (( (ptr) options_v13444)+5) ) = 65535; (* (( (ptr) options_v13444)+11) ) = (* (ptr) &fc220 ); SOURCE(20726, 13950) { word pd238; pd238 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+4) ); (* (ptr) options_v13444 ) = (word) ( *( (fPt) ((* (ptr) pd238 ))))((* (( (ptr) gf_c66588)+77) ), 0, pd238); }; SOURCE(20790, 13886) { word pd239; pd239 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+6) ); (* (( (ptr) options_v13444)+10) ) = (word) ( *( (fPt) ((* (ptr) pd239 ))))((* (( (ptr) gf_c66588)+78) ), 0, pd239); }; SOURCE(20853, 13823) { word var_c62076; { word pd240; pd240 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+4) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd240 ))))((* (( (ptr) gf_c66588)+80) ), 0, pd240))) { var_c62076 = (* (( (ptr) gf_c66588)+81) ); } else { var_c62076 = 0; }; }; { word pd241; pd241 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+6) ); (* (( (ptr) options_v13444)+3) ) = (word) ( *( (fPt) ((* (ptr) pd241 ))))((* (( (ptr) gf_c66588)+79) ), var_c62076, pd241) ; }; }; SOURCE(20987, 24) (* (( (ptr) gf_c66588)+6)/* defaultOptions_v4288 */ ) = options_v13444; SOURCE(21013, 13663) { word var_c62108; { word var_c62140; word var_c62172; var_c62140 = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = var_c62140; (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+90) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+89) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+88) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+87) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+86) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+85) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+84) ); (* (( (ptr) var_c62172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62172 = (* (( (ptr) var_c62172)+1) ); (* (ptr) var_c62172 ) = (* (( (ptr) gf_c66588)+83) ); var_c62108 = var_c62140; }; { word pd242; pd242 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+7) ); (* (( (ptr) gf_c66588)+7)/* styleList_v4316 */ ) = (word) ( *( (fPt) ((* (ptr) pd242 ))))((* (( (ptr) gf_c66588)+82) ), var_c62108, pd242) ; }; }; SOURCE(21210, 13466) { word var_c62204; { word var_c62236; word var_c62268; var_c62236 = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62268 = var_c62236; (* (ptr) var_c62268 ) = (* (( (ptr) gf_c66588)+81) ); (* (( (ptr) var_c62268)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62268 = (* (( (ptr) var_c62268)+1) ); (* (ptr) var_c62268 ) = (* (( (ptr) gf_c66588)+93) ); (* (( (ptr) var_c62268)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c66588)+17) )); var_c62268 = (* (( (ptr) var_c62268)+1) ); (* (ptr) var_c62268 ) = (* (( (ptr) gf_c66588)+92) ); var_c62204 = var_c62236; }; { word pd243; pd243 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+7) ); (* (( (ptr) gf_c66588)+8)/* deviceList_v4344 */ ) = (word) ( *( (fPt) ((* (ptr) pd243 ))))((* (( (ptr) gf_c66588)+91) ), var_c62204, pd243) ; }; }; SOURCE(21306, 39) (void) DefinePrinterVersions_P3060((* ((( (ptr) gf_c66588)+11)/* standardVersions_v4428 */ ) )); SOURCE(21347, 13329) { word var_c62300; { word pd244; pd244 = (* (( (ptr) (* (( (ptr) gf_c66588)+254)/* var_c62044 */ ))+7) ); var_c62300 = (word) ( *( (fPt) ((* (ptr) pd244 ))))((* (( (ptr) gf_c66588)+94) ), 0, pd244); }; (void) DefinePrinterVersions_P3060(var_c62300); }; SOURCE(21429, 36) { word pd245; pd245 = (* (( (ptr) (* (( (ptr) gf_c66588)+237)/* var_c59100 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd245 ))))((word) ((( (bPt) &var_c66556)+16)/* var_c61980 */ ), pd245); }; } static word EachTool_P4008(v_v51248, formal_c66652) word v_v51248; word formal_c66652; { register ptr gf_c66620 = (ptr) &globalframe; word var_c51292; word tool_v13488 = 0; formal_c66652 = (formal_c66652 - 16); /* EachTool: */ SOURCE(20529, 155) SOURCE(20529, 155) var_c51292 = 1; SOURCE(20574, 59) if (((* (ptr) v_v51248 ) != (* (( (ptr) gf_c66620)+5)/* xTSViewerClass_v4260 */ )) || (* (( (bPt) v_v51248)+77) ) & 0100) { SOURCE(20620, 13) return(1); }; SOURCE(20635, 22) tool_v13488 = XR_Narrow((* (( (ptr) v_v51248)+26) ), (* (( (ptr) gf_c66620)+16) )); SOURCE(20659, 25) (void) SetupPrinterVersion_P3000(tool_v13488); SOURCE(20529, 155) return(var_c51292); } static void CreateServerStatusViewer_P2280(formal_c0920) word formal_c0920; { W9 var_c66684; /* declaration of tool_v9928 skipped */ /* declaration of var_c62332 skipped */ (* (( (ptr) &var_c66684)+4)/* tool_v9928 */ ) = formal_c0920; /* CreateServerStatusViewer: */ SOURCE(21522, 13154) { word tmpAddr246; tmpAddr246 = (word) (( (ptr) &var_c66684)+5)/* var_c62332 */ ; (* (ptr) tmpAddr246 ) = ( ((word) (fPt) NewNamedLabel_P4116) ); (* (( (ptr) tmpAddr246) + 1) ) = 1; }; (void) (XR_MonitorEntry(* (( (ptr) &var_c66684)+4)/* tool_v9928 */ )); SOURCE(21583, 13093) { /* declaration of posX_v13644 skipped */ /* declaration of posY_v13672 skipped */ { word var_c0841; var_c0841 = (word) &var_c66684; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6672) ), ( ((word) (fPt) NoName_Q7572) ), var_c0841); }; }; SOURCE(21522, 13154) (void) (XR_MonitorExit(* (( (ptr) &var_c66684)+4)/* tool_v9928 */ )); return; } static word NoName_Q6672(formal_c0783) word formal_c0783; { register ptr gf_c0782 = (ptr) &globalframe; SOURCE(21606, 21) { word v_v13700 = 0; SOURCE(22320, 12356) { W28 var_c62364; W29 var_c0440; XR_FillWords(&(* (W27Pt) (&var_c62364)), 27, 0); (* (( (ptr) &var_c62364)+3) ) = 9999; (* (( (ptr) &var_c62364)+17) ) = (word) -1; (* (( (ptr) &var_c62364)+18) ) = 1; (* (( (ptr) &var_c62364)+19) ) = 285212672; (* (( (ptr) &var_c62364)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+10) ); (* (( (ptr) &var_c62364)+27) ) = 27; (* (W28Pt) (word) &var_c0440 ) = var_c62364; (* (( (ptr) (word) &var_c0440) + 28) ) = 0; { word pd247; pd247 = (* (( (ptr) (* (( (ptr) gf_c0782)+250)/* var_c60988 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+24) ) = (word) ( *( (fPt) ((* (ptr) pd247 ))))((word) (&var_c0440), pd247); }; }; SOURCE(22475, 12) (* (( (ptr) formal_c0783)+7) ) = 2; SOURCE(22489, 12) (* (( (ptr) formal_c0783)+8) ) = 2; SOURCE(22503, 12173) (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+25) ) = (word) NewNamedLabel_P4116((* (( (ptr) gf_c0782)+73) ), 0, 9999, (word) ( ( (bPt) formal_c0783)+20)); SOURCE(22569, 12) (* (( (ptr) formal_c0783)+7) ) = 2; SOURCE(22583, 18) (* (( (ptr) formal_c0783)+8) ) = ((* (( (ptr) formal_c0783)+8) ) + 16); SOURCE(22603, 12073) (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+26) ) = (word) NewNamedLabel_P4116((* (( (ptr) gf_c0782)+95) ), (* (( (ptr) gf_c0782)+96) ), 0, (word) (( (bPt) formal_c0783)+20)); SOURCE(22685, 11991) (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+27) ) = (word) NewNamedLabel_P4116((* (( (ptr) gf_c0782)+97) ), (* (( (ptr) gf_c0782)+98) ), 0, (word) (( (bPt) formal_c0783)+20)); SOURCE(22770, 11906) (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+28) ) = (word) NewNamedLabel_P4116((* (( (ptr) gf_c0782)+99) ), (* (( (ptr) gf_c0782)+100) ), 0, (word) (( (bPt) formal_c0783)+20)); SOURCE(22871, 18) (* (( (ptr) formal_c0783)+8) ) = ((* (( (ptr) formal_c0783)+8) ) + 16); SOURCE(22891, 11785) { W28 var_c62396; W30 var_c0442; XR_FillWords(&(* (W27Pt) (&var_c62396)), 27, 0); (* (( (ptr) &var_c62396)+2) ) = (* (( (ptr) formal_c0783)+8) ); (* (( (ptr) &var_c62396)+3) ) = 9999; (* (( (ptr) &var_c62396)+4) ) = 1; (* (( (ptr) &var_c62396)+17) ) = (word) -1; (* (( (ptr) &var_c62396)+18) ) = 1; (* (( (ptr) &var_c62396)+19) ) = 1493172224; (* (( (ptr) &var_c62396)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+24) ); (* (( (ptr) &var_c62396)+27) ) = 27; (* (W28Pt) (word) &var_c0442 ) = var_c62396; (* (( (ptr) (word) &var_c0442) + 28) ) = 0; (* (( (ptr) (word) &var_c0442) + 29) ) = 0; { word pd248; pd248 = (* (( (ptr) (* (( (ptr) gf_c0782)+253)/* var_c61564 */ ))+4) ); v_v13700 = (word) ( *( (fPt) ((* (ptr) pd248 ))))((word) (&var_c0442), pd248); }; }; SOURCE(23000, 98) (void) PlaceChild_P2760((* (( (ptr) (* (( (ptr) formal_c0783)+4) ))+24) ), 0, ((* (( (ptr) formal_c0783)+8) ) + 1), ((* ( ( (ptr) formal_c0783)+8) ) + 1)); SOURCE(23100, 11576) { word var_c62428; var_c62428 = (word) RedisplayTool_P2880((* ((( (ptr) formal_c0783)+4)) )); }; SOURCE(23134, 11542) SOURCE(23135, 11541) { W2 var_c62460; { W2 var_c0446; word var_c0445; var_c0445 = XR_ExtensionAlloc(6); { word tmpAddr249; tmpAddr249 = (word) var_c0445; (* (ptr) tmpAddr249 ) = ( ((word) (fPt) NoName_Q8352) ); (* (( (ptr) tmpAddr249) + 1) ) = 0; (* (( (ptr) tmpAddr249) + 2) ) = (word) (( (bPt) gf_c0782)+612)/* var_c57628 */ ; (* (( (ptr) tmpAddr249) + 3) ) = 0; (* (( (ptr) tmpAddr249) + 4) ) = (* (( (ptr) formal_c0783)+4) ); (* (( (ptr) tmpAddr249) + 5) ) = 30; }; (void) XR_Fork((word) &var_c0446, var_c0445); var_c62460 = var_c0446; }; { word pd250; pd250 = (* (( (ptr) (* (( (ptr) gf_c0782)+255)/* var_c62492 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd250 ))))(var_c62460, pd250); }; }; }; return(0); } static word NewNamedLabel_P4116(name_v13776, size_v13804, w_v13832, formal_c66748) word name_v13776; word size_v13804; word w_v13832; word formal_c66748; { register ptr gf_c66716 = (ptr) &globalframe; word v_v13876; word width_v13904; formal_c66748 = (formal_c66748 - 20); /* NewNamedLabel: */ SOURCE(21606, 21) SOURCE(21606, 21) v_v13876 = 0; SOURCE(21693, 71) { word tc251; word pd252; word pd253; pd252 = (* (( (ptr) (* (( (ptr) gf_c66716)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd252 ))))(size_v13804, pd252))) { tc251 = (word) w_v13832; } else { pd253 = (* (( (ptr) (* (( (ptr) gf_c66716)+249)/* var_c60892 */ ))+8) ); tc251 = (word) ( *( (fPt) ((* (ptr) pd253 ))))(size_v13804, 0, pd253); }; width_v13904 = tc251; }; SOURCE(21766, 12910) { W28 var_c62524; W30 var_c0456; XR_FillWords(&(* (W27Pt) (&var_c62524)), 27, 0); (* (( (ptr) &var_c62524)+1) ) = (* (( (ptr) formal_c66748)+7) ); (* (( (ptr) &var_c62524)+2) ) = (* (( (ptr) formal_c66748)+8) ); (* (( (ptr) &var_c62524)+13) ) = name_v13776; (* (( (ptr) &var_c62524)+17) ) = (word) -1; (* (( (ptr) &var_c62524)+18) ) = 1; (* (( (ptr) &var_c62524)+19) ) = 1358954496; (* (( (ptr) &var_c62524)+22) ) = (* (( (ptr) (* (( (ptr) formal_c66748)+4) ))+24) ); (* (( (ptr) &var_c62524)+27) ) = 27; (* (W28Pt) (word) &var_c0456 ) = var_c62524; (* (( (ptr) (word) &var_c0456) + 28) ) = 0; (* (( (ptr) (word) &var_c0456) + 29) ) = 0; { word pd254; pd254 = (* (( (ptr) (* (( (ptr) gf_c66716)+256)/* var_c62556 */ ))+4) ); v_v13876 = (word) ( *( (fPt) ((* (ptr) pd254 ))))((word) (&var_c0456), pd254); }; }; SOURCE(21888, 22) (* (( (ptr) formal_c66748)+7) ) = (((* (( (ptr) formal_c66748)+7) ) + (* (( (ptr) v_v13876)+3) )) + 2); SOURCE(21912, 12764) { W28 var_c62588; W30 var_c0458; XR_FillWords(&(* (W27Pt) (&var_c62588)), 27, 0); (* (( (ptr) &var_c62588)+1) ) = (* (( (ptr) formal_c66748)+7) ); (* (( (ptr) &var_c62588)+2) ) = (* (( (ptr) formal_c66748)+8) ); (* (( (ptr) &var_c62588)+3) ) = width_v13904; (* (( (ptr) &var_c62588)+17) ) = (word) -1; (* (( (ptr) &var_c62588)+18) ) = 1; (* (( (ptr) &var_c62588)+19) ) = 1358954496; (* (( (ptr) &var_c62588)+22) ) = (* (( (ptr) (* (( (ptr) formal_c66748)+4) ))+24) ); (* (( (ptr) &var_c62588)+27) ) = 27; (* (W28Pt) (word) &var_c0458 ) = var_c62588; (* (( (ptr) (word) &var_c0458) + 28) ) = 0; (* (( (ptr) (word) &var_c0458) + 29) ) = 0; { word pd255; pd255 = (* (( (ptr) (* (( (ptr) gf_c66716)+256)/* var_c62556 */ ))+4) ); v_v13876 = (word) ( *( (fPt) ((* (ptr) pd255 ))))((word) (&var_c0458), pd255); }; }; SOURCE(22033, 22) (* (( (ptr) formal_c66748)+7) ) = (((* (( (ptr) formal_c66748)+7) ) + (* (( (ptr) v_v13876)+3) )) + 2); SOURCE(21606, 21) return(v_v13876); } static void DestroyServerStatusViewer_P2340(formal_c0921) word formal_c0921; { W5 var_c66780; /* declaration of tool_v9988 skipped */ var_c66780.f4/* tool_v9988 */ = formal_c0921; /* DestroyServerStatusViewer: */ SOURCE(23224, 11452) (void) (XR_MonitorEntry(var_c66780.f4/* tool_v9988 */ )); SOURCE(23286, 11390) { word var_c0842; var_c0842 = (word) &var_c66780; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6732) ), ( ((word) (fPt) NoName_Q7512) ), var_c0842); }; SOURCE(23224, 11452) (void) (XR_MonitorExit(var_c66780.f4/* tool_v9988 */ )); return; } static word NoName_Q6732(formal_c0787) word formal_c0787; { register ptr gf_c0786 = (ptr) &globalframe; word var_c62620; word v_v56764; SOURCE(23309, 11367) v_v56764 = (* (( (ptr) (* (( (ptr) formal_c0787)+4) ))+24) ); SOURCE(33546, 30) if ((v_v56764 == 0)) { var_c62620 = 1; } else { var_c62620 = (((unsigned)(* (( (bPt) v_v56764)+77) ) << 25) >> 31); }; if ((0 == var_c62620)) { SOURCE(23353, 71) { word pd256; pd256 = (* (( (ptr) (* (( (ptr) gf_c0786)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd256 ))))((* (( (ptr) (* (( (ptr) formal_c0787)+4) ))+24) ), 0, pd256); }; }; SOURCE(23426, 11250) { word var_c62652; var_c62652 = (word) RedisplayTool_P2880((* ((( (ptr) formal_c0787)+4)) )); }; SOURCE(23452, 33) (void) (XR_Broadcast((word) (( (bPt) (* (( (ptr) formal_c0787)+4) ))+116))); return(0); } static void ServerStatusWatcher_P2400(formal_c0922, delay_v10076) word formal_c0922; word delay_v10076; { W19 var_c66812; /* declaration of tool_v10048 skipped */ register ptr gf_c66844 = (ptr) &globalframe; /* declaration of var_c62684 skipped */ /* declaration of var_c62716 skipped */ /* declaration of var_c62748 skipped */ W4 previousStatus_v14032; word first_v14060 = 1; word previousMedia_v14088; (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ) = formal_c0922; /* ServerStatusWatcher: */ SOURCE(23554, 11122) { word tmpAddr257; tmpAddr257 = (word) (( (ptr) &var_c66812)+5)/* var_c62684 */ ; (* (ptr) tmpAddr257 ) = ( ((word) (fPt) Report_P4296) ); (* (( (ptr) tmpAddr257) + 1) ) = 1; }; { word tmpAddr258; tmpAddr258 = (word) (( (ptr) &var_c66812)+7)/* var_c62716 */ ; (* (ptr) tmpAddr258 ) = ( ((word) (fPt) WaitServerStatusTimer_P4236) ); (* (( (ptr) tmpAddr258) + 1) ) = 1; }; { word tmpAddr259; tmpAddr259 = (word) (( (ptr) &var_c66812)+9)/* var_c62748 */ ; (* (ptr) tmpAddr259 ) = ( ((word) (fPt) SetServerStatusTimer_P4176) ); (* (( (ptr) tmpAddr259) + 1) ) = 1; }; SOURCE(24215, 38) previousStatus_v14032.f0 = 0; previousStatus_v14032.f1 = 0; previousStatus_v14032.f2 = 0; previousStatus_v14032.f3 = 0; SOURCE(24294, 25) previousMedia_v14088 = (* (( (ptr) gf_c66844)+101) ); SOURCE(24321, 10355) { word var_c62812; word v_v56716; lab_L100059: ; v_v56716 = (* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+24) ); SOURCE(33546, 30) if ((v_v56716 == 0)) { var_c62812 = 1; } else { var_c62812 = (((unsigned)(* (( (bPt) v_v56716)+77) ) << 25) >> 31); }; if ((0 == var_c62812)) { } else { goto lab_L100057; }; SOURCE(24394, 10282) if ((* (( (bPt) (* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+24) ))+76) ) & 1) { SOURCE(24435, 1309) { W4 currentStatus_v14368; /* declaration of statusSucceded_v14396 skipped */ word currentMedia_v14424 = 0; SOURCE(24485, 37) currentStatus_v14368.f0 = 0; currentStatus_v14368.f1 = 0; currentStatus_v14368.f2 = 0; currentStatus_v14368.f3 = 0; SOURCE(24524, 27) (* (( (ptr) &var_c66812)+11)/* statusSucceded_v14396 */ ) = 1; SOURCE(24579, 33) (void) SetServerStatusTimer_P4176((* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ), delay_v10076, (word) (( (bPt) &var_c66812)+36) /* var_c62748 */ ); SOURCE(24614, 10062) { /* declaration of var_c020 skipped */ /* declaration of var_c021 skipped */ /* declaration of var_c022 skipped */ SOURCE(24614, 10062) (* (( (ptr) &var_c66812)+12)/* var_c020 */ ) = (* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+4) ); (* (( (ptr) &var_c66812)+13)/* var_c021 */ ) = (* (( (ptr) (* (( (ptr) gf_c66844)+236)/* var_c59068 */ ))+9) ); { word var_c023; { word var_c0843; var_c0843 = (word) &var_c66812; var_c023 = (word) XR_Enable(( ((word) (fPt) NoName_Q6792) ), ( ((word) (fPt) NoName_Q7452) ), var_c0843); }; if ((var_c023 == 8)) { goto lab_L100062; }; }; currentStatus_v14368 = (* (W4Pt) ((( (ptr) &var_c66812)+14)/* var_c022 */ +1) ); lab_L100062: ; }; SOURCE(24811, 9865) if ((0 != (* (( (ptr) &var_c66812)+11)/* statusSucceded_v14396 */ ))) { SOURCE(24861, 9815) if ((0 != first_v14060) || (previousStatus_v14032.f0 != currentStatus_v14368.f0)) { SOURCE(24923, 9753) { word var_c62908; { word pd260; pd260 = (* (( (ptr) (* (( (ptr) gf_c66844)+257)/* var_c62940 */ ))+17) ); var_c62908 = (word) ( *( (fPt) ((* (ptr) pd260 ))))(currentStatus_v14368.f0, 0, pd260); }; (void) Report_P4296((* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+26) ), var_c62908, (word) (( (bPt) &var_c66812)+20) /* var_c62684 */ ); }; }; SOURCE(25017, 9659) if ((0 != first_v14060) || (previousStatus_v14032.f1 != currentStatus_v14368.f1)) { SOURCE(25083, 9593) { word var_c62972; { word pd261; pd261 = (* (( (ptr) (* (( (ptr) gf_c66844)+257)/* var_c62940 */ ))+27) ); var_c62972 = (word) ( *( (fPt) ((* (ptr) pd261 ))))(currentStatus_v14368.f1, 0, pd261); }; (void) Report_P4296((* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+27) ), var_c62972, (word) (( (bPt) &var_c66812)+20) /* var_c62684 */ ); }; }; SOURCE(25183, 9493) if ((0 != first_v14060) || (previousStatus_v14032.f2 != currentStatus_v14368.f2)) { SOURCE(25245, 9431) { word var_c63004; { word pd262; pd262 = (* (( (ptr) (* (( (ptr) gf_c66844)+257)/* var_c62940 */ ))+15) ); var_c63004 = (word) ( *( (fPt) ((* (ptr) pd262 ))))(currentStatus_v14368.f2, 0, pd262); }; (void) Report_P4296((* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+28) ), var_c63004, (word) (( (bPt) &var_c66812)+20) /* var_c62684 */ ); }; }; SOURCE(25351, 9325) { register word mList_v14468; mList_v14468 = currentStatus_v14368.f3; lab_L100068: ; if ((mList_v14468 != 0)) { } else { goto lab_L100065; }; SOURCE(25428, 9248) { word pd263; pd263 = (* (( (ptr) (* (( (ptr) gf_c66844)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd263 ))))(currentMedia_v14424, pd263))) { SOURCE(25463, 32) currentMedia_v14424 = (* (ptr) mList_v14468 ); } else { SOURCE(25495, 9181) { word pd264; pd264 = (* (( (ptr) (* (( (ptr) gf_c66844)+235)/* var_c59004 */ ))+5) ); currentMedia_v14424 = (word) ( *( (fPt) ((* (ptr) pd264 ))))(currentMedia_v14424, (* (( (ptr) gf_c66844)+103) ), (* (ptr) mList_v14468 ), 0, 0, pd264) ; }; }; }; mList_v14468 = (* (( (ptr) mList_v14468)+1) ); goto lab_L100068; lab_L100065: ; }; SOURCE(25561, 9115) { word pd265; pd265 = (* (( (ptr) (* (( (ptr) gf_c66844)+235)/* var_c59004 */ ))+8) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd265 ))))(currentMedia_v14424, previousMedia_v14088, 1, pd265))) { SOURCE(25613, 49) { word pd266; pd266 = (* (( (ptr) (* (( (ptr) gf_c66844)+256)/* var_c62556 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd266 ))))((* (( (ptr) (* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ))+25) ), currentMedia_v14424, 1, pd266) ; }; }; }; SOURCE(25664, 30) previousStatus_v14032 = currentStatus_v14368; SOURCE(25696, 28) previousMedia_v14088 = currentMedia_v14424; SOURCE(25726, 13) first_v14060 = 0; }; }; } else { SOURCE(25822, 29) (void) SetServerStatusTimer_P4176((* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ), 1, (word) (( (bPt) &var_c66812)+36)/* var_c62748 */ ) ; }; SOURCE(25856, 27) (void) WaitServerStatusTimer_P4236((* (( (ptr) &var_c66812)+4)/* tool_v10048 */ ), (word) (( (bPt) &var_c66812)+28)/* var_c62716 */ ) ; goto lab_L100059; lab_L100057: ; }; } static word NoName_Q6792(formal_c0789) word formal_c0789; { SOURCE(24614, 10062) { word pd267; pd267 = (* (( (ptr) formal_c0789)+13) ); (void) ( *( (fPt) ((* (ptr) pd267 ))))((word) (( (bPt) formal_c0789)+56), (* (( (ptr) formal_c0789)+12) ), pd267); }; return(0); } static void SetServerStatusTimer_P4176(formal_c0923, formal_c0924, formal_c66908) word formal_c0923; word formal_c0924; word formal_c66908; { W6 var_c66876; /* declaration of tool_v14164 skipped */ /* declaration of value_v14192 skipped */ formal_c66908 = (formal_c66908 - 36); var_c66876.f4/* tool_v14164 */ = formal_c0923; var_c66876.f5/* value_v14192 */ = formal_c0924; var_c66876.f0 = formal_c66908; /* SetServerStatusTimer: */ SOURCE(23609, 11067) (void) (XR_MonitorEntry(var_c66876.f4/* tool_v14164 */ )); SOURCE(23679, 10997) { word var_c0844; var_c0844 = (word) &var_c66876; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6852) ), ( ((word) (fPt) NoName_Q7392) ), var_c0844); }; SOURCE(23609, 11067) (void) (XR_MonitorExit(var_c66876.f4/* tool_v14164 */ )); return; } static word NoName_Q6852(formal_c0792) word formal_c0792; { register ptr gf_c0791 = (ptr) &globalframe; SOURCE(23702, 10974) { word var_c63036; { word pd268; word idx269; pd268 = (* (( (ptr) (* (( (ptr) gf_c0791)+255)/* var_c62492 */ ))+7) ); var_c63036 = (word) ( *( (fPt) ((* (ptr) pd268 ))))(( idx269 = (* (( (ptr) formal_c0792)+5) ), SGNCK(idx269) ), pd268); }; { word pd270; pd270 = (* (( (ptr) (* (( (ptr) gf_c0791)+255)/* var_c62492 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd270 ))))((word) (( (bPt) (* (( (ptr) formal_c0792)+4) ))+116), var_c63036, pd270); }; }; SOURCE(23781, 33) (void) (XR_Broadcast((word) (( (bPt) (* (( (ptr) formal_c0792)+4) ))+116))); return(0); } static void WaitServerStatusTimer_P4236(formal_c0925, formal_c66972) word formal_c0925; word formal_c66972; { W5 var_c66940; /* declaration of tool_v14252 skipped */ formal_c66972 = (formal_c66972 - 28); var_c66940.f4/* tool_v14252 */ = formal_c0925; var_c66940.f0 = formal_c66972; /* WaitServerStatusTimer: */ SOURCE(23819, 102) (void) (XR_MonitorEntry(var_c66940.f4/* tool_v14252 */ )); SOURCE(23870, 51) { word var_c0845; var_c0845 = (word) &var_c66940; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6912) ), ( ((word) (fPt) NoName_Q7332) ), var_c0845); }; SOURCE(23819, 102) (void) (XR_MonitorExit(var_c66940.f4/* tool_v14252 */ )); return; } static word NoName_Q6912(formal_c0794) word formal_c0794; { SOURCE(23893, 28) (void) (XR_Wait((* (( (ptr) formal_c0794)+4) ), (word) (( (bPt) (* (( (ptr) formal_c0794)+4) ))+116))); return(0); } static void Report_P4296(v_v14312, new_v14340, formal_c67036) word v_v14312; word new_v14340; word formal_c67036; { register ptr gf_c67004 = (ptr) &globalframe; formal_c67036 = (formal_c67036 - 20); /* Report: */ SOURCE(23926, 284) SOURCE(23966, 18) { word pd271; pd271 = (* (( (ptr) (* (( (ptr) gf_c67004)+256)/* var_c62556 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd271 ))))(v_v14312, new_v14340, 1, pd271); }; { word pd272; pd272 = (* (( (ptr) (* (( (ptr) gf_c67004)+235)/* var_c59004 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd272 ))))(new_v14340, (* (( (ptr) gf_c67004)+104) ), 0, pd272))) { SOURCE(24042, 40) { word pd273; pd273 = (* (( (ptr) (* (( (ptr) gf_c67004)+256)/* var_c62556 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd273 ))))(v_v14312, (* (( (ptr) gf_c67004)+60) ), 1, pd273); }; } else { { word pd274; pd274 = (* (( (ptr) (* (( (ptr) gf_c67004)+235)/* var_c59004 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd274 ))))(new_v14340, (* (( (ptr) gf_c67004)+105) ), 0, pd274))) { SOURCE(24118, 39) { word pd275; pd275 = (* (( (ptr) (* (( (ptr) gf_c67004)+256)/* var_c62556 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd275 ))))(v_v14312, (* (( (ptr) gf_c67004)+59) ), 1, pd275); }; } else { SOURCE(24170, 40) { word pd276; pd276 = (* (( (ptr) (* (( (ptr) gf_c67004)+256)/* var_c62556 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd276 ))))(v_v14312, (* (( (ptr) gf_c67004)+58) ), 1, pd276); }; }; }; }; }; } static word CreateStatusReport_P2460(formal_c0926, formal_c0927) word formal_c0926; word formal_c0927; { W7 var_c67068; /* declaration of tool_v10136 skipped */ /* declaration of title_v10164 skipped */ /* declaration of state_v10208 skipped */ var_c67068.f4/* tool_v10136 */ = formal_c0926; var_c67068.f5/* title_v10164 */ = formal_c0927; /* CreateStatusReport: */ SOURCE(25897, 8779) (void) (XR_MonitorEntry(var_c67068.f4/* tool_v10136 */ )); SOURCE(25897, 8779) var_c67068.f6/* state_v10208 */ = 0; SOURCE(25995, 8681) { word var_c0846; var_c0846 = (word) &var_c67068; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q6972) ), ( ((word) (fPt) NoName_Q7272) ), var_c0846); }; SOURCE(25897, 8779) (void) (XR_MonitorExit(var_c67068.f4/* tool_v10136 */ )); return(var_c67068.f6/* state_v10208 */ ); } static word NoName_Q6972(formal_c0798) word formal_c0798; { register ptr gf_c0797 = (ptr) &globalframe; SOURCE(26018, 10) { word x_v14596 = 2; SOURCE(26138, 8538) { word var_c63068; var_c63068 = XR_NewObject(36, (* (( (ptr) gf_c0797)+27) )); (* (ptr) var_c63068 ) = (* (( (ptr) formal_c0798)+4) ); (* (( (ptr) var_c63068)+7) ) = 1; (* (( (ptr) formal_c0798)+6) ) = var_c63068; }; SOURCE(26184, 8492) if (((* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+35) ) == 0) || (* (( (bPt) (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+35) ))+77) ) & 0100) { SOURCE(26324, 8352) { W28 var_c63100; W29 var_c0493; XR_FillWords(&(* (W27Pt) (&var_c63100)), 27, 0); (* (( (ptr) &var_c63100)+3) ) = 9999; (* (( (ptr) &var_c63100)+17) ) = (word) -1; (* (( (ptr) &var_c63100)+18) ) = 1; (* (( (ptr) &var_c63100)+19) ) = 1358954496; (* (( (ptr) &var_c63100)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+10) ); (* (( (ptr) &var_c63100)+27) ) = 27; (* (W28Pt) (word) &var_c0493 ) = var_c63100; (* (( (ptr) (word) &var_c0493) + 28) ) = 0; { word pd277; pd277 = (* (( (ptr) (* (( (ptr) gf_c0797)+250)/* var_c60988 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+35) ) = (word) ( *( (fPt) ((* (ptr) pd277 ))))((word) (&var_c0493), pd277); }; }; SOURCE(26467, 8209) { W28 var_c63132; W30 var_c0495; XR_FillWords(&(* (W27Pt) (&var_c63132)), 27, 0); (* (( (ptr) &var_c63132)+3) ) = 9999; (* (( (ptr) &var_c63132)+4) ) = 1; (* (( (ptr) &var_c63132)+17) ) = (word) -1; (* (( (ptr) &var_c63132)+18) ) = 1; (* (( (ptr) &var_c63132)+19) ) = 1493172224; (* (( (ptr) &var_c63132)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+10) ); (* (( (ptr) &var_c63132)+27) ) = 27; (* (W28Pt) (word) &var_c0495 ) = var_c63132; (* (( (ptr) (word) &var_c0495) + 28) ) = 0; (* (( (ptr) (word) &var_c0495) + 29) ) = 0; { word pd278; pd278 = (* (( (ptr) (* (( (ptr) gf_c0797)+253)/* var_c61564 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+36) ) = (word) ( *( (fPt) ((* (ptr) pd278 ))))((word) (&var_c0495), pd278); }; }; }; SOURCE(26569, 8107) { W28 var_c63164; W29 var_c0497; XR_FillWords(&(* (W27Pt) (&var_c63164)), 27, 0); (* (( (ptr) &var_c63164)+3) ) = 9999; (* (( (ptr) &var_c63164)+4) ) = 24; (* (( (ptr) &var_c63164)+17) ) = (word) -1; (* (( (ptr) &var_c63164)+18) ) = 1; (* (( (ptr) &var_c63164)+19) ) = 419430400; (* (( (ptr) &var_c63164)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+4) ))+35) ); (* (( (ptr) &var_c63164)+27) ) = 27; (* (W28Pt) (word) &var_c0497 ) = var_c63164; (* (( (ptr) (word) &var_c0497) + 28) ) = 0; { word pd279; pd279 = (* (( (ptr) (* (( (ptr) gf_c0797)+250)/* var_c60988 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+1) ) = (word) ( *( (fPt) ((* (ptr) pd279 ))))((word) (&var_c0497), pd279); }; }; SOURCE(26728, 7948) { W28 var_c63196; W30 var_c0499; XR_FillWords(&(* (W27Pt) (&var_c63196)), 27, 0); (* (( (ptr) &var_c63196)+1) ) = x_v14596; (* (( (ptr) &var_c63196)+2) ) = 2; (* (( (ptr) &var_c63196)+4) ) = 16; (* (( (ptr) &var_c63196)+17) ) = (word) -1; (* (( (ptr) &var_c63196)+18) ) = 1; (* (( (ptr) &var_c63196)+19) ) = 285212672; (* (( (ptr) &var_c63196)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+1) ); (* (( (ptr) &var_c63196)+27) ) = 27; (* (W28Pt) (word) &var_c0499 ) = var_c63196; (* (( (ptr) (word) &var_c0499) + 28) ) = 0; (* (( (ptr) (word) &var_c0499) + 29) ) = 0; { word pd280; pd280 = (* (( (ptr) (* (( (ptr) gf_c0797)+256)/* var_c62556 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+4) ) = (word) ( *( (fPt) ((* (ptr) pd280 ))))((word) (&var_c0499), pd280); }; }; SOURCE(26927, 7749) { word pd281; pd281 = (* (( (ptr) (* (( (ptr) gf_c0797)+258)/* var_c63228 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+2) ) = (word) ( *( (fPt) ((* (ptr) pd281 ))))((* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+1) ), x_v14596, 2, 16, (* (ptr) &fc282 ), 25, pd281); }; SOURCE(27026, 32) { word pd283; pd283 = (* (( (ptr) (* (( (ptr) gf_c0797)+258)/* var_c63228 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd283 ))))((* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+2) ), (* (ptr) &fc282 ), pd283); }; SOURCE(27060, 24) x_v14596 = ((x_v14596 + (* (( (ptr) (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+2) ))+3) )) + 4); SOURCE(27086, 7590) { W28 var_c63260; W35 var_c0501; XR_FillWords(&(* (W27Pt) (&var_c63260)), 27, 0); (* (( (ptr) &var_c63260)+1) ) = x_v14596; (* (( (ptr) &var_c63260)+2) ) = 2; (* (( (ptr) &var_c63260)+13) ) = (* (( (ptr) gf_c0797)+107) ); (* (( (ptr) &var_c63260)+17) ) = (word) -1; (* (( (ptr) &var_c63260)+18) ) = 1; (* (( (ptr) &var_c63260)+19) ) = 419430400; (* (( (ptr) &var_c63260)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+1) ); (* (( (ptr) &var_c63260)+27) ) = 27; (* (W28Pt) (word) &var_c0501 ) = var_c63260; (* (( (ptr) (word) &var_c0501) + 28) ) = (word) (( (bPt) gf_c0797)+588)/* var_c57532 */ ; (* (( (ptr) (word) &var_c0501) + 29) ) = (* (( (ptr) formal_c0798)+6) ); (* (( (ptr) (word) &var_c0501) + 30) ) = 0; (* (( (ptr) (word) &var_c0501) + 31) ) = 0; (* (( (ptr) (word) &var_c0501) + 32) ) = 0; (* (( (ptr) (word) &var_c0501) + 33) ) = 1; (* (( (ptr) (word) &var_c0501) + 34) ) = 0; { word pd284; pd284 = (* (( (ptr) (* (( (ptr) gf_c0797)+247)/* var_c60188 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+3) ) = (word) ( *( (fPt) ((* (ptr) pd284 ))))((word) (&var_c0501), pd284); }; }; SOURCE(27296, 7380) { W28 var_c63292; W30 var_c0503; XR_FillWords(&(* (W27Pt) (&var_c63292)), 27, 0); (* (( (ptr) &var_c63292)+1) ) = 70; (* (( (ptr) &var_c63292)+2) ) = 2; (* (( (ptr) &var_c63292)+13) ) = (* (( (ptr) formal_c0798)+5) ); (* (( (ptr) &var_c63292)+17) ) = (word) -1; (* (( (ptr) &var_c63292)+18) ) = 1; (* (( (ptr) &var_c63292)+19) ) = 285212672; (* (( (ptr) &var_c63292)+22) ) = (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+1) ); (* (( (ptr) &var_c63292)+27) ) = 27; (* (W28Pt) (word) &var_c0503 ) = var_c63292; (* (( (ptr) (word) &var_c0503) + 28) ) = 0; (* (( (ptr) (word) &var_c0503) + 29) ) = 0; { word pd285; pd285 = (* (( (ptr) (* (( (ptr) gf_c0797)+256)/* var_c62556 */ ))+4) ); (* (( (ptr) (* (( (ptr) formal_c0798)+6) ))+5) ) = (word) ( *( (fPt) ((* (ptr) pd285 ))))((word) (&var_c0503), pd285); }; }; }; return(0); } static void ResizeStatusContainer_P2520(formal_c0928) word formal_c0928; { W7 var_c67100; /* declaration of tool_v10268 skipped */ register ptr gf_c67132 = (ptr) &globalframe; /* declaration of var_c63324 skipped */ var_c67100.f4/* tool_v10268 */ = formal_c0928; /* ResizeStatusContainer: */ SOURCE(27443, 7233) { word tmpAddr286; tmpAddr286 = (word) (( (ptr) &var_c67100)+5)/* var_c63324 */ ; (* (ptr) tmpAddr286 ) = ( ((word) (fPt) Resize_P4500) ); (* (( (ptr) tmpAddr286) + 1) ) = 1; }; SOURCE(28403, 55) if (((* (( (ptr) var_c67100.f4/* tool_v10268 */ )+10) ) == 0) || (* (( (bPt) (* (( (ptr) var_c67100.f4/* tool_v10268 */ )+10) ))+77) ) & 0100) { SOURCE(28452, 6) return; }; SOURCE(28479, 51) { word pd287; pd287 = (* (( (ptr) (* (( (ptr) gf_c67132)+259)/* var_c63356 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd287 ))))((word) (( (bPt) &var_c67100)+20)/* var_c63324 */ , (* (( (ptr) var_c67100.f4/* tool_v10268 */ )+10) ), pd287); }; } static void Resize_P4500(formal_c67196) word formal_c67196; { register ptr gf_c67164 = (ptr) &globalframe; word curY_v14756 = 0; formal_c67196 = (formal_c67196 - 20); /* Resize: */ SOURCE(27555, 7121) SOURCE(27620, 221) { register word v_v14800; v_v14800 = (* (( (ptr) (* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+35) ))+24) ); lab_L100078: ; if ((v_v14800 != 0)) { } else { goto lab_L100075; }; SOURCE(27696, 20) if ((* (( (bPt) v_v14800)+77) ) & 0100) { SOURCE(27716, 4) goto lab_L100077; }; SOURCE(27722, 19) curY_v14756 = (curY_v14756 + 2); SOURCE(27743, 80) { word pd288; pd288 = (* (( (ptr) (* (( (ptr) gf_c67164)+237)/* var_c59100 */ ))+37) ); (void) ( *( (fPt) ((* (ptr) pd288 ))))(v_v14800, (* (( (ptr) v_v14800)+1) ), curY_v14756, (* (( (ptr) v_v14800)+3) ), (* ( ( (ptr) v_v14800)+4) ), pd288); }; SOURCE(27825, 16) curY_v14756 = (curY_v14756 + (* (( (ptr) v_v14800)+4) )); lab_L100077: ; v_v14800 = (* (( (ptr) v_v14800)+23) ); goto lab_L100078; lab_L100075: ; }; SOURCE(27852, 451) if (( (int)curY_v14756 != (int)0)) { SOURCE(27899, 97) (void) PlaceChild_P2760((* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+35) ), 2, 0, curY_v14756); SOURCE(27998, 84) (void) PlaceChild_P2760((* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+36) ), 3, 1, 1); } else { SOURCE(28093, 74) { word pd289; pd289 = (* (( (ptr) (* (( (ptr) gf_c67164)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd289 ))))((* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+35) ), 0, pd289); }; SOURCE(28169, 33) (* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+35) ) = 0; SOURCE(28204, 69) { word pd290; pd290 = (* (( (ptr) (* (( (ptr) gf_c67164)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd290 ))))((* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+36) ), 0, pd290); }; SOURCE(28275, 28) (* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+36) ) = 0; }; SOURCE(28308, 6368) if ((0 == (word) RedisplayTool_P2880((* ((( (ptr) formal_c67196)+4)) )))) { SOURCE(28340, 58) { word pd291; pd291 = (* (( (ptr) (* (( (ptr) gf_c67164)+237)/* var_c59100 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd291 ))))((* (( (ptr) (* (( (ptr) formal_c67196)+4) ))+35) ), 1, 1, 0, pd291); }; }; } static void StopButtonProc_P2580(parent_v45128, clientData_v45156, mouseButton_v45184, shift_v45212, control_v45240) word parent_v45128; word clientData_v45156; word mouseButton_v45184; word shift_v45212; word control_v45240; { register ptr gf_c67228 = (ptr) &globalframe; word state_v14844; /* StopButtonProc: */ SOURCE(28536, 158) SOURCE(28575, 41) state_v14844 = XR_Narrow(clientData_v45156, (* (( (ptr) gf_c67228)+27) )); SOURCE(28618, 25) (* (( (ptr) state_v14844)+6) ) = 1; SOURCE(28645, 49) { word pd292; pd292 = (* (( (ptr) (* (( (ptr) gf_c67228)+247)/* var_c60188 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd292 ))))((* (( (ptr) state_v14844)+3) ), (* (( (ptr) gf_c67228)+59) ), 1, pd292); }; } static void SetSendingStatus_P2640(state_v10328) word state_v10328; { register ptr gf_c67260 = (ptr) &globalframe; word w_v14888; /* SetSendingStatus: */ SOURCE(28700, 371) SOURCE(28756, 41) w_v14888 = (((* (( (ptr) (* (( (ptr) state_v10328)+5) ))+1) ) - (* (( (ptr) (* (( (ptr) state_v10328)+4) ))+1) )) - 4); SOURCE(28814, 34) { word pd293; pd293 = (* (( (ptr) (* (( (ptr) gf_c67260)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd293 ))))((* (( (ptr) state_v10328)+2) ), 1, pd293); }; SOURCE(28850, 15) (* (( (ptr) state_v10328)+2) ) = 0; SOURCE(28867, 35) { word pd294; pd294 = (* (( (ptr) (* (( (ptr) gf_c67260)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd294 ))))((* (( (ptr) state_v10328)+3) ), 1, pd294); }; SOURCE(28904, 16) (* (( (ptr) state_v10328)+3) ) = 0; SOURCE(28922, 100) { word pd295; pd295 = (* (( (ptr) (* (( (ptr) gf_c67260)+237)/* var_c59100 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd295 ))))((* (( (ptr) state_v10328)+4) ), (* (( (ptr) (* (( (ptr) state_v10328)+4) ))+1) ), (* ( ( (ptr) (* (( (ptr) state_v10328)+4) ))+2) ), w_v14888, (* (( (ptr) (* (( (ptr) state_v10328)+4) ))+4) ), 1, pd295); }; SOURCE(29024, 47) { word pd296; pd296 = (* (( (ptr) (* (( (ptr) gf_c67260)+256)/* var_c62556 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd296 ))))((* (( (ptr) state_v10328)+4) ), (* (( (ptr) gf_c67260)+108) ), 1, pd296); }; } static void PrintStatusUpdate_P2700(request_v45300, clientData_v45328) word request_v45300; word clientData_v45328; { register ptr gf_c67292 = (ptr) &globalframe; word state_v14932; word notExplicit_v14960; word msg_v14988; /* PrintStatusUpdate: */ SOURCE(29077, 5599) SOURCE(29134, 41) state_v14932 = XR_Narrow(clientData_v45328, (* (( (ptr) gf_c67292)+27) )); SOURCE(29177, 66) { word pd297; pd297 = (* (( (ptr) (* (( (ptr) gf_c67292)+235)/* var_c59004 */ ))+13) ); notExplicit_v14960 = (word) ( *( (fPt) ((* (ptr) pd297 ))))((* ((( (ptr) request_v45300)+10)) ), pd297); }; SOURCE(29268, 82) { word pd298; pd298 = (* (( (ptr) (* (( (ptr) gf_c67292)+257)/* var_c62940 */ ))+10) ); msg_v14988 = (word) ( *( (fPt) ((* (ptr) pd298 ))))((* (( (ptr) request_v45300)+9) ), 0, pd298); }; SOURCE(29352, 57) if (((* (( (ptr) state_v14932)+1) ) == 0) || (* (( (bPt) (* (( (ptr) state_v14932)+1) ))+77) ) & 0100) { SOURCE(29403, 6) return; }; SOURCE(29411, 5265) if ((0 == notExplicit_v14960)) { SOURCE(29432, 5244) { W2 var_c63388; W2 var_c63484; { W2 var_c63420; word v_v57052; v_v57052 = (* (( (ptr) (* (( (ptr) request_v45300)+1) ))+7) ); var_c63420.f0 = 11; var_c63420.f1 = v_v57052; var_c63388 = var_c63420; }; { W2 var_c63516; word v_v57004; v_v57004 = (* (( (ptr) request_v45300)+10) ); var_c63516.f0 = 11; var_c63516.f1 = v_v57004; var_c63484 = var_c63516; }; { W2 var_c63580; var_c63580.f0 = 11; var_c63580.f1 = msg_v14988; { word pd299; pd299 = (* (( (ptr) (* (( (ptr) gf_c67292)+239)/* var_c59292 */ ))+60) ); (void) ( *( (fPt) ((* (ptr) pd299 ))))((* (( (ptr) (* (ptr) state_v14932 ))+9) ), (* (( (ptr) gf_c67292)+109) ), var_c63388, var_c63580, var_c63484, pd299) ; }; }; }; }; SOURCE(29589, 5087) { word var_c63612; var_c63612 = (* (( (ptr) request_v45300)+9) ); switch (var_c63612) { case 0: case 1: case 8: SOURCE(29656, 41) { word pd300; pd300 = (* (( (ptr) (* (( (ptr) gf_c67292)+256)/* var_c62556 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd300 ))))((* (( (ptr) state_v14932)+4) ), msg_v14988, 1, pd300); }; break; case 2: case 3: case 5: case 6: case 7: case 4: SOURCE(29819, 4857) if ((0 != notExplicit_v14960)) { SOURCE(29839, 4837) { W2 var_c63644; { W2 var_c63676; word v_v56956; v_v56956 = (* (( (ptr) (* (( (ptr) request_v45300)+1) ))+7) ); var_c63676.f0 = 11; var_c63676.f1 = v_v56956; var_c63644 = var_c63676; }; { W2 var_c63740; W2 var_c0847; var_c63740.f0 = 11; var_c63740.f1 = msg_v14988; (* (ptr) (word) &var_c0847 ) = 0; (* (( (ptr) (word) &var_c0847) + 1) ) = 0; { word pd301; pd301 = (* (( (ptr) (* (( (ptr) gf_c67292)+239)/* var_c59292 */ ))+60) ); (void) ( *( (fPt) ((* (ptr) pd301 ))))((* (( (ptr) (* (ptr) state_v14932 ))+9) ), (* (( (ptr) gf_c67292)+110) ), var_c63644, var_c63740, var_c0847, pd301) ; }; }; }; }; SOURCE(29937, 40) { word pd302; pd302 = (* (( (ptr) (* (( (ptr) gf_c67292)+236)/* var_c59068 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd302 ))))(request_v45300, pd302); }; SOURCE(29979, 59) { word pd303; pd303 = (* (( (ptr) (* (( (ptr) gf_c67292)+237)/* var_c59100 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd303 ))))((* (( (ptr) state_v14932)+1) ), 0, pd303); }; SOURCE(30040, 33) (void) ResizeStatusContainer_P2520((* (ptr) (state_v14932) )); SOURCE(30075, 21) (* (( (ptr) request_v45300)+1) ) = 0; SOURCE(30121, 16) (* (ptr) state_v14932 ) = 0; break; default: SOURCE(30153, 5) (void) XR_RaiseUnnamedError(); break; }; }; } static void PlaceChild_P2760(viewer_v10500, rank_v10528, minSize_v10556, maxSize_v10584) word viewer_v10500; word rank_v10528; word minSize_v10556; word maxSize_v10584; { register ptr gf_c67324 = (ptr) &globalframe; /* PlaceChild: */ SOURCE(30482, 4194) SOURCE(30564, 4112) { word var_c63804; { word var_c63836; var_c63836 = XR_NewObject(12, (* (( (ptr) gf_c67324)+26) )); (* (ptr) var_c63836 ) = minSize_v10556; (* (( (ptr) var_c63836)+1) ) = maxSize_v10584; (* (( (ptr) var_c63836)+2) ) = rank_v10528; var_c63804 = var_c63836; }; { word pd304; pd304 = (* (( (ptr) (* (( (ptr) gf_c67324)+237)/* var_c59100 */ ))+28) ); (void) ( *( (fPt) ((* (ptr) pd304 ))))(viewer_v10500, (* (( (ptr) gf_c67324)+111) ), var_c63804, pd304); }; }; } static word XTSViewerAdjust_P2820(self_v45388) word self_v45388; { register ptr gf_c67356 = (ptr) &globalframe; word adjusted_v45432; word head_v15088; word free_v15116; word sumDelta_v15144 = 0; word infinite_v15172 = 0; word curY_v15200 = 0; /* XTSViewerAdjust: */ SOURCE(30704, 3972) SOURCE(30704, 3972) adjusted_v45432 = 0; SOURCE(31087, 32) head_v15088 = XR_NewObject(20, (* (( (ptr) gf_c67356)+25) )); (* (( (ptr) head_v15088)+1) ) = (word) -1; SOURCE(31154, 19) free_v15116 = (* (( (ptr) self_v45388)+8) ); SOURCE(31466, 3210) { register word v_v15440; v_v15440 = (* (( (ptr) self_v45388)+24) ); lab_L100085: ; if ((v_v15440 != 0)) { } else { goto lab_L100082; }; SOURCE(31535, 3141) if ((* (( (bPt) v_v15440)+77) ) & 0100) { SOURCE(31555, 21) adjusted_v45432 = 1; } else { SOURCE(31576, 3100) { word var_c63900; { word pd305; pd305 = (* (( (ptr) (* (( (ptr) gf_c67356)+237)/* var_c59100 */ ))+29) ); var_c63900 = (word) ( *( (fPt) ((* (ptr) pd305 ))))(v_v15440, (* (( (ptr) gf_c67356)+111) ), pd305); }; if ((var_c63900 == 0)) { goto lab_L100086; }; if (((* (( (ptr) gf_c67356)+26) ) == XR_GetReferentType(var_c63900))) { { word positionInfo_v15484; positionInfo_v15484 = var_c63900; SOURCE(31678, 491) { word current_v15528; SOURCE(31680, 153) current_v15528 = XR_NewObject(20, (* (( (ptr) gf_c67356)+25) )); (* (ptr) current_v15528 ) = v_v15440; (* (( (ptr) current_v15528)+1) ) = (* (( (ptr) positionInfo_v15484)+2) ); (* (( (ptr) current_v15528)+2) ) = (* (ptr) positionInfo_v15484 ); (* (( (ptr) current_v15528)+3) ) = ((* (( (ptr) positionInfo_v15484)+1) ) - (* (ptr) positionInfo_v15484 )); SOURCE(31835, 37) free_v15116 = (free_v15116 - ((* (( (ptr) current_v15528)+2) ) + 2)); SOURCE(31874, 57) if (( (int)(* (( (ptr) current_v15528)+3) ) > (int)0)) { SOURCE(31898, 33) sumDelta_v15144 = (sumDelta_v15144 + (* (( (ptr) current_v15528)+3) )); }; SOURCE(31933, 45) if (( (int)(* (( (ptr) current_v15528)+3) ) < (int)0)) { SOURCE(31957, 21) infinite_v15172 = (infinite_v15172 + 1); }; SOURCE(31980, 169) { register word e_v15572; e_v15572 = head_v15088; lab_L100090: ; if ((e_v15572 != 0)) { } else { goto lab_L100087; }; SOURCE(32061, 88) if (((* (( (ptr) e_v15572)+4) ) == 0) || ( (int)(* (( (ptr) (* (( (ptr) e_v15572)+4) ))+1) ) > (int)(* (( (ptr) current_v15528)+1) ))) { SOURCE(32110, 21) (* (( (ptr) current_v15528)+4) ) = (* (( (ptr) e_v15572)+4) ); SOURCE(32133, 16) (* (( (ptr) e_v15572)+4) ) = current_v15528; SOURCE(32151, 4) goto lab_L100088; }; e_v15572 = (* (( (ptr) e_v15572)+4) ); goto lab_L100090; lab_L100087: ; lab_L100088: ; }; }; }; } else { lab_L100086: ; }; }; }; v_v15440 = (* (( (ptr) v_v15440)+23) ); goto lab_L100085; lab_L100082: ; }; SOURCE(32249, 554) if (( (int)free_v15116 > (int)0)) { SOURCE(32264, 553) { word total_v15616; SOURCE(32312, 33) total_v15616 = (MIN((int)(word), free_v15116, sumDelta_v15144)); SOURCE(32403, 190) { register word e_v15660; e_v15660 = (* (( (ptr) head_v15088)+4) ); lab_L100094: ; if ((e_v15660 != 0)) { } else { goto lab_L100091; }; { word add_v15704; SOURCE(32491, 60) add_v15704 = ( ( (int)(* (( (ptr) e_v15660)+3) ) > (int)0) ? IOP2( / , (int)IOP2( * , (int)total_v15616, (int)(* (( (ptr) e_v15660)+3) )), (int)sumDelta_v15144) : 0 ) ; SOURCE(32553, 23) (* (( (ptr) e_v15660)+2) ) = ((* (( (ptr) e_v15660)+2) ) + add_v15704); SOURCE(32578, 15) free_v15116 = (free_v15116 - add_v15704); }; e_v15660 = (* (( (ptr) e_v15660)+4) ); goto lab_L100094; lab_L100091: ; }; SOURCE(32604, 199) if ( ( ( (int)free_v15116 > (int)0) ? ( (int)infinite_v15172 != (int)0) : 0 ) ) { SOURCE(32634, 180) { word add_v15748; SOURCE(32686, 24) add_v15748 = IOP2( / , (int)free_v15116, (int)infinite_v15172); SOURCE(32712, 91) { register word e_v15792; e_v15792 = (* (( (ptr) head_v15088)+4) ); lab_L100098: ; if ((e_v15792 != 0)) { } else { goto lab_L100095; }; SOURCE(32762, 41) if (( (int)(* (( (ptr) e_v15792)+3) ) < (int)0)) { SOURCE(32780, 23) (* (( (ptr) e_v15792)+2) ) = ((* (( (ptr) e_v15792)+2) ) + add_v15748); }; e_v15792 = (* (( (ptr) e_v15792)+4) ); goto lab_L100098; lab_L100095: ; }; }; }; }; }; SOURCE(32820, 302) { register word e_v15836; e_v15836 = (* (( (ptr) head_v15088)+4) ); lab_L100102: ; if ((e_v15836 != 0)) { } else { goto lab_L100099; }; { word ww_v15880; SOURCE(32897, 35) { word x306; ww_v15880 = (x306 = ((* (( (ptr) self_v45388)+7) ) - (* (( (ptr) (* (ptr) e_v15836 ))+1) )), MAX((int)(word), 5, x306)); }; SOURCE(32934, 157) if ((( (int)(* (( (ptr) (* (ptr) e_v15836 ))+2) ) != (int)curY_v15200) || ( (int)(* (( (ptr) (* (ptr) e_v15836 ))+4) ) != (int)(* ( ( (ptr) e_v15836)+2) ))) || ( (int)(* (( (ptr) (* (ptr) e_v15836 ))+3) ) != (int)ww_v15880)) { SOURCE(32988, 15) adjusted_v45432 = 1; SOURCE(33005, 86) { word pd307; pd307 = (* (( (ptr) (* (( (ptr) gf_c67356)+237)/* var_c59100 */ ))+37) ); (void) ( *( (fPt) ((* (ptr) pd307 ))))((* (ptr) e_v15836 ), (* (( (ptr) (* (ptr) e_v15836 ))+1) ), curY_v15200, ww_v15880, (* ( ( (ptr) e_v15836)+2) ), pd307); }; }; SOURCE(33096, 26) curY_v15200 = ((curY_v15200 + (* (( (ptr) e_v15836)+2) )) + 2); }; e_v15836 = (* (( (ptr) e_v15836)+4) ); goto lab_L100102; lab_L100099: ; }; SOURCE(30704, 3972) return(adjusted_v45432); } static word RedisplayTool_P2880(formal_c0929) word formal_c0929; { W8 var_c67388; /* declaration of tool_v10644 skipped */ register ptr gf_c67420 = (ptr) &globalframe; /* declaration of painted_v10688 skipped */ /* declaration of var_c63964 skipped */ var_c67388.f4/* tool_v10644 */ = formal_c0929; /* RedisplayTool: */ SOURCE(33137, 1539) { word tmpAddr308; tmpAddr308 = (word) (( (ptr) &var_c67388)+6)/* var_c63964 */ ; (* (ptr) tmpAddr308 ) = ( ((word) (fPt) DoIt_P5136) ); (* (( (ptr) tmpAddr308) + 1) ) = 1; }; SOURCE(33137, 1539) var_c67388.f5/* painted_v10688 */ = 0; SOURCE(33348, 70) if (((* (( (ptr) var_c67388.f4/* tool_v10644 */ )+10) ) == 0) || (* (( (bPt) (* (( (ptr) var_c67388.f4/* tool_v10644 */ )+10) ))+77) ) & 0100) { SOURCE(33397, 21) return(1); }; SOURCE(33439, 49) { word pd309; pd309 = (* (( (ptr) (* (( (ptr) gf_c67420)+259)/* var_c63356 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd309 ))))((word) (( (bPt) &var_c67388)+24)/* var_c63964 */ , (* (( (ptr) var_c67388.f4/* tool_v10644 */ )+10) ), pd309); }; SOURCE(33137, 1539) return(var_c67388.f5/* painted_v10688 */ ); } static void DoIt_P5136(formal_c67484) word formal_c67484; { register ptr gf_c67452 = (ptr) &globalframe; formal_c67484 = (formal_c67484 - 24); /* DoIt: */ SOURCE(33206, 1470) SOURCE(33245, 1431) (* (( (ptr) formal_c67484)+5) ) = (word) XTSViewerAdjust_P2820((* ((( (ptr) (* (( (ptr) formal_c67484)+4) ))+10)) )); SOURCE(33285, 58) if ((0 != (* (( (ptr) formal_c67484)+5) ))) { SOURCE(33301, 42) { word pd310; pd310 = (* (( (ptr) (* (( (ptr) gf_c67452)+237)/* var_c59100 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd310 ))))((* (( (ptr) (* (( (ptr) formal_c67484)+4) ))+10) ), 1, 1, 0, pd310); }; }; } static void SetupPrinterVersion_P3000(tool_v10852) word tool_v10852; { register ptr gf_c67516 = (ptr) &globalframe; word pVers_v15984; /* SetupPrinterVersion: */ SOURCE(33580, 1096) SOURCE(33623, 84) { W2 var_c0563; word var_c0848; { word pd311; pd311 = (* (( (ptr) (* (( (ptr) gf_c67516)+260)/* var_c63996 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd311 ))))((word) &var_c0563, (* (( (ptr) gf_c67516)+9)/* printerVersions_v4372 */ ), (* (( (ptr) tool_v10852)+4) ), pd311); }; var_c0848 = var_c0563.f1; pVers_v15984 = XR_Narrow(var_c0848, (* (( (ptr) gf_c67516)+24) )); }; SOURCE(33709, 967) if ((pVers_v15984 == 0)) { SOURCE(33727, 949) { W2 var_c0564; word var_c0849; { word pd312; pd312 = (* (( (ptr) (* (( (ptr) gf_c67516)+260)/* var_c63996 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd312 ))))((word) &var_c0564, (* (( (ptr) gf_c67516)+10)/* ropeToVersion_v4400 */ ), (* (( (ptr) gf_c67516)+115) ), pd312); }; var_c0849 = var_c0564.f1; pVers_v15984 = XR_Narrow(var_c0849, (* (( (ptr) gf_c67516)+24) )); }; }; SOURCE(33790, 18) if ((pVers_v15984 == 0)) { SOURCE(33808, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(33834, 20) (* (( (ptr) tool_v10852)+5) ) = pVers_v15984; } static void DefinePrinterVersions_P3060(versions_v10912) word versions_v10912; { register ptr gf_c67548 = (ptr) &globalframe; /* DefinePrinterVersions: */ SOURCE(33860, 816) SOURCE(33917, 759) if (((* (( (ptr) gf_c67548)+9)/* printerVersions_v4372 */ ) == 0)) { SOURCE(33945, 731) { word pd313; pd313 = (* (( (ptr) (* (( (ptr) gf_c67548)+260)/* var_c63996 */ ))+5) ); (* (( (ptr) gf_c67548)+9)/* printerVersions_v4372 */ ) = (word) ( *( (fPt) ((* (ptr) pd313 ))))(17, 0, pd313); }; }; SOURCE(33991, 685) { register word l_v16028; l_v16028 = versions_v10912; lab_L100106: ; if ( ( (l_v16028 != 0) ? ((* (( (ptr) l_v16028)+1) ) != 0) : 0 ) ) { } else { goto lab_L100103; }; { word name_v16156; word attribute_v16184; word version_v16212; SOURCE(34064, 20) name_v16156 = (* (ptr) l_v16028 ); SOURCE(34086, 30) attribute_v16184 = (* (ptr) (* (( (ptr) l_v16028)+1) ) ); SOURCE(34118, 80) { W2 var_c0570; word var_c0850; { word pd314; pd314 = (* (( (ptr) (* (( (ptr) gf_c67548)+260)/* var_c63996 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd314 ))))((word) &var_c0570, (* (( (ptr) gf_c67548)+10)/* ropeToVersion_v4400 */ ), (* (ptr) (* ( ( (ptr) l_v16028)+1) ) ), pd314); }; var_c0850 = var_c0570.f1; version_v16212 = XR_Narrow(var_c0850, (* (( (ptr) gf_c67548)+24) )); }; SOURCE(34200, 476) if ((version_v16212 == 0)) { SOURCE(34220, 456) { W2 var_c0571; word var_c0851; { word pd315; pd315 = (* (( (ptr) (* (( (ptr) gf_c67548)+260)/* var_c63996 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd315 ))))((word) &var_c0571, (* (( (ptr) gf_c67548)+10)/* ropeToVersion_v4400 */ ), (* (( (ptr) gf_c67548)+115) ), pd315); }; var_c0851 = var_c0571.f1; version_v16212 = XR_Narrow(var_c0851, (* (( (ptr) gf_c67548)+24) )); }; }; SOURCE(34285, 391) { word var_c64028; word pd316; pd316 = (* (( (ptr) (* (( (ptr) gf_c67548)+260)/* var_c63996 */ ))+10) ); var_c64028 = (word) ( *( (fPt) ((* (ptr) pd316 ))))((* (( (ptr) gf_c67548)+9)/* printerVersions_v4372 */ ), name_v16156, version_v16212, pd316) ; }; }; l_v16028 = (* (( (ptr) (* (( (ptr) l_v16028)+1) ))+1) ); goto lab_L100106; lab_L100103: ; }; } static void XTSetterCommand_P3120(formal_c0582, formal_c0930) word formal_c0582; word formal_c0930; { W102 var_c67580; /* declaration of cmd_v45656 skipped */ register ptr gf_c67612 = (ptr) &globalframe; word result_v45700; /* declaration of msg_v45728 skipped */ (* (( (ptr) &var_c67580)+4)/* cmd_v45656 */ ) = formal_c0930; /* XTSetterCommand: */ SOURCE(34550, 367) SOURCE(34550, 367) result_v45700 = 0; SOURCE(34550, 367) (* (( (ptr) &var_c67580)+5)/* msg_v45728 */ ) = 0; SOURCE(34591, 326) SOURCE(34593, 17) { /* declaration of printer_v16256 skipped */ SOURCE(34593, 17) (* (( (ptr) &var_c67580)+6) ) = 0; (* (( (ptr) &var_c67580)+7) ) = 0; (* (( (ptr) &var_c67580)+8) ) = 0; (* (( (ptr) &var_c67580)+9) ) = (* (ptr) &fc234 ); (* (( (ptr) &var_c67580)+10) ) = 0; SOURCE(34612, 64) SOURCE(34612, 64) { W90 var_c64124; { /* declaration of var_c024 skipped */ (* (( (ptr) &var_c67580)+11)/* var_c024 */ ) = (* (( (ptr) (* (( (ptr) gf_c67612)+261)/* var_c64092 */ ))+12) ); { /* declaration of var_c025 skipped */ { word var_c026; { word var_c0852; var_c0852 = (word) &var_c67580; var_c026 = (word) XR_Enable(( ((word) (fPt) NoName_Q7092) ), ( ((word) (fPt) NoName_Q7212) ), var_c0852); }; if ((var_c026 == 9)) { goto lab_L100110; }; }; var_c64124 = (* (W90Pt) (( (ptr) &var_c67580)+12)/* var_c025 */ ); }; }; (* (W5Pt) (( (ptr) &var_c67580)+6)/* printer_v16256 */ ) = (* (W5Pt) &var_c64124 ); }; lab_L100110: ; SOURCE(34690, 44) if (((* (( (ptr) &var_c67580)+5)/* msg_v45728 */ ) != 0)) { SOURCE(34708, 26) result_v45700 = (* (( (ptr) gf_c67612)+117) ); (* (( (ptr) &var_c67580)+5)/* msg_v45728 */ ) = (* (( (ptr) gf_c67612)+15)/* cmdUsage_v6108 */ ); goto lab_L100107; }; SOURCE(34736, 84) { word pd317; pd317 = (* (( (ptr) (* (( (ptr) gf_c67612)+235)/* var_c59004 */ ))+13) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd317 ))))((* ((( (ptr) &var_c67580)+10)) ), pd317))) { SOURCE(34771, 49) { word pd318; pd318 = (* (( (ptr) (* (( (ptr) gf_c67612)+236)/* var_c59068 */ ))+12) ); (* (( (ptr) &var_c67580)+10) ) = (* (( (ptr) ( *( (fPt) ((* (ptr) pd318 ))))(0, pd318))+5) ); }; }; }; SOURCE(34822, 46) { word var_c64220; { /* declaration of var_c027 skipped */ (* (( (ptr) &var_c67580)+11)/* var_c027 */ ) = (* (( (ptr) (* (( (ptr) &var_c67580)+4)/* cmd_v45656 */ ))+2) ); { /* declaration of var_c028 skipped */ { word var_c029; { word var_c0853; var_c0853 = (word) &var_c67580; var_c029 = (word) XR_Enable(( ((word) (fPt) NoName_Q7032) ), ( ((word) (fPt) NoName_Q7152) ), var_c0853); }; if ((var_c029 == 10)) { goto lab_L100108; }; }; var_c64220 = (* (( (ptr) &var_c67580)+12)/* var_c028 */ ); }; }; }; }; goto lab_L100115; lab_L100108: ; SOURCE(34898, 17) result_v45700 = (* (( (ptr) gf_c67612)+117) ); (* (( (ptr) &var_c67580)+5)/* msg_v45728 */ ) = 0; goto lab_L100107; lab_L100115: ; /* removed tail goto */ lab_L100107: ; (* (ptr) formal_c0582 ) = result_v45700; (* (( (ptr) formal_c0582)+1) ) = (* (( (ptr) &var_c67580)+5)/* msg_v45728 */ ); return; } static word NoName_Q7032(formal_c0813) word formal_c0813; { SOURCE(34822, 46) (* (( (ptr) formal_c0813)+12) ) = (word) NewTool_P120((* (( (ptr) formal_c0813)+10) ), (* (( (ptr) formal_c0813)+11) )); return(0); } static word NoName_Q7092(formal_c0815) word formal_c0815; { register ptr gf_c0814 = (ptr) &globalframe; SOURCE(34612, 64) { word pd319; pd319 = (* (( (ptr) formal_c0815)+11) ); (void) ( *( (fPt) ((* (ptr) pd319 ))))((word) (( (bPt) formal_c0815)+48), (* (( (ptr) formal_c0815)+4) ), (* (( (ptr) gf_c0814)+116) ), 0, pd319); }; return(0); } static void NewProfile_P3180(reason_v45788) word reason_v45788; { /* NewProfile: */ SOURCE(34921, 74) SOURCE(34968, 27) (void) DefaultOptionsFromProfile_P2220(); } static void NewUser_P3240(new_v45848, clientData_v45876) word new_v45848; word clientData_v45876; { /* NewUser: */ SOURCE(35001, 80) SOURCE(35054, 27) (void) DefaultOptionsFromProfile_P2220(); } static void Init_P3300() { W6 var_c67644; register ptr gf_c67676 = (ptr) &globalframe; /* declaration of var_c64284 skipped */ /* Init: */ SOURCE(35087, 1080) { word tmpAddr320; tmpAddr320 = (word) (( (ptr) &var_c67644)+4)/* var_c64284 */ ; (* (ptr) tmpAddr320 ) = ( ((word) (fPt) Define_P5340) ); (* (( (ptr) tmpAddr320) + 1) ) = 1; }; SOURCE(35364, 58) { word pd321; pd321 = (* (( (ptr) (* (( (ptr) gf_c67676)+262)/* var_c64316 */ ))+6) ); (* (( (ptr) gf_c67676)+4)/* xTSViewerIcon_v4232 */ ) = (word) ( *( (fPt) ((* (ptr) pd321 ))))((* (( (ptr) gf_c67676)+118) ), 0, pd321); }; SOURCE(35424, 122) { word var_c64348; var_c64348 = XR_NewObject(80, (* (( (ptr) gf_c67676)+23) )); (* (( (ptr) var_c64348)+1) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+2) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+3) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+4) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+5) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+6) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+7) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+8) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+9) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+10) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+11) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+12) ) = XR_CheckProc(0); (* (( (ptr) var_c64348)+13) ) = (word) (( (bPt) gf_c67676)+556)/* var_c57404 */ ; ((P1x0b) (( (bPt) var_c64348) + 64))->f = 1; (* (( (ptr) var_c64348)+17) ) = (* (( (ptr) gf_c67676)+4)/* xTSViewerIcon_v4232 */ ); (* (( (ptr) var_c64348)+18) ) = 26; (* (( (ptr) gf_c67676)+5)/* xTSViewerClass_v4260 */ ) = var_c64348; }; SOURCE(35548, 56) { word pd322; pd322 = (* (( (ptr) (* (( (ptr) gf_c67676)+237)/* var_c59100 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd322 ))))((* (( (ptr) gf_c67676)+40) ), (* (( (ptr) gf_c67676)+5)/* xTSViewerClass_v4260 */ ), pd322) ; }; SOURCE(35606, 42) { word pd323; pd323 = (* (( (ptr) (* (( (ptr) gf_c67676)+260)/* var_c63996 */ ))+5) ); (* (( (ptr) gf_c67676)+10)/* ropeToVersion_v4400 */ ) = (word) ( *( (fPt) ((* (ptr) pd323 ))))(17, 0, pd323); }; SOURCE(35650, 46) { W2 var_c64380; var_c64380.f0 = 3; var_c64380.f1 = 0; (void) Define_P5340((* (( (ptr) gf_c67676)+115) ), var_c64380, 1, 0, 1, (word) (( (bPt) &var_c67644)+16)/* var_c64284 */ ) ; }; SOURCE(35738, 44) { W2 var_c64412; var_c64412.f0 = 3; var_c64412.f1 = 0; (void) Define_P5340((* (( (ptr) gf_c67676)+106) ), var_c64412, 1, 0, 1, (word) (( (bPt) &var_c67644)+16)/* var_c64284 */ ) ; }; SOURCE(35793, 43) { W2 var_c64444; var_c64444.f0 = 3; var_c64444.f1 = 0; (void) Define_P5340((* (( (ptr) gf_c67676)+113) ), var_c64444, 1, 1, 0, (word) (( (bPt) &var_c67644)+16)/* var_c64284 */ ) ; }; SOURCE(35848, 46) { W2 var_c64476; var_c64476.f0 = 2; var_c64476.f1 = 1; (void) Define_P5340((* (( (ptr) gf_c67676)+119) ), var_c64476, 0, 0, 0, (word) (( (bPt) &var_c67644)+16)/* var_c64284 */ ) ; }; SOURCE(35909, 42) { W2 var_c64508; var_c64508.f0 = 1; var_c64508.f1 = 0; (void) Define_P5340((* (( (ptr) gf_c67676)+122) ), var_c64508, 0, 0, 0, (word) (( (bPt) &var_c67644)+16)/* var_c64284 */ ) ; }; SOURCE(35964, 39) (void) DefinePrinterVersions_P3060((* ((( (ptr) gf_c67676)+11)/* standardVersions_v4428 */ ) )); SOURCE(36005, 46) { word pd324; pd324 = (* (( (ptr) (* (( (ptr) gf_c67676)+254)/* var_c62044 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd324 ))))((word) ((( (bPt) gf_c67676)+516)/* var_c57244 */ ), pd324); }; SOURCE(36053, 41) { word pd325; pd325 = (* (( (ptr) (* (( (ptr) gf_c67676)+263)/* var_c64540 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd325 ))))((word) (( (bPt) gf_c67676)+508)/* var_c57212 */ , 0, pd325); }; SOURCE(36096, 71) { word pd326; pd326 = (* (( (ptr) (* (( (ptr) gf_c67676)+264)/* var_c64572 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd326 ))))((* (( (ptr) gf_c67676)+123) ), (word) (( (bPt) gf_c67676)+524)/* var_c57276 */ , (* ( ( (ptr) gf_c67676)+62) ), 0, 1, pd326); }; } static void Define_P5340(type_v16376, version_v16404, mayCompress_v16432, shouldCompress_v16460, hasPressFonts_v16488, formal_c67740) word type_v16376; W2 version_v16404; word mayCompress_v16432; word shouldCompress_v16460; word hasPressFonts_v16488; word formal_c67740; { register ptr gf_c67708 = (ptr) &globalframe; formal_c67740 = (formal_c67740 - 16); /* Define: */ SOURCE(35105, 254) SOURCE(35224, 135) { word var_c64668; { word var_c64604; { word var_c64636; var_c64636 = XR_NewObject(20, (* (( (ptr) gf_c67708)+24) )); (* (W2Pt) var_c64636 ) = version_v16404; (* (( (ptr) var_c64636)+2) ) = mayCompress_v16432; (* (( (ptr) var_c64636)+3) ) = ((0 != mayCompress_v16432) && (0 != shouldCompress_v16460)); (* (( (ptr) var_c64636)+4) ) = hasPressFonts_v16488; var_c64604 = var_c64636; }; { word pd327; pd327 = (* (( (ptr) (* (( (ptr) gf_c67708)+260)/* var_c63996 */ ))+10) ); var_c64668 = (word) ( *( (fPt) ((* (ptr) pd327 ))))((* (( (ptr) gf_c67708)+10)/* ropeToVersion_v4400 */ ), type_v16376, var_c64604, pd327) ; }; }; }; } static void NoName_Q7152(formal_c0607, formal_c200076, formal_c200077, formal_c200078, formal_c200079) word formal_c0607; word formal_c200076; word formal_c200077; word formal_c200078; word formal_c200079; { register ptr gf_c0819 = (ptr) &globalframe; if ((formal_c200077 == (word) (( (bPt) gf_c0819)+496)/* var_c57148 */ )) { { word why_v53072; why_v53072 = (* (ptr) formal_c200079 ); SOURCE(34868, 12) (* (ptr) formal_c0607 ) = 2; (* (( (ptr) formal_c0607)+1) ) = 10; return; }; }; (* (ptr) formal_c0607 ) = 0; (* (( (ptr) formal_c0607)+1) ) = 0; return; } static void NoName_Q7212(formal_c0613, formal_c200072, formal_c200073, formal_c200074, formal_c200075) word formal_c0613; word formal_c200072; word formal_c200073; word formal_c200074; word formal_c200075; { register ptr gf_c0820 = (ptr) &globalframe; if ((formal_c200073 == (* (( (ptr) (* (( (ptr) gf_c0820)+261)/* var_c64092 */ ))+11) ))) { { word reason_v52980; reason_v52980 = (* (ptr) formal_c200075 ); SOURCE(34664, 12) (* (( (ptr) formal_c200072)+5) ) = reason_v52980; SOURCE(34678, 8) (* (ptr) formal_c0613 ) = 2; (* (( (ptr) formal_c0613)+1) ) = 9; return; }; }; (* (ptr) formal_c0613 ) = 0; (* (( (ptr) formal_c0613)+1) ) = 0; return; } static void NoName_Q7272(formal_c0618, formal_c200068, formal_c200069, formal_c200070, formal_c200071) word formal_c0618; word formal_c200068; word formal_c200069; word formal_c200070; word formal_c200071; { if ((formal_c200069 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200068)+4) )); }; (* (ptr) formal_c0618 ) = 0; (* (( (ptr) formal_c0618)+1) ) = 0; return; } static void NoName_Q7332(formal_c0623, formal_c200064, formal_c200065, formal_c200066, formal_c200067) word formal_c0623; word formal_c200064; word formal_c200065; word formal_c200066; word formal_c200067; { if ((formal_c200065 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200064)+4) )); }; (* (ptr) formal_c0623 ) = 0; (* (( (ptr) formal_c0623)+1) ) = 0; return; } static void NoName_Q7392(formal_c0628, formal_c200060, formal_c200061, formal_c200062, formal_c200063) word formal_c0628; word formal_c200060; word formal_c200061; word formal_c200062; word formal_c200063; { if ((formal_c200061 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200060)+4) )); }; (* (ptr) formal_c0628 ) = 0; (* (( (ptr) formal_c0628)+1) ) = 0; return; } static void NoName_Q7452(formal_c0636, formal_c200056, formal_c200057, formal_c200058, formal_c200059) word formal_c0636; word formal_c200056; word formal_c200057; word formal_c200058; word formal_c200059; { register ptr gf_c0821 = (ptr) &globalframe; if ((formal_c200057 == (* (( (ptr) (* (( (ptr) gf_c0821)+236)/* var_c59068 */ ))+4) ))) { { word problem_v51624; word explanation_v51652; problem_v51624 = (* (ptr) formal_c200059 ); explanation_v51652 = (* (( (ptr) formal_c200059)+1) ); SOURCE(24694, 9982) { W2 var_c62876; var_c62876.f0 = 11; var_c62876.f1 = explanation_v51652; { word pd328; pd328 = (* (( (ptr) (* (( (ptr) gf_c0821)+239)/* var_c59292 */ ))+61) ); (void) ( *( (fPt) ((* (ptr) pd328 ))))((* (( (ptr) (* (( (ptr) formal_c200056)+4) ))+9) ), (* (( (ptr) gf_c0821)+102) ), var_c62876, pd328) ; }; }; SOURCE(24767, 22) (* (( (ptr) formal_c200056)+11) ) = 0; SOURCE(24791, 8) (* (ptr) formal_c0636 ) = 2; (* (( (ptr) formal_c0636)+1) ) = 8; return; }; }; (* (ptr) formal_c0636 ) = 0; (* (( (ptr) formal_c0636)+1) ) = 0; return; } static void NoName_Q7512(formal_c0641, formal_c200052, formal_c200053, formal_c200054, formal_c200055) word formal_c0641; word formal_c200052; word formal_c200053; word formal_c200054; word formal_c200055; { if ((formal_c200053 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200052)+4) )); }; (* (ptr) formal_c0641 ) = 0; (* (( (ptr) formal_c0641)+1) ) = 0; return; } static void NoName_Q7572(formal_c0646, formal_c200048, formal_c200049, formal_c200050, formal_c200051) word formal_c0646; word formal_c200048; word formal_c200049; word formal_c200050; word formal_c200051; { if ((formal_c200049 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200048)+4) )); }; (* (ptr) formal_c0646 ) = 0; (* (( (ptr) formal_c0646)+1) ) = 0; return; } static void NoName_Q7632(formal_c0651, formal_c200040, formal_c200041, formal_c200042, formal_c200043) word formal_c0651; word formal_c200040; word formal_c200041; word formal_c200042; word formal_c200043; { if ((formal_c200041 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200040)+4) )); }; (* (ptr) formal_c0651 ) = 0; (* (( (ptr) formal_c0651)+1) ) = 0; return; } static void NoName_Q7692(formal_c0656, formal_c200044, formal_c200045, formal_c200046, formal_c200047) word formal_c0656; word formal_c200044; word formal_c200045; word formal_c200046; word formal_c200047; { register ptr gf_c0822 = (ptr) &globalframe; if ((formal_c200045 == (* (( (ptr) (* (( (ptr) gf_c0822)+252)/* var_c61436 */ ))+11) ))) { SOURCE(19925, 9) (* (ptr) formal_c0656 ) = 2; (* (( (ptr) formal_c0656)+1) ) = 7; return; }; (* (ptr) formal_c0656 ) = 0; (* (( (ptr) formal_c0656)+1) ) = 0; return; } static void NoName_Q7752(formal_c0661, formal_c200036, formal_c200037, formal_c200038, formal_c200039) word formal_c0661; word formal_c200036; word formal_c200037; word formal_c200038; word formal_c200039; { if ((formal_c200037 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200036)+4) )); }; (* (ptr) formal_c0661 ) = 0; (* (( (ptr) formal_c0661)+1) ) = 0; return; } static void NoName_Q7812(formal_c0666, formal_c200032, formal_c200033, formal_c200034, formal_c200035) word formal_c0666; word formal_c200032; word formal_c200033; word formal_c200034; word formal_c200035; { if ((formal_c200033 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200032)+4) )); }; (* (ptr) formal_c0666 ) = 0; (* (( (ptr) formal_c0666)+1) ) = 0; return; } static void NoName_Q7872(formal_c0671, formal_c200028, formal_c200029, formal_c200030, formal_c200031) word formal_c0671; word formal_c200028; word formal_c200029; word formal_c200030; word formal_c200031; { if ((formal_c200029 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200028)+4) )); }; (* (ptr) formal_c0671 ) = 0; (* (( (ptr) formal_c0671)+1) ) = 0; return; } static void NoName_Q7932(formal_c0678, formal_c200024, formal_c200025, formal_c200026, formal_c200027) word formal_c0678; word formal_c200024; word formal_c200025; word formal_c200026; word formal_c200027; { register ptr gf_c0823 = (ptr) &globalframe; if ((formal_c200025 == (* (( (ptr) (* (( (ptr) gf_c0823)+248)/* var_c60412 */ ))+7) ))) { { word reason_v50284; word index_v50312; reason_v50284 = (* (ptr) formal_c200027 ); index_v50312 = (* (( (ptr) formal_c200027)+1) ); SOURCE(11971, 9) (* (ptr) formal_c0678 ) = 2; (* (( (ptr) formal_c0678)+1) ) = 6; return; }; }; (* (ptr) formal_c0678 ) = 0; (* (( (ptr) formal_c0678)+1) ) = 0; return; } static void NoName_Q7992(formal_c0685, formal_c200020, formal_c200021, formal_c200022, formal_c200023) word formal_c0685; word formal_c200020; word formal_c200021; word formal_c200022; word formal_c200023; { register ptr gf_c0824 = (ptr) &globalframe; if ((formal_c200021 == (* (( (ptr) (* (( (ptr) gf_c0824)+248)/* var_c60412 */ ))+7) ))) { { word reason_v50100; word index_v50128; reason_v50100 = (* (ptr) formal_c200023 ); index_v50128 = (* (( (ptr) formal_c200023)+1) ); SOURCE(10763, 9) (* (ptr) formal_c0685 ) = 2; (* (( (ptr) formal_c0685)+1) ) = 5; return; }; }; (* (ptr) formal_c0685 ) = 0; (* (( (ptr) formal_c0685)+1) ) = 0; return; } static void NoName_Q8052(formal_c0691, formal_c200016, formal_c200017, formal_c200018, formal_c200019) word formal_c0691; word formal_c200016; word formal_c200017; word formal_c200018; word formal_c200019; { register ptr gf_c0825 = (ptr) &globalframe; if ((formal_c200017 == (* (( (ptr) (* (( (ptr) gf_c0825)+245)/* var_c59996 */ ))+9) ))) { { W4 error_v49516; error_v49516 = (* (W4Pt) formal_c200019 ); SOURCE(7307, 12) (* (ptr) formal_c0691 ) = 2; (* (( (ptr) formal_c0691)+1) ) = 4; return; }; }; (* (ptr) formal_c0691 ) = 0; (* (( (ptr) formal_c0691)+1) ) = 0; return; } static void NoName_Q8112(formal_c0697, formal_c200012, formal_c200013, formal_c200014, formal_c200015) word formal_c0697; word formal_c200012; word formal_c200013; word formal_c200014; word formal_c200015; { register ptr gf_c0826 = (ptr) &globalframe; if ((formal_c200013 == (* (( (ptr) (* (( (ptr) gf_c0826)+245)/* var_c59996 */ ))+9) ))) { { W4 error_v48980; error_v48980 = (* (W4Pt) formal_c200015 ); SOURCE(8193, 30) (void) InvalidFile_P3648(error_v48980.f2, (word) (( (bPt) formal_c200012)+16)); SOURCE(8225, 12) (* (ptr) formal_c0697 ) = 2; (* (( (ptr) formal_c0697)+1) ) = 3; return; }; }; (* (ptr) formal_c0697 ) = 0; (* (( (ptr) formal_c0697)+1) ) = 0; return; } static void NoName_Q8172(formal_c0703, formal_c200008, formal_c200009, formal_c200010, formal_c200011) word formal_c0703; word formal_c200008; word formal_c200009; word formal_c200010; word formal_c200011; { register ptr gf_c0827 = (ptr) &globalframe; if ((formal_c200009 == (word) (( (bPt) gf_c0827)+496)/* var_c57148 */ )) { { word why_v48148; why_v48148 = (* (ptr) formal_c200011 ); SOURCE(6370, 9) (* (ptr) formal_c0703 ) = 2; (* (( (ptr) formal_c0703)+1) ) = 2; return; }; }; (* (ptr) formal_c0703 ) = 0; (* (( (ptr) formal_c0703)+1) ) = 0; return; } static void NoName_Q8232(formal_c0708, formal_c200004, formal_c200005, formal_c200006, formal_c200007) word formal_c0708; word formal_c200004; word formal_c200005; word formal_c200006; word formal_c200007; { if ((formal_c200005 == XR_Unwind)) { (void) (XR_MonitorExit(* (( (ptr) formal_c200004)+4) )); }; (* (ptr) formal_c0708 ) = 0; (* (( (ptr) formal_c0708)+1) ) = 0; return; } static void NoName_Q8292(formal_c0718, formal_c200000, formal_c200001, formal_c200002, formal_c200003) word formal_c0718; word formal_c200000; word formal_c200001; word formal_c200002; word formal_c200003; { register ptr gf_c0828 = (ptr) &globalframe; if ((formal_c200001 == (* (( (ptr) (* (( (ptr) gf_c0828)+236)/* var_c59068 */ ))+4) ))) { { word problem_v46444; word explanation_v46472; problem_v46444 = (* (ptr) formal_c200003 ); explanation_v46472 = (* (( (ptr) formal_c200003)+1) ); SOURCE(3871, 30805) { W2 var_c59196; W2 var_c59228; W2 var_c0854; var_c59196.f0 = 11; var_c59196.f1 = (* (( (ptr) formal_c200000)+4) ); var_c59228.f0 = 11; var_c59228.f1 = explanation_v46472; (* (ptr) (word) &var_c0854 ) = 0; (* (( (ptr) (word) &var_c0854) + 1) ) = 0; { word pd329; pd329 = (* (( (ptr) (* (( (ptr) gf_c0828)+239)/* var_c59292 */ ))+60) ); (void) ( *( (fPt) ((* (ptr) pd329 ))))((* (( (ptr) formal_c200000)+5) ), (* (( (ptr) gf_c0828)+57) ), var_c59196, var_c59228, var_c0854, pd329) ; }; }; SOURCE(3967, 18) { word pd330; pd330 = (* (( (ptr) (* (( (ptr) gf_c0828)+239)/* var_c59292 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd330 ))))((* ((( (ptr) formal_c200000)+5)) ), pd330); }; SOURCE(3987, 30689) { word var_c0717; var_c0717 = explanation_v46472; (void) XR_RaiseError((word) (( (bPt) gf_c0828)+496)/* var_c57148 */ , (word) &var_c0717); }; }; }; (* (ptr) formal_c0718 ) = 0; (* (( (ptr) formal_c0718)+1) ) = 0; return; } static word NoName_Q8352(formal_c0447) word formal_c0447; { W2 var_c0449; word var_c0448; /* intermediary proc for a FORK, nArgs: 2, nRets: 0 */ var_c0449 = (* (W2Pt) (( (ptr) formal_c0447)+4) ); var_c0448 = (* (( (ptr) formal_c0447)+2) ); formal_c0447 = XR_ExtensionFree(formal_c0447); (void) ( *( (fPt) ((* (ptr) var_c0448 ))))(var_c0449.f0, var_c0449.f1, var_c0448); return(0); } /* file: XTSetterImpl, module: XTSetterImpl, compiled at: August 31, 1992 8:43:37 pm PDT */ extern void XR_install_XTSetterImpl() { NoName_Q5892(); } extern void XR_run_XTSetterImpl() { XR_Start(&globalframe); }