/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: October 22, 1993 4:01:58 pm PDT */ /* C2C version: April 20, 1993 (sun4) */ /* ref-counting: off */ /* file: GGWindowImpl, module: GGWindowImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [2859706475,3725128585] GGWindowImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1;} W2; typedef W2 *W2Pt; typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; 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 {word f0, f1, f2, f3;} W4; typedef struct {W8 f; W4 r;} W12; typedef struct {W16 f; W12 r;} W28; typedef W28 *W28Pt; typedef W4 *W4Pt; typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef W7 *W7Pt; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef W5 *W5Pt; typedef struct {W8 f; W5 r;} W13; typedef struct {W16 f; W13 r;} W29; typedef struct {W8 f; W2 r;} W10; typedef struct {W16 f; W10 r;} W26; typedef W26 *W26Pt; typedef W12 *W12Pt; typedef struct {W8 f; word r;} W9; typedef struct {W16 f; W9 r;} W25; typedef W8 *W8Pt; #define SOURCE(p, l) /* source p, l */ static float fc175 = 1.0; static float fc212 = 0.5; static float fc213 = 0.75; static float fc214 = 45.0; static float fc215 = 2.0; static float fc219 = 0.0; static float fc220 = -1.0; static float fc235 = 25.0; static float fc236 = 72.0; static float fc250 = 200.0; static float fc251 = 300.0; static float fc255 = -0.1; #define SGNCK(i) ((int) (word) (i) < 0 ? XR_RaiseArithmeticFault(): i ) #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR_RaiseBoundsFault()) : (idx) ) static float fc371 = 11.0; static float fc374 = 8.5; static void NoName_Q3264(); static void GGWindowImpl_P0(); static void RestoreScreenAndInvariants_P60(); static void NewCaretPos_P120(); static void SaveCaretPos_P180(); static word OpenViewerOnFile_P240(); static void CreateChildViewer_P300(); static void PaintInViewer_P360(); static word CreateGGData_P420(); static word CreateGGDataForViewer_P480(); static word CreateWindow_P540(); static word CreateWindowAux_P600(); static void ActiveInGGData_P660(); static word GGActionAreaPaint_P720(); static void GGAbortProc_P780(); static void RegisterEditedProc_P840(); static void ViewerToWorld_P900(); static void WorldToViewer_P960(); static word OptimizeQueue_P1020(); static word PUChoiceList_P1080(); static void InnerCons_P2340(); static void Choice_P1140(); static word List_P1200(); static void GGExtremaProc_P1260(); static void SetCursorLooks_P1320(); static void NewGGViewers_P1380(); static word NoName_Q3324(); static word FilenameMinusExtension_P1440(); static void GGToIP_P1500(); static word NoName_Q3384(); static word EachFile_P2736(); static void TryPattern_P2796(); static word NoName_Q3444(); static void GGIPToIP_P1560(); static word NoName_Q3504(); static word EachFile_P3000(); static void TryPattern_P3060(); static word NoName_Q3564(); static word GGBasicTransformProc_P1620(); static void BSSaveProc_P1680(); static void BSDestroyProc_P1740(); static void BiScrollerInputNotify_P1800(); static void SetBeingBorn_P1860(); static void Init_P1920(); static void InitIcons_P1980(); static void GetIcons_P2040(); static void NoName_Q3624(); static void NoName_Q3684(); static void NoName_Q3744(); static void NoName_Q3804(); static void NoName_Q3864(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\365$\303)\300KDZZ@t\000\000"}; static struct {unsigned f; char r[88];} string2 = {5701719, "\006\041\000\001\004\001\010\001\014\001\020\001\024\001\030\001\034\001\040\001\050\001\054\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\140\001\100\150\001\100\160\001\100\164\001\100\174\001\100\200\001\100\204\001\100\210\001\100\214\001\100\220\001\100\224\001\100\230\001"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\036\073\304\257\300\266\014\226\240\100\164\000\000"}; static struct {unsigned f; char r[4];} string4 = {131074, "\004,\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\037\225\114\266\300\245\306\376\114\100\164\000\000"}; static struct {unsigned f; char r[4];} string6 = {131074, "\004<\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\333\030\273\126\300\173\036\033\131\100\200\000\000"}; static struct {unsigned f; char r[20];} string8 = {1114129, "\006\006\050\001\054\001\060\001\064\001\100\100\001\100\110\004\030\000\000"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\026\355\016\312\300\171\207\041\370\100\200\000\000"}; static struct {unsigned f; char r[44];} string10 = {2752554, "\006\020\000\001\014\001\020\001\024\001\030\001\034\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\144\001\000"}; static struct {unsigned f; char r[4];} string11 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string12 = {65537, "\001\000\000"}; static struct {unsigned f; char r[4];} string13 = {65540, "\251\000\000"}; static struct {unsigned f; char r[44];} string14 = {2752556, "\260\006\005\146\151\162\163\164\257\300\101\370\323\224\300\165\315\304\000\100\214\005\004\162\145\163\164\214\257\300\101\370\323\224\300\165\315\304\000\100\214\261\000"}; static struct {unsigned f; char r[4];} string15 = {131074, "\004\037\000"}; static struct {unsigned f; char r[16];} string16 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[48];} string17 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\252\163\250\153\300\336\010\363\211\102\030\005\004\162\145\163\164\214\216\257\300\252\163\250\153\300\336\010\363\211\102\030\261\000\000\000"}; static struct {unsigned f; char r[4];} string18 = {131074, "\004\003\000"}; static struct {unsigned f; char r[20];} string19 = {1179668, "\260\006\005\146\151\162\163\164\217\005\004\162\145\163\164\214\217\261\000"}; static struct {unsigned f; char r[16];} string20 = {851984, "\257\300\252\163\250\153\300\336\010\363\211\102\030\000\000"}; static struct {unsigned f; char r[4];} string21 = {131074, "\004\005\000"}; static struct {unsigned f; char r[44];} string22 = {2752556, "\260\006\005\146\151\162\163\164\257\300\101\370\323\224\300\165\315\304\000\100\244\005\004\162\145\163\164\214\257\300\101\370\323\224\300\165\315\304\000\100\244\261\000"}; static struct {unsigned f; char r[24];} string23 = {1376277, "\006\002\000\007\000\040\005\004\046\004\100\102\015\004\100\146\004\101\006\060\001\000\000"}; static struct {unsigned f; char r[24];} string24 = {1310744, "\260\006\005\146\151\162\163\164\216\251\005\004\162\145\163\164\214\216\251\261\000\000\000"}; static struct {unsigned f; char r[16];} string25 = {851984, "\257\300\247\365\203\234\300\047\265\225\046\100\274\000\000"}; static struct {unsigned f; char r[8];} string26 = {262148, "\004\200G\220\000\000\000"}; static struct {unsigned f; char r[16];} string27 = {851984, "\257\300\223\145\303\043\300\372\023\025\003\100\260\000\000"}; static struct {unsigned f; char r[4];} string28 = {196611, "\004C\237"}; static struct {unsigned f; char r[16];} string29 = {851984, "\257\300\223\145\303\043\300\372\023\025\003\101\034\000\000"}; static struct {unsigned f; char r[4];} string30 = {196611, "\004CV"}; static struct {unsigned f; char r[48];} string31 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\252\043\023\037\300\070\056\113\065\100\164\005\004\162\145\163\164\214\216\257\300\252\043\023\037\300\070\056\113\065\100\164\261\000\000\000"}; static struct {unsigned f; char r[16];} string32 = {851984, "\257\300\247\365\203\234\300\047\265\225\046\100\214\000\000"}; static struct {unsigned f; char r[16];} string33 = {851984, "\257\300\223\145\303\043\300\372\023\025\003\100\200\000\000"}; static struct {unsigned f; char r[68];} string34 = {4325442, "\006\031\000\001\004\001\010\001\014\001\024\001\030\001\034\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\164\001\100\170\001\100\224\004\017\100\244\004\100\171\100\300\001\100\304\001\100\310\001\100\320\001\000"}; static struct {unsigned f; char r[12];} string35 = {655372, "Typescript\000"}; static struct {unsigned f; char r[12];} string36 = {720908, "DuringMouse"}; static struct {unsigned f; char r[12];} string37 = {524300, "Feedback\000\000\000"}; static struct {unsigned f; char r[8];} string38 = {458760, "Warning"}; static struct {unsigned f; char r[8];} string39 = {458760, "Confirm"}; static struct {unsigned f; char r[8];} string40 = {262152, "Show\000\000\000"}; static struct {unsigned f; char r[12];} string41 = {655372, "Statistics\000"}; static struct {unsigned f; char r[8];} string42 = {327688, "Error\000\000"}; static struct {unsigned f; char r[12];} string43 = {589836, "Complaint\000\000"}; static struct {unsigned f; char r[20];} string44 = {1245204, "Gargoyle.FancyPanel"}; static struct {unsigned f; char r[20];} string45 = {1114132, "GGPanel: Gargoyle\000\000"}; static struct {unsigned f; char r[12];} string46 = {524300, "Gargoyle\000\000\000"}; static struct {unsigned f; char r[8];} string47 = {458760, "Control"}; static struct {unsigned f; char r[8];} string48 = {327688, "Panel\000\000"}; static struct {unsigned f; char r[8];} string49 = {262152, "None\000\000\000"}; static struct {unsigned f; char r[16];} string50 = {851984, "GargoyleChild\000\000"}; static struct {unsigned f; char r[12];} string51 = {655372, "Interpress\000"}; static struct {unsigned f; char r[24];} string52 = {1507352, "ViewersPaintEntireScene"}; static struct {unsigned f; char r[24];} string53 = {1376280, "ViewersPaintAllPlanes\000\000"}; static struct {unsigned f; char r[20];} string54 = {1179668, "PaintSceneNoBuffer\000"}; static struct {unsigned f; char r[28];} string55 = {1638428, "Queued operations Aborted\000\000"}; static struct {unsigned f; char r[4];} string56 = {196612, "Get"}; static struct {unsigned f; char r[4];} string57 = {4, "\000\000\000"}; static struct {unsigned f; char r[8];} string58 = {393224, "During\000"}; static struct {unsigned f; char r[12];} string59 = {524300, "OneScale\000\000\000"}; static struct {unsigned f; char r[12];} string60 = {589836, "OneScroll\000\000"}; static struct {unsigned f; char r[8];} string61 = {458760, "OneZoom"}; static struct {unsigned f; char r[28];} string62 = {1703964, "RestoreScreenAndInvariants\000"}; static struct {unsigned f; char r[12];} string63 = {720908, "-fancyPanel"}; static struct {unsigned f; char r[16];} string64 = {786448, "-~fancyPanel\000\000\000"}; static struct {unsigned f; char r[12];} string65 = {524300, "-command\000\000\000"}; static struct {unsigned f; char r[4];} string66 = {65540, "(\000\000"}; static struct {unsigned f; char r[4];} string67 = {65540, ")\000\000"}; static struct {unsigned f; char r[4];} string68 = {131076, "()\000"}; static struct {unsigned f; char r[4];} string69 = {196612, ".ip"}; static struct {unsigned f; char r[8];} string70 = {262152, "ToIP\000\000\000"}; static struct {unsigned f; char r[8];} string71 = {327688, " -- \000\000"}; static struct {unsigned f; char r[4];} string72 = {196612, "*!*"}; static struct {unsigned f; char r[4];} string73 = {131076, "!h\000"}; static struct {unsigned f; char r[4];} string74 = {65540, "\012\000\000"}; static struct {unsigned f; char r[8];} string75 = {458760, "Failure"}; static struct {unsigned f; char r[16];} string76 = {917520, "DisableRefresh\000"}; static struct {unsigned f; char r[16];} string77 = {851984, "EnableRefresh\000\000"}; static struct {unsigned f; char r[8];} string78 = {458760, "Refresh"}; static struct {unsigned f; char r[8];} string79 = {327688, "Clear\000\000"}; static struct {unsigned f; char r[16];} string80 = {983056, "MergeIPEditable"}; static struct {unsigned f; char r[8];} string81 = {458760, "-mod.ip"}; static struct {unsigned f; char r[16];} string82 = {786448, "Gargoyle.tip\000\000\000"}; static struct {unsigned f; char r[12];} string83 = {655372, "ActionArea\000"}; static struct {unsigned f; char r[32];} string84 = {1900576, "xerox/tiogafonts/helvetica10I\000\000"}; static struct {unsigned f; char r[32];} string85 = {1966112, "xerox/pressfonts/helvetica-brr\000"}; static struct {unsigned f; char r[32];} string86 = {1966112, "/Cedar/Gargoyle/Gargoyle.icons\000"}; static struct {unsigned f; char r0[200]; char r1[20];} string87 = { 14221532, "Create a graphical editor\012\011Gargoyle [-~fancyPanel] [-command () ] [file name pattern]\012\011See /R/GargoyleControlPanel.gargoyle for example commands, like\012-command ((SelectAll)(AreaColorBla", "ck)(DeselectAll))\000\000"}; static struct {unsigned f; char r[12];} string88 = {524300, "GGIPToIP\000\000\000"}; static struct {unsigned f; char r0[200]; char r1[48];} string89 = { 16056568, "GGIPToIP \030 apply the named script to each of the named interpress files (after performing MergeIPEditable). A new file with -mod.ip at the end will b", "e created corresponding to each original file\000\000"}; static struct {unsigned f; char r[16];} string90 = {851984, "\257\300\252\163\250\153\300\336\010\363\211\100\164\000\000"}; static struct {unsigned f; char r[24];} string91 = {1376277, "\006\007\024\001\030\001\034\001\040\001\044\001\074\001\100\330\010\000\004\070\001\000\000"}; static struct {unsigned f; char r[16];} string92 = {851984, "\257\300\101\370\323\224\300\165\315\304\000\100\150\000\000"}; static struct {unsigned f; char r[16];} string93 = {851984, "\257\300\212\174\364\337\300\361\376\000\156\100\150\000\000"}; static struct {unsigned f; char r[16];} string94 = {851984, "\257\300\345\207\354\240\300\306\063\246\015\100\150\000\000"}; static struct {unsigned f; char r[16];} string95 = {851984, "\257\300\006<7[\300;CV\364@h\000\000"}; static struct {unsigned f; char r[16];} string96 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"}; static struct {unsigned f; char r[16];} string97 = {851984, "\257\300\311\235\133\064\300\165\175\234\175\100\150\000\000"}; static struct {unsigned f; char r[16];} string98 = {851984, "\257\300\362\312\033\215\300\321\365\230\017\100\150\000\000"}; static struct {unsigned f; char r[16];} string99 = {851984, "\257\300\322\334\347\304\300\124\107\000\027\100\150\000\000"}; static struct {unsigned f; char r[16];} string100 = {851984, "\257\300\311\307\035\205\300\321\364\126\253\100\150\000\000"}; static struct {unsigned f; char r[16];} string101 = {851984, "\257\300\103\154\257\030\300\165\276\076\350\100\150\000\000"}; static struct {unsigned f; char r[16];} string102 = {851984, "\257\300\344\212\014\176\300\070\230\121\123\100\150\000\000"}; static struct {unsigned f; char r[16];} string103 = {851984, "\257\300\133\220\237\206\300\254\332\015\112\100\164\000\000"}; static struct {unsigned f; char r[16];} string104 = {851984, "\257\300\112\153\254\213\300\072\171\243\243\100\150\000\000"}; static struct {unsigned f; char r[16];} string105 = {851984, "\257\300\136\002\175\264\300\016\031\370\241\100\150\000\000"}; static struct {unsigned f; char r[16];} string106 = {851984, "\257\300\265\217\206\011\300\172\271\371\033\100\150\000\000"}; static struct {unsigned f; char r[16];} string107 = {851984, "\257\300\223\031\346\162\300\275\253\133\335\100\150\000\000"}; static struct {unsigned f; char r[16];} string108 = {851984, "\257\300\306\163\371\375\300\321\143\133\037\100\150\000\000"}; static struct {unsigned f; char r[16];} string109 = {851984, "\257\300\231\005\151\136\300\275\231\323\274\100\150\000\000"}; static struct {unsigned f; char r[16];} string110 = {851984, "\257\300\003\033\274\104\300\263\246\312\006\100\150\000\000"}; static struct {unsigned f; char r[16];} string111 = {851984, "\257\300\252\050\175\356\300\250\337\044\120\100\150\000\000"}; static struct {unsigned f; char r[16];} string112 = {851984, "\257\300\057\254\335\010\300\373\153\244\175\100\150\000\000"}; static struct {unsigned f; char r[16];} string113 = {851984, "\257\300\304\141\336\362\300\236\375\331\052\100\150\000\000"}; static struct {unsigned f; char r[16];} string114 = {851984, "\257\300\246\204\223\340\300\164\162\104\060\100\150\000\000"}; static struct {unsigned f; char r[16];} string115 = {851984, "\257\300\172\265\057\072\300\145\211\260\126\100\150\000\000"}; static struct {unsigned f; char r[16];} string116 = {851984, "\257\300\311\023\117\300\300\337\236\305\170\100\150\000\000"}; static struct {unsigned f; char r[16];} string117 = {851984, "\257\300\207\142\037\125\300\254\056\012\025\100\150\000\000"}; static struct {unsigned f; char r[16];} string118 = {851984, "\257\300\347\101\365\007\300\150\102\366\020\100\150\000\000"}; static struct {unsigned f; char r[16];} string119 = {851984, "\257\300\340\114\347\077\300\130\206\301\040\100\150\000\000"}; static struct {unsigned f; char r[16];} string120 = {851984, "\257\300U$)\337\300Xo9\243@t\000\000"}; static struct {unsigned f; char r[16];} string121 = {851984, "\257\300\206\055\004\241\300\261\334\001\116\100\150\000\000"}; static struct {unsigned f; char r[16];} string122 = {851984, "\257\300\042\164\344\073\300\334\025\274\173\100\150\000\000"}; static struct {unsigned f; char r[16];} string123 = {851984, "\257\300\355\324\264\170\300\276\334\312\210\100\150\000\000"}; static struct {unsigned f; char r[16];} string124 = {851984, "\257\300\037\132\057\032\300\262\356\113\061\100\150\000\000"}; static struct {unsigned f; char r[16];} string125 = {851984, "\257\300\144\143\124\312\300\122\224\357\133\100\150\000\000"}; static struct {unsigned f; char r[16];} string126 = {851984, "\257\300\031\357\041\010\300\216\301\043\377\100\150\000\000"}; static struct {unsigned f; char r[16];} string127 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"}; static struct {unsigned f; char r[16];} string128 = {851984, "\257\300\046\300\267\143\300\022\215\240\122\100\150\000\000"}; static struct {unsigned f; char r[16];} string129 = {851984, "\257\300\121\117\377\026\300\315\013\026\004\100\150\000\000"}; static struct {unsigned f; char r[16];} string130 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"}; static struct {unsigned f; char r[16];} string131 = {851984, "\257\300\117\270\125\000\300\156\351\056\141\100\150\000\000"}; static struct {unsigned f; char r[16];} string132 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string133 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string134 = {851984, "\257\300\360\202\255\211\300\267\057\343\102\100\150\000\000"}; static struct {unsigned f; char r[16];} string135 = {851984, "\257\300\026\052\121\143\300\234\275\317\206\100\150\000\000"}; static struct {unsigned f; char r[16];} string136 = {851984, "\257\300\134\353\367\206\300\202\044\112\356\100\150\000\000"}; static struct {unsigned f; char r[16];} string137 = {851984, "\257\300\004\142\347\110\300\363\053\254\345\100\150\000\000"}; static struct {unsigned f; char r[16];} string138 = {851984, "\257\300\354\332\367\333\300\361\203\205\173\100\150\000\000"}; static struct {unsigned f; char r[16];} string139 = {851984, "\257\300\356\024\243\250\300\175\157\203\227\100\150\000\000"}; static struct {unsigned f; char r[16];} string140 = {851984, "\257\300\003\112\366\226\300\006\215\072\035\100\150\000\000"}; static struct {unsigned f; char r[16];} string141 = {851984, "\257\300\252\043\023\037\300\070\056\113\065\100\150\000\000"}; static struct {unsigned f; char r[12];} string142 = {1214870388, "oryToolObj"}; static struct {unsigned f; char r[28];} string143 = {1769500, "\211\017\016HistoryToolObj\300\252#\023\037\3008.K5"}; static struct {unsigned f; char r[16];} string144 = {851984, "\257\300\252\050\175\356\300\250\337\044\120\100\164\000\000"}; static struct {unsigned f; char r[4];} string145 = {131074, "\004\017\000"}; static struct {unsigned f; char r[16];} string146 = {851984, "\257\300\223\145\303\043\300\372\023\025\003\100\150\000\000"}; static struct {unsigned f; char r[28];} string147 = {1572892, "\211\014\013\104\162\141\147\104\141\164\141\117\142\152\300\223\145\303\043\300\372\023\025\003\000\000\000"}; static struct {unsigned f; char r[28];} string148 = {1572892, "\211\014\013\103\157\156\164\162\157\154\163\117\142\152\300\223\145\303\043\300\372\023\025\003\000\000\000"}; static struct {unsigned f; char r[28];} string149 = {1638428, "\211\015\014\123\164\141\164\145\104\141\164\141\117\142\152\300\223\145\303\043\300\372\023\025\003\000\000"}; static struct {unsigned f; char r[28];} string150 = {1638428, "\211\015\014\105\155\142\145\144\104\141\164\141\117\142\152\300\223\145\303\043\300\372\023\025\003\000\000"}; static struct {unsigned f; char r[28];} string151 = {1769500, "\211\017\016\122\145\146\162\145\163\150\104\141\164\141\117\142\152\300\223\145\303\043\300\372\023\025\003"}; static struct { word f0[110]; word f110; word f111; word f112; word f113; word f114; word f115; word f116; word f117; word f118; word f119; word f120; word f121; word f122; word f123; word f124; 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[90]; } globalframe = { {0}, (word) GetIcons_P2040, 0, (word) InitIcons_P1980, 0, (word) Init_P1920, 0, (word) SetBeingBorn_P1860, 0, (word) BiScrollerInputNotify_P1800, 0, (word) BSDestroyProc_P1740, 0, (word) BSSaveProc_P1680, 0, (word) GGBasicTransformProc_P1620, 0, (word) GGIPToIP_P1560, 0, (word) GGToIP_P1500, 0, (word) FilenameMinusExtension_P1440, 0, (word) NewGGViewers_P1380, 0, (word) SetCursorLooks_P1320, 0, (word) GGExtremaProc_P1260, 0, (word) List_P1200, 0, (word) Choice_P1140, 0, (word) PUChoiceList_P1080, 0, (word) OptimizeQueue_P1020, 0, (word) WorldToViewer_P960, 0, (word) ViewerToWorld_P900, 0, (word) RegisterEditedProc_P840, 0, (word) GGAbortProc_P780, 0, (word) GGActionAreaPaint_P720, 0, (word) ActiveInGGData_P660, 0, (word) CreateWindowAux_P600, 0, (word) CreateWindow_P540, 0, (word) CreateGGDataForViewer_P480, 0, (word) CreateGGData_P420, 0, (word) PaintInViewer_P360, 0, (word) CreateChildViewer_P300, 0, (word) OpenViewerOnFile_P240, 0, (word) SaveCaretPos_P180, 0, (word) NewCaretPos_P120, 0, (word) RestoreScreenAndInvariants_P60, 0, (word) GGWindowImpl_P0, {0} }; static void NoName_Q3264() { register ptr gf_c0526 = (ptr) &globalframe; word var_c78356; (* (( (ptr) gf_c0526)+19) ) = (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf_c0526)+20) ) = (word) XR_GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf_c0526)+21) ) = (word) XR_GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf_c0526)+22) ) = (word) XR_GetTypeIndex((word) &string7, 0, (word) &string8); (* (( (ptr) gf_c0526)+24) ) = (word) XR_GetTypeIndex((word) &string9, 0, (word) &string10); (* (( (ptr) gf_c0526)+26) ) = (word) XR_GetTypeIndex((word) &string11, 0, (word) &string12); (* (( (ptr) gf_c0526)+28) ) = (word) XR_GetTypeIndexS((word) (&string13)); (* (( (ptr) gf_c0526)+29) ) = (word) XR_GetTypeIndex((word) &string14, 0, (word) &string15); (* (( (ptr) gf_c0526)+31) ) = (word) XR_GetTypeIndex((word) &string16, 0, (word) &string12); (* (( (ptr) gf_c0526)+32) ) = (word) XR_GetTypeIndex((word) &string17, 0, (word) &string18); (* (( (ptr) gf_c0526)+33) ) = (word) XR_GetTypeIndex((word) &string19, 0, (word) &string18); (* (( (ptr) gf_c0526)+34) ) = (word) XR_GetTypeIndex((word) &string20, 0, (word) &string21); (* (( (ptr) gf_c0526)+36) ) = (word) XR_GetTypeIndex((word) &string22, 0, (word) &string23); (* (( (ptr) gf_c0526)+37) ) = (word) XR_GetTypeIndex((word) &string24, 0, (word) &string18); (* (( (ptr) gf_c0526)+38) ) = (word) XR_GetTypeIndex((word) &string25, 0, (word) &string26); (* (( (ptr) gf_c0526)+39) ) = (word) XR_GetTypeIndex((word) &string27, 0, (word) &string28); (* (( (ptr) gf_c0526)+40) ) = (word) XR_GetTypeIndex((word) &string29, 0, (word) &string30); (* (( (ptr) gf_c0526)+41) ) = (word) XR_GetTypeIndex((word) &string31, 0, (word) &string18); (* (( (ptr) gf_c0526)+42) ) = (word) XR_GetTypeIndexS((word) (&string32)); (* (( (ptr) gf_c0526)+47) ) = (word) XR_GetTypeIndex((word) &string33, 0, (word) &string34); (* (ptr) (( (bPt) gf_c0526)+216) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string35); (* (ptr) (( (bPt) gf_c0526)+220) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string36); (* (ptr) (( (bPt) gf_c0526)+224) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string37); (* (ptr) (( (bPt) gf_c0526)+228) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string38); (* (ptr) (( (bPt) gf_c0526)+232) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string39); (* (ptr) (( (bPt) gf_c0526)+236) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string40); (* (ptr) (( (bPt) gf_c0526)+240) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string41); (* (ptr) (( (bPt) gf_c0526)+244) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string42); (* (ptr) (( (bPt) gf_c0526)+248) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string43); (* (ptr) (( (bPt) gf_c0526)+252) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string44); (* (ptr) (( (bPt) gf_c0526)+256) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string45); (* (ptr) (( (bPt) gf_c0526)+260) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string46); (* (ptr) (( (bPt) gf_c0526)+264) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string47); (* (ptr) (( (bPt) gf_c0526)+268) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string48); (* (ptr) (( (bPt) gf_c0526)+272) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string49); (* (ptr) (( (bPt) gf_c0526)+276) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string50); (* (ptr) (( (bPt) gf_c0526)+280) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string51); (* (ptr) (( (bPt) gf_c0526)+284) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string52); (* (ptr) (( (bPt) gf_c0526)+288) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string53); (* (ptr) (( (bPt) gf_c0526)+292) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string54); (* (ptr) (( (bPt) gf_c0526)+296) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string55); (* (ptr) (( (bPt) gf_c0526)+300) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string56); (* (ptr) (( (bPt) gf_c0526)+304) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string57); (* (ptr) (( (bPt) gf_c0526)+308) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string58); (* (ptr) (( (bPt) gf_c0526)+312) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string59); (* (ptr) (( (bPt) gf_c0526)+316) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string60); (* (ptr) (( (bPt) gf_c0526)+320) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string61); (* (ptr) (( (bPt) gf_c0526)+324) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string46); (* (ptr) (( (bPt) gf_c0526)+328) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string62); (* (ptr) (( (bPt) gf_c0526)+332) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string63); (* (ptr) (( (bPt) gf_c0526)+336) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string64); (* (ptr) (( (bPt) gf_c0526)+340) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string65); (* (ptr) (( (bPt) gf_c0526)+344) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string66); (* (ptr) (( (bPt) gf_c0526)+348) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string67); (* (ptr) (( (bPt) gf_c0526)+352) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string68); (* (ptr) (( (bPt) gf_c0526)+356) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string69); (* (ptr) (( (bPt) gf_c0526)+360) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string70); (* (ptr) (( (bPt) gf_c0526)+364) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string71); (* (ptr) (( (bPt) gf_c0526)+368) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string72); (* (ptr) (( (bPt) gf_c0526)+372) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string73); (* (ptr) (( (bPt) gf_c0526)+376) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string74); (* (ptr) (( (bPt) gf_c0526)+380) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string75); (* (ptr) (( (bPt) gf_c0526)+384) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string76); (* (ptr) (( (bPt) gf_c0526)+388) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string77); (* (ptr) (( (bPt) gf_c0526)+392) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string78); (* (ptr) (( (bPt) gf_c0526)+396) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string79); (* (ptr) (( (bPt) gf_c0526)+400) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string80); (* (ptr) (( (bPt) gf_c0526)+404) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string81); (* (ptr) (( (bPt) gf_c0526)+408) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string82); (* (ptr) (( (bPt) gf_c0526)+412) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+26) ), (word) &string83); (* (ptr) (( (bPt) gf_c0526)+416) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string84); (* (ptr) (( (bPt) gf_c0526)+420) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string85); (* (ptr) (( (bPt) gf_c0526)+424) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string86); (* (ptr) (( (bPt) gf_c0526)+428) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string87); (* (ptr) (( (bPt) gf_c0526)+432) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string88); (* (ptr) (( (bPt) gf_c0526)+436) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0526)+31) ), (word) &string89); (void) XR_DeclareGlobalFrame((word) "GGWindowImpl", &globalframe, (word) XR_GetTypeIndex((word) &string90, 0, (word) &string91) , (word) (( (bPt) gf_c0526)+712)/* var_c72116 */ ); var_c78356 = (word) XR_ImportInterface((word) "AtomButtons", (word) XR_GetTypeIndexS((word) (&string92)), 21); (* (( (ptr) gf_c0526)+255)/* var_c75348 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 69206024); var_c78356 = (word) XR_ImportInterface((word) "BasicTime", (word) XR_GetTypeIndexS((word) (&string93)), 24); (* (( (ptr) gf_c0526)+224)/* var_c72756 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 134220544); var_c78356 = (word) XR_ImportInterface((word) "BiScrollers", (word) XR_GetTypeIndexS((word) (&string94)), 30); (* (( (ptr) gf_c0526)+235)/* var_c73364 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67373569); (void) XR_ImportProcS(var_c78356, 67373825); (void) XR_ImportProcS(var_c78356, 67634946); (void) XR_ImportProcS(var_c78356, 67371521); var_c78356 = (word) XR_ImportInterface((word) "CodeTimer", (word) XR_GetTypeIndexS((word) (&string95)), 21); (* (( (ptr) gf_c0526)+220)/* var_c72532 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 526850); (void) XR_ImportProcS(var_c78356, 526338); var_c78356 = (word) XR_ImportInterface((word) "Commander", (word) XR_GetTypeIndexS((word) (&string96)), 3); (* (( (ptr) gf_c0526)+265)/* var_c78132 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 1310725); var_c78356 = (word) XR_ImportInterface((word) "CommanderOps", (word) XR_GetTypeIndexS((word) (&string97)), 14); (* (( (ptr) gf_c0526)+258)/* var_c76372 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67633666); (void) XR_ImportProcS(var_c78356, 134742274); var_c78356 = (word) XR_ImportInterface((word) "EBMesaLisp", (word) XR_GetTypeIndexS((word) (&string98)), 11); (* (( (ptr) gf_c0526)+260)/* var_c76596 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 134479873); var_c78356 = (word) XR_ImportInterface((word) "Feedback", (word) XR_GetTypeIndexS((word) (&string99)), 25); (* (( (ptr) gf_c0526)+236)/* var_c73428 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 1050628); (void) XR_ImportProcS(var_c78356, 67109632); var_c78356 = (word) XR_ImportInterface((word) "FeedbackOps", (word) XR_GetTypeIndexS((word) (&string100)), 19); (* (( (ptr) gf_c0526)+237)/* var_c73556 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 790019); (void) XR_ImportProcS(var_c78356, 789507); var_c78356 = (word) XR_ImportInterface((word) "FileNames", (word) XR_GetTypeIndexS((word) (&string101)), 17); (* (( (ptr) gf_c0526)+231)/* var_c73108 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67371265); (void) XR_ImportProcS(var_c78356, 67109632); var_c78356 = (word) XR_ImportInterface((word) "FS", (word) XR_GetTypeIndexS((word) (&string102)), 36); (* (( (ptr) gf_c0526)+261)/* var_c76628 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 788995); (void) XR_ImportProcS(var_c78356, 940048898); var_c78356 = (word) XR_ImportInterface((word) "Geom2D", (word) XR_GetTypeIndexS((word) (&string103)), 23); (* (( (ptr) gf_c0526)+256)/* var_c76244 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 270012674); var_c78356 = (word) XR_ImportInterface((word) "GGActive", (word) XR_GetTypeIndexS((word) (&string104)), 4); (* (( (ptr) gf_c0526)+238)/* var_c73876 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67371265); var_c78356 = (word) XR_ImportInterface((word) "GGAlign", (word) XR_GetTypeIndexS((word) (&string105)), 46); (* (( (ptr) gf_c0526)+221)/* var_c72564 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 272385); (void) XR_ImportProcS(var_c78356, 67112192); (void) XR_ImportProcS(var_c78356, 67109120); (void) XR_ImportProcS(var_c78356, 526850); (void) XR_ImportProcS(var_c78356, 262657); (void) XR_ImportProcS(var_c78356, 1316101); (void) XR_ImportProcS(var_c78356, 265729); (void) XR_ImportProcS(var_c78356, 268289); (void) XR_ImportProcS(var_c78356, 268033); var_c78356 = (word) XR_ImportInterface((word) "GGBoundBox", (word) XR_GetTypeIndexS((word) (&string106)), 24); (* (( (ptr) gf_c0526)+247)/* var_c74612 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67372033); (void) XR_ImportProcS(var_c78356, 67109376); var_c78356 = (word) XR_ImportInterface((word) "GGCaret", (word) XR_GetTypeIndexS((word) (&string107)), 13); (* (( (ptr) gf_c0526)+227)/* var_c72884 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67108864); (void) XR_ImportProcS(var_c78356, 134482689); var_c78356 = (word) XR_ImportInterface((word) "GGContainer", (word) XR_GetTypeIndexS((word) (&string108)), 6); (* (( (ptr) gf_c0526)+252)/* var_c75060 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 525058); (void) XR_ImportProcS(var_c78356, 524546); (void) XR_ImportProcS(var_c78356, 524802); (void) XR_ImportProcS(var_c78356, 74711042); var_c78356 = (word) XR_ImportInterface((word) "GGCoreOps", (word) XR_GetTypeIndexS((word) (&string109)), 37); (* (( (ptr) gf_c0526)+241)/* var_c74164 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67110144); (void) XR_ImportProcS(var_c78356, 67108864); var_c78356 = (word) XR_ImportInterface((word) "GGEvent", (word) XR_GetTypeIndexS((word) (&string110)), 38); (* (( (ptr) gf_c0526)+233)/* var_c73268 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 525314); (void) XR_ImportProcS(var_c78356, 531970); (void) XR_ImportProcS(var_c78356, 524290); var_c78356 = (word) XR_ImportInterface((word) "GGHistory", (word) XR_GetTypeIndexS((word) (&string111)), 20); (* (( (ptr) gf_c0526)+226)/* var_c72820 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67637506); (void) XR_ImportProcS(var_c78356, 528898); (void) XR_ImportProcS(var_c78356, 263425); var_c78356 = (word) XR_ImportInterface((word) "GGMeasure", (word) XR_GetTypeIndexS((word) (&string112)), 8); (* (( (ptr) gf_c0526)+229)/* var_c72948 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 68683523); (void) XR_ImportProcS(var_c78356, 68157698); (void) XR_ImportProcS(var_c78356, 68682499); (void) XR_ImportProcS(var_c78356, 68158722); var_c78356 = (word) XR_ImportInterface((word) "GGMenu", (word) XR_GetTypeIndexS((word) (&string113)), 1); (* (( (ptr) gf_c0526)+253)/* var_c75188 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 524290); var_c78356 = (word) XR_ImportInterface((word) "GGMouseEvent", (word) XR_GetTypeIndexS((word) (&string114)), 32); (* (( (ptr) gf_c0526)+242)/* var_c74196 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 262145); var_c78356 = (word) XR_ImportInterface((word) "GGMultiGravity", (word) XR_GetTypeIndexS((word) (&string115)), 16); (* (( (ptr) gf_c0526)+246)/* var_c74548 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67112704); (void) XR_ImportProcS(var_c78356, 67635201); var_c78356 = (word) XR_ImportInterface((word) "GGOutline", (word) XR_GetTypeIndexS((word) (&string116)), 19); (* (( (ptr) gf_c0526)+250)/* var_c74932 */ ) = var_c78356; var_c78356 = (word) XR_ImportInterface((word) "GGRefresh", (word) XR_GetTypeIndexS((word) (&string117)), 30); (* (( (ptr) gf_c0526)+222)/* var_c72596 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 1049604); (void) XR_ImportProcS(var_c78356, 1573638); (void) XR_ImportProcS(var_c78356, 67109376); (void) XR_ImportProcS(var_c78356, 789507); (void) XR_ImportProcS(var_c78356, 527106); (void) XR_ImportProcS(var_c78356, 267009); (void) XR_ImportProcS(var_c78356, 267777); var_c78356 = (word) XR_ImportInterface((word) "GGScene", (word) XR_GetTypeIndexS((word) (&string118)), 50); (* (( (ptr) gf_c0526)+225)/* var_c72788 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67380225); (void) XR_ImportProcS(var_c78356, 67371009); (void) XR_ImportProcS(var_c78356, 790018); var_c78356 = (word) XR_ImportInterface((word) "GGSessionLog", (word) XR_GetTypeIndexS((word) (&string119)), 7); (* (( (ptr) gf_c0526)+244)/* var_c74388 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 525570); (void) XR_ImportProcS(var_c78356, 525314); var_c78356 = (word) XR_ImportInterface((word) "GGSlice", (word) XR_GetTypeIndexS((word) (&string120)), 128); (* (( (ptr) gf_c0526)+248)/* var_c74740 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 68169730); var_c78356 = (word) XR_ImportInterface((word) "GGState", (word) XR_GetTypeIndexS((word) (&string121)), 119); (* (( (ptr) gf_c0526)+223)/* var_c72692 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 134481921); (void) XR_ImportProcS(var_c78356, 67372545); (void) XR_ImportProcS(var_c78356, 551170); (void) XR_ImportProcS(var_c78356, 554498); (void) XR_ImportProcS(var_c78356, 536322); (void) XR_ImportProcS(var_c78356, 534018); (void) XR_ImportProcS(var_c78356, 532226); (void) XR_ImportProcS(var_c78356, 530178); (void) XR_ImportProcS(var_c78356, 67384833); var_c78356 = (word) XR_ImportInterface((word) "GGStateExtras", (word) XR_GetTypeIndexS((word) (&string122)), 4); (* (( (ptr) gf_c0526)+240)/* var_c74036 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 525058); (void) XR_ImportProcS(var_c78356, 268960002); (void) XR_ImportProcS(var_c78356, 786435); var_c78356 = (word) XR_ImportInterface((word) "GGUserInput", (word) XR_GetTypeIndexS((word) (&string123)), 13); (* (( (ptr) gf_c0526)+254)/* var_c75316 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 1310981); (void) XR_ImportProcS(var_c78356, 524802); (void) XR_ImportProcS(var_c78356, 525058); var_c78356 = (word) XR_ImportInterface((word) "GGUserProfile", (word) XR_GetTypeIndexS((word) (&string124)), 25); (* (( (ptr) gf_c0526)+243)/* var_c74260 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67114496); (void) XR_ImportProcS(var_c78356, 67111936); (void) XR_ImportProcS(var_c78356, 67113472); (void) XR_ImportProcS(var_c78356, 67110912); (void) XR_ImportProcS(var_c78356, 67112448); var_c78356 = (word) XR_ImportInterface((word) "GGViewerOps", (word) XR_GetTypeIndexS((word) (&string125)), 8); (* (( (ptr) gf_c0526)+230)/* var_c72980 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 787970); var_c78356 = (word) XR_ImportInterface((word) "Icons", (word) XR_GetTypeIndexS((word) (&string126)), 3); (* (( (ptr) gf_c0526)+266)/* var_c78164 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67633666); var_c78356 = (word) XR_ImportInterface((word) "Imager", (word) XR_GetTypeIndexS((word) (&string127)), 84); (* (( (ptr) gf_c0526)+249)/* var_c74900 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67372289); var_c78356 = (word) XR_ImportInterface((word) "ImagerFont", (word) XR_GetTypeIndexS((word) (&string128)), 26); (* (( (ptr) gf_c0526)+264)/* var_c78068 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67634434); (void) XR_ImportProcS(var_c78356, 67633922); var_c78356 = (word) XR_ImportInterface((word) "ImagerTransformation", (word) XR_GetTypeIndexS((word) (&string129)), 55); (* (( (ptr) gf_c0526)+239)/* var_c73940 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67634689); (void) XR_ImportProcS(var_c78356, 135013122); (void) XR_ImportProcS(var_c78356, 67645698); (void) XR_ImportProcS(var_c78356, 67371777); var_c78356 = (word) XR_ImportInterface((word) "IO", (word) XR_GetTypeIndexS((word) (&string130)), 103); (* (( (ptr) gf_c0526)+259)/* var_c76564 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 1071364); (void) XR_ImportProcS(var_c78356, 67640578); var_c78356 = (word) XR_ImportInterface((word) "MultiCursors", (word) XR_GetTypeIndexS((word) (&string131)), 26); (* (( (ptr) gf_c0526)+257)/* var_c76340 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 69733891); (void) XR_ImportProcS(var_c78356, 787203); (void) XR_ImportProcS(var_c78356, 67634178); var_c78356 = (word) XR_ImportInterface((word) "Process", (word) XR_GetTypeIndexS((word) (&string132)), 22); (* (( (ptr) gf_c0526)+262)/* var_c76980 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 3584); var_c78356 = (word) XR_ImportInterface((word) "Rope", (word) XR_GetTypeIndexS((word) (&string133)), 43); (* (( (ptr) gf_c0526)+232)/* var_c73140 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67900163); (void) XR_ImportProcS(var_c78356, 67633666); (void) XR_ImportProcS(var_c78356, 67373569); (void) XR_ImportProcS(var_c78356, 67898627); (void) XR_ImportProcS(var_c78356, 68419845); (void) XR_ImportProcS(var_c78356, 67896323); var_c78356 = (word) XR_ImportInterface((word) "SlackProcess", (word) XR_GetTypeIndexS((word) (&string134)), 26); (* (( (ptr) gf_c0526)+245)/* var_c74420 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 268961538); (void) XR_ImportProcS(var_c78356, 67374081); (void) XR_ImportProcS(var_c78356, 69206280); var_c78356 = (word) XR_ImportInterface((word) "TIPUser", (word) XR_GetTypeIndexS((word) (&string135)), 4); (* (( (ptr) gf_c0526)+263)/* var_c77972 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67109120); (void) XR_ImportProcS(var_c78356, 67371009); var_c78356 = (word) XR_ImportInterface((word) "UserProfile", (word) XR_GetTypeIndexS((word) (&string136)), 11); (* (( (ptr) gf_c0526)+251)/* var_c74964 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 67633154); var_c78356 = (word) XR_ImportInterface((word) "Vectors2d", (word) XR_GetTypeIndexS((word) (&string137)), 21); (* (( (ptr) gf_c0526)+228)/* var_c72916 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 135006210); var_c78356 = (word) XR_ImportInterface((word) "ViewerOps", (word) XR_GetTypeIndexS((word) (&string138)), 43); (* (( (ptr) gf_c0526)+234)/* var_c73300 */ ) = var_c78356; (void) XR_ImportProcS(var_c78356, 532482); (void) XR_ImportProcS(var_c78356, 1575430); (void) XR_ImportProcS(var_c78356, 1051652); var_c78356 = (word) XR_ExportInterface((word) "GGWindow", (word) XR_GetTypeIndexS((word) (&string139)), 12); (* (( (ptr) gf_c0526)+267)/* var_c78388 */ ) = var_c78356; (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+704)/* var_c72084 */ , 1572870, (word) "RestoreScreenAndInvariants") ; (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+688)/* var_c72020 */ , 262401, (word) "SaveCaretPos"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+696)/* var_c72052 */ , 262657, (word) "NewCaretPos"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+600)/* var_c71668 */ , 787203, (word) "RegisterEditedProc"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+640)/* var_c71828 */ , 68158468, (word) "CreateWindow"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+672)/* var_c71956 */ , 137626893, (word) "CreateChildViewer") ; (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+656)/* var_c71892 */ , 67634690, (word) "CreateGGData"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+448)/* var_c71060 */ , 1792, (word) "InitIcons"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+440)/* var_c71028 */ , 335546368, (word) "GetIcons"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+592)/* var_c71636 */ , 135006466, (word) "ViewerToWorld"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+584)/* var_c71604 */ , 135006722, (word) "WorldToViewer"); (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+536)/* var_c71412 */ , 789251, (word) "SetCursorLooks"); var_c78356 = (word) XR_ExportInterface((word) "GGWindowExtras", (word) XR_GetTypeIndexS((word) (&string140)), 1); (* (( (ptr) gf_c0526)+267)/* var_c78388 */ ) = var_c78356; (void) XR_ExportProcS(var_c78356, (word) (( (bPt) gf_c0526)+464)/* var_c71124 */ , 524290, (word) "SetBeingBorn"); var_c78356 = (word) XR_ExportInterface((word) "GGHistoryTypes", (word) XR_GetTypeIndexS((word) (&string141)), 2); (* (( (ptr) gf_c0526)+268)/* var_c78420 */ ) = var_c78356; (void) XR_ExportType((word) &string142, (word) XR_GetTypeIndexS((word) (&string143)), (word) XR_GetTypeIndex((word) &string144, 0, (word) &string145) ); var_c78356 = (word) XR_ExportInterface((word) "GGInterfaceTypes", (word) XR_GetTypeIndexS((word) (&string146)), 6); (* (( (ptr) gf_c0526)+268)/* var_c78420 */ ) = var_c78356; (void) XR_ExportType((word) &string142, (word) XR_GetTypeIndexS((word) (&string143)), (word) XR_GetTypeIndex((word) &string144, 0, (word) &string145) ); (void) XR_ExportType((word) "DragDataObj", (word) XR_GetTypeIndexS((word) (&string147)), (word) XR_GetTypeIndex((word) &string7, 0, (word) &string8) ); (void) XR_ExportType((word) "ControlsObj", (word) XR_GetTypeIndexS((word) (&string148)), (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2) ); (void) XR_ExportType((word) "StateDataObj", (word) XR_GetTypeIndexS((word) (&string149)), (word) XR_GetTypeIndex((word) &string5, 0, (word) &string6) ); (void) XR_ExportType((word) "EmbedDataObj", (word) XR_GetTypeIndexS((word) (&string150)), (word) XR_GetTypeIndex((word) &string3, 0, (word) &string4) ); (void) XR_ExportType((word) "RefreshDataObj", (word) XR_GetTypeIndexS((word) (&string151)), (word) XR_GetTypeIndex((word) &string9, 0, (word) &string10) ); } static void GGWindowImpl_P0(formal_c0121, formal_c0120) word formal_c0121; word formal_c0120; { register ptr gf_c78452 = (ptr) &globalframe; /* GGWindowImpl: */ SOURCE(778, 31296) (* (( (ptr) gf_c78452)+185) ) = 20; (* (( (ptr) gf_c78452)+196) ) = 62916576; (* (( (ptr) gf_c78452)+197) ) = 204478488; (* (( (ptr) gf_c78452)+198) ) = 806117382; (* (( (ptr) gf_c78452)+199) ) = 3221471235; (* (( (ptr) gf_c78452)+200) ) = 3221471235; (* (( (ptr) gf_c78452)+201) ) = 1611018252; (* (( (ptr) gf_c78452)+202) ) = 404229168; (* (( (ptr) gf_c78452)+203) ) = 132121536; (* (( (ptr) gf_c78452)+204) ) = 3221446662; (* (( (ptr) gf_c78452)+205) ) = 806098968; (* (( (ptr) gf_c78452)+206) ) = 204473376; (* (( (ptr) gf_c78452)+209) ) = 69209136; (* (( (ptr) gf_c78452)+210) ) = 404238348; (* (( (ptr) gf_c78452)+211) ) = 1611055107; (* (( (ptr) gf_c78452)+212) ) = (word) -1; (* (( (ptr) gf_c78452)+213) ) = 3221471235; (* (( (ptr) gf_c78452)+214) ) = 3221471235; (* (( (ptr) gf_c78452)+215) ) = 3221471235; (* (( (ptr) gf_c78452)+216) ) = 3221471235; (* (( (ptr) gf_c78452)+217) ) = 3221471235; (* (( (ptr) gf_c78452)+218) ) = 3221471235; (* (( (ptr) gf_c78452)+219) ) = (word) -1; SOURCE(2751, 24) (* (( (ptr) gf_c78452)+4)/* buttonAlign_v6220 */ ) = 2; SOURCE(31390, 37) (* (( (ptr) gf_c78452)+10)/* panelIconG_v7732 */ ) = (word) -1; SOURCE(31455, 38) (* (( (ptr) gf_c78452)+11)/* noNameIconG_v7760 */ ) = (word) -1; SOURCE(31521, 43) (* (( (ptr) gf_c78452)+12)/* dirtyNoNameIconG_v7788 */ ) = (word) -1; SOURCE(31592, 37) (* (( (ptr) gf_c78452)+13)/* dirtyIconG_v7816 */ ) = (word) -1; SOURCE(31657, 37) (* (( (ptr) gf_c78452)+14)/* cleanIconG_v7844 */ ) = (word) -1; SOURCE(31771, 54) (* (( (ptr) gf_c78452)+16)/* offCursor_v7900 */ ) = 4; SOURCE(31862, 66) (* (( (ptr) gf_c78452)+17)/* pointsPreferredCursor_v7928 */ ) = 4; SOURCE(31965, 65) (* (( (ptr) gf_c78452)+18)/* linesPreferredCursor_v7956 */ ) = 4; SOURCE(32068, 6) (void) Init_P1920(); } static void RestoreScreenAndInvariants_P60(paintAction_v8168, ggData_v8196, remake_v8224, edited_v8252, selectionChanged_v8280, okToSkipCapture_v8308) word paintAction_v8168; word ggData_v8196; word remake_v8224; word edited_v8252; word selectionChanged_v8280; word okToSkipCapture_v8308; { register ptr gf_c78484 = (ptr) &globalframe; /* RestoreScreenAndInvariants: */ SOURCE(3436, 1662) SOURCE(3630, 58) { word pd152; pd152 = (* (( (ptr) (* (( (ptr) gf_c78484)+220)/* var_c72532 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd152 ))))((* (( (ptr) gf_c78484)+82) ), (* (( (ptr) gf_c78484)+81) ), pd152); }; SOURCE(3690, 861) if ((* (( (bPt) ggData_v8196)+207) ) & 010) { SOURCE(3721, 29) { word pd153; pd153 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+27) ); (void) ( *( (fPt) ((* (ptr) pd153 ))))(ggData_v8196, pd153); }; SOURCE(3752, 38) { word pd154; pd154 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+26) ); (void) ( *( (fPt) ((* (ptr) pd154 ))))(ggData_v8196, pd154); }; SOURCE(3792, 38) { word pd155; pd155 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+23) ); (void) ( *( (fPt) ((* (ptr) pd155 ))))(ggData_v8196, pd155); }; SOURCE(3832, 28) (* (( (ptr) ggData_v8196) + 51) ) &= 4294967287; } else { SOURCE(3871, 680) { word var_c72628; var_c72628 = remake_v8224; switch (var_c72628) { case 4: break; case 0: SOURCE(3920, 29) { word pd156; pd156 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+27) ); (void) ( *( (fPt) ((* (ptr) pd156 ))))(ggData_v8196, pd156); }; SOURCE(3951, 38) { word pd157; pd157 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+26) ); (void) ( *( (fPt) ((* (ptr) pd157 ))))(ggData_v8196, pd157); }; break; case 1: SOURCE(4021, 44) { word pd158; pd158 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+28) ); (void) ( *( (fPt) ((* (ptr) pd158 ))))(ggData_v8196, pd158); }; SOURCE(4067, 38) { word pd159; pd159 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+26) ); (void) ( *( (fPt) ((* (ptr) pd159 ))))(ggData_v8196, pd159); }; break; case 2: SOURCE(4124, 46) { word pd160; pd160 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd160 ))))((* ((( (ptr) (* (( (ptr) ggData_v8196)+18) ))+4)) ), pd160); }; SOURCE(4172, 150) { word var_c72660; { word pd161; pd161 = (* (( (ptr) (* (( (ptr) gf_c78484)+223)/* var_c72692 */ ))+58) ); var_c72660 = (unsigned) (0 == (word) ( *( (fPt) ((* (ptr) pd161 ))))(ggData_v8196, pd161)); }; { word pd162; pd162 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd162 ))))((* (( (ptr) (* (( (ptr) ggData_v8196)+18) ))+1) ), (* (( (ptr) (* (( (ptr) ggData_v8196)+18) ))+8) ), ggData_v8196, var_c72660, (* (( (ptr) (* (( (ptr) ggData_v8196)+18) ))+4) ), pd162); }; }; SOURCE(4324, 38) { word pd163; pd163 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+26) ); (void) ( *( (fPt) ((* (ptr) pd163 ))))(ggData_v8196, pd163); }; break; case 3: SOURCE(4379, 38) { word pd164; pd164 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+26) ); (void) ( *( (fPt) ((* (ptr) pd164 ))))(ggData_v8196, pd164); }; break; case 5: SOURCE(4436, 48) { word pd165; pd165 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd165 ))))((* ((( (ptr) (* (( (ptr) ggData_v8196)+18) ))+8)) ), pd165); }; SOURCE(4486, 65) { word pd166; pd166 = (* (( (ptr) (* (( (ptr) gf_c78484)+221)/* var_c72564 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd166 ))))((* (( (ptr) ggData_v8196)+11) ), (* (( (ptr) (* (( (ptr) ggData_v8196)+18) ))+8) ), pd166) ; }; break; default: SOURCE(4567, 5) (void) XR_RaiseUnnamedError(); break; }; }; }; SOURCE(4577, 99) if (((0 != edited_v8252) || (0 != selectionChanged_v8280))) { SOURCE(4612, 64) { W2 var_c72724; { word pd167; pd167 = (* (( (ptr) (* (( (ptr) gf_c78484)+224)/* var_c72756 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd167 ))))((word) (&var_c72724), pd167); }; { word pd168; pd168 = (* (( (ptr) (* (( (ptr) gf_c78484)+225)/* var_c72788 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd168 ))))((* (( (ptr) ggData_v8196)+11) ), var_c72724, pd168); }; }; }; SOURCE(4678, 189) if ((0 != edited_v8252)) { SOURCE(4695, 172) { register word list_v12560; list_v12560 = (* (( (ptr) gf_c78484)+5)/* globalEditedProcList_v6556 */ ); lab_L100003: ; if ((list_v12560 != 0)) { } else { goto lab_L100000; }; SOURCE(4782, 85) if ((ggData_v8196 == (* (ptr) (* (ptr) list_v12560 ) ))) { SOURCE(4815, 52) { word pd169; pd169 = (* (( (ptr) (* (ptr) list_v12560 ))+1) ); (void) ( *( (fPt) ((* (ptr) pd169 ))))(ggData_v8196, (* (( (ptr) (* (ptr) list_v12560 ))+2) ), pd169); }; }; list_v12560 = (* (( (ptr) list_v12560)+1) ); goto lab_L100003; lab_L100000: ; }; }; SOURCE(4881, 44) { word pd170; pd170 = (* (( (ptr) (* (( (ptr) gf_c78484)+222)/* var_c72596 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd170 ))))(ggData_v8196, paintAction_v8168, pd170); }; SOURCE(4969, 70) if ((0 == okToSkipCapture_v8308)) { SOURCE(4997, 42) { word pd171; pd171 = (* (( (ptr) (* (( (ptr) gf_c78484)+226)/* var_c72820 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd171 ))))(ggData_v8196, pd171); }; }; SOURCE(5041, 57) { word pd172; pd172 = (* (( (ptr) (* (( (ptr) gf_c78484)+220)/* var_c72532 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd172 ))))((* (( (ptr) gf_c78484)+82) ), (* (( (ptr) gf_c78484)+81) ), pd172); }; } static void NewCaretPos_P120(ggData_v8368) word ggData_v8368; { register ptr gf_c78516 = (ptr) &globalframe; W2 caret0_v12688; W2 caret1_v12716; W2 caret2Pos_v12744; word distance_v12772; word angle_v12800; word slope_v12828; word lineDist_v12856; /* NewCaretPos: */ SOURCE(5104, 850) SOURCE(5224, 30) caret0_v12688 = (* (W2Pt) (( (ptr) ggData_v8368)+19) ); SOURCE(5256, 30) caret1_v12716 = (* (W2Pt) (( (ptr) ggData_v8368)+21) ); SOURCE(5288, 89) { W2 var_c72852; { word pd173; pd173 = (* (( (ptr) (* (( (ptr) gf_c78516)+227)/* var_c72884 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd173 ))))((word) &var_c72852, (* (( (ptr) ggData_v8368)+13) ), pd173); }; { W2 var_c0143; { word pd174; word x176; word x177; float tf178; pd174 = (* (( (ptr) (* (( (ptr) gf_c78516)+228)/* var_c72916 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd174 ))))((word) &var_c0143, var_c72852, ( tf178 = ( x176 = (* (ptr) &fc175 ), *(float*)&x176 ) / ( x177 = (* (( (ptr) (* (( (ptr) ggData_v8368)+18) ))+13) ), *(float*)&x177 ), *(word*)&tf178 ), pd174); }; caret2Pos_v12744 = var_c0143; }; }; SOURCE(5379, 61) { word pd179; pd179 = (* (( (ptr) (* (( (ptr) gf_c78516)+229)/* var_c72948 */ ))+9) ); distance_v12772 = (word) ( *( (fPt) ((* (ptr) pd179 ))))(caret1_v12716, caret2Pos_v12744, pd179); }; SOURCE(5468, 66) { word pd180; pd180 = (* (( (ptr) (* (( (ptr) gf_c78516)+229)/* var_c72948 */ ))+7) ); angle_v12800 = (word) ( *( (fPt) ((* (ptr) pd180 ))))(caret0_v12688, caret1_v12716, caret2Pos_v12744, pd180); }; SOURCE(5536, 50) { word pd181; pd181 = (* (( (ptr) (* (( (ptr) gf_c78516)+229)/* var_c72948 */ ))+5) ); slope_v12828 = (word) ( *( (fPt) ((* (ptr) pd181 ))))(caret1_v12716, caret2Pos_v12744, pd181); }; SOURCE(5588, 71) { word pd182; pd182 = (* (( (ptr) (* (( (ptr) gf_c78516)+229)/* var_c72948 */ ))+11) ); lineDist_v12856 = (word) ( *( (fPt) ((* (ptr) pd182 ))))(caret2Pos_v12744, caret0_v12688, caret1_v12716, pd182); }; SOURCE(5692, 38) (* (W2Pt) (( (ptr) ggData_v8368)+23) ) = caret2Pos_v12744; SOURCE(5732, 55) { word pd183; pd183 = (* (( (ptr) (* (( (ptr) gf_c78516)+230)/* var_c72980 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd183 ))))((* (( (ptr) (* (ptr) ggData_v8368 ))+31) ), caret2Pos_v12744, pd183); }; SOURCE(5790, 36) { word pd184; pd184 = (* (( (ptr) (* (( (ptr) gf_c78516)+223)/* var_c72692 */ ))+27) ); (void) ( *( (fPt) ((* (ptr) pd184 ))))(ggData_v8368, slope_v12828, pd184); }; SOURCE(5828, 36) { word pd185; pd185 = (* (( (ptr) (* (( (ptr) gf_c78516)+223)/* var_c72692 */ ))+35) ); (void) ( *( (fPt) ((* (ptr) pd185 ))))(ggData_v8368, angle_v12800, pd185); }; SOURCE(5866, 40) { word pd186; pd186 = (* (( (ptr) (* (( (ptr) gf_c78516)+223)/* var_c72692 */ ))+42) ); (void) ( *( (fPt) ((* (ptr) pd186 ))))(ggData_v8368, distance_v12772, pd186); }; SOURCE(5908, 46) { word pd187; pd187 = (* (( (ptr) (* (( (ptr) gf_c78516)+223)/* var_c72692 */ ))+51) ); (void) ( *( (fPt) ((* (ptr) pd187 ))))(ggData_v8368, lineDist_v12856, pd187); }; } static void SaveCaretPos_P180(ggData_v8428) word ggData_v8428; { register ptr gf_c78548 = (ptr) &globalframe; W2 caret2Pos_v12900; /* SaveCaretPos: */ SOURCE(5960, 322) SOURCE(6007, 96) { W2 var_c73012; { word pd188; pd188 = (* (( (ptr) (* (( (ptr) gf_c78548)+227)/* var_c72884 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd188 ))))((word) &var_c73012, (* (( (ptr) ggData_v8428)+13) ), pd188); }; { W2 var_c0148; { word pd189; word x190; word x191; float tf192; pd189 = (* (( (ptr) (* (( (ptr) gf_c78548)+228)/* var_c72916 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd189 ))))((word) &var_c0148, var_c73012, ( tf192 = ( x190 = (* (ptr) &fc175 ), *(float*)&x190 ) / ( x191 = (* (( (ptr) (* (( (ptr) ggData_v8428)+18) ))+13) ), *(float*)&x191 ), *(word*)&tf192 ), pd189); }; caret2Pos_v12900 = var_c0148; }; }; SOURCE(6105, 38) (* (W2Pt) (( (ptr) ggData_v8428)+23) ) = caret2Pos_v12900; SOURCE(6145, 55) { word pd193; pd193 = (* (( (ptr) (* (( (ptr) gf_c78548)+230)/* var_c72980 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd193 ))))((* (( (ptr) (* (ptr) ggData_v8428 ))+31) ), caret2Pos_v12900, pd193); }; SOURCE(6202, 45) (* (W2Pt) (( (ptr) ggData_v8428)+19) ) = (* (W2Pt) (( (ptr) ggData_v8428)+21) ); SOURCE(6249, 33) (* (W2Pt) (( (ptr) ggData_v8428)+21) ) = caret2Pos_v12900; } static word OpenViewerOnFile_P240(fileName_v8488, fancyPanel_v8516) word fileName_v8488; word fancyPanel_v8516; { register ptr gf_c78580 = (ptr) &globalframe; word ggData_v8560; /* OpenViewerOnFile: */ SOURCE(6287, 596) SOURCE(6287, 596) ggData_v8560 = 0; SOURCE(6393, 109) { word var_c73044; word var_c73076; { word pd194; pd194 = (* (( (ptr) (* (( (ptr) gf_c78580)+225)/* var_c72788 */ ))+4) ); var_c73044 = (word) ( *( (fPt) ((* (ptr) pd194 ))))(0, pd194); }; { word pd195; pd195 = (* (( (ptr) (* (( (ptr) gf_c78580)+231)/* var_c73108 */ ))+7) ); var_c73076 = (word) ( *( (fPt) ((* (ptr) pd195 ))))(pd195); }; ggData_v8560 = (word) CreateWindowAux_P600(var_c73044, 1, 0, var_c73076, fancyPanel_v8516); }; SOURCE(6534, 107) { word tc196; word pd197; if ((fileName_v8488 != 0)) { pd197 = (* (( (ptr) (* (( (ptr) gf_c78580)+232)/* var_c73140 */ ))+8) ); tc196 = (word) (0 == (word) ( *( (fPt) ((* (ptr) pd197 ))))(fileName_v8488, (* (( (ptr) gf_c78580)+76) ), 1, pd197)); } else { tc196 = (word) 0; }; if (tc196) { SOURCE(6585, 56) { word var_c73172; { word var_c73204; word var_c73236; var_c73204 = XR_NewObject(8, (* (( (ptr) gf_c78580)+33) )); var_c73236 = var_c73204; (* (ptr) var_c73236 ) = (* (( (ptr) gf_c78580)+75) ); (* (( (ptr) var_c73236)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78580)+33) )); var_c73236 = (* (( (ptr) var_c73236)+1) ); (* (ptr) var_c73236 ) = fileName_v8488; var_c73172 = var_c73204; }; { word pd198; pd198 = (* (( (ptr) (* (( (ptr) gf_c78580)+233)/* var_c73268 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd198 ))))(ggData_v8560, var_c73172, pd198); }; }; }; }; SOURCE(6684, 54) { word pd199; pd199 = (* (( (ptr) (* (( (ptr) gf_c78580)+226)/* var_c72820 */ ))+22) ); (void) ( *( (fPt) ((* (ptr) pd199 ))))((* (( (ptr) (* (ptr) (* (ptr) ggData_v8560 ) ))+13) ), ggData_v8560, pd199); }; SOURCE(6740, 54) { word pd200; pd200 = (* (( (ptr) (* (( (ptr) gf_c78580)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd200 ))))((* (ptr) (* (ptr) ggData_v8560 ) ), 3, 1, 0, pd200); }; SOURCE(6830, 53) { word pd201; pd201 = (* (( (ptr) (* (( (ptr) gf_c78580)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd201 ))))((* (( (ptr) (* (ptr) ggData_v8560 ))+1) ), 3, 1, 0, pd201); }; SOURCE(6287, 596) return(ggData_v8560); } static void CreateChildViewer_P300(formal_c0184, scene_v8620, wx_v8648, wy_v8676, ww_v8704, wh_v8732, cx_v8760, cy_v8788, cw_v8816, ch_v8844, parent_v8872, workingDirectory_v8900, clientData_v8928, paint_v8956) word formal_c0184; word scene_v8620; word wx_v8648; word wy_v8676; word ww_v8704; word wh_v8732; word cx_v8760; word cy_v8788; word cw_v8816; word ch_v8844; word parent_v8872; word workingDirectory_v8900; word clientData_v8928; word paint_v8956; { register ptr gf_c78612 = (ptr) &globalframe; word viewer_v9016; word ggData_v9044; /* CreateChildViewer: */ SOURCE(6923, 1819) SOURCE(6923, 1819) viewer_v9016 = 0; SOURCE(6923, 1819) ggData_v9044 = 0; SOURCE(7188, 63) ggData_v9044 = (word) CreateGGDataForViewer_P480(parent_v8872, scene_v8620, workingDirectory_v8900, 1); SOURCE(7253, 29) (* (( (ptr) (* (ptr) ggData_v9044 ))+9) ) = 1; SOURCE(7284, 268) { W28 var_c73332; W30 var_c0173; (* (ptr) (word) &var_c0173 ) = (* (( (ptr) gf_c78612)+8)/* actionAreaClass_v7676 */ ); (* (ptr) &var_c73332 ) = 0; (* (( (ptr) &var_c73332)+1) ) = wx_v8648; (* (( (ptr) &var_c73332)+2) ) = wy_v8676; (* (( (ptr) &var_c73332)+3) ) = ww_v8704; (* (( (ptr) &var_c73332)+4) ) = wh_v8732; (* (( (ptr) &var_c73332)+5) ) = cx_v8760; (* (( (ptr) &var_c73332)+6) ) = cy_v8788; (* (( (ptr) &var_c73332)+7) ) = cw_v8816; (* (( (ptr) &var_c73332)+8) ) = ch_v8844; { word tmpAddr202; tmpAddr202 = (word) (( (ptr) &var_c73332)+9); (* (ptr) tmpAddr202 ) = 0; (* (( (ptr) tmpAddr202) + 1) ) = 0; }; (* (( (ptr) &var_c73332)+11) ) = 0; (* (( (ptr) &var_c73332)+12) ) = 0; (* (( (ptr) &var_c73332)+13) ) = (* (( (ptr) gf_c78612)+69) ); (* (( (ptr) &var_c73332)+14) ) = 0; (* (( (ptr) &var_c73332)+15) ) = 0; (* (( (ptr) &var_c73332)+16) ) = 0; (* (( (ptr) &var_c73332)+17) ) = (word) -1; (* (( (ptr) &var_c73332)+18) ) = 1; (* (( (ptr) &var_c73332)+19) ) = 285212672; (* (( (ptr) &var_c73332)+20) ) = 0; (* (( (ptr) &var_c73332)+21) ) = 0; (* (( (ptr) &var_c73332)+22) ) = parent_v8872; (* (( (ptr) &var_c73332)+23) ) = 0; (* (( (ptr) &var_c73332)+24) ) = 0; (* (( (ptr) &var_c73332)+25) ) = 0; (* (( (ptr) &var_c73332)+26) ) = ggData_v9044; (* (( (ptr) &var_c73332)+27) ) = 27; (* (W28Pt) (( (ptr) (word) &var_c0173) + 1) ) = var_c73332; (* (( (ptr) (word) &var_c0173) + 29) ) = paint_v8956; { word var_c0580; { word pd203; pd203 = (* (( (ptr) (* (( (ptr) gf_c78612)+235)/* var_c73364 */ ))+6) ); var_c0580 = (* (( (ptr) ( *( (fPt) ((* (ptr) pd203 ))))(0, pd203))+1) ); }; (* (( (ptr) (* (ptr) ggData_v9044 ))+4) ) = (word) ( *( (fPt) ((* (ptr) var_c0580 ))))((word) (&var_c0173), var_c0580); }; }; SOURCE(7554, 101) { word var_c73396; { word pd204; pd204 = (* (( (ptr) (* (( (ptr) gf_c78612)+235)/* var_c73364 */ ))+11) ); var_c73396 = (word) ( *( (fPt) ((* (ptr) pd204 ))))((* (( (ptr) (* (ptr) ggData_v9044 ))+4) ), 0, pd204); }; (* (ptr) (* (ptr) ggData_v9044 ) ) = var_c73396; (* (( (ptr) (* (ptr) ggData_v9044 ))+2) ) = var_c73396; }; SOURCE(7657, 78) { word pd205; pd205 = (* (( (ptr) (* (( (ptr) gf_c78612)+235)/* var_c73364 */ ))+11) ); (* (( (ptr) (* (ptr) ggData_v9044 ))+5) ) = (word) ( *( (fPt) ((* (ptr) pd205 ))))((* (( (ptr) (* (ptr) ggData_v9044 ))+4) ), 1, pd205); }; SOURCE(7737, 40) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9044 ))+5) ))+27) ) = 255; SOURCE(7846, 17) (* (( (ptr) ggData_v9044)+4) ) = 0; SOURCE(7865, 28) (* (( (ptr) ggData_v9044)+49) ) = (* (( (ptr) gf_c78612)+9)/* ggTipTable_v7704 */ ); SOURCE(7896, 41) (* (( (ptr) (* (ptr) (* (ptr) ggData_v9044 ) )) + 19) ) &= 4227858431; SOURCE(7939, 40) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9044 ))+1) )) + 19) ) &= 4227858431; SOURCE(7981, 42) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9044 ))+2) )) + 19) ) &= 4227858431; SOURCE(8026, 50) (void) SetCursorLooks_P1320((* (( (ptr) (* (( (ptr) ggData_v9044)+18) ))+11) ), ggData_v9044, 0); SOURCE(8078, 36) { word pd206; pd206 = (* (( (ptr) (* (( (ptr) gf_c78612)+233)/* var_c73268 */ ))+34) ); (void) ( *( (fPt) ((* (ptr) pd206 ))))(ggData_v9044, 1, pd206); }; SOURCE(8116, 49) (void) RegisterEditedProc_P840(ggData_v9044, (* (( (ptr) (* (( (ptr) gf_c78612)+223)/* var_c72692 */ ))+122) ), 0); SOURCE(8168, 121) (void) RestoreScreenAndInvariants_P60((* (( (ptr) gf_c78612)+68) ), ggData_v9044, 0, 0, 0, 0); SOURCE(8291, 32) viewer_v9016 = (* (( (ptr) (* (ptr) ggData_v9044 ))+2) ); SOURCE(8325, 39) { word pd207; pd207 = (* (( (ptr) (* (( (ptr) gf_c78612)+236)/* var_c73428 */ ))+7) ); (* (( (ptr) ggData_v9044)+3) ) = (word) ( *( (fPt) ((* (ptr) pd207 ))))(pd207); }; SOURCE(8366, 80) { word var_c73460; { word var_c73492; word var_c73524; var_c73492 = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73524 = var_c73492; (* (ptr) var_c73524 ) = (* (( (ptr) gf_c78612)+61) ); (* (( (ptr) var_c73524)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73524 = (* (( (ptr) var_c73524)+1) ); (* (ptr) var_c73524 ) = (* (( (ptr) gf_c78612)+62) ); var_c73460 = var_c73492; }; { word pd208; pd208 = (* (( (ptr) (* (( (ptr) gf_c78612)+237)/* var_c73556 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd208 ))))((* (( (ptr) ggData_v9044)+3) ), 1, var_c73460, pd208); }; }; SOURCE(8457, 126) { word var_c73588; { word var_c73620; word var_c73652; var_c73620 = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = var_c73620; (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+55) ); (* (( (ptr) var_c73652)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = (* (( (ptr) var_c73652)+1) ); (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+56) ); (* (( (ptr) var_c73652)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = (* (( (ptr) var_c73652)+1) ); (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+57) ); (* (( (ptr) var_c73652)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = (* (( (ptr) var_c73652)+1) ); (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+58) ); (* (( (ptr) var_c73652)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = (* (( (ptr) var_c73652)+1) ); (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+59) ); (* (( (ptr) var_c73652)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73652 = (* (( (ptr) var_c73652)+1) ); (* (ptr) var_c73652 ) = (* (( (ptr) gf_c78612)+60) ); var_c73588 = var_c73620; }; { word pd209; pd209 = (* (( (ptr) (* (( (ptr) gf_c78612)+237)/* var_c73556 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd209 ))))((* (( (ptr) ggData_v9044)+3) ), 0, var_c73588, pd209); }; }; SOURCE(8585, 125) { word var_c73684; { word var_c73716; word var_c73748; var_c73716 = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = var_c73716; (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+61) ); (* (( (ptr) var_c73748)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = (* (( (ptr) var_c73748)+1) ); (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+57) ); (* (( (ptr) var_c73748)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = (* (( (ptr) var_c73748)+1) ); (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+59) ); (* (( (ptr) var_c73748)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = (* (( (ptr) var_c73748)+1) ); (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+54) ); (* (( (ptr) var_c73748)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = (* (( (ptr) var_c73748)+1) ); (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+62) ); (* (( (ptr) var_c73748)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c78612)+37) )); var_c73748 = (* (( (ptr) var_c73748)+1) ); (* (ptr) var_c73748 ) = (* (( (ptr) gf_c78612)+60) ); var_c73684 = var_c73716; }; { word pd210; pd210 = (* (( (ptr) (* (( (ptr) gf_c78612)+237)/* var_c73556 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd210 ))))((* (( (ptr) ggData_v9044)+3) ), (* (( (ptr) gf_c78612)+81) ), var_c73684, pd210); }; }; SOURCE(8712, 30) (* (( (ptr) (* (( (ptr) ggData_v9044)+2) ))+4) ) = 0; /* removed tail goto */ (* (ptr) formal_c0184 ) = viewer_v9016; (* (( (ptr) formal_c0184)+1) ) = ggData_v9044; return; } static void PaintInViewer_P360(ggData_v28256, request_v28284, bounds_v28312, clientData_v28340) word ggData_v28256; word request_v28284; word bounds_v28312; word clientData_v28340; { register ptr gf_c78644 = (ptr) &globalframe; /* PaintInViewer: */ SOURCE(8748, 158) SOURCE(8794, 112) { word pd211; pd211 = (* (( (ptr) (* (( (ptr) gf_c78644)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd211 ))))((* (( (ptr) (* (ptr) ggData_v28256 ))+5) ), 1, 0, ggData_v28256, pd211); }; } static word CreateGGData_P420(scene_v9104, workingDirectory_v9132) word scene_v9104; word workingDirectory_v9132; { word ggData_v9176; /* CreateGGData: */ SOURCE(8912, 158) SOURCE(8912, 158) ggData_v9176 = 0; SOURCE(9011, 59) return((word) CreateGGDataForViewer_P480(0, scene_v9104, workingDirectory_v9132, 1)); } static word CreateGGDataForViewer_P480(outer_v9236, scene_v9264, workingDirectory_v9292, withNullDoc_v9320) word outer_v9236; word scene_v9264; word workingDirectory_v9292; word withNullDoc_v9320; { register ptr gf_c78676 = (ptr) &globalframe; word ggData_v9364; /* CreateGGDataForViewer: */ SOURCE(9076, 3163) SOURCE(9076, 3163) ggData_v9364 = 0; SOURCE(9218, 23) { word var_c73812; var_c73812 = XR_NewObject(212, (* (( (ptr) gf_c78676)+47) )); (* (( (ptr) var_c73812)+8) ) = 1; (* (( (ptr) var_c73812)+31) ) = (* (ptr) &fc212 ); (* (( (ptr) var_c73812)+32) ) = (* (ptr) &fc213 ); (* (( (ptr) var_c73812)+33) ) = (* (ptr) &fc213 ); (* (( (ptr) var_c73812)+34) ) = (* (ptr) &fc214 ); (* (( (ptr) var_c73812)+35) ) = (* (ptr) &fc215 ); (* (( (ptr) var_c73812)+36) ) = 5; (* (W4Pt) (( (ptr) var_c73812)+37) ) = (* (W4Pt) (( (ptr) gf_c78676)+180)/* var_c72180 */ ); (* (W7Pt) (( (ptr) var_c73812)+41) ) = (* (W7Pt) (( (ptr) gf_c78676)+184)/* var_c72244 */ ); ggData_v9364 = var_c73812; }; SOURCE(9243, 34) { word var_c73844; var_c73844 = XR_NewObject(160, (* (( (ptr) gf_c78676)+19) )); (* (( (ptr) var_c73844)+39) ) = 4; (* (ptr) ggData_v9364 ) = var_c73844; }; SOURCE(9279, 75) if ((0 != withNullDoc_v9320)) { SOURCE(9299, 55) { word pd216; pd216 = (* (( (ptr) (* (( (ptr) gf_c78676)+238)/* var_c73876 */ ))+5) ); (* (( (ptr) (* (ptr) ggData_v9364 ))+37) ) = (word) ( *( (fPt) ((* (ptr) pd216 ))))(ggData_v9364, pd216); }; }; SOURCE(9356, 39) { word var_c73908; var_c73908 = XR_NewObject(28, (* (( (ptr) gf_c78676)+21) )); (* (ptr) var_c73908 ) = 1; (* (( (ptr) var_c73908)+1) ) = 1; (* (( (ptr) ggData_v9364)+1) ) = var_c73908; }; SOURCE(9397, 39) (* (ptr) (* (( (ptr) ggData_v9364)+1) ) ) = 1; SOURCE(9438, 40) (* (( (ptr) (* (( (ptr) ggData_v9364)+1) ))+1) ) = 1; SOURCE(9480, 68) { word pd217; pd217 = (* (( (ptr) (* (( (ptr) gf_c78676)+239)/* var_c73940 */ ))+7) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+1) ))+2) ) = (word) ( *( (fPt) ((* (ptr) pd217 ))))((* (ptr) (&fc175) ), pd217); }; SOURCE(9550, 68) { word pd218; pd218 = (* (( (ptr) (* (( (ptr) gf_c78676)+239)/* var_c73940 */ ))+7) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+1) ))+3) ) = (word) ( *( (fPt) ((* (ptr) pd218 ))))((* (ptr) (&fc175) ), pd218); }; SOURCE(9620, 30) { word var_c73972; var_c73972 = XR_NewObject(92, (* (( (ptr) gf_c78676)+22) )); (* (ptr) var_c73972 ) = 2; (* (( (ptr) var_c73972)+1) ) = 2; (* (( (ptr) var_c73972)+2) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+3) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+4) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+5) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+6) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+7) ) = (* (ptr) &fc220 ); (* (( (ptr) var_c73972)+8) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+9) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c73972)+14) ) = 1; (* (( (ptr) var_c73972)+15) ) = 1; (* (W5Pt) (( (ptr) var_c73972)+18) ) = (* (W5Pt) (( (ptr) gf_c78676)+191)/* var_c72308 */ ); (* (( (ptr) ggData_v9364)+16) ) = var_c73972; }; SOURCE(9652, 32) { word var_c74004; var_c74004 = XR_NewObject(44, (* (( (ptr) gf_c78676)+20) )); (* (( (ptr) var_c74004)+4) ) = 1; (* (( (ptr) ggData_v9364)+2) ) = var_c74004; }; SOURCE(9686, 56) { word pd221; pd221 = (* (( (ptr) (* (( (ptr) gf_c78676)+239)/* var_c73940 */ ))+7) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+2) ))+5) ) = (word) ( *( (fPt) ((* (ptr) pd221 ))))((* (ptr) (&fc175) ), pd221); }; SOURCE(9744, 55) { word pd222; pd222 = (* (( (ptr) (* (( (ptr) gf_c78676)+222)/* var_c72596 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd222 ))))(ggData_v9364, (word) (( (bPt) gf_c78676)+664)/* var_c71924 */ , 0, pd222); }; SOURCE(9801, 78) { word pd223; pd223 = (* (( (ptr) (* (( (ptr) gf_c78676)+240)/* var_c74036 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd223 ))))(ggData_v9364, (* (( (ptr) (* (( (ptr) gf_c78676)+240)/* var_c74036 */ ))+5) ), 0, pd223) ; }; SOURCE(9881, 29) (* (( (ptr) (* (( (ptr) ggData_v9364)+2) ))+4) ) = 1; SOURCE(9912, 36) { word var_c74068; var_c74068 = XR_NewObject(104, (* (( (ptr) gf_c78676)+24) )); (* (( (ptr) var_c74068)+10) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c74068)+11) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c74068)+12) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c74068)+13) ) = (* (ptr) &fc219 ); (* (( (ptr) ggData_v9364)+17) ) = var_c74068; }; SOURCE(9950, 100) if ((outer_v9236 != 0)) { SOURCE(9970, 24) (* (( (ptr) outer_v9236) + 19) ) &= 4227858431; SOURCE(9996, 54) { word var_c74100; var_c74100 = outer_v9236; (* (( (ptr) (* (ptr) ggData_v9364 ))+1) ) = outer_v9236; (* (ptr) (* (ptr) ggData_v9364 ) ) = var_c74100; }; }; SOURCE(10055, 59) { word pd224; pd224 = (* (( (ptr) (* (( (ptr) gf_c78676)+240)/* var_c74036 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd224 ))))(ggData_v9364, workingDirectory_v9292, pd224); }; SOURCE(10116, 20) (* (( (ptr) ggData_v9364)+11) ) = scene_v9264; SOURCE(10138, 31) { word pd225; pd225 = (* (( (ptr) (* (( (ptr) gf_c78676)+227)/* var_c72884 */ ))+4) ); (* (( (ptr) ggData_v9364)+13) ) = (word) ( *( (fPt) ((* (ptr) pd225 ))))(pd225); }; SOURCE(10171, 41) { word pd226; pd226 = (* (( (ptr) (* (( (ptr) gf_c78676)+227)/* var_c72884 */ ))+4) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+16) ))+10) ) = (word) ( *( (fPt) ((* (ptr) pd226 ))))(pd226); }; SOURCE(10214, 32) { word pd227; pd227 = (* (( (ptr) (* (( (ptr) gf_c78676)+227)/* var_c72884 */ ))+4) ); (* (( (ptr) ggData_v9364)+14) ) = (word) ( *( (fPt) ((* (ptr) pd227 ))))(pd227); }; SOURCE(10248, 30) { word var_c74132; var_c74132 = XR_NewObject(20, (* (( (ptr) gf_c78676)+42) )); (* (( (ptr) var_c74132)+4) ) = (* (ptr) &fc175 ); (* (( (ptr) ggData_v9364)+15) ) = var_c74132; }; SOURCE(10280, 45) { word pd228; pd228 = (* (( (ptr) (* (( (ptr) gf_c78676)+241)/* var_c74164 */ ))+4) ); (* (( (ptr) ggData_v9364)+7) ) = (word) ( *( (fPt) ((* (ptr) pd228 ))))(pd228); }; SOURCE(10327, 34) { word pd229; pd229 = (* (( (ptr) (* (( (ptr) gf_c78676)+242)/* var_c74196 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd229 ))))(ggData_v9364, pd229); }; SOURCE(10363, 99) { word var_c74228; { word pd230; pd230 = (* (( (ptr) (* (( (ptr) gf_c78676)+243)/* var_c74260 */ ))+18) ); var_c74228 = (word) ( *( (fPt) ((* (ptr) pd230 ))))(pd230); }; { word var_c74292; var_c74292 = XR_NewObject(8, (* (( (ptr) gf_c78676)+41) )); { word var_c74356; var_c74356 = var_c74292; }; (* (( (ptr) ggData_v9364)+41) ) = var_c74292; (* (( (ptr) ggData_v9364)+42) ) = var_c74228; (* (( (ptr) ggData_v9364)+43) ) = 0; (* (( (ptr) ggData_v9364)+44) ) = 0; (* (( (ptr) ggData_v9364)+45) ) = 0; (* (( (ptr) ggData_v9364)+46) ) = 0; (* (( (ptr) ggData_v9364)+47) ) = 0; }; }; SOURCE(10484, 220) { word pd231; pd231 = (* (( (ptr) (* (( (ptr) gf_c78676)+245)/* var_c74420 */ ))+5) ); (* (( (ptr) ggData_v9364)+48) ) = (word) ( *( (fPt) ((* (ptr) pd231 ))))(50, 50, (word) (( (bPt) gf_c78676)+576)/* var_c71572 */ , (* ( ( (ptr) (* (( (ptr) gf_c78676)+244)/* var_c74388 */ ))+8) ), (word) (( (bPt) gf_c78676)+608)/* var_c71700 */ , ggData_v9364 , (* (( (ptr) (* (ptr) ggData_v9364 ))+5) ), 2, pd231); }; SOURCE(10706, 58) { word var_c74452; word pd232; pd232 = (* (( (ptr) (* (( (ptr) gf_c78676)+245)/* var_c74420 */ ))+16) ); var_c74452 = (word) ( *( (fPt) ((* (ptr) pd232 ))))((* ((( (ptr) ggData_v9364)+48)) ), pd232); }; SOURCE(10766, 30) (* (( (ptr) (* (( (ptr) ggData_v9364)+16) ))+14) ) = 8; SOURCE(10798, 29) (* (( (ptr) (* (( (ptr) ggData_v9364)+16) ))+15) ) = 8; SOURCE(10829, 75) { word var_c74484; { W2 var_c74516; var_c74516.f0 = (* (ptr) &fc219 ); var_c74516.f1 = (* (ptr) &fc219 ); { word pd233; pd233 = (* (( (ptr) (* (( (ptr) gf_c78676)+246)/* var_c74548 */ ))+12) ); var_c74484 = (word) ( *( (fPt) ((* (ptr) pd233 ))))(var_c74516, pd233); }; }; { word pd234; pd234 = (* (( (ptr) (* (( (ptr) gf_c78676)+223)/* var_c72692 */ ))+109) ); (void) ( *( (fPt) ((* (ptr) pd234 ))))(ggData_v9364, var_c74484, pd234); }; }; SOURCE(10906, 32) { word var_c74580; var_c74580 = XR_NewObject(60, (* (( (ptr) gf_c78676)+40) )); (* (ptr) var_c74580 ) = (* (ptr) &fc235 ); (* (( (ptr) var_c74580)+11) ) = 1; (* (( (ptr) var_c74580)+13) ) = (* (ptr) &fc236 ); (* (( (ptr) ggData_v9364)+18) ) = var_c74580; }; SOURCE(10940, 54) { word pd237; pd237 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+5) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+1) ) = (word) ( *( (fPt) ((* (ptr) pd237 ))))(pd237); }; SOURCE(10996, 57) { word pd238; pd238 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+5) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+2) ) = (word) ( *( (fPt) ((* (ptr) pd238 ))))(pd238); }; SOURCE(11055, 52) { word pd239; pd239 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+5) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+8) ) = (word) ( *( (fPt) ((* (ptr) pd239 ))))(pd239); }; SOURCE(11109, 55) { word pd240; pd240 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+5) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+9) ) = (word) ( *( (fPt) ((* (ptr) pd240 ))))(pd240); }; SOURCE(11166, 50) { word pd241; pd241 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+17) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+4) ) = (word) ( *( (fPt) ((* (ptr) pd241 ))))(pd241); }; SOURCE(11218, 53) { word pd242; pd242 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+17) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+18) ))+6) ) = (word) ( *( (fPt) ((* (ptr) pd242 ))))(pd242); }; SOURCE(11273, 62) { word pd243; pd243 = (* (( (ptr) (* (( (ptr) gf_c78676)+246)/* var_c74548 */ ))+19) ); (* (( (ptr) ggData_v9364)+52) ) = (word) ( *( (fPt) ((* (ptr) pd243 ))))(pd243); }; SOURCE(11337, 31) { word pd244; pd244 = (* (( (ptr) (* (( (ptr) gf_c78676)+221)/* var_c72564 */ ))+44) ); (void) ( *( (fPt) ((* (ptr) pd244 ))))(ggData_v9364, pd244); }; SOURCE(11370, 34) (* (( (ptr) (* (( (ptr) ggData_v9364)+17) ))+18) ) = 0; SOURCE(11485, 52) { word pd245; pd245 = (* (( (ptr) (* (( (ptr) gf_c78676)+247)/* var_c74612 */ ))+6) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+17) ))+20) ) = (word) ( *( (fPt) ((* (ptr) pd245 ))))(pd245); }; SOURCE(11539, 51) { word pd246; pd246 = (* (( (ptr) (* (( (ptr) gf_c78676)+247)/* var_c74612 */ ))+6) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+17) ))+19) ) = (word) ( *( (fPt) ((* (ptr) pd246 ))))(pd246); }; SOURCE(11592, 51) { word pd247; pd247 = (* (( (ptr) (* (( (ptr) gf_c78676)+247)/* var_c74612 */ ))+6) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+17) ))+21) ) = (word) ( *( (fPt) ((* (ptr) pd247 ))))(pd247); }; SOURCE(11645, 52) { word pd248; pd248 = (* (( (ptr) (* (( (ptr) gf_c78676)+222)/* var_c72596 */ ))+6) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+17) ))+4) ) = (word) ( *( (fPt) ((* (ptr) pd248 ))))(pd248); }; SOURCE(11699, 61) { word pd249; pd249 = (* (( (ptr) (* (( (ptr) gf_c78676)+239)/* var_c73940 */ ))+7) ); (* (ptr) (* (( (ptr) ggData_v9364)+17) ) ) = (word) ( *( (fPt) ((* (ptr) pd249 ))))((* (ptr) (&fc175) ), pd249); }; SOURCE(11762, 31) (* (( (ptr) ggData_v9364)+37) ) = 0; SOURCE(11851, 80) { word var_c74644; W2 var_c74676; W2 var_c74708; { word pd252; var_c74676.f0 = (* (ptr) &fc250 ); var_c74676.f1 = (* (ptr) &fc250 ); var_c74708.f0 = (* (ptr) &fc251 ); var_c74708.f1 = (* (ptr) &fc250 ); pd252 = (* (( (ptr) (* (( (ptr) gf_c78676)+248)/* var_c74740 */ ))+52) ); var_c74644 = (* (ptr) ( *( (fPt) ((* (ptr) pd252 ))))(var_c74676, var_c74708, pd252) ); }; (* (( (ptr) ggData_v9364)+12) ) = var_c74644; }; SOURCE(11933, 32) (* (( (ptr) ggData_v9364)+29) ) = XR_NewObject(40, (* (( (ptr) gf_c78676)+39) )); SOURCE(11967, 55) { word pd253; pd253 = (* (( (ptr) (* (( (ptr) gf_c78676)+241)/* var_c74164 */ ))+9) ); (* (( (ptr) (* (( (ptr) ggData_v9364)+29) ))+7) ) = (word) ( *( (fPt) ((* (ptr) pd253 ))))(pd253); }; SOURCE(12024, 215) { word var_c74804; { word var_c74836; word var_c74868; { word pd254; pd254 = (* (( (ptr) (* (( (ptr) gf_c78676)+243)/* var_c74260 */ ))+12) ); var_c74836 = (word) ( *( (fPt) ((* (ptr) pd254 ))))(pd254); }; var_c74868 = XR_NewObject(60, (* (( (ptr) gf_c78676)+38) )); (* (ptr) var_c74868 ) = (* (ptr) &fc215 ); (* (( (ptr) var_c74868)+1) ) = 2; (* (( (ptr) var_c74868)+2) ) = 2; (* (( (ptr) var_c74868)+5) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c74868)+6) ) = (* (ptr) &fc219 ); (* (( (ptr) var_c74868)+7) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c78676)+249)/* var_c74900 */ ))+54) ) ); (* (( (ptr) var_c74868)+8) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c78676)+250)/* var_c74932 */ ))+4) ) ); (* (( (ptr) var_c74868)+9) ) = var_c74836; (* (( (ptr) var_c74868)+10) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c78676)+249)/* var_c74900 */ ))+54) ) ); (* (( (ptr) var_c74868)+12) ) = (* (ptr) &fc255 ); (* (( (ptr) var_c74868)+13) ) = (* (ptr) &fc255 ); (* (( (ptr) var_c74868)+14) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c78676)+249)/* var_c74900 */ ))+54) ) ); var_c74804 = var_c74868; }; (* (( (ptr) ggData_v9364)+30) ) = var_c74804; }; SOURCE(9076, 3163) return(ggData_v9364); } static word CreateWindow_P540(scene_v9424, iconic_v9452, paint_v9480, workingDirectory_v9508) word scene_v9424; word iconic_v9452; word paint_v9480; word workingDirectory_v9508; { register ptr gf_c78708 = (ptr) &globalframe; word ggData_v9552; word fancyPanel_v12944; /* CreateWindow: */ SOURCE(12245, 284) SOURCE(12245, 284) ggData_v9552 = 0; SOURCE(12371, 81) { word pd256; pd256 = (* (( (ptr) (* (( (ptr) gf_c78708)+251)/* var_c74964 */ ))+4) ); fancyPanel_v12944 = (word) ( *( (fPt) ((* (ptr) pd256 ))))((* (( (ptr) gf_c78708)+63) ), 1, pd256); }; SOURCE(12454, 75) return((word) CreateWindowAux_P600(scene_v9424, iconic_v9452, paint_v9480, workingDirectory_v9508, fancyPanel_v12944)); } static word CreateWindowAux_P600(scene_v9612, iconic_v9640, paint_v9668, workingDirectory_v9696, fancyPanel_v9724) word scene_v9612; word iconic_v9640; word paint_v9668; word workingDirectory_v9696; word fancyPanel_v9724; { register ptr gf_c78740 = (ptr) &globalframe; word ggData_v9768; /* CreateWindowAux: */ SOURCE(12535, 3030) SOURCE(12535, 3030) ggData_v9768 = 0; SOURCE(12684, 112) ggData_v9768 = (word) CreateGGDataForViewer_P480(0, scene_v9612, workingDirectory_v9696, 0); SOURCE(12799, 197) { W28 var_c75028; W29 var_c0231; XR_FillWords(&(* (W26Pt) (&var_c75028)), 26, 0); (* (( (ptr) &var_c75028)+13) ) = (* (( (ptr) gf_c78740)+64) ); (* (( (ptr) &var_c75028)+17) ) = (* (( (ptr) gf_c78740)+10)/* panelIconG_v7732 */ ); (* (( (ptr) &var_c75028)+18) ) = 1; (* (( (ptr) &var_c75028)+19) ) = (((word) (unsigned) (iconic_v9640 & 1) << 28) + 150994944); (* (( (ptr) &var_c75028)+26) ) = ggData_v9768; (* (( (ptr) &var_c75028)+27) ) = 27; (* (W28Pt) (word) &var_c0231 ) = var_c75028; (* (( (ptr) (word) &var_c0231) + 28) ) = paint_v9668; { word pd257; pd257 = (* (( (ptr) (* (( (ptr) gf_c78740)+252)/* var_c75060 */ ))+4) ); (* (( (ptr) (* (ptr) ggData_v9768 ))+1) ) = (word) ( *( (fPt) ((* (ptr) pd257 ))))((word) (&var_c0231), pd257); }; }; SOURCE(12999, 402) { word var_c75092; { word pd258; pd258 = (* (( (ptr) (* (( (ptr) gf_c78740)+243)/* var_c74260 */ ))+22) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd258 ))))(pd258))) { var_c75092 = 0; } else { var_c75092 = (* (( (ptr) (* (ptr) ggData_v9768 ))+1) ); }; }; { W30 var_c0234; W28 var_c75124; (* (ptr) (word) &var_c0234 ) = (* (( (ptr) gf_c78740)+8)/* actionAreaClass_v7676 */ ); XR_FillWords(&(* (W26Pt) (&var_c75124)), 26, 0); (* (( (ptr) &var_c75124)+3) ) = 10; (* (( (ptr) &var_c75124)+4) ) = 10; (* (( (ptr) &var_c75124)+13) ) = (* (( (ptr) gf_c78740)+65) ); (* (( (ptr) &var_c75124)+17) ) = (* (( (ptr) gf_c78740)+11)/* noNameIconG_v7760 */ ); (* (( (ptr) &var_c75124)+18) ) = 1; (* (( (ptr) &var_c75124)+19) ) = 285212672; (* (( (ptr) &var_c75124)+22) ) = var_c75092; (* (( (ptr) &var_c75124)+26) ) = ggData_v9768; (* (( (ptr) &var_c75124)+27) ) = 27; (* (W28Pt) (( (ptr) (word) &var_c0234) + 1) ) = (var_c75124 ); (* (( (ptr) (word) &var_c0234) + 29) ) = 0; { word var_c0581; { word pd259; pd259 = (* (( (ptr) (* (( (ptr) gf_c78740)+235)/* var_c73364 */ ))+6) ); var_c0581 = (* (( (ptr) ( *( (fPt) ((* (ptr) pd259 ))))(0, pd259))+1) ); }; (* (( (ptr) (* (ptr) ggData_v9768 ))+4) ) = (word) ( *( (fPt) ((* (ptr) var_c0581 ))))((word) (&var_c0234), var_c0581); }; }; }; SOURCE(13403, 101) { word var_c75156; { word pd260; pd260 = (* (( (ptr) (* (( (ptr) gf_c78740)+235)/* var_c73364 */ ))+11) ); var_c75156 = (word) ( *( (fPt) ((* (ptr) pd260 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+4) ), 0, pd260); }; (* (ptr) (* (ptr) ggData_v9768 ) ) = var_c75156; (* (( (ptr) (* (ptr) ggData_v9768 ))+2) ) = var_c75156; }; SOURCE(13506, 78) { word pd261; pd261 = (* (( (ptr) (* (( (ptr) gf_c78740)+235)/* var_c73364 */ ))+11) ); (* (( (ptr) (* (ptr) ggData_v9768 ))+5) ) = (word) ( *( (fPt) ((* (ptr) pd261 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+4) ), 1, pd261); }; SOURCE(13586, 40) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9768 ))+5) ))+27) ) = 255; SOURCE(13695, 17) (* (( (ptr) ggData_v9768)+4) ) = 0; SOURCE(13714, 28) (* (( (ptr) ggData_v9768)+49) ) = (* (( (ptr) gf_c78740)+9)/* ggTipTable_v7704 */ ); SOURCE(13744, 44) { word pd262; pd262 = (* (( (ptr) (* (( (ptr) gf_c78740)+253)/* var_c75188 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd262 ))))(ggData_v9768, fancyPanel_v9724, pd262); }; SOURCE(13816, 1336) { word pd263; pd263 = (* (( (ptr) (* (( (ptr) gf_c78740)+243)/* var_c74260 */ ))+22) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd263 ))))(pd263))) { SOURCE(13900, 97) { word pd264; pd264 = (* (( (ptr) (* (( (ptr) gf_c78740)+252)/* var_c75060 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd264 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+1) ), (* (( (ptr) (* (ptr) ggData_v9768 ))+2) ), pd264); }; SOURCE(13999, 97) { word pd265; pd265 = (* (( (ptr) (* (( (ptr) gf_c78740)+252)/* var_c75060 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd265 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+1) ), (* (( (ptr) (* (ptr) ggData_v9768 ))+2) ), pd265); }; SOURCE(14098, 136) { word pd266; word idx267; pd266 = (* (( (ptr) (* (( (ptr) gf_c78740)+234)/* var_c73300 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd266 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+2) ), 0, ( idx267 = (* (( (ptr) ggData_v9768)+4) ), SGNCK(idx267) ), (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9768 ))+1) ))+7) ), ((* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9768 ))+1) ))+8) ) - (* (( (ptr) ggData_v9768)+4) )), 0, pd266); }; SOURCE(14236, 46) (* (ptr) (* (ptr) ggData_v9768 ) ) = (* (( (ptr) (* (ptr) ggData_v9768 ))+1) ); SOURCE(14284, 41) (* (( (ptr) (* (ptr) (* (ptr) ggData_v9768 ) ))+17) ) = (* (( (ptr) gf_c78740)+11)/* noNameIconG_v7760 */ ); SOURCE(14327, 40) (* (( (ptr) (* (ptr) (* (ptr) ggData_v9768 ) ))+13) ) = (* (( (ptr) gf_c78740)+65) ); } else { SOURCE(14376, 778) { W12 thisViewer_v12988; W12 noPicture_v13016; SOURCE(14397, 81) (* (ptr) &thisViewer_v12988 ) = 1; (* (( (ptr) &thisViewer_v12988)+1) ) = (* (( (ptr) gf_c78740)+66) ); (* (( (ptr) &thisViewer_v12988)+2) ) = XR_CheckProc(0); (* (( (ptr) &thisViewer_v12988)+3) ) = 0; (* (( (ptr) &thisViewer_v12988)+4) ) = (word) -1; (* (( (ptr) &thisViewer_v12988)+5) ) = 0; (* (( (ptr) &thisViewer_v12988)+6) ) = (* (( (ptr) gf_c78740)+7)/* bigFont_v7648 */ ); SOURCE(14480, 78) (* (ptr) &noPicture_v13016 ) = 1; (* (( (ptr) &noPicture_v13016)+1) ) = (* (( (ptr) gf_c78740)+67) ); (* (( (ptr) &noPicture_v13016)+2) ) = XR_CheckProc(0); (* (( (ptr) &noPicture_v13016)+3) ) = 0; (* (( (ptr) &noPicture_v13016)+4) ) = (word) -1; (* (( (ptr) &noPicture_v13016)+5) ) = 0; (* (( (ptr) &noPicture_v13016)+6) ) = (* (( (ptr) gf_c78740)+7)/* bigFont_v7648 */ ); SOURCE(14560, 73) { word pd268; pd268 = (* (( (ptr) (* (( (ptr) gf_c78740)+234)/* var_c73300 */ ))+36) ); (void) ( *( (fPt) ((* (ptr) pd268 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+1) ), ((* (( (ptr) ggData_v9768)+4) ) - 2), pd268) ; }; SOURCE(14635, 222) { word var_c75380; { word var_c75220; { word var_c75252; word var_c75284; var_c75252 = XR_NewObject(52, (* (( (ptr) gf_c78740)+36) )); var_c75284 = var_c75252; (* (W12Pt) var_c75284 ) = thisViewer_v12988; var_c75220 = var_c75252; }; { word pd269; word idx270; pd269 = (* (( (ptr) (* (( (ptr) gf_c78740)+255)/* var_c75348 */ ))+4) ); var_c75380 = (word) ( *( (fPt) ((* (ptr) pd269 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+1) ), 36, ( idx270 = (* (( (ptr) ggData_v9768)+4) ), SGNCK(idx270) ), ggData_v9768, (* (( (ptr) (* (( (ptr) gf_c78740)+254)/* var_c75316 */ ))+7) ), var_c75220 , 2, 144, pd269); }; }; }; SOURCE(14859, 35) (* (( (ptr) ggData_v9768)+4) ) = ((* (( (ptr) ggData_v9768)+4) ) + 144); SOURCE(14896, 220) { word var_c75508; { word var_c75412; { word var_c75444; word var_c75476; var_c75444 = XR_NewObject(52, (* (( (ptr) gf_c78740)+36) )); var_c75476 = var_c75444; (* (W12Pt) var_c75476 ) = noPicture_v13016; var_c75412 = var_c75444; }; { word pd271; word idx272; pd271 = (* (( (ptr) (* (( (ptr) gf_c78740)+255)/* var_c75348 */ ))+4) ); var_c75508 = (word) ( *( (fPt) ((* (ptr) pd271 ))))((* (( (ptr) (* (ptr) ggData_v9768 ))+1) ), 36, ( idx272 = (* (( (ptr) ggData_v9768)+4) ), SGNCK(idx272) ), ggData_v9768, (* (( (ptr) (* (( (ptr) gf_c78740)+254)/* var_c75316 */ ))+7) ), var_c75412 , 2, 72, pd271); }; }; }; SOURCE(15118, 34) (* (( (ptr) ggData_v9768)+4) ) = ((* (( (ptr) ggData_v9768)+4) ) + 72); }; }; }; SOURCE(15158, 41) (* (( (ptr) (* (ptr) (* (ptr) ggData_v9768 ) )) + 19) ) &= 4227858431; SOURCE(15201, 40) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9768 ))+1) )) + 19) ) &= 4227858431; SOURCE(15243, 42) (* (( (ptr) (* (( (ptr) (* (ptr) ggData_v9768 ))+2) )) + 19) ) &= 4227858431; SOURCE(15287, 50) (void) SetCursorLooks_P1320((* (( (ptr) (* (( (ptr) ggData_v9768)+18) ))+11) ), ggData_v9768, 0); SOURCE(15340, 36) { word pd273; pd273 = (* (( (ptr) (* (( (ptr) gf_c78740)+233)/* var_c73268 */ ))+34) ); (void) ( *( (fPt) ((* (ptr) pd273 ))))(ggData_v9768, 1, pd273); }; SOURCE(15378, 49) (void) RegisterEditedProc_P840(ggData_v9768, (* (( (ptr) (* (( (ptr) gf_c78740)+223)/* var_c72692 */ ))+122) ), 0); SOURCE(15429, 104) { word pd274; pd274 = (* (( (ptr) (* (( (ptr) gf_c78740)+243)/* var_c74260 */ ))+16) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd274 ))))(pd274))) { SOURCE(15472, 61) { word pd275; pd275 = (* (( (ptr) (* (( (ptr) gf_c78740)+226)/* var_c72820 */ ))+21) ); (* (( (ptr) ggData_v9768)+45) ) = (word) ( *( (fPt) ((* (ptr) pd275 ))))((* (( (ptr) gf_c78740)+65) ), ggData_v9768, pd275) ; }; }; }; SOURCE(15535, 30) (* (( (ptr) (* (( (ptr) ggData_v9768)+2) ))+4) ) = 0; SOURCE(12535, 3030) return(ggData_v9768); } static void ActiveInGGData_P660(name_v28400, clientData_v28428, twoState_v28456) word name_v28400; word clientData_v28428; word twoState_v28456; { register ptr gf_c78772 = (ptr) &globalframe; word ggData_v13060; /* ActiveInGGData: */ SOURCE(15596, 125) SOURCE(15645, 35) ggData_v13060 = XR_Narrow(clientData_v28428, (* (( (ptr) gf_c78772)+47) )); SOURCE(15682, 39) (* (( (ptr) (* (ptr) ggData_v13060 ))+10) ) = twoState_v28456; } static word GGActionAreaPaint_P720(self_v9828, context_v9856, whatChanged_v9884, clear_v9912) word self_v9828; word context_v9856; word whatChanged_v9884; word clear_v9912; { register ptr gf_c78804 = (ptr) &globalframe; word quit_v9968; word ggData_v13104; word sanityCheck_v13132; word clientToViewer_v13160; word ipContext_v13188; /* GGActionAreaPaint: */ SOURCE(15727, 1229) SOURCE(15727, 1229) quit_v9968 = 0; SOURCE(15855, 61) { word pd276; pd276 = (* (( (ptr) (* (( (ptr) gf_c78804)+235)/* var_c73364 */ ))+15) ); ggData_v13104 = XR_Narrow((word) ( *( (fPt) ((* (ptr) pd276 ))))(self_v9828, pd276), (* (( (ptr) gf_c78804)+47) )); }; SOURCE(15918, 65) { word idx277; sanityCheck_v13132 = ( idx277 = (word) ( (unsigned) ((* (( (ptr) (* (ptr) ggData_v13104 ))+5) ) == self_v9828) - 1), BCK(idx277, 1) ); }; SOURCE(15985, 79) { word pd278; pd278 = (* (( (ptr) (* (( (ptr) gf_c78804)+223)/* var_c72692 */ ))+10) ); clientToViewer_v13160 = (word) ( *( (fPt) ((* (ptr) pd278 ))))(ggData_v13104, pd278); }; SOURCE(16066, 48) { word pd279; pd279 = (* (( (ptr) (* (( (ptr) gf_c78804)+249)/* var_c74900 */ ))+9) ); ipContext_v13188 = (unsigned) ((word) ( *( (fPt) ((* (ptr) pd279 ))))(context_v9856, pd279) == (* (( (ptr) gf_c78804)+70) )); }; SOURCE(16231, 725) if ( ( (whatChanged_v9884 == 0) ? (0 == ipContext_v13188) : 0 ) ) { SOURCE(16273, 410) { word action_v13252; SOURCE(16330, 39) action_v13252 = (* (( (ptr) gf_c78804)+71) ); SOURCE(16371, 54) { word pd280; pd280 = (* (( (ptr) (* (( (ptr) gf_c78804)+222)/* var_c72596 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd280 ))))(ggData_v13104, (* (( (ptr) self_v9828)+7) ), (* (( (ptr) self_v9828)+8) ), context_v9856, 0, 0, pd280) ; }; SOURCE(16457, 151) { word tc281; word pd282; if (((* (( (ptr) (* (( (ptr) ggData_v13104)+17) ))+5) ) != 0)) { pd282 = (* (( (ptr) (* (( (ptr) gf_c78804)+239)/* var_c73940 */ ))+53) ); tc281 = (word) (0 != (word) ( *( (fPt) ((* (ptr) pd282 ))))(clientToViewer_v13160, (* (( (ptr) (* (( (ptr) ggData_v13104)+17) ))+5) ), pd282)); } else { tc281 = (word) 0; }; if (tc281) { SOURCE(16577, 31) action_v13252 = (* (( (ptr) gf_c78804)+72) ); }; }; SOURCE(16610, 45) { word var_c75540; { word var_c75572; word var_c75604; var_c75572 = XR_NewObject(8, (* (( (ptr) gf_c78804)+33) )); var_c75604 = var_c75572; (* (ptr) var_c75604 ) = action_v13252; var_c75540 = var_c75572; }; { word pd283; pd283 = (* (( (ptr) (* (( (ptr) gf_c78804)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd283 ))))(ggData_v13104, var_c75540, pd283); }; }; }; } else { SOURCE(16690, 292) { word paintAction_v13296; SOURCE(16692, 89) paintAction_v13296 = ( (0 != ipContext_v13188) ? (* (( (ptr) gf_c78804)+73) ) : (* (( (ptr) (* (( (ptr) ggData_v13104)+17) ))+3) ) ) ; SOURCE(16783, 125) { word pd284; pd284 = (* (( (ptr) (* (( (ptr) gf_c78804)+222)/* var_c72596 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd284 ))))(context_v9856, paintAction_v13296, ggData_v13104, (unsigned) (whatChanged_v9884 == 0), pd284) ; }; SOURCE(16910, 46) (* (( (ptr) (* (( (ptr) ggData_v13104)+17) ))+5) ) = clientToViewer_v13160; }; }; SOURCE(15727, 1229) return(quit_v9968); } static void GGAbortProc_P780(data_v10028) word data_v10028; { register ptr gf_c78836 = (ptr) &globalframe; word ggData_v13340; /* GGAbortProc: */ SOURCE(16990, 376) SOURCE(17078, 29) ggData_v13340 = XR_Narrow(data_v10028, (* (( (ptr) gf_c78836)+47) )); SOURCE(17109, 80) { word pd285; pd285 = (* (( (ptr) (* (( (ptr) gf_c78836)+236)/* var_c73428 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd285 ))))((* (( (ptr) ggData_v13340)+3) ), 0, (* (( (ptr) gf_c78836)+56) ), (* (( (ptr) gf_c78836)+74) ), pd285); }; SOURCE(17191, 38) (* (( (ptr) (* (( (ptr) ggData_v13340)+17) ))+1) ) = 0; SOURCE(17266, 37) (* (( (ptr) (* (( (ptr) ggData_v13340)+17) ))+2) ) = 0; SOURCE(17340, 26) (* (( (ptr) ggData_v13340) + 51) ) |= 127; } static void RegisterEditedProc_P840(ggData_v10100, editedProc_v10128, clientData_v10156) word ggData_v10100; word editedProc_v10128; word clientData_v10156; { register ptr gf_c78868 = (ptr) &globalframe; word editedProcItem_v13384; /* RegisterEditedProc: */ SOURCE(17410, 251) SOURCE(17504, 90) editedProcItem_v13384 = XR_NewObject(12, (* (( (ptr) gf_c78868)+34) )); (* (ptr) editedProcItem_v13384 ) = ggData_v10100; (* (( (ptr) editedProcItem_v13384)+1) ) = XR_CheckProc(editedProc_v10128); (* (( (ptr) editedProcItem_v13384)+2) ) = clientData_v10156; SOURCE(17596, 65) { word var_c75668; var_c75668 = XR_NewObject(8, (* (( (ptr) gf_c78868)+32) )); (* (ptr) var_c75668 ) = editedProcItem_v13384; (* (( (ptr) var_c75668)+1) ) = (* (( (ptr) gf_c78868)+5)/* globalEditedProcList_v6556 */ ); (* (( (ptr) gf_c78868)+5)/* globalEditedProcList_v6556 */ ) = var_c75668; }; } static void ViewerToWorld_P900(formal_c0279, viewerPoint_v10228, ggData_v10256) word formal_c0279; W2 viewerPoint_v10228; word ggData_v10256; { register ptr gf_c78900 = (ptr) &globalframe; W2 worldPoint_v10300; W2 vec_v13428; word viewerToClient_v13456; W2 var_c0276; /* ViewerToWorld: */ SOURCE(17667, 329) SOURCE(17780, 95) { word pd286; pd286 = (* (( (ptr) (* (( (ptr) gf_c78900)+223)/* var_c72692 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd286 ))))((word) &var_c0276, ggData_v10256, pd286); }; viewerToClient_v13456 = var_c0276.f1; SOURCE(17877, 90) { W2 var_c0278; { W2 var_c75700; var_c75700.f0 = viewerPoint_v10228.f0; var_c75700.f1 = viewerPoint_v10228.f1; { word pd287; pd287 = (* (( (ptr) (* (( (ptr) gf_c78900)+239)/* var_c73940 */ ))+39) ); (void) ( *( (fPt) ((* (ptr) pd287 ))))((word) &var_c0278, viewerToClient_v13456, var_c75700, pd287); }; }; vec_v13428 = var_c0278; }; SOURCE(17969, 27) worldPoint_v10300.f0 = vec_v13428.f0; worldPoint_v10300.f1 = vec_v13428.f1; /* removed tail goto */ (* (W2Pt) formal_c0279 ) = worldPoint_v10300; return; } static void WorldToViewer_P960(formal_c0287, worldPoint_v10360, ggData_v10388) word formal_c0287; W2 worldPoint_v10360; word ggData_v10388; { register ptr gf_c78932 = (ptr) &globalframe; W2 viewerPoint_v10432; W2 vec_v13500; word clientToViewer_v13528; /* WorldToViewer: */ SOURCE(18002, 313) SOURCE(18115, 80) { word pd288; pd288 = (* (( (ptr) (* (( (ptr) gf_c78932)+223)/* var_c72692 */ ))+10) ); clientToViewer_v13528 = (word) ( *( (fPt) ((* (ptr) pd288 ))))(ggData_v10388, pd288); }; SOURCE(18197, 88) { W2 var_c0286; { W2 var_c75732; var_c75732.f0 = worldPoint_v10360.f0; var_c75732.f1 = worldPoint_v10360.f1; { word pd289; pd289 = (* (( (ptr) (* (( (ptr) gf_c78932)+239)/* var_c73940 */ ))+39) ); (void) ( *( (fPt) ((* (ptr) pd289 ))))((word) &var_c0286, clientToViewer_v13528, var_c75732, pd289); }; }; vec_v13500 = var_c0286; }; SOURCE(18287, 28) viewerPoint_v10432.f0 = vec_v13500.f0; viewerPoint_v10432.f1 = vec_v13500.f1; /* removed tail goto */ (* (W2Pt) formal_c0287 ) = viewerPoint_v10432; return; } static word OptimizeQueue_P1020(qeGen_v28516, actionsOnQueue_v28544) word qeGen_v28516; word actionsOnQueue_v28544; { register ptr gf_c78964 = (ptr) &globalframe; word skipActions_v28588; word atom_v13572 = 0; word nextAtom_v13600 = 0; word action_v13628 = 0; /* OptimizeQueue: */ SOURCE(18321, 648) SOURCE(18409, 37) if ((actionsOnQueue_v28544 < 2)) { SOURCE(18436, 10) return(0); }; SOURCE(18448, 15) skipActions_v28588 = 0; SOURCE(18465, 504) { register word i_v13768 = 0; register word noName_c75764; noName_c75764 = SGNCK((actionsOnQueue_v28544 - 2)); if ((i_v13768 > noName_c75764)) { goto lab_L100007; }; lab_L100010: ; SOURCE(18504, 64) { W4 var_c0296; word var_c0582; { word pd290; pd290 = (* (( (ptr) (* (( (ptr) gf_c78964)+245)/* var_c74420 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd290 ))))((word) &var_c0296, qeGen_v28516, i_v13768, pd290); }; var_c0582 = var_c0296.f2; action_v13628 = XR_Narrow(var_c0582, (* (( (ptr) gf_c78964)+33) )); }; SOURCE(18570, 27) atom_v13572 = XR_Narrow((* (ptr) action_v13628 ), (* (( (ptr) gf_c78964)+28) )); SOURCE(18599, 67) { W4 var_c0297; word var_c0583; { word pd291; pd291 = (* (( (ptr) (* (( (ptr) gf_c78964)+245)/* var_c74420 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd291 ))))((word) &var_c0297, qeGen_v28516, (i_v13768 + 1), pd291); }; var_c0583 = var_c0297.f2; action_v13628 = XR_Narrow(var_c0583, (* (( (ptr) gf_c78964)+33) )); }; SOURCE(18668, 31) nextAtom_v13600 = XR_Narrow((* (ptr) action_v13628 ), (* (( (ptr) gf_c78964)+28) )); SOURCE(18701, 268) if ( ( ((atom_v13572 == (* (( (ptr) gf_c78964)+77) )) || (atom_v13572 == (* (( (ptr) gf_c78964)+78) ))) ? ( (nextAtom_v13600 == (* ( ( (ptr) gf_c78964)+77) )) ? 1 : (nextAtom_v13600 == (* (( (ptr) gf_c78964)+78) )) ) : 0 ) ) { SOURCE(18795, 35) skipActions_v28588 = (skipActions_v28588 + 1); } else { SOURCE(18830, 139) if ( ( ((atom_v13572 == (* (( (ptr) gf_c78964)+79) )) || (atom_v13572 == (* (( (ptr) gf_c78964)+80) ))) ? ( (nextAtom_v13600 == (* ( ( (ptr) gf_c78964)+79) )) ? 1 : (nextAtom_v13600 == (* (( (ptr) gf_c78964)+80) )) ) : 0 ) ) { SOURCE(18928, 35) skipActions_v28588 = (skipActions_v28588 + 1); } else { SOURCE(18963, 6) return(skipActions_v28588); }; }; if ((i_v13768 >= noName_c75764)) { goto lab_L100007; }; i_v13768 = (i_v13768 + 1); goto lab_L100010; lab_L100007: ; }; SOURCE(18321, 648) return(skipActions_v28588); } static word PUChoiceList_P1080(formal_c0318) word formal_c0318; { W7 var_c78996; register ptr gf_c79028 = (ptr) &globalframe; word list_v11068; /* declaration of var_c75796 skipped */ /* declaration of rList_v13840 skipped */ /* PUChoiceList: */ SOURCE(18984, 1142) { word tmpAddr292; tmpAddr292 = (word) (( (ptr) &var_c78996)+4)/* var_c75796 */ ; (* (ptr) tmpAddr292 ) = ( ((word) (fPt) InnerCons_P2340) ); (* (( (ptr) tmpAddr292) + 1) ) = 1; }; SOURCE(18984, 1142) list_v11068 = 0; SOURCE(19251, 19) var_c78996.f6/* rList_v13840 */ = 0; SOURCE(19272, 35) if (((* (ptr) formal_c0318 ) != 0)) { SOURCE(19294, 13) (void) InnerCons_P2340((* (W4Pt) formal_c0318/* r0_v10492 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ); }; SOURCE(19309, 35) if (((* (( (ptr) formal_c0318)+4) ) != 0)) { SOURCE(19331, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+4)/* r1_v10520 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19346, 35) if (((* (( (ptr) formal_c0318)+8) ) != 0)) { SOURCE(19368, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+8)/* r2_v10548 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19383, 35) if (((* (( (ptr) formal_c0318)+12) ) != 0)) { SOURCE(19405, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+12)/* r3_v10576 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19420, 35) if (((* (( (ptr) formal_c0318)+16) ) != 0)) { SOURCE(19442, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+16)/* r4_v10604 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19457, 35) if (((* (( (ptr) formal_c0318)+20) ) != 0)) { SOURCE(19479, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+20)/* r5_v10632 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19494, 35) if (((* (( (ptr) formal_c0318)+24) ) != 0)) { SOURCE(19516, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+24)/* r6_v10660 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19531, 35) if (((* (( (ptr) formal_c0318)+28) ) != 0)) { SOURCE(19553, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+28)/* r7_v10688 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19568, 35) if (((* (( (ptr) formal_c0318)+32) ) != 0)) { SOURCE(19590, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+32)/* r8_v10716 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19605, 35) if (((* (( (ptr) formal_c0318)+36) ) != 0)) { SOURCE(19627, 13) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+36)/* r9_v10744 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19642, 37) if (((* (( (ptr) formal_c0318)+40) ) != 0)) { SOURCE(19665, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+40)/* r10_v10772 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19681, 37) if (((* (( (ptr) formal_c0318)+44) ) != 0)) { SOURCE(19704, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+44)/* r11_v10800 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19720, 37) if (((* (( (ptr) formal_c0318)+48) ) != 0)) { SOURCE(19743, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+48)/* r12_v10828 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19759, 37) if (((* (( (ptr) formal_c0318)+52) ) != 0)) { SOURCE(19782, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+52)/* r13_v10856 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19798, 37) if (((* (( (ptr) formal_c0318)+56) ) != 0)) { SOURCE(19821, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+56)/* r14_v10884 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19837, 37) if (((* (( (ptr) formal_c0318)+60) ) != 0)) { SOURCE(19860, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+60)/* r15_v10912 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19876, 37) if (((* (( (ptr) formal_c0318)+64) ) != 0)) { SOURCE(19899, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+64)/* r16_v10940 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19915, 37) if (((* (( (ptr) formal_c0318)+68) ) != 0)) { SOURCE(19938, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+68)/* r17_v10968 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19954, 37) if (((* (( (ptr) formal_c0318)+72) ) != 0)) { SOURCE(19977, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+72)/* r18_v10996 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(19993, 37) if (((* (( (ptr) formal_c0318)+76) ) != 0)) { SOURCE(20016, 14) (void) InnerCons_P2340((* (W4Pt) (( (ptr) formal_c0318)+76)/* r19_v11024 */ ), (word) (( (bPt) &var_c78996)+16)/* var_c75796 */ ) ; }; SOURCE(20033, 93) { register word dummy_v13944; dummy_v13944 = var_c78996.f6/* rList_v13840 */ ; lab_L100014: ; if ((dummy_v13944 != 0)) { } else { goto lab_L100011; }; SOURCE(20096, 30) { word var_c75828; var_c75828 = XR_NewObject(20, (* (( (ptr) gf_c79028)+29) )); (* (W4Pt) var_c75828 ) = (* (W4Pt) dummy_v13944 ); (* (( (ptr) var_c75828)+4) ) = list_v11068; list_v11068 = var_c75828; }; dummy_v13944 = (* (( (ptr) dummy_v13944)+4) ); goto lab_L100014; lab_L100011: ; }; SOURCE(18984, 1142) return(list_v11068); } static void InnerCons_P2340(r_v13916, formal_c79092) W4 r_v13916; word formal_c79092; { register ptr gf_c79060 = (ptr) &globalframe; formal_c79092 = (formal_c79092 - 16); /* InnerCons: */ SOURCE(19188, 57) SOURCE(19223, 22) { word var_c75860; var_c75860 = XR_NewObject(20, (* (( (ptr) gf_c79060)+29) )); (* (W4Pt) var_c75860 ) = r_v13916; (* (( (ptr) var_c75860)+4) ) = (* (( (ptr) formal_c79092)+6) ); (* (( (ptr) formal_c79092)+6) ) = var_c75860; }; } static void Choice_P1140(formal_c0331, action_v11128, actionImage_v11156, doc_v11184, font_v11212) word formal_c0331; word action_v11128; word actionImage_v11156; word doc_v11184; word font_v11212; { word var_c0607; word var_c0608; word var_c0609; word var_c0610; /* Choice: */ SOURCE(20141, 177) /* Return var split */ SOURCE(20278, 40) var_c0607 = action_v11128; var_c0608 = actionImage_v11156; var_c0609 = doc_v11184; var_c0610 = font_v11212; /* removed tail goto */ (* (( (ptr) formal_c0331)+3) ) = var_c0610; (* (( (ptr) formal_c0331)+2) ) = var_c0609; (* (( (ptr) formal_c0331)+1) ) = var_c0608; (* (ptr) formal_c0331 ) = var_c0607; return; } static word List_P1200(ref1_v11412, ref2_v11440, ref3_v11468) word ref1_v11412; word ref2_v11440; word ref3_v11468; { register ptr gf_c79124 = (ptr) &globalframe; word var_c11524; /* List: */ SOURCE(20324, 180) SOURCE(20390, 114) if ((ref2_v11440 == 0)) { { word var_c75956; word var_c75988; var_c75956 = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c75988 = var_c75956; (* (ptr) var_c75988 ) = ref1_v11412; return(var_c75956); }; } else { if ((ref3_v11468 == 0)) { { word var_c76020; word var_c76052; var_c76020 = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c76052 = var_c76020; (* (ptr) var_c76052 ) = ref1_v11412; (* (( (ptr) var_c76052)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c76052 = (* (( (ptr) var_c76052)+1) ); (* (ptr) var_c76052 ) = ref2_v11440; return(var_c76020); }; } else { { word var_c76084; word var_c76116; var_c76084 = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c76116 = var_c76084; (* (ptr) var_c76116 ) = ref1_v11412; (* (( (ptr) var_c76116)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c76116 = (* (( (ptr) var_c76116)+1) ); (* (ptr) var_c76116 ) = ref2_v11440; (* (( (ptr) var_c76116)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79124)+33) )); var_c76116 = (* (( (ptr) var_c76116)+1) ); (* (ptr) var_c76116 ) = ref3_v11468; return(var_c76084); }; }; }; } static void GGExtremaProc_P1260(formal_c0354, clientData_v11680, direction_v11708) word formal_c0354; word clientData_v11680; W2 direction_v11708; { register ptr gf_c79156 = (ptr) &globalframe; W2 min_v11764; W2 max_v11792; W4 area_v13988; word ggData_v14016; word bigBox_v14044; /* GGExtremaProc: */ SOURCE(20511, 476) SOURCE(20654, 35) ggData_v14016 = XR_Narrow(clientData_v11680, (* (( (ptr) gf_c79156)+47) )); SOURCE(20691, 102) { word var_c76148; { word pd293; pd293 = (* (( (ptr) (* (( (ptr) gf_c79156)+225)/* var_c72788 */ ))+40) ); var_c76148 = (* (ptr) ( *( (fPt) ((* (ptr) pd293 ))))((* ((( (ptr) ggData_v14016)+11)) ), pd293) ); }; { word pd294; pd294 = (* (( (ptr) (* (( (ptr) gf_c79156)+247)/* var_c74612 */ ))+8) ); bigBox_v14044 = (word) ( *( (fPt) ((* (ptr) pd294 ))))(var_c76148, pd294); }; }; SOURCE(20795, 134) if ((bigBox_v14044 != 0)) { area_v13988.f0 = (* (ptr) bigBox_v14044 ); area_v13988.f1 = (* (( (ptr) bigBox_v14044)+1) ); { word x295; word x296; *(float*)&area_v13988.f2 = ( x295 = (* (( (ptr) bigBox_v14044)+2) ), *(float*)&x295 ) - ( x296 = (* (ptr) bigBox_v14044 ), *(float*)&x296 ); }; { word x297; word x298; *(float*)&area_v13988.f3 = ( x297 = (* (( (ptr) bigBox_v14044)+3) ), *(float*)&x297 ) - ( x298 = (* (( (ptr) bigBox_v14044)+1) ), *(float*)&x298 ); }; } else { area_v13988.f0 = (* (ptr) &fc219 ); area_v13988.f1 = (* (ptr) &fc219 ); area_v13988.f2 = (* (ptr) &fc175 ); area_v13988.f3 = (* (ptr) &fc175 ); }; SOURCE(20931, 56) { W4 var_c76276; { word pd299; pd299 = (* (( (ptr) (* (( (ptr) gf_c79156)+256)/* var_c76244 */ ))+21) ); (void) ( *( (fPt) ((* (ptr) pd299 ))))((word) &var_c76276, area_v13988, direction_v11708, pd299); }; max_v11792 = (* (W2Pt) (( (ptr) &var_c76276)+2) ); min_v11764 = (* (W2Pt) &var_c76276 ); }; /* removed tail goto */ (* (W2Pt) formal_c0354 ) = min_v11764; (* (W2Pt) (( (ptr) formal_c0354)+2) ) = max_v11792; return; } static void SetCursorLooks_P1320(type_v11976, ggData_v12004, off_v12032) word type_v11976; word ggData_v12004; word off_v12032; { register ptr gf_c79188 = (ptr) &globalframe; word newCursor_v14088; /* SetCursorLooks: */ SOURCE(21174, 425) SOURCE(21279, 196) if ((0 != off_v12032)) { newCursor_v14088 = (* (( (ptr) gf_c79188)+16)/* offCursor_v7900 */ ); } else { { word var_c76308; var_c76308 = type_v11976; switch (var_c76308) { case 1: newCursor_v14088 = (* (( (ptr) gf_c79188)+17)/* pointsPreferredCursor_v7928 */ ); break; case 0: case 2: newCursor_v14088 = (* (( (ptr) gf_c79188)+18)/* linesPreferredCursor_v7956 */ ); break; default: newCursor_v14088 = (unsigned) ( XR_RaiseUnnamedError(), 0 ); break; }; }; }; SOURCE(21477, 34) (* (( (ptr) (* (ptr) ggData_v12004 ))+39) ) = newCursor_v14088; SOURCE(21513, 86) { word pd300; pd300 = (* (( (ptr) (* (( (ptr) gf_c79188)+257)/* var_c76340 */ ))+8) ); if ((newCursor_v14088 != (word) ( *( (fPt) ((* (ptr) pd300 ))))(0, 0, pd300))) { SOURCE(21560, 39) { word pd301; pd301 = (* (( (ptr) (* (( (ptr) gf_c79188)+257)/* var_c76340 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd301 ))))(newCursor_v14088, 0, 0, pd301); }; }; }; } static void NewGGViewers_P1380(formal_c0386, formal_c0602) word formal_c0386; word formal_c0602; { W8 var_c79220; /* declaration of cmd_v28884 skipped */ register ptr gf_c79252 = (ptr) &globalframe; word result_v28928; word msg_v28956; word nameList_v14132 = 0; word args_v14160 = 0; word argLength_v14188 = 0; word command_v14216 = 0; word commandRope_v14244 = 0; word fileOpened_v14272 = 0; word fancyPanel_v14300; var_c79220.f4/* cmd_v28884 */ = formal_c0602; /* NewGGViewers: */ SOURCE(21696, 1883) SOURCE(21696, 1883) result_v28928 = 0; SOURCE(21696, 1883) msg_v28956 = 0; SOURCE(21865, 81) { word pd302; pd302 = (* (( (ptr) (* (( (ptr) gf_c79252)+251)/* var_c74964 */ ))+4) ); fancyPanel_v14300 = (word) ( *( (fPt) ((* (ptr) pd302 ))))((* (( (ptr) gf_c79252)+63) ), 1, pd302); }; SOURCE(21948, 93) SOURCE(21948, 93) { W2 var_c76404; { /* declaration of var_c01 skipped */ var_c79220.f5/* var_c01 */ = (* (( (ptr) (* (( (ptr) gf_c79252)+258)/* var_c76372 */ ))+5) ); { /* declaration of var_c02 skipped */ { word var_c03; { word var_c0584; var_c0584 = (word) &var_c79220; var_c03 = (word) XR_Enable(( ((word) (fPt) NoName_Q3324) ), ( ((word) (fPt) NoName_Q3864) ), var_c0584); }; if ((var_c03 == 2)) { goto lab_L100019; }; }; var_c76404 = (* (W2Pt) (( (ptr) &var_c79220)+6)/* var_c02 */ ); }; }; argLength_v14188 = var_c76404.f1; args_v14160 = var_c76404.f0; }; lab_L100019: ; SOURCE(22054, 106) if ((args_v14160 == 0) || (argLength_v14188 < 1)) { SOURCE(22092, 60) { word var_c76436; var_c76436 = (word) OpenViewerOnFile_P240(0, fancyPanel_v14300); }; SOURCE(22154, 6) goto lab_L100017; }; SOURCE(22163, 134) { word tc303; word pd304; if ((argLength_v14188 == 1)) { pd304 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); tc303 = (word) (0 != (word) ( *( (fPt) ((* (ptr) pd304 ))))((* (ptr) args_v14160 ), (* (( (ptr) gf_c79252)+83) ), 0, pd304) ); } else { tc303 = (word) 0; }; if (tc303) { SOURCE(22235, 54) { word var_c76468; var_c76468 = (word) OpenViewerOnFile_P240(0, 1); }; SOURCE(22291, 6) goto lab_L100017; }; }; SOURCE(22300, 136) { word tc305; word pd306; if ((argLength_v14188 == 1)) { pd306 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); tc305 = (word) (0 != (word) ( *( (fPt) ((* (ptr) pd306 ))))((* (ptr) args_v14160 ), (* (( (ptr) gf_c79252)+84) ), 0, pd306) ); } else { tc305 = (word) 0; }; if (tc305) { SOURCE(22373, 55) { word var_c76500; var_c76500 = (word) OpenViewerOnFile_P240(0, 0); }; SOURCE(22430, 6) goto lab_L100017; }; }; SOURCE(22439, 787) { register word rl_v14428; rl_v14428 = args_v14160; lab_L100025: ; if ((rl_v14428 != 0)) { } else { goto lab_L100022; }; SOURCE(22530, 696) { word pd307; pd307 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd307 ))))((* (ptr) rl_v14428 ), (* (( (ptr) gf_c79252)+83) ), 0, pd307))) { SOURCE(22581, 23) fancyPanel_v14300 = 1; } else { SOURCE(22604, 622) { word pd308; pd308 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd308 ))))((* (ptr) rl_v14428 ), (* (( (ptr) gf_c79252)+84) ), 0, pd308))) { SOURCE(22656, 24) fancyPanel_v14300 = 0; } else { SOURCE(22680, 546) { word pd309; pd309 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd309 ))))((* (ptr) rl_v14428 ), (* (( (ptr) gf_c79252)+85) ), 0, pd309))) { SOURCE(22730, 14) command_v14216 = 1; SOURCE(22746, 17) commandRope_v14244 = 0; } else { SOURCE(22772, 454) if ((0 != command_v14216)) { SOURCE(22790, 15) command_v14216 = 0; SOURCE(22807, 42) { /*1*/ word pd310; /*1*/ pd310 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+5) ); /*1*/ commandRope_v14244 = (word) ( *( (fPt) ((* (ptr) pd310 ))))((* (( (ptr) gf_c79252)+86) ), (* (ptr) rl_v14428 ), (* (( (ptr) gf_c79252)+87) /*1*/ ), 0, 0, pd310); /*1*/ }; } else { SOURCE(22858, 373) { /*1*/ word ggData_v14556; SOURCE(22860, 108) /*1*/ { /*1*/ word var_c76532; /*1*/ { /*1*/ word pd311; /*1*/ pd311 = (* (( (ptr) (* (( (ptr) gf_c79252)+231)/* var_c73108 */ ))+5) ); /*1*/ var_c76532 = (word) ( *( (fPt) ((* (ptr) pd311 ))))((* (ptr) (rl_v14428) ), pd311); /*1*/ }; /*1*/ ggData_v14556 = (word) OpenViewerOnFile_P240(var_c76532, fancyPanel_v14300); /*1*/ }; SOURCE(22970, 17) /*1*/ fileOpened_v14272 = 1; SOURCE(22989, 237) /*1*/ { /*1*/ word tc312; /*1*/ word pd313; /*1*/ if ((commandRope_v14244 != 0)) { /*1*/ pd313 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); /*1*/ tc312 = (word) (0 == (word) ( *( (fPt) ((* (ptr) pd313 ))))(commandRope_v14244, (* (( (ptr) gf_c79252)+88) ), 0, pd313) /*1*/ ); /*1*/ } /*1*/ else { /*1*/ tc312 = (word) 0; /*1*/ }; /*1*/ if (tc312) { SOURCE(23060, 168) /*1*/ { /*1*/ word stream_v14600; /*1*/ word val_v14628; /*1*/ W2 var_c0379; /*1*/ word event_v14656; SOURCE(23062, 39) /*1*/ { /*1*/ word pd314; /*1*/ pd314 = (* (( (ptr) (* (( (ptr) gf_c79252)+259)/* var_c76564 */ ))+33) ); /*1*/ stream_v14600 = (word) ( *( (fPt) ((* (ptr) pd314 ))))(commandRope_v14244, 0, pd314); /*1*/ }; SOURCE(23103, 39) /*1*/ { /*1*/ word pd315; /*1*/ pd315 = (* (( (ptr) (* (( (ptr) gf_c79252)+260)/* var_c76596 */ ))+4) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd315 ))))((word) &var_c0379, stream_v14600, pd315); /*1*/ }; /*1*/ val_v14628 = var_c0379.f0; SOURCE(23144, 7) /*1*/ event_v14656 = XR_Narrow(val_v14628, (* (( (ptr) gf_c79252)+33) )); SOURCE(23178, 48) /*1*/ { /*1*/ word pd316; /*1*/ pd316 = (* (( (ptr) (* (( (ptr) gf_c79252)+254)/* var_c75316 */ ))+6) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd316 ))))(ggData_v14556, event_v14656, pd316); /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; }; }; }; }; }; }; }; rl_v14428 = (* (( (ptr) rl_v14428)+1) ); goto lab_L100025; lab_L100022: ; }; SOURCE(23243, 336) if ((0 == fileOpened_v14272)) { SOURCE(23266, 318) { word ggData_v14808; SOURCE(23268, 72) ggData_v14808 = (word) OpenViewerOnFile_P240(0, fancyPanel_v14300); SOURCE(23342, 237) { word tc317; word pd318; if ((commandRope_v14244 != 0)) { pd318 = (* (( (ptr) (* (( (ptr) gf_c79252)+232)/* var_c73140 */ ))+8) ); tc317 = (word) (0 == (word) ( *( (fPt) ((* (ptr) pd318 ))))(commandRope_v14244, (* (( (ptr) gf_c79252)+88) ), 0, pd318) ); } else { tc317 = (word) 0; }; if (tc317) { SOURCE(23413, 168) { word stream_v14852; word val_v14880; W2 var_c0384; word event_v14908; SOURCE(23415, 39) { word pd319; pd319 = (* (( (ptr) (* (( (ptr) gf_c79252)+259)/* var_c76564 */ ))+33) ); stream_v14852 = (word) ( *( (fPt) ((* (ptr) pd319 ))))(commandRope_v14244, 0, pd319); }; SOURCE(23456, 39) { word pd320; pd320 = (* (( (ptr) (* (( (ptr) gf_c79252)+260)/* var_c76596 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd320 ))))((word) &var_c0384, stream_v14852, pd320); }; val_v14880 = var_c0384.f0; SOURCE(23497, 7) event_v14908 = XR_Narrow(val_v14880, (* (( (ptr) gf_c79252)+33) )); SOURCE(23531, 48) { word pd321; pd321 = (* (( (ptr) (* (( (ptr) gf_c79252)+254)/* var_c75316 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd321 ))))(ggData_v14808, event_v14908, pd321); }; }; }; }; }; }; /* removed tail goto */ lab_L100017: ; (* (ptr) formal_c0386 ) = result_v28928; (* (( (ptr) formal_c0386)+1) ) = msg_v28956; return; } static word NoName_Q3324(formal_c0551) word formal_c0551; { SOURCE(21948, 93) { word pd322; pd322 = (* (( (ptr) formal_c0551)+5) ); (void) ( *( (fPt) ((* (ptr) pd322 ))))((word) (( (bPt) formal_c0551)+24), (* (( (ptr) formal_c0551)+4) ), 0, pd322); }; return(0); } static word FilenameMinusExtension_P1440(wholeName_v12092) word wholeName_v12092; { register ptr gf_c79284 = (ptr) &globalframe; word var_c12136; word fullFName_v15060 = 0; W12 cp_v15088; /* FilenameMinusExtension: */ SOURCE(23591, 239) SOURCE(23708, 57) { W14 var_c76660; { word pd323; pd323 = (* (( (ptr) (* (( (ptr) gf_c79284)+261)/* var_c76628 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd323 ))))((word) &var_c76660, wholeName_v12092, 0, pd323); }; cp_v15088 = (* (W12Pt) (( (ptr) &var_c76660)+1) ); fullFName_v15060 = (* (ptr) &var_c76660 ); }; SOURCE(23767, 63) { word pd324; word idx325; pd324 = (* (( (ptr) (* (( (ptr) gf_c79284)+232)/* var_c73140 */ ))+17) ); return((word) ( *( (fPt) ((* (ptr) pd324 ))))(fullFName_v15060, 0, ( idx325 = (word) ((* (( (ptr) &cp_v15088)+6) ) + (* (( (ptr) &cp_v15088)+7) )), SGNCK(idx325) ), pd324)); }; } static void GGToIP_P1500(formal_c0410, formal_c0603) word formal_c0410; word formal_c0603; { W13 var_c79316; /* declaration of cmd_v29016 skipped */ register ptr gf_c79348 = (ptr) &globalframe; word result_v29060; /* declaration of msg_v29088 skipped */ /* declaration of var_c76724 skipped */ /* declaration of var_c76756 skipped */ (* (( (ptr) &var_c79316)+4)/* cmd_v29016 */ ) = formal_c0603; /* GGToIP: */ SOURCE(23836, 1356) { word tmpAddr326; tmpAddr326 = (word) (( (ptr) &var_c79316)+6)/* var_c76724 */ ; (* (ptr) tmpAddr326 ) = ( ((word) (fPt) TryPattern_P2796) ); (* (( (ptr) tmpAddr326) + 1) ) = 1; }; { word tmpAddr327; tmpAddr327 = (word) (( (ptr) &var_c79316)+8)/* var_c76756 */ ; (* (ptr) tmpAddr327 ) = ( ((word) (fPt) EachFile_P2736) ); (* (( (ptr) tmpAddr327) + 1) ) = 1; }; SOURCE(23836, 1356) result_v29060 = 0; SOURCE(23836, 1356) (* (( (ptr) &var_c79316)+5)/* msg_v29088 */ ) = 0; SOURCE(23868, 1324) SOURCE(23870, 24) { /* declaration of out_v15188 skipped */ word argv_v15216; /* declaration of ggData_v15244 skipped */ SOURCE(24553, 24) (* (( (ptr) &var_c79316)+10)/* out_v15188 */ ) = (* (( (ptr) (* (( (ptr) &var_c79316)+4)/* cmd_v29016 */ ))+1) ); SOURCE(24579, 89) { /* declaration of var_c04 skipped */ (* (( (ptr) &var_c79316)+11)/* var_c04 */ ) = (* (( (ptr) (* (( (ptr) gf_c79348)+258)/* var_c76372 */ ))+6) ); { /* declaration of var_c05 skipped */ { word var_c06; { word var_c0585; var_c0585 = (word) &var_c79316; var_c06 = (word) XR_Enable(( ((word) (fPt) NoName_Q3384) ), ( ((word) (fPt) NoName_Q3804) ), var_c0585); }; if ((var_c06 == 3)) { goto lab_L100027; }; }; argv_v15216 = (* (( (ptr) &var_c79316)+12)/* var_c05 */ ); }; }; SOURCE(24701, 102) { word var_c76788; word var_c76820; { word pd328; pd328 = (* (( (ptr) (* (( (ptr) gf_c79348)+225)/* var_c72788 */ ))+4) ); var_c76788 = (word) ( *( (fPt) ((* (ptr) pd328 ))))(0, pd328); }; { word pd329; pd329 = (* (( (ptr) (* (( (ptr) gf_c79348)+231)/* var_c73108 */ ))+7) ); var_c76820 = (word) ( *( (fPt) ((* (ptr) pd329 ))))(pd329); }; (* (( (ptr) &var_c79316)+11)/* ggData_v15244 */ ) = (word) CreateWindow_P540(var_c76788, 1, 0, var_c76820); }; SOURCE(24805, 53) { word pd330; pd330 = (* (( (ptr) (* (( (ptr) gf_c79348)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd330 ))))((* (( (ptr) (* (ptr) (* (( (ptr) &var_c79316)+11)/* ggData_v15244 */ ) ))+1) ), 3, 1, 0, pd330) ; }; SOURCE(24894, 54) { word pd331; pd331 = (* (( (ptr) (* (( (ptr) gf_c79348)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd331 ))))((* (ptr) (* (ptr) (* (( (ptr) &var_c79316)+11)/* ggData_v15244 */ ) ) ), 3, 1, 0, pd331) ; }; SOURCE(24984, 50) { word var_c76852; { word var_c76884; word var_c76916; var_c76884 = XR_NewObject(8, (* (( (ptr) gf_c79348)+33) )); var_c76916 = var_c76884; (* (ptr) var_c76916 ) = (* (( (ptr) gf_c79348)+54) ); var_c76852 = var_c76884; }; { word pd332; pd332 = (* (( (ptr) (* (( (ptr) gf_c79348)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd332 ))))((* (( (ptr) &var_c79316)+11)/* ggData_v15244 */ ), var_c76852, pd332); }; }; SOURCE(25036, 108) { register word i_v15348 = 1; register word noName_c76948; noName_c76948 = (* (ptr) argv_v15216 ); if ((i_v15348 >= noName_c76948)) { goto lab_L100030; }; lab_L100033: ; { word arg_v15392; SOURCE(25068, 24) { word limit333; arg_v15392 = (* ((( (ptr) argv_v15216)+1)+( limit333 = (* (ptr) argv_v15216 ), BCK(i_v15348, limit333) )) ); }; SOURCE(25094, 29) { word pd334; pd334 = (* (( (ptr) (* (( (ptr) gf_c79348)+232)/* var_c73140 */ ))+14) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd334 ))))(arg_v15392, pd334) == (int)0)) { SOURCE(25123, 4) goto lab_L100032; }; }; SOURCE(25129, 15) (void) TryPattern_P2796(arg_v15392, (word) (( (bPt) &var_c79316)+24)/* var_c76724 */ ); }; lab_L100032: ; i_v15348 = (i_v15348 + 1); if ((i_v15348 < noName_c76948)) { goto lab_L100033; }; lab_L100030: ; }; }; goto lab_L100034; lab_L100027: ; SOURCE(25172, 17) result_v29060 = (* (( (ptr) gf_c79348)+95) ); lab_L100034: ; /* removed tail goto */ (* (ptr) formal_c0410 ) = result_v29060; (* (( (ptr) formal_c0410)+1) ) = (* (( (ptr) &var_c79316)+5)/* msg_v29088 */ ); return; } static word NoName_Q3384(formal_c0554) word formal_c0554; { SOURCE(24579, 89) { word pd335; pd335 = (* (( (ptr) formal_c0554)+11) ); (* (( (ptr) formal_c0554)+12) ) = (word) ( *( (fPt) ((* (ptr) pd335 ))))((* (( (ptr) formal_c0554)+4) ), 0, pd335); }; return(0); } static word EachFile_P2736(fullFName_v63492, formal_c79412) word fullFName_v63492; word formal_c79412; { register ptr gf_c79380 = (ptr) &globalframe; word continue_v63536; word ipName_v15436 = 0; formal_c79412 = (formal_c79412 - 32); /* EachFile: */ SOURCE(23870, 24) SOURCE(23915, 23) { word pd336; pd336 = (* (( (ptr) (* (( (ptr) gf_c79380)+262)/* var_c76980 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd336 ))))(pd336); }; SOURCE(23940, 42) ipName_v15436 = (word) FilenameMinusExtension_P1440(fullFName_v63492); SOURCE(23984, 35) { word pd337; pd337 = (* (( (ptr) (* (( (ptr) gf_c79380)+232)/* var_c73140 */ ))+6) ); ipName_v15436 = (word) ( *( (fPt) ((* (ptr) pd337 ))))(ipName_v15436, (* (( (ptr) gf_c79380)+89) ), pd337); }; SOURCE(24021, 42) { word var_c77012; { word var_c77044; word var_c77076; var_c77044 = XR_NewObject(8, (* (( (ptr) gf_c79380)+33) )); var_c77076 = var_c77044; (* (ptr) var_c77076 ) = (* (( (ptr) gf_c79380)+75) ); (* (( (ptr) var_c77076)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79380)+33) )); var_c77076 = (* (( (ptr) var_c77076)+1) ); (* (ptr) var_c77076 ) = fullFName_v63492; var_c77012 = var_c77044; }; { word pd338; pd338 = (* (( (ptr) (* (( (ptr) gf_c79380)+233)/* var_c73268 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd338 ))))((* (( (ptr) formal_c79412)+11) ), var_c77012, pd338); }; }; SOURCE(24065, 41) { word var_c77108; { word var_c77140; word var_c77172; var_c77140 = XR_NewObject(8, (* (( (ptr) gf_c79380)+33) )); var_c77172 = var_c77140; (* (ptr) var_c77172 ) = (* (( (ptr) gf_c79380)+90) ); (* (( (ptr) var_c77172)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79380)+33) )); var_c77172 = (* (( (ptr) var_c77172)+1) ); (* (ptr) var_c77172 ) = ipName_v15436; var_c77108 = var_c77140; }; { word pd339; pd339 = (* (( (ptr) (* (( (ptr) gf_c79380)+233)/* var_c73268 */ ))+8) ); (void) ( *( (fPt) ((* (ptr) pd339 ))))((* (( (ptr) formal_c79412)+11) ), var_c77108, pd339); }; }; SOURCE(24108, 15) continue_v63536 = 1; SOURCE(23870, 24) return(continue_v63536); } static void TryPattern_P2796(formal_c0604, formal_c79508) word formal_c0604; word formal_c79508; { W5 var_c79444; /* declaration of pattern_v15320 skipped */ register ptr gf_c79476 = (ptr) &globalframe; formal_c79508 = (formal_c79508 - 24); var_c79444.f4/* pattern_v15320 */ = formal_c0604; var_c79444.f0 = formal_c79508; /* TryPattern: */ SOURCE(24128, 18) SOURCE(24168, 382) SOURCE(24170, 332) { word var_c07; { word var_c0586; var_c0586 = (word) &var_c79444; var_c07 = (word) XR_Enable(( ((word) (fPt) NoName_Q3444) ), ( ((word) (fPt) NoName_Q3744) ), var_c0586); }; if ((var_c07 == 4)) { goto lab_L100035; }; }; goto lab_L100038; lab_L100035: ; SOURCE(24518, 21) { word pd340; pd340 = (* (( (ptr) (* (( (ptr) gf_c79476)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd340 ))))((* (( (ptr) formal_c79508)+10) ), (* (( (ptr) gf_c79476)+94) ), 0, 2147483647, pd340) ; }; SOURCE(24541, 6) return; lab_L100038: ; } static word NoName_Q3444(formal_c0560) word formal_c0560; { register ptr gf_c0559 = (ptr) &globalframe; W14 var_c0421; SOURCE(24292, 48) { word pd341; pd341 = (* (( (ptr) (* (( (ptr) gf_c0559)+231)/* var_c73108 */ ))+5) ); (* (( (ptr) formal_c0560)+4) ) = (word) ( *( (fPt) ((* (ptr) pd341 ))))((* ((( (ptr) formal_c0560)+4)) ), pd341); }; SOURCE(24342, 42) { word pd342; pd342 = (* (( (ptr) (* (( (ptr) gf_c0559)+261)/* var_c76628 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd342 ))))((word) &var_c0421, (* (( (ptr) formal_c0560)+4) ), 0, pd342); }; (* (( (ptr) formal_c0560)+4) ) = (* (ptr) &var_c0421 ); SOURCE(24386, 75) { word pd343; pd343 = (* (( (ptr) (* (( (ptr) gf_c0559)+232)/* var_c73140 */ ))+23) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd343 ))))((* (( (ptr) gf_c0559)+92) ), (* (( (ptr) formal_c0560)+4) ), 1, pd343))) { SOURCE(24425, 36) { word pd344; pd344 = (* (( (ptr) (* (( (ptr) gf_c0559)+232)/* var_c73140 */ ))+6) ); (* (( (ptr) formal_c0560)+4) ) = (word) ( *( (fPt) ((* (ptr) pd344 ))))((* (( (ptr) formal_c0560)+4) ), (* (( (ptr) gf_c0559)+93) ), pd344); }; }; }; SOURCE(24463, 39) { word pd345; pd345 = (* (( (ptr) (* (( (ptr) gf_c0559)+261)/* var_c76628 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd345 ))))((* (( (ptr) formal_c0560)+4) ), (word) (( (bPt) (* (ptr) formal_c0560 ))+32), 0, pd345) ; }; return(0); } static void GGIPToIP_P1560(formal_c0445, formal_c0605) word formal_c0445; word formal_c0605; { W13 var_c79540; /* declaration of cmd_v29148 skipped */ register ptr gf_c79572 = (ptr) &globalframe; word result_v29192; /* declaration of msg_v29220 skipped */ /* declaration of var_c77204 skipped */ /* declaration of var_c77236 skipped */ (* (( (ptr) &var_c79540)+4)/* cmd_v29148 */ ) = formal_c0605; /* GGIPToIP: */ SOURCE(25196, 1662) { word tmpAddr346; tmpAddr346 = (word) (( (ptr) &var_c79540)+6)/* var_c77204 */ ; (* (ptr) tmpAddr346 ) = ( ((word) (fPt) TryPattern_P3060) ); (* (( (ptr) tmpAddr346) + 1) ) = 1; }; { word tmpAddr347; tmpAddr347 = (word) (( (ptr) &var_c79540)+8)/* var_c77236 */ ; (* (ptr) tmpAddr347 ) = ( ((word) (fPt) EachFile_P3000) ); (* (( (ptr) tmpAddr347) + 1) ) = 1; }; SOURCE(25196, 1662) result_v29192 = 0; SOURCE(25196, 1662) (* (( (ptr) &var_c79540)+5)/* msg_v29220 */ ) = 0; SOURCE(25230, 1628) SOURCE(25232, 24) { /* declaration of out_v15536 skipped */ word argv_v15564; /* declaration of scriptName_v15592 skipped */ /* declaration of ggData_v15620 skipped */ SOURCE(26062, 24) (* (( (ptr) &var_c79540)+10)/* out_v15536 */ ) = (* (( (ptr) (* (( (ptr) &var_c79540)+4)/* cmd_v29148 */ ))+1) ); SOURCE(26088, 89) { /* declaration of var_c08 skipped */ (* (( (ptr) &var_c79540)+11)/* var_c08 */ ) = (* (( (ptr) (* (( (ptr) gf_c79572)+258)/* var_c76372 */ ))+6) ); { /* declaration of var_c09 skipped */ { word var_c010; { word var_c0587; var_c0587 = (word) &var_c79540; var_c010 = (word) XR_Enable(( ((word) (fPt) NoName_Q3504) ), ( ((word) (fPt) NoName_Q3684) ), var_c0587); }; if ((var_c010 == 5)) { goto lab_L100040; }; }; argv_v15564 = (* (( (ptr) &var_c79540)+12)/* var_c09 */ ); }; }; SOURCE(26210, 31) { word limit348; (* (( (ptr) &var_c79540)+11)/* scriptName_v15592 */ ) = (* ((( (ptr) argv_v15564)+1)+( limit348 = (* (ptr) argv_v15564 ), BCK(1, limit348) )) ); }; SOURCE(26243, 102) { word var_c77268; word var_c77300; { word pd349; pd349 = (* (( (ptr) (* (( (ptr) gf_c79572)+225)/* var_c72788 */ ))+4) ); var_c77268 = (word) ( *( (fPt) ((* (ptr) pd349 ))))(0, pd349); }; { word pd350; pd350 = (* (( (ptr) (* (( (ptr) gf_c79572)+231)/* var_c73108 */ ))+7) ); var_c77300 = (word) ( *( (fPt) ((* (ptr) pd350 ))))(pd350); }; (* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ) = (word) CreateWindow_P540(var_c77268, 1, 0, var_c77300); }; SOURCE(26347, 53) { word pd351; pd351 = (* (( (ptr) (* (( (ptr) gf_c79572)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd351 ))))((* (( (ptr) (* (ptr) (* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ) ))+1) ), 3, 1, 0, pd351) ; }; SOURCE(26436, 54) { word pd352; pd352 = (* (( (ptr) (* (( (ptr) gf_c79572)+234)/* var_c73300 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd352 ))))((* (ptr) (* (ptr) (* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ) ) ), 3, 1, 0, pd352) ; }; SOURCE(26527, 54) { word var_c77332; { word var_c77364; word var_c77396; var_c77364 = XR_NewObject(8, (* (( (ptr) gf_c79572)+33) )); var_c77396 = var_c77364; (* (ptr) var_c77396 ) = (* (( (ptr) gf_c79572)+96) ); var_c77332 = var_c77364; }; { word pd353; pd353 = (* (( (ptr) (* (( (ptr) gf_c79572)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd353 ))))((* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ), var_c77332, pd353); }; }; SOURCE(26598, 108) { register word i_v15724 = 2; register word noName_c77428; noName_c77428 = (* (ptr) argv_v15564 ); if ((i_v15724 >= noName_c77428)) { goto lab_L100043; }; lab_L100046: ; { word arg_v15768; SOURCE(26630, 24) { word limit354; arg_v15768 = (* ((( (ptr) argv_v15564)+1)+( limit354 = (* (ptr) argv_v15564 ), BCK(i_v15724, limit354) )) ); }; SOURCE(26656, 29) { word pd355; pd355 = (* (( (ptr) (* (( (ptr) gf_c79572)+232)/* var_c73140 */ ))+14) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd355 ))))(arg_v15768, pd355) == (int)0)) { SOURCE(26685, 4) goto lab_L100045; }; }; SOURCE(26691, 15) (void) TryPattern_P3060(arg_v15768, (word) (( (bPt) &var_c79540)+24)/* var_c77204 */ ); }; lab_L100045: ; i_v15724 = (i_v15724 + 1); if ((i_v15724 < noName_c77428)) { goto lab_L100046; }; lab_L100043: ; }; SOURCE(26717, 53) { word var_c77460; { word var_c77492; word var_c77524; var_c77492 = XR_NewObject(8, (* (( (ptr) gf_c79572)+33) )); var_c77524 = var_c77492; (* (ptr) var_c77524 ) = (* (( (ptr) gf_c79572)+97) ); var_c77460 = var_c77492; }; { word pd356; pd356 = (* (( (ptr) (* (( (ptr) gf_c79572)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd356 ))))((* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ), var_c77460, pd356); }; }; SOURCE(26772, 47) { word var_c77556; { word var_c77588; word var_c77620; var_c77588 = XR_NewObject(8, (* (( (ptr) gf_c79572)+33) )); var_c77620 = var_c77588; (* (ptr) var_c77620 ) = (* (( (ptr) gf_c79572)+98) ); var_c77556 = var_c77588; }; { word pd357; pd357 = (* (( (ptr) (* (( (ptr) gf_c79572)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd357 ))))((* (( (ptr) &var_c79540)+12)/* ggData_v15620 */ ), var_c77556, pd357); }; }; }; goto lab_L100047; lab_L100040: ; SOURCE(26838, 17) result_v29192 = (* (( (ptr) gf_c79572)+95) ); lab_L100047: ; /* removed tail goto */ (* (ptr) formal_c0445 ) = result_v29192; (* (( (ptr) formal_c0445)+1) ) = (* (( (ptr) &var_c79540)+5)/* msg_v29220 */ ); return; } static word NoName_Q3504(formal_c0562) word formal_c0562; { SOURCE(26088, 89) { word pd358; pd358 = (* (( (ptr) formal_c0562)+11) ); (* (( (ptr) formal_c0562)+12) ) = (word) ( *( (fPt) ((* (ptr) pd358 ))))((* (( (ptr) formal_c0562)+4) ), 0, pd358); }; return(0); } static word EachFile_P3000(fullFName_v65424, formal_c79636) word fullFName_v65424; word formal_c79636; { register ptr gf_c79604 = (ptr) &globalframe; word continue_v65468; word newIPName_v15812 = 0; formal_c79636 = (formal_c79636 - 32); /* EachFile: */ SOURCE(25232, 24) SOURCE(25275, 23) { word pd359; pd359 = (* (( (ptr) (* (( (ptr) gf_c79604)+262)/* var_c76980 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd359 ))))(pd359); }; SOURCE(25300, 45) { word var_c77652; { word var_c77684; word var_c77716; var_c77684 = XR_NewObject(8, (* (( (ptr) gf_c79604)+33) )); var_c77716 = var_c77684; (* (ptr) var_c77716 ) = (* (( (ptr) gf_c79604)+99) ); var_c77652 = var_c77684; }; { word pd360; pd360 = (* (( (ptr) (* (( (ptr) gf_c79604)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd360 ))))((* (( (ptr) formal_c79636)+12) ), var_c77652, pd360); }; }; SOURCE(25347, 66) { word var_c77748; { word var_c77780; word var_c77812; var_c77780 = XR_NewObject(8, (* (( (ptr) gf_c79604)+33) )); var_c77812 = var_c77780; (* (ptr) var_c77812 ) = (* (( (ptr) gf_c79604)+100) ); (* (( (ptr) var_c77812)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79604)+33) )); var_c77812 = (* (( (ptr) var_c77812)+1) ); (* (ptr) var_c77812 ) = fullFName_v65424; var_c77748 = var_c77780; }; { word pd361; pd361 = (* (( (ptr) (* (( (ptr) gf_c79604)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd361 ))))((* (( (ptr) formal_c79636)+12) ), var_c77748, pd361); }; }; SOURCE(25415, 49) { word pd362; pd362 = (* (( (ptr) (* (( (ptr) gf_c79604)+244)/* var_c74388 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd362 ))))((* (( (ptr) formal_c79636)+11) ), (* (( (ptr) formal_c79636)+12) ), pd362); }; SOURCE(25466, 45) newIPName_v15812 = (word) FilenameMinusExtension_P1440(fullFName_v65424); SOURCE(25513, 45) { word pd363; pd363 = (* (( (ptr) (* (( (ptr) gf_c79604)+232)/* var_c73140 */ ))+6) ); newIPName_v15812 = (word) ( *( (fPt) ((* (ptr) pd363 ))))(newIPName_v15812, (* (( (ptr) gf_c79604)+101) ), pd363); }; SOURCE(25560, 55) { word var_c77844; { word var_c77876; word var_c77908; var_c77876 = XR_NewObject(8, (* (( (ptr) gf_c79604)+33) )); var_c77908 = var_c77876; (* (ptr) var_c77908 ) = (* (( (ptr) gf_c79604)+90) ); (* (( (ptr) var_c77908)+1) ) = XR_NewObject(8, (* (( (ptr) gf_c79604)+33) )); var_c77908 = (* (( (ptr) var_c77908)+1) ); (* (ptr) var_c77908 ) = newIPName_v15812; var_c77844 = var_c77876; }; { word pd364; pd364 = (* (( (ptr) (* (( (ptr) gf_c79604)+254)/* var_c75316 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd364 ))))((* (( (ptr) formal_c79636)+12) ), var_c77844, pd364); }; }; SOURCE(25617, 15) continue_v65468 = 1; SOURCE(25232, 24) return(continue_v65468); } static void TryPattern_P3060(formal_c0606, formal_c79732) word formal_c0606; word formal_c79732; { W5 var_c79668; /* declaration of pattern_v15696 skipped */ register ptr gf_c79700 = (ptr) &globalframe; formal_c79732 = (formal_c79732 - 24); var_c79668.f4/* pattern_v15696 */ = formal_c0606; var_c79668.f0 = formal_c79732; /* TryPattern: */ SOURCE(25637, 18) SOURCE(25677, 382) SOURCE(25679, 332) { word var_c011; { word var_c0588; var_c0588 = (word) &var_c79668; var_c011 = (word) XR_Enable(( ((word) (fPt) NoName_Q3564) ), ( ((word) (fPt) NoName_Q3624) ), var_c0588); }; if ((var_c011 == 6)) { goto lab_L100048; }; }; goto lab_L100051; lab_L100048: ; SOURCE(26027, 21) { word pd365; pd365 = (* (( (ptr) (* (( (ptr) gf_c79700)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd365 ))))((* (( (ptr) formal_c79732)+10) ), (* (( (ptr) gf_c79700)+94) ), 0, 2147483647, pd365) ; }; SOURCE(26050, 6) return; lab_L100051: ; } static word NoName_Q3564(formal_c0568) word formal_c0568; { register ptr gf_c0567 = (ptr) &globalframe; W14 var_c0459; SOURCE(25801, 48) { word pd366; pd366 = (* (( (ptr) (* (( (ptr) gf_c0567)+231)/* var_c73108 */ ))+5) ); (* (( (ptr) formal_c0568)+4) ) = (word) ( *( (fPt) ((* (ptr) pd366 ))))((* ((( (ptr) formal_c0568)+4)) ), pd366); }; SOURCE(25851, 42) { word pd367; pd367 = (* (( (ptr) (* (( (ptr) gf_c0567)+261)/* var_c76628 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd367 ))))((word) &var_c0459, (* (( (ptr) formal_c0568)+4) ), 0, pd367); }; (* (( (ptr) formal_c0568)+4) ) = (* (ptr) &var_c0459 ); SOURCE(25895, 75) { word pd368; pd368 = (* (( (ptr) (* (( (ptr) gf_c0567)+232)/* var_c73140 */ ))+23) ); if ((0 == (word) ( *( (fPt) ((* (ptr) pd368 ))))((* (( (ptr) gf_c0567)+92) ), (* (( (ptr) formal_c0568)+4) ), 1, pd368))) { SOURCE(25934, 36) { word pd369; pd369 = (* (( (ptr) (* (( (ptr) gf_c0567)+232)/* var_c73140 */ ))+6) ); (* (( (ptr) formal_c0568)+4) ) = (word) ( *( (fPt) ((* (ptr) pd369 ))))((* (( (ptr) formal_c0568)+4) ), (* (( (ptr) gf_c0567)+93) ), pd369); }; }; }; SOURCE(25972, 39) { word pd370; pd370 = (* (( (ptr) (* (( (ptr) gf_c0567)+261)/* var_c76628 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd370 ))))((* (( (ptr) formal_c0568)+4) ), (word) (( (bPt) (* (ptr) formal_c0568 ))+32), 0, pd370) ; }; return(0); } static word GGBasicTransformProc_P1620(bs_v12196) word bs_v12196; { register ptr gf_c79764 = (ptr) &globalframe; word var_c12240; word height_v15856; word width_v15884; word actionArea_v15912; word ww_v15940; word wh_v15968; word transform_v15996 = 0; /* GGBasicTransformProc: */ SOURCE(26863, 364) SOURCE(26948, 24) { word x372; word x373; *(float*)&height_v15856 = ( x372 = (* (ptr) &fc371 ), *(float*)&x372 ) * ( x373 = (* (ptr) &fc236 ), *(float*)&x373 ); }; SOURCE(26974, 22) { word x375; word x376; *(float*)&width_v15884 = ( x375 = (* (ptr) &fc374 ), *(float*)&x375 ) * ( x376 = (* (ptr) &fc236 ), *(float*)&x376 ); }; SOURCE(26998, 52) { word pd377; pd377 = (* (( (ptr) (* (( (ptr) gf_c79764)+235)/* var_c73364 */ ))+11) ); actionArea_v15912 = (* (( (ptr) ( *( (fPt) ((* (ptr) pd377 ))))(bs_v12196, 0, pd377))+24) ); }; SOURCE(27052, 24) { float tf378; ww_v15940 = ( tf378 = (float)(int)(* (( (ptr) actionArea_v15912)+3) ), *(word*)&tf378 ); }; SOURCE(27078, 24) { float tf379; wh_v15968 = ( tf379 = (float)(int)(* (( (ptr) actionArea_v15912)+4) ), *(word*)&tf379 ); }; SOURCE(27131, 77) { W2 var_c77940; { word x380; word x381; word x382; *(float*)&var_c77940.f0 = (( x380 = ww_v15940, *(float*)&x380 ) - ( x381 = width_v15884, *(float*)&x381 )) / ( x382 = (* (ptr) &fc215 ), *(float*)&x382 ); }; { word x383; word x384; word x385; *(float*)&var_c77940.f1 = (( x383 = wh_v15968, *(float*)&x383 ) - ( x384 = height_v15856, *(float*)&x384 )) / ( x385 = (* (ptr) &fc215 ), *(float*)&x385 ); }; { word pd386; pd386 = (* (( (ptr) (* (( (ptr) gf_c79764)+239)/* var_c73940 */ ))+10) ); transform_v15996 = (word) ( *( (fPt) ((* (ptr) pd386 ))))(var_c77940, pd386); }; }; SOURCE(27210, 17) return(transform_v15996); } static void BSSaveProc_P1680(self_v29280, force_v29308) word self_v29280; word force_v29308; { register ptr gf_c79796 = (ptr) &globalframe; /* BSSaveProc: */ SOURCE(27233, 94) SOURCE(27281, 46) { word pd387; pd387 = (* (( (ptr) (* (( (ptr) gf_c79796)+252)/* var_c75060 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd387 ))))(self_v29280, force_v29308, pd387); }; } static void BSDestroyProc_P1740(self_v29368) word self_v29368; { /* BSDestroyProc: */ } static void BiScrollerInputNotify_P1800(bs_v29428, input_v29456, device_v29484, user_v29512, display_v29540) word bs_v29428; word input_v29456; word device_v29484; word user_v29512; word display_v29540; { register ptr gf_c79828 = (ptr) &globalframe; word ggData_v16040; /* BiScrollerInputNotify: */ SOURCE(27635, 159) SOURCE(27691, 53) { word pd388; pd388 = (* (( (ptr) (* (( (ptr) gf_c79828)+235)/* var_c73364 */ ))+14) ); ggData_v16040 = XR_Narrow((word) ( *( (fPt) ((* (ptr) pd388 ))))(bs_v29428, pd388), (* (( (ptr) gf_c79828)+47) )); }; SOURCE(27746, 48) { word pd389; pd389 = (* (( (ptr) (* (( (ptr) gf_c79828)+254)/* var_c75316 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd389 ))))(ggData_v16040, input_v29456, pd389); }; } static void SetBeingBorn_P1860(ggData_v12300, beingBorn_v12328) word ggData_v12300; word beingBorn_v12328; { /* SetBeingBorn: */ SOURCE(27800, 106) SOURCE(27872, 34) (* (( (ptr) (* (( (ptr) ggData_v12300)+2) ))+4) ) = beingBorn_v12328; } static void Init_P1920() { register ptr gf_c79860 = (ptr) &globalframe; /* Init: */ SOURCE(27911, 2631) SOURCE(27926, 59) { word pd390; pd390 = (* (( (ptr) (* (( (ptr) gf_c79860)+263)/* var_c77972 */ ))+4) ); (* (( (ptr) gf_c79860)+9)/* ggTipTable_v7704 */ ) = (word) ( *( (fPt) ((* (ptr) pd390 ))))((* ((( (ptr) gf_c79860)+102) ) ), pd390); }; SOURCE(28014, 611) { word var_c78004; { word pd391; pd391 = (* (( (ptr) (* (( (ptr) gf_c79860)+263)/* var_c77972 */ ))+5) ); var_c78004 = (word) ( *( (fPt) ((* (ptr) pd391 ))))(pd391); }; { W25 var_c0482; (* (ptr) &var_c0482 ) = (* (( (ptr) gf_c79860)+103) ); (* (( (ptr) &var_c0482)+1) ) = (word) (( (bPt) gf_c79860)+544)/* var_c71444 */ ; (* (( (ptr) &var_c0482)+2) ) = (* (( (ptr) (* (( (ptr) gf_c79860)+254)/* var_c75316 */ ))+5) ); (* (( (ptr) &var_c0482)+3) ) = (word) (( (bPt) gf_c79860)+472)/* var_c71156 */ ; (* (( (ptr) &var_c0482)+4) ) = (word) (( (bPt) gf_c79860)+616)/* var_c71732 */ ; (* (( (ptr) &var_c0482)+5) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+6) ) = (word) (( (bPt) gf_c79860)+480)/* var_c71188 */ ; (* (( (ptr) &var_c0482)+7) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+8) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+9) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+10) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+11) ) = 0; (* (( (ptr) &var_c0482)+12) ) = (word) (( (bPt) gf_c79860)+488)/* var_c71220 */ ; (* (( (ptr) &var_c0482)+13) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+14) ) = XR_CheckProc(0); (* (( (ptr) &var_c0482)+15) ) = 0; (* (( (ptr) &var_c0482)+16) ) = var_c78004; (* (( (ptr) &var_c0482)+17) ) = 0; (* (( (ptr) &var_c0482)+18) ) = 26; (* (( (ptr) &var_c0482)+19) ) = 1; (* (( (ptr) &var_c0482)+20) ) = 1; (* (( (ptr) &var_c0482)+21) ) = 0; (* (( (ptr) &var_c0482)+22) ) = (word) (( (bPt) gf_c79860)+496)/* var_c71252 */ ; (* (( (ptr) &var_c0482)+23) ) = (* (ptr) &fc212 ); (* (( (ptr) &var_c0482)+24) ) = (* (ptr) &fc212 ); { word var_c0589; { word pd392; pd392 = (* (( (ptr) (* (( (ptr) gf_c79860)+235)/* var_c73364 */ ))+6) ); var_c0589 = (* (ptr) ( *( (fPt) ((* (ptr) pd392 ))))(0, pd392) ); }; (* (( (ptr) gf_c79860)+8)/* actionAreaClass_v7676 */ ) = (word) ( *( (fPt) ((* (ptr) var_c0589 ))))((word) (&var_c0482), var_c0589) ; }; }; }; SOURCE(28627, 79) { word pd393; pd393 = (* (( (ptr) (* (( (ptr) gf_c79860)+264)/* var_c78068 */ ))+7) ); (* (( (ptr) gf_c79860)+6)/* popUpFont_v7620 */ ) = (word) ( *( (fPt) ((* (ptr) pd393 ))))((* (( (ptr) gf_c79860)+104) ), 2, pd393) ; }; SOURCE(28708, 102) { word var_c78100; { word pd394; pd394 = (* (( (ptr) (* (( (ptr) gf_c79860)+264)/* var_c78068 */ ))+7) ); var_c78100 = (word) ( *( (fPt) ((* (ptr) pd394 ))))((* (( (ptr) gf_c79860)+105) ), 2, pd394); }; { word pd395; pd395 = (* (( (ptr) (* (( (ptr) gf_c79860)+264)/* var_c78068 */ ))+9) ); (* (( (ptr) gf_c79860)+7)/* bigFont_v7648 */ ) = (word) ( *( (fPt) ((* (ptr) pd395 ))))(var_c78100, (* (ptr) &fc236 ), pd395) ; }; }; SOURCE(28812, 44) (* (( (ptr) gf_c79860)+15)/* iconsFrom_v7872 */ ) = (* (( (ptr) gf_c79860)+106) ); SOURCE(28881, 11) (void) InitIcons_P1980(); SOURCE(28894, 1014) SOURCE(29646, 94) { word pd396; pd396 = (* (( (ptr) (* (( (ptr) gf_c79860)+257)/* var_c76340 */ ))+18) ); (* (( (ptr) gf_c79860)+17)/* pointsPreferredCursor_v7928 */ ) = (word) ( *( (fPt) ((* (ptr) pd396 ))))((* (W8Pt) (( (ptr) gf_c79860)+196) /* var_c72372 */ ), (word) -8, (word) -6, pd396); }; SOURCE(29742, 92) { word pd397; pd397 = (* (( (ptr) (* (( (ptr) gf_c79860)+257)/* var_c76340 */ ))+18) ); (* (( (ptr) gf_c79860)+18)/* linesPreferredCursor_v7956 */ ) = (word) ( *( (fPt) ((* (ptr) pd397 ))))((* (W8Pt) (( (ptr) gf_c79860)+204) /* var_c72436 */ ), (word) -8, (word) -5, pd397); }; SOURCE(29836, 70) { word pd398; pd398 = (* (( (ptr) (* (( (ptr) gf_c79860)+257)/* var_c76340 */ ))+18) ); (* (( (ptr) gf_c79860)+16)/* offCursor_v7900 */ ) = (word) ( *( (fPt) ((* (ptr) pd398 ))))((* (W8Pt) (( (ptr) gf_c79860)+212) /* var_c72500 */ ), (word) -8, (word) -6, pd398); }; SOURCE(29913, 303) { word pd399; pd399 = (* (( (ptr) (* (( (ptr) gf_c79860)+265)/* var_c78132 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd399 ))))((* (( (ptr) gf_c79860)+65) ), (word) (( (bPt) gf_c79860)+528)/* var_c71380 */ , (* ( ( (ptr) gf_c79860)+107) ), 0, 1, pd399); }; SOURCE(30218, 324) { word pd400; pd400 = (* (( (ptr) (* (( (ptr) gf_c79860)+265)/* var_c78132 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd400 ))))((* (( (ptr) gf_c79860)+108) ), (word) (( (bPt) gf_c79860)+504)/* var_c71284 */ , (* ( ( (ptr) gf_c79860)+109) ), 0, 1, pd400); }; } static void InitIcons_P1980() { register ptr gf_c79892 = (ptr) &globalframe; word holdThatTiger_v16184; /* InitIcons: */ SOURCE(30548, 455) SOURCE(30575, 54) { word pd401; pd401 = (* (( (ptr) (* (( (ptr) gf_c79892)+243)/* var_c74260 */ ))+26) ); holdThatTiger_v16184 = (word) ( *( (fPt) ((* (ptr) pd401 ))))(pd401); }; SOURCE(30631, 48) { word pd402; pd402 = (* (( (ptr) (* (( (ptr) gf_c79892)+266)/* var_c78164 */ ))+6) ); (* (( (ptr) gf_c79892)+10)/* panelIconG_v7732 */ ) = (word) ( *( (fPt) ((* (ptr) pd402 ))))((* (( (ptr) gf_c79892)+15)/* iconsFrom_v7872 */ ), 5, pd402) ; }; SOURCE(30681, 78) { word pd403; pd403 = (* (( (ptr) (* (( (ptr) gf_c79892)+266)/* var_c78164 */ ))+6) ); (* (( (ptr) gf_c79892)+11)/* noNameIconG_v7760 */ ) = (word) ( *( (fPt) ((* (ptr) pd403 ))))((* (( (ptr) gf_c79892)+15) /* iconsFrom_v7872 */ ), ( (0 != holdThatTiger_v16184) ? 8 : 1 ) , pd403); }; SOURCE(30761, 83) { word pd404; pd404 = (* (( (ptr) (* (( (ptr) gf_c79892)+266)/* var_c78164 */ ))+6) ); (* (( (ptr) gf_c79892)+12)/* dirtyNoNameIconG_v7788 */ ) = (word) ( *( (fPt) ((* (ptr) pd404 ))))((* (( (ptr) gf_c79892)+15) /* iconsFrom_v7872 */ ), ( (0 != holdThatTiger_v16184) ? 7 : 0 ) , pd404); }; SOURCE(30846, 78) { word pd405; pd405 = (* (( (ptr) (* (( (ptr) gf_c79892)+266)/* var_c78164 */ ))+6) ); (* (( (ptr) gf_c79892)+14)/* cleanIconG_v7844 */ ) = (word) ( *( (fPt) ((* (ptr) pd405 ))))((* (( (ptr) gf_c79892)+15)/* iconsFrom_v7872 */ ), ( (0 != holdThatTiger_v16184) ? 10 : 3 ) , pd405) ; }; SOURCE(30926, 77) { word pd406; pd406 = (* (( (ptr) (* (( (ptr) gf_c79892)+266)/* var_c78164 */ ))+6) ); (* (( (ptr) gf_c79892)+13)/* dirtyIconG_v7816 */ ) = (word) ( *( (fPt) ((* (ptr) pd406 ))))((* (( (ptr) gf_c79892)+15)/* iconsFrom_v7872 */ ), ( (0 != holdThatTiger_v16184) ? 9 : 2 ) , pd406) ; }; } static void GetIcons_P2040(formal_c0495) word formal_c0495; { register ptr gf_c79924 = (ptr) &globalframe; word panelIcon_v12420; word noNameIcon_v12448; word dirtyNoNameIcon_v12476; word cleanIcon_v12504; word dirtyIcon_v12532; /* GetIcons: */ SOURCE(31009, 188) SOURCE(31124, 73) panelIcon_v12420 = (* (( (ptr) gf_c79924)+10)/* panelIconG_v7732 */ ); noNameIcon_v12448 = (* (( (ptr) gf_c79924)+11)/* noNameIconG_v7760 */ ); dirtyNoNameIcon_v12476 = (* (( (ptr) gf_c79924)+12)/* dirtyNoNameIconG_v7788 */ ); cleanIcon_v12504 = (* (( (ptr) gf_c79924)+14)/* cleanIconG_v7844 */ ); dirtyIcon_v12532 = (* (( (ptr) gf_c79924)+13)/* dirtyIconG_v7816 */ ); /* removed tail goto */ (* (ptr) formal_c0495 ) = panelIcon_v12420; (* (( (ptr) formal_c0495)+1) ) = noNameIcon_v12448; (* (( (ptr) formal_c0495)+2) ) = dirtyNoNameIcon_v12476; (* (( (ptr) formal_c0495)+3) ) = cleanIcon_v12504; (* (( (ptr) formal_c0495)+4) ) = dirtyIcon_v12532; return; } static void NoName_Q3624(formal_c0501, formal_c200016, formal_c200017, formal_c200018, formal_c200019) word formal_c0501; word formal_c200016; word formal_c200017; word formal_c200018; word formal_c200019; { register ptr gf_c0575 = (ptr) &globalframe; if ((formal_c200017 == (* (ptr) (* (( (ptr) (* (( (ptr) gf_c0575)+261)/* var_c76628 */ ))+4) ) ))) { { W4 error_v65740; error_v65740 = (* (W4Pt) formal_c200019 ); SOURCE(25698, 89) if ((error_v65740.f0 != 1)) { SOURCE(25727, 24) { word pd407; pd407 = (* (( (ptr) (* (( (ptr) gf_c0575)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd407 ))))((* (( (ptr) (* (ptr) formal_c200016 ))+10) ), (* (( (ptr) gf_c0575)+91) ), 0, 2147483647, pd407) ; }; SOURCE(25753, 34) { word pd408; pd408 = (* (( (ptr) (* (( (ptr) gf_c0575)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd408 ))))((* (( (ptr) (* (ptr) formal_c200016 ))+10) ), error_v65740.f2, 0, 2147483647, pd408) ; }; SOURCE(25789, 9) (* (ptr) formal_c0501 ) = 2; (* (( (ptr) formal_c0501)+1) ) = 6; return; }; }; }; (* (ptr) formal_c0501 ) = 0; (* (( (ptr) formal_c0501)+1) ) = 0; return; } static void NoName_Q3684(formal_c0507, formal_c200012, formal_c200013, formal_c200014, formal_c200015) word formal_c0507; word formal_c200012; word formal_c200013; word formal_c200014; word formal_c200015; { register ptr gf_c0576 = (ptr) &globalframe; if ((formal_c200013 == (* (( (ptr) (* (( (ptr) gf_c0576)+258)/* var_c76372 */ ))+4) ))) { { word errorMsg_v65528; errorMsg_v65528 = (* (ptr) formal_c200015 ); SOURCE(26178, 14) (* (( (ptr) formal_c200012)+5) ) = errorMsg_v65528; SOURCE(26194, 12) (* (ptr) formal_c0507 ) = 2; (* (( (ptr) formal_c0507)+1) ) = 5; return; }; }; (* (ptr) formal_c0507 ) = 0; (* (( (ptr) formal_c0507)+1) ) = 0; return; } static void NoName_Q3744(formal_c0513, formal_c200008, formal_c200009, formal_c200010, formal_c200011) word formal_c0513; word formal_c200008; word formal_c200009; word formal_c200010; word formal_c200011; { register ptr gf_c0577 = (ptr) &globalframe; if ((formal_c200009 == (* (ptr) (* (( (ptr) (* (( (ptr) gf_c0577)+261)/* var_c76628 */ ))+4) ) ))) { { W4 error_v64816; error_v64816 = (* (W4Pt) formal_c200011 ); SOURCE(24189, 89) if ((error_v64816.f0 != 1)) { SOURCE(24218, 24) { word pd409; pd409 = (* (( (ptr) (* (( (ptr) gf_c0577)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd409 ))))((* (( (ptr) (* (ptr) formal_c200008 ))+10) ), (* (( (ptr) gf_c0577)+91) ), 0, 2147483647, pd409) ; }; SOURCE(24244, 34) { word pd410; pd410 = (* (( (ptr) (* (( (ptr) gf_c0577)+259)/* var_c76564 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd410 ))))((* (( (ptr) (* (ptr) formal_c200008 ))+10) ), error_v64816.f2, 0, 2147483647, pd410) ; }; SOURCE(24280, 9) (* (ptr) formal_c0513 ) = 2; (* (( (ptr) formal_c0513)+1) ) = 4; return; }; }; }; (* (ptr) formal_c0513 ) = 0; (* (( (ptr) formal_c0513)+1) ) = 0; return; } static void NoName_Q3804(formal_c0519, formal_c200004, formal_c200005, formal_c200006, formal_c200007) word formal_c0519; word formal_c200004; word formal_c200005; word formal_c200006; word formal_c200007; { register ptr gf_c0578 = (ptr) &globalframe; if ((formal_c200005 == (* (( (ptr) (* (( (ptr) gf_c0578)+258)/* var_c76372 */ ))+4) ))) { { word errorMsg_v63792; errorMsg_v63792 = (* (ptr) formal_c200007 ); SOURCE(24669, 14) (* (( (ptr) formal_c200004)+5) ) = errorMsg_v63792; SOURCE(24685, 12) (* (ptr) formal_c0519 ) = 2; (* (( (ptr) formal_c0519)+1) ) = 3; return; }; }; (* (ptr) formal_c0519 ) = 0; (* (( (ptr) formal_c0519)+1) ) = 0; return; } static void NoName_Q3864(formal_c0525, formal_c200000, formal_c200001, formal_c200002, formal_c200003) word formal_c0525; word formal_c200000; word formal_c200001; word formal_c200002; word formal_c200003; { register ptr gf_c0579 = (ptr) &globalframe; if ((formal_c200001 == (* (( (ptr) (* (( (ptr) gf_c0579)+258)/* var_c76372 */ ))+4) ))) { { word errorMsg_v61548; errorMsg_v61548 = (* (ptr) formal_c200003 ); SOURCE(22041, 8) (* (ptr) formal_c0525 ) = 2; (* (( (ptr) formal_c0525)+1) ) = 2; return; }; }; (* (ptr) formal_c0525 ) = 0; (* (( (ptr) formal_c0525)+1) ) = 0; return; } /* file: GGWindowImpl, module: GGWindowImpl, compiled at: October 22, 1993 4:01:56 pm PDT */ extern void XR_install_GGWindowImpl() { NoName_Q3264(); } extern void XR_run_GGWindowImpl() { XR_Start(&globalframe); }