/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */
/* time: December 16, 1992 11:12:25 am PST */
/* C2C version: October 7, 1992 (native) */
/* ref-counting: off */
/* file: X11BounceDemo, module: X11BounceDemo */
/* switches: bcfhklnouw */
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [443400431,2731314984] X11BounceDemo";
typedef unsigned word, *ptr;
typedef unsigned char byte, *bPt;
typedef unsigned short half, *hPt;
typedef word (*fPt)();
typedef struct {word f0, f1, f2, f3, f4;} W5;
typedef W5 *W5Pt;
typedef struct {word f0, f1;} W2;
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;} W3;
typedef struct {W16 f; W3 r;} W19;
typedef struct {W8 f; word r;} W9;
typedef W9 *W9Pt;
typedef struct {word f0, f1, f2, f3;} W4;
typedef W4 *W4Pt;
typedef struct {W16 f; W4 r;} W20;
typedef struct {W16 f; W2 r;} W18;
#define SOURCE(p, l) /* source p, l */
#define FMAX(x, y, tx, ty) ( (tx=((float) x)) >= (ty=((float) y)) ? tx : ty )
static float fc54 = 2.0;
static float fc58 = 1.0;
#define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) )
#define IOP2(op, x, y) ( (word) ((x) op (y)) )
static float fc91 = 0.0;
static float fc100 = 0.1;
static float fc125 = 20.0;
static void NoName←Q1452();
static void X11BounceDemo←P0();
static void SquaresSizeHit←P60();
static void BitmapSizeHit←P120();
static void SafeResize←P180();
static void ShellResized←P240();
static void MoreHit←P300();
static void HideHit←P360();
static void MoreButtonsHit←P420();
static void DestroyOne←P480();
static void ResetHit←P540();
static void CounterHit←P600();
static void SetWait←P660();
static void CreateDemoWidget←P720();
static void RunOneBlob←P780();
static void BitmapChanged←P840();
static word NoName←Q1512();
static word NoName←Q1572();
static struct {unsigned f; char r[16];} string1 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"};
static struct {unsigned f; char r[4];} string2 = {65537, "\001\000\000"};
static struct {unsigned f; char r[48];} string3 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\033\115\307\000\300\214\060\055\310\100\244\005\004\162\145\163\164\214\216\257\300\033\115\307\000\300\214\060\055\310\100\244\261\000\000\000"};
static struct {unsigned f; char r[4];} string4 = {131074, "\004\003\000"};
static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\032\155\300\357\300\242\314\217\050\100\200\000\000"};
static struct {unsigned f; char r[4];} string6 = {196611, "\004W\316"};
static struct {unsigned f; char r[44];} string7 = {2752556, "\260\006\005\146\151\162\163\164\257\300\067\247\367\025\300\305\121\116\376\100\214\005\004\162\145\163\164\214\257\300\067\247\367\025\300\305\121\116\376\100\214\261\000"};
static struct {unsigned f; char r[4];} string8 = {131074, "\004\007\000"};
static struct {unsigned f; char r[4];} string9 = {131076, "\216\251\000"};
static struct {unsigned f; char r[4];} string10 = {65540, "\242\000\000"};
static struct {unsigned f; char r[20];} string11 = {1114132, "destroyed button\012\000\000"};
static struct {unsigned f; char r[16];} string12 = {917520, "create button\012\000"};
static struct {unsigned f; char r[8];} string13 = {393224, "reset\012\000"};
static struct {unsigned f; char r[12];} string14 = {524300, "count %g\000\000\000"};
static struct {unsigned f; char r[12];} string15 = {524300, "counted\012\000\000\000"};
static struct {unsigned f; char r[20];} string16 = {1179668, "changed wait mode\012\000"};
static struct {unsigned f; char r[20];} string17 = {1179668, "X11BounceDemo tool\000"};
static struct {unsigned f; char r[28];} string18 = {1572892, "destroy self button: %g \000\000\000"};
static struct {unsigned f; char r[16];} string19 = {851984, "X11BounceDemo\000\000"};
static struct {unsigned f; char r[20];} string20 = {1179668, "visibility change\012\000"};
static struct {unsigned f; char r[20];} string21 = {1048596, "bounce demo tool\000\000\000"};
static struct {unsigned f; char r[12];} string22 = {720908, "add square\012"};
static struct {unsigned f; char r[8];} string23 = {327688, "don't\000\000"};
static struct {unsigned f; char r[8];} string24 = {262152, "dont\000\000\000"};
static struct {unsigned f; char r[28];} string25 = {1769500, "Create widget demo instance"};
static struct {unsigned f; char r[8];} string26 = {393224, "remote\000"};
static struct {unsigned f; char r[8];} string27 = {327688, "local\000\000"};
static struct {unsigned f; char r[8];} string28 = {393224, "wait: \000"};
static struct {unsigned f; char r[16];} string29 = {786448, "more squares\000\000\000"};
static struct {unsigned f; char r[16];} string30 = {786448, "stop squares\000\000\000"};
static struct {unsigned f; char r[16];} string31 = {786448, "more buttons\000\000\000"};
static struct {unsigned f; char r[12];} string32 = {720908, "hide n seek"};
static struct {unsigned f; char r[16];} string33 = {983056, "count to 320000"};
static struct {unsigned f; char r[8];} string34 = {458760, "edit me"};
static struct {unsigned f; char r[12];} string35 = {524300, "resized\012\000\000\000"};
static struct {unsigned f; char r[16];} string36 = {851984, "\257\300\032\155\300\357\300\242\314\217\050\100\164\000\000"};
static struct {unsigned f; char r[12];} string37 = {720907, "\006\002\044\001\100\120\010\000\004\034\001"};
static struct {unsigned f; char r[16];} string38 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"};
static struct {unsigned f; char r[16];} string39 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"};
static struct {unsigned f; char r[16];} string40 = {851984, "\257\300\170\064\225\306\300\207\372\245\271\100\150\000\000"};
static struct {unsigned f; char r[16];} string41 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"};
static struct {unsigned f; char r[16];} string42 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string43 = {851984, "\257\300\242\215\274\036\300\123\155\142\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string44 = {851984, "\257\300\246\205\220\035\300\344\000\142\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string45 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"};
static struct {unsigned f; char r[16];} string46 = {851984, "\257\300\033\115\307\000\300\214\060\055\310\100\150\000\000"};
static struct {unsigned f; char r[16];} string47 = {851984, "\257\300\114\360\325\157\300\264\322\230\211\100\150\000\000"};
static struct {unsigned f; char r[16];} string48 = {851984, "\257\300\310\203\372\072\300\300\310\160\135\100\150\000\000"};
static struct {unsigned f; char r[16];} string49 = {851984, "\257\300\151\353\037\057\300\133\255\224\215\100\150\000\000"};
static struct {unsigned f; char r[16];} string50 = {851984, "\257\300\145\202\371\143\300\336\312\353\353\100\150\000\000"};
static struct {
word f0[48]; word f48; word f49; word f50;
word f51; word f52; word f53; word f54;
word f55; word f56; word f57; word f58;
word f59; word f60; word f61; word f62;
word f63; word f64; word f65; word f66;
word f67; word f68; word f69; word f70;
word f71; word f72; word f73; word f74;
word f75; word f76; word f77[2]; word f79;
word f80; word f81; word f82; word f83;
word f84; word f85[2]; word f87; word f88;
word f89[3]; word f92; word f93; word f94;
word f95; word f96; word f97; word f98[3];
word f101; word f102; word f103; word f104;
word f105; word f106; word f107[3]; word f110;
word f111; word f112; word f113; word f114;
word f115; word f116[3]; word f119; word f120;
word f121; word f122; word f123; word f124;
word f125[3]; word f128; word f129; word f130;
word f131; word f132; word f133; word f134[3];
word f137; word f138; word f139; word f140;
word f141; word f142; word f143[3]; word f146;
word f147; word f148; word f149; word f150;
word f151; word f152[2]; word f154; word f155;
word f156[3]; word f159; word f160; word f161;
word f162; word f163; word f164; word f165[2];
word f167; word f168; word f169; word f170;
word f171; word f172[13];
} globalframe = {
{0}, (word) BitmapChanged←P840, 0, (word) RunOneBlob←P780,
0, (word) CreateDemoWidget←P720, 0, (word) SetWait←P660,
0, (word) CounterHit←P600, 0, (word) ResetHit←P540,
0, (word) DestroyOne←P480, 0, (word) MoreButtonsHit←P420,
0, (word) HideHit←P360, 0, (word) MoreHit←P300,
0, (word) ShellResized←P240, 0, (word) SafeResize←P180,
0, (word) BitmapSizeHit←P120, 0, (word) SquaresSizeHit←P60,
0, (word) X11BounceDemo←P0, {0}, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 3, {0}, (word) 4294967295, (word) 4294967295,
{0}, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 3, {0},
(word) 2147483648, (word) 2147483648, (word) 150, (word) 400,
(word) 1, (word) 3, {0}, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 3,
(word) 3, {0}, (word) 2147483648, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 3,
{0}, (word) 2147483648, (word) 2147483648, (word) 4294967295,
(word) 100, (word) 2147483648, (word) 3, {0},
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 1, (word) 3, {0}, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 3, {0}, (word) 4294967295, (word) 4294967295,
{0}, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, (word) 2147483648, (word) 3, {0},
(word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648,
(word) 2147483648, {0}
};
static void NoName←Q1452()
{
register ptr gf←c0204 = (ptr) &globalframe;
word var←c28096;
(* (( (ptr) gf←c0204)+12) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2);
(* (( (ptr) gf←c0204)+13) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4);
(* (( (ptr) gf←c0204)+15) ) = (word) XR←GetTypeIndex((word) &string5, 0, (word) &string6);
(* (( (ptr) gf←c0204)+16) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string8);
(* (( (ptr) gf←c0204)+18) ) = (word) XR←GetTypeIndex((word) &string9, 0, (word) &string2);
(* (( (ptr) gf←c0204)+19) ) = (word) XR←GetTypeIndexS((word) (&string10));
(* (ptr) (( (bPt) gf←c0204)+80) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string11);
(* (ptr) (( (bPt) gf←c0204)+84) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string12);
(* (ptr) (( (bPt) gf←c0204)+88) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string13);
(* (ptr) (( (bPt) gf←c0204)+92) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string14);
(* (ptr) (( (bPt) gf←c0204)+96) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string15);
(* (ptr) (( (bPt) gf←c0204)+100) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string16);
(* (ptr) (( (bPt) gf←c0204)+104) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string17);
(* (ptr) (( (bPt) gf←c0204)+108) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string18);
(* (ptr) (( (bPt) gf←c0204)+112) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+18) ), (word) &string19);
(* (ptr) (( (bPt) gf←c0204)+116) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string20);
(* (ptr) (( (bPt) gf←c0204)+120) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string21);
(* (ptr) (( (bPt) gf←c0204)+124) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string22);
(* (ptr) (( (bPt) gf←c0204)+128) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string23);
(* (ptr) (( (bPt) gf←c0204)+132) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+18) ), (word) &string24);
(* (ptr) (( (bPt) gf←c0204)+136) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string25);
(* (ptr) (( (bPt) gf←c0204)+140) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string26);
(* (ptr) (( (bPt) gf←c0204)+144) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+18) ), (word) &string26);
(* (ptr) (( (bPt) gf←c0204)+148) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string27);
(* (ptr) (( (bPt) gf←c0204)+152) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+18) ), (word) &string27);
(* (ptr) (( (bPt) gf←c0204)+156) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string28);
(* (ptr) (( (bPt) gf←c0204)+160) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string29);
(* (ptr) (( (bPt) gf←c0204)+164) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string30);
(* (ptr) (( (bPt) gf←c0204)+168) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string31);
(* (ptr) (( (bPt) gf←c0204)+172) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string32);
(* (ptr) (( (bPt) gf←c0204)+176) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string33);
(* (ptr) (( (bPt) gf←c0204)+180) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string34);
(* (ptr) (( (bPt) gf←c0204)+184) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string19);
(* (ptr) (( (bPt) gf←c0204)+188) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0204)+12) ), (word) &string35);
(void) XR←DeclareGlobalFrame((word) "X11BounceDemo", &globalframe, (word) XR←GetTypeIndex((word) &string36, 0, (word) &string37)
, (word) (( (bPt) gf←c0204)+304)/* var←c25472 */ );
var←c28096 = (word) XR←ImportInterface((word) "Commander", (word) XR←GetTypeIndexS((word) (&string38)), 3);
(* (( (ptr) gf←c0204)+172)/* var←c26272 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 1310725);
var←c28096 = (word) XR←ImportInterface((word) "Imager", (word) XR←GetTypeIndexS((word) (&string39)), 84);
(* (( (ptr) gf←c0204)+184)/* var←c27872 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 1326850);
(void) XR←ImportProcS(var←c28096, 536578);
var←c28096 = (word) XR←ImportInterface((word) "ImagerBackdoor", (word) XR←GetTypeIndexS((word) (&string40)), 42);
(* (( (ptr) gf←c0204)+183)/* var←c27808 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 268700417);
var←c28096 = (word) XR←ImportInterface((word) "IO", (word) XR←GetTypeIndexS((word) (&string41)), 103);
(* (( (ptr) gf←c0204)+178)/* var←c26496 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 67910402);
(void) XR←ImportProcS(var←c28096, 1071364);
var←c28096 = (word) XR←ImportInterface((word) "Process", (word) XR←GetTypeIndexS((word) (&string42)), 22);
(* (( (ptr) gf←c0204)+177)/* var←c26464 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 4864);
(void) XR←ImportProcS(var←c28096, 264449);
(void) XR←ImportProcS(var←c28096, 526081);
var←c28096 = (word) XR←ImportInterface((word) "Random", (word) XR←GetTypeIndexS((word) (&string43)), 4);
(* (( (ptr) gf←c0204)+182)/* var←c27744 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 67895811);
var←c28096 = (word) XR←ImportInterface((word) "Real", (word) XR←GetTypeIndexS((word) (&string44)), 11);
(* (( (ptr) gf←c0204)+173)/* var←c26304 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 67371521);
var←c28096 = (word) XR←ImportInterface((word) "Xl", (word) XR←GetTypeIndexS((word) (&string45)), 218);
(* (( (ptr) gf←c0204)+174)/* var←c26336 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 534274);
(void) XR←ImportProcS(var←c28096, 1063940);
var←c28096 = (word) XR←ImportInterface((word) "XTk", (word) XR←GetTypeIndexS((word) (&string46)), 50);
(* (( (ptr) gf←c0204)+175)/* var←c26368 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 1050628);
(void) XR←ImportProcS(var←c28096, 524546);
(void) XR←ImportProcS(var←c28096, 274177);
(void) XR←ImportProcS(var←c28096, 535810);
(void) XR←ImportProcS(var←c28096, 1847299);
var←c28096 = (word) XR←ImportInterface((word) "XTkBitmapWidgets", (word) XR←GetTypeIndexS((word) (&string47)), 8);
(* (( (ptr) gf←c0204)+180)/* var←c26944 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 1574404);
(void) XR←ImportProcS(var←c28096, 525314);
(void) XR←ImportProcS(var←c28096, 67634434);
(void) XR←ImportProcS(var←c28096, 69992451);
var←c28096 = (word) XR←ImportInterface((word) "XTkContainers", (word) XR←GetTypeIndexS((word) (&string48)), 12);
(* (( (ptr) gf←c0204)+181)/* var←c27712 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 527106);
var←c28096 = (word) XR←ImportInterface((word) "XTkSlider", (word) XR←GetTypeIndexS((word) (&string49)), 8);
(* (( (ptr) gf←c0204)+176)/* var←c26400 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 71041287);
(void) XR←ImportProcS(var←c28096, 787715);
var←c28096 = (word) XR←ImportInterface((word) "XTkWidgets", (word) XR←GetTypeIndexS((word) (&string50)), 52);
(* (( (ptr) gf←c0204)+179)/* var←c26688 */ ) = var←c28096;
(void) XR←ImportProcS(var←c28096, 2099460);
(void) XR←ImportProcS(var←c28096, 526338);
(void) XR←ImportProcS(var←c28096, 67383809);
(void) XR←ImportProcS(var←c28096, 69998851);
(void) XR←ImportProcS(var←c28096, 67382273);
(void) XR←ImportProcS(var←c28096, 69998595);
(void) XR←ImportProcS(var←c28096, 70787331);
(void) XR←ImportProcS(var←c28096, 69742850);
(void) XR←ImportProcS(var←c28096, 71837959);
(void) XR←ImportProcS(var←c28096, 70786819);
(void) XR←ImportProcS(var←c28096, 72352268);
(void) XR←ImportProcS(var←c28096, 795651);
(void) XR←ImportProcS(var←c28096, 793347);
(void) XR←ImportProcS(var←c28096, 72097800);
}
static void X11BounceDemo←P0(formal←c048, formal←c047)
word formal←c048;
word formal←c047;
{
register ptr gf←c28128 = (ptr) &globalframe;
/* X11BounceDemo: */
SOURCE(157, 7443)
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
/* moved to installation proc */
SOURCE(7516, 84)
{
word pd51;
pd51 = (* (( (ptr) (* (( (ptr) gf←c28128)+172)/* var←c26272 */ ))+4) );
(void) ( *( (fPt) ((* (ptr) pd51 ))))((* (( (ptr) gf←c28128)+46) ), (word) (( (bPt) gf←c28128)+208)/* var←c25088 */ , (* (
( (ptr) gf←c28128)+34) ), 0, 1, pd51);
};
}
static void SquaresSizeHit←P60(slider←v8180, clientData←v8208, contents←v8236, event←v8264, reason←v8292)
word slider←v8180;
word clientData←v8208;
word contents←v8236;
word event←v8264;
word reason←v8292;
{
register ptr gf←c28160 = (ptr) &globalframe;
word i←v4228;
/* SquaresSizeHit: */
SOURCE(746, 146)
SOURCE(787, 32)
i←v4228 = XR←Narrow(clientData←v8208, (* (( (ptr) gf←c28160)+15) ));
SOURCE(821, 71)
{
word pd52;
word x53;
word x55;
float tf56;
float tf57;
word x59;
float tf60;
pd52 = (* (( (ptr) (* (( (ptr) gf←c28160)+173)/* var←c26304 */ ))+6) );
(* (ptr) i←v4228 ) = (word) ( *( (fPt) ((* (ptr) pd52 ))))((
tf60 = FMAX((((float)(int)(* (( (ptr) (* (( (ptr) i←v4228)+12) ))+41) ) * (
x53 = contents←v8236, *(float*)&x53
)) / (
x55 = (* (ptr) &fc54 ), *(float*)&x55
)), (
x59 = (* (ptr) &fc58 ), *(float*)&x59
), tf56, tf57), *(word*)&tf60
), pd52);
};
}
static void BitmapSizeHit←P120(slider←v8352, clientData←v8380, contents←v8408, event←v8436, reason←v8464)
word slider←v8352;
word clientData←v8380;
word contents←v8408;
word event←v8436;
word reason←v8464;
{
register ptr gf←c28192 = (ptr) &globalframe;
/* BitmapSizeHit: */
SOURCE(896, 187)
SOURCE(936, 147)
if ((reason←v8464 == 2) || (reason←v8464 == 3)) {
SOURCE(971, 112)
{
word i←v4272;
SOURCE(973, 32)
i←v4272 = XR←Narrow(clientData←v8380, (* (( (ptr) gf←c28192)+15) ));
SOURCE(1007, 33)
(* (( (ptr) i←v4272)+11) ) = contents←v8408;
SOURCE(1042, 41)
{
word pd61;
pd61 = (* (( (ptr) (* (( (ptr) gf←c28192)+174)/* var←c26336 */ ))+64) );
(void) ( *( (fPt) ((* (ptr) pd61 ))))((* (( (ptr) slider←v8352)+45) ), (word) (( (bPt) gf←c28192)+280)/* var←c25376 */ , i←v4272, 0, pd61)
;
};
};
};
}
static void SafeResize←P180(event←v8524, clientData←v8552, tq←v8580)
word event←v8524;
word clientData←v8552;
word tq←v8580;
{
register ptr gf←c28224 = (ptr) &globalframe;
word i←v4316;
word outer←v4344;
W5 g←v4372;
/* SafeResize: */
SOURCE(1090, 324)
SOURCE(1123, 32)
i←v4316 = XR←Narrow(clientData←v8552, (* (( (ptr) gf←c28224)+15) ));
SOURCE(1157, 73)
{
word pd62;
word x63;
float tf64;
pd62 = (* (( (ptr) (* (( (ptr) gf←c28224)+173)/* var←c26304 */ ))+6) );
outer←v4344 = (word) ( *( (fPt) ((* (ptr) pd62 ))))((
tf64 = (float)(int)(* (( (ptr) (* (( (ptr) i←v4316)+6) ))+41) ) * (
x63 = (* (( (ptr) i←v4316)+11) ), *(float*)&x63
), *(word*)&tf64
), pd62);
};
SOURCE(1232, 32)
g←v4372 = (* (W5Pt) (( (ptr) (* (( (ptr) i←v4316)+12) ))+39) );
SOURCE(1266, 58)
{
word x65;
g←v4372.f2 = (x65 = (outer←v4344 - IOP2( * , (int)2, (int)(* (( (ptr) (* (( (ptr) i←v4316)+12) ))+43) ))),
MAX((int)(word), x65, 1));
};
SOURCE(1326, 88)
if (( (int)g←v4372.f2 != (int)(* (( (ptr) (* (( (ptr) i←v4316)+12) ))+41) ))) {
SOURCE(1374, 40)
{
word pd66;
pd66 = (* (( (ptr) (* (( (ptr) gf←c28224)+175)/* var←c26368 */ ))+52) );
(void) ( *( (fPt) ((* (ptr) pd66 ))))((* (( (ptr) i←v4316)+12) ), g←v4372, 3, pd66);
};
};
}
static void ShellResized←P240(widget←v8640, registerData←v8668, callData←v8696, event←v8724)
word widget←v8640;
word registerData←v8668;
word callData←v8696;
word event←v8724;
{
register ptr gf←c28256 = (ptr) &globalframe;
word i←v4416;
word s←v4444;
/* ShellResized: */
SOURCE(1420, 239)
SOURCE(1459, 34)
i←v4416 = XR←Narrow(registerData←v8668, (* (( (ptr) gf←c28256)+15) ));
SOURCE(1495, 35)
{
float tf67;
s←v4444 = (
tf67 = (float)(int)(* (( (ptr) (* (( (ptr) i←v4416)+6) ))+41) ), *(word*)&tf67
);
};
SOURCE(1532, 127)
{
word x68;
word x69;
if (((
x68 = s←v4444, *(float*)&x68
) >= (
x69 = (* (ptr) &fc58 ), *(float*)&x69
))) {
SOURCE(1549, 64)
{
word x70;
*(float*)&s←v4444 = (float)(int)((* (( (ptr) (* (( (ptr) i←v4416)+12) ))+41) ) + IOP2( * , (int)2, (int)(* (( (ptr) (* (
( (ptr) i←v4416)+12) ))+43) ))) / (
x70 = s←v4444, *(float*)&x70
);
};
SOURCE(1615, 44)
{
word pd71;
pd71 = (* (( (ptr) (* (( (ptr) gf←c28256)+176)/* var←c26400 */ ))+9) );
(void) ( *( (fPt) ((* (ptr) pd71 ))))((* (( (ptr) i←v4416)+8) ), s←v4444, 0, pd71);
};
};
};
}
static void MoreHit←P300(widget←v8784, registerData←v8812, callData←v8840, event←v8868)
word widget←v8784;
word registerData←v8812;
word callData←v8840;
word event←v8868;
{
register ptr gf←c28288 = (ptr) &globalframe;
word i←v4488;
/* MoreHit: */
SOURCE(1668, 184)
SOURCE(1710, 34)
i←v4488 = XR←Narrow(registerData←v8812, (* (( (ptr) gf←c28288)+15) ));
SOURCE(1746, 25)
(* (( (ptr) i←v4488)+4) ) = ((* (( (ptr) i←v4488)+4) ) + 1);
SOURCE(1781, 35)
SOURCE(1782, 34)
{
W2 var←c26432;
{
W2 var←c080;
word var←c079;
var←c079 = XR←ExtensionAlloc(5);
{
word tmpAddr72;
tmpAddr72 = (word) var←c079;
(* (ptr) tmpAddr72 ) = ( ((word) (fPt) NoName←Q1512) );
(* (( (ptr) tmpAddr72) + 1) ) = 0;
(* (( (ptr) tmpAddr72) + 2) ) = (word) (( (bPt) gf←c28288)+200)/* var←c25056 */ ;
(* (( (ptr) tmpAddr72) + 3) ) = 0;
(* (( (ptr) tmpAddr72) + 4) ) = i←v4488;
};
(void) XR←Fork((word) &var←c080, var←c079);
var←c26432 = var←c080;
};
{
word pd73;
pd73 = (* (( (ptr) (* (( (ptr) gf←c28288)+177)/* var←c26464 */ ))+11) );
(void) ( *( (fPt) ((* (ptr) pd73 ))))(var←c26432, pd73);
};
};
SOURCE(1819, 33)
{
word pd74;
pd74 = (* (( (ptr) (* (( (ptr) gf←c28288)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd74 ))))((* (( (ptr) i←v4488)+1) ), (* (( (ptr) gf←c28288)+31) ), 0, 2147483647, pd74);
};
}
static void HideHit←P360(widget←v8928, registerData←v8956, callData←v8984, event←v9012)
word widget←v8928;
word registerData←v8956;
word callData←v8984;
word event←v9012;
{
register ptr gf←c28320 = (ptr) &globalframe;
word i←v4532;
word mapping←v4560;
/* HideHit: */
SOURCE(1858, 403)
SOURCE(1900, 34)
i←v4532 = XR←Narrow(registerData←v8956, (* (( (ptr) gf←c28320)+15) ));
SOURCE(1936, 93)
{
word var←c26528;
var←c26528 = (* (( (ptr) (* (( (ptr) i←v4532)+9) ))+44) );
if ((var←c26528 == 0)) {
mapping←v4560 = 1;
}
else {
mapping←v4560 = 0;
};
};
SOURCE(2031, 55)
{
word pd75;
pd75 = (* (( (ptr) (* (( (ptr) gf←c28320)+175)/* var←c26368 */ ))+49) );
(void) ( *( (fPt) ((* (ptr) pd75 ))))((* (( (ptr) i←v4532)+9) ), mapping←v4560, pd75);
};
SOURCE(2088, 56)
{
word pd76;
pd76 = (* (( (ptr) (* (( (ptr) gf←c28320)+175)/* var←c26368 */ ))+49) );
(void) ( *( (fPt) ((* (ptr) pd76 ))))((* (( (ptr) i←v4532)+10) ), mapping←v4560, pd76);
};
SOURCE(2146, 43)
{
word pd77;
pd77 = (* (( (ptr) (* (( (ptr) gf←c28320)+175)/* var←c26368 */ ))+51) );
(void) ( *( (fPt) ((* (ptr) pd77 ))))((* ((( (ptr) (* (( (ptr) i←v4532)+9) ))+31)) ), pd77);
};
SOURCE(2191, 40)
{
word pd78;
pd78 = (* (( (ptr) (* (( (ptr) gf←c28320)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd78 ))))((* (( (ptr) i←v4532)+1) ), (* (( (ptr) gf←c28320)+29) ), 0, 2147483647, pd78);
};
SOURCE(2233, 28)
{
word pd79;
pd79 = (* (( (ptr) (* (( (ptr) gf←c28320)+174)/* var←c26336 */ ))+43) );
(void) ( *( (fPt) ((* (ptr) pd79 ))))((* (( (ptr) (* (( (ptr) i←v4532)+6) ))+34) ), 0, pd79);
};
}
static void MoreButtonsHit←P420(widget←v9072, registerData←v9100, callData←v9128, event←v9156)
word widget←v9072;
word registerData←v9100;
word callData←v9128;
word event←v9156;
{
register ptr gf←c28352 = (ptr) &globalframe;
word i←v4604;
word container←v4632;
word x←v4660;
/* MoreButtonsHit: */
SOURCE(2285, 345)
SOURCE(2334, 34)
i←v4604 = XR←Narrow(registerData←v9100, (* (( (ptr) gf←c28352)+15) ));
SOURCE(2370, 33)
container←v4632 = (* (( (ptr) widget←v9072)+31) );
SOURCE(2405, 149)
{
word var←c26560;
{
W2 var←c26592;
{
word v←v24976;
(* (( (ptr) gf←c28352)+8)/* countw←v3448 */ ) = ((* (( (ptr) gf←c28352)+8)/* countw←v3448 */ ) + 1);
v←v24976 = (* (( (ptr) gf←c28352)+8)/* countw←v3448 */ );
var←c26592.f0 = 5;
var←c26592.f1 = v←v24976;
};
{
word pd80;
pd80 = (* (( (ptr) (* (( (ptr) gf←c28352)+178)/* var←c26496 */ ))+63) );
var←c26560 = (word) ( *( (fPt) ((* (ptr) pd80 ))))((* (( (ptr) gf←c28352)+27) ), var←c26592, pd80);
};
};
{
W19 var←c0101;
(* (W9Pt) (word) &var←c0101 ) = (* (W9Pt) (( (ptr) gf←c28352)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0101) + 9) ) = var←c26560;
(* (W4Pt) (( (ptr) (word) &var←c0101) + 10) ) = (* (W4Pt) (( (ptr) gf←c28352)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0101) + 14) ) = (word) (( (bPt) gf←c28352)+240)/* var←c25216 */ ;
(* (( (ptr) (word) &var←c0101) + 15) ) = i←v4604;
(* (( (ptr) (word) &var←c0101) + 16) ) = 0;
(* (( (ptr) (word) &var←c0101) + 17) ) = 0;
(* (( (ptr) (word) &var←c0101) + 18) ) = 0;
{
word pd81;
pd81 = (* (( (ptr) (* (( (ptr) gf←c28352)+179)/* var←c26688 */ ))+36) );
x←v4660 = (word) ( *( (fPt) ((* (ptr) pd81 ))))((word) (&var←c0101), pd81);
};
};
};
SOURCE(2556, 36)
{
word pd82;
pd82 = (* (( (ptr) (* (( (ptr) gf←c28352)+179)/* var←c26688 */ ))+31) );
(void) ( *( (fPt) ((* (ptr) pd82 ))))(container←v4632, x←v4660, 1, pd82);
};
SOURCE(2594, 36)
{
word pd83;
pd83 = (* (( (ptr) (* (( (ptr) gf←c28352)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd83 ))))((* (( (ptr) i←v4604)+1) ), (* (( (ptr) gf←c28352)+21) ), 0, 2147483647, pd83);
};
}
static void DestroyOne←P480(widget←v9216, registerData←v9244, callData←v9272, event←v9300)
word widget←v9216;
word registerData←v9244;
word callData←v9272;
word event←v9300;
{
register ptr gf←c28384 = (ptr) &globalframe;
word i←v4704;
/* DestroyOne: */
SOURCE(2636, 147)
SOURCE(2681, 34)
i←v4704 = XR←Narrow(registerData←v9244, (* (( (ptr) gf←c28384)+15) ));
SOURCE(2717, 25)
{
word pd84;
pd84 = (* (( (ptr) (* (( (ptr) gf←c28384)+175)/* var←c26368 */ ))+5) );
(void) ( *( (fPt) ((* (ptr) pd84 ))))(widget←v9216, 1, pd84);
};
SOURCE(2744, 39)
{
word pd85;
pd85 = (* (( (ptr) (* (( (ptr) gf←c28384)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd85 ))))((* (( (ptr) i←v4704)+1) ), (* (( (ptr) gf←c28384)+20) ), 0, 2147483647, pd85);
};
}
static void ResetHit←P540(widget←v9360, registerData←v9388, callData←v9416, event←v9444)
word widget←v9360;
word registerData←v9388;
word callData←v9416;
word event←v9444;
{
register ptr gf←c28416 = (ptr) &globalframe;
word i←v4748;
/* ResetHit: */
SOURCE(2789, 140)
SOURCE(2832, 34)
i←v4748 = XR←Narrow(registerData←v9388, (* (( (ptr) gf←c28416)+15) ));
SOURCE(2868, 13)
(* (( (ptr) i←v4748)+4) ) = 0;
SOURCE(2883, 16)
(* (( (ptr) i←v4748)+3) ) = XR←NewObject(4, (* (( (ptr) gf←c28416)+19) ));
SOURCE(2901, 28)
{
word pd86;
pd86 = (* (( (ptr) (* (( (ptr) gf←c28416)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd86 ))))((* (( (ptr) i←v4748)+1) ), (* (( (ptr) gf←c28416)+22) ), 0, 2147483647, pd86);
};
}
static void CounterHit←P600(widget←v9504, registerData←v9532, callData←v9560, event←v9588)
word widget←v9504;
word registerData←v9532;
word callData←v9560;
word event←v9588;
{
register ptr gf←c28448 = (ptr) &globalframe;
word i←v4792;
word b←v4820 = 1;
/* CounterHit: */
SOURCE(2935, 298)
SOURCE(2980, 34)
i←v4792 = XR←Narrow(registerData←v9532, (* (( (ptr) gf←c28448)+15) ));
SOURCE(3032, 85)
{
register word i1←v4864 = 0;
if (( (int)i1←v4864 > (int)1000)) {
goto lab←L100001;
};
lab←L100004: ;
SOURCE(3061, 56)
{
register word i2←v4908 = 0;
if (( (int)i2←v4908 > (int)1000)) {
goto lab←L100005;
};
lab←L100008: ;
SOURCE(3090, 27)
b←v4820 = (0 == b←v4820);
if (( (int)i2←v4908 >= (int)1000)) {
goto lab←L100005;
};
i2←v4908 = (i2←v4908 + 1);
goto lab←L100008;
lab←L100005: ;
};
if (( (int)i1←v4864 >= (int)1000)) {
goto lab←L100001;
};
i1←v4864 = (i1←v4864 + 1);
goto lab←L100004;
lab←L100001: ;
};
SOURCE(3119, 82)
{
word var←c26720;
{
W2 var←c26752;
{
W2 var←c26784;
word v←v24928;
v←v24928 = ((* (( (ptr) i←v4792)+5) ) + 1);
(* (( (ptr) i←v4792)+5) ) = v←v24928;
var←c26784.f0 = 5;
var←c26784.f1 = v←v24928;
var←c26752 = var←c26784;
};
{
word pd87;
pd87 = (* (( (ptr) (* (( (ptr) gf←c28448)+178)/* var←c26496 */ ))+63) );
var←c26720 = (word) ( *( (fPt) ((* (ptr) pd87 ))))((* (( (ptr) gf←c28448)+23) ), var←c26752, pd87);
};
};
{
word pd88;
pd88 = (* (( (ptr) (* (( (ptr) gf←c28448)+179)/* var←c26688 */ ))+40) );
(void) ( *( (fPt) ((* (ptr) pd88 ))))(widget←v9504, var←c26720, 2, pd88);
};
};
SOURCE(3203, 30)
{
word pd89;
pd89 = (* (( (ptr) (* (( (ptr) gf←c28448)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd89 ))))((* (( (ptr) i←v4792)+1) ), (* (( (ptr) gf←c28448)+24) ), 0, 2147483647, pd89);
};
}
static void SetWait←P660(widget←v9648, registerData←v9676, callData←v9704, event←v9732)
word widget←v9648;
word registerData←v9676;
word callData←v9704;
word event←v9732;
{
register ptr gf←c28480 = (ptr) &globalframe;
word i←v4952;
/* SetWait: */
SOURCE(3239, 139)
SOURCE(3281, 34)
i←v4952 = XR←Narrow(registerData←v9676, (* (( (ptr) gf←c28480)+15) ));
SOURCE(3317, 19)
(* (( (ptr) i←v4952)+2) ) = callData←v9704;
SOURCE(3338, 40)
{
word pd90;
pd90 = (* (( (ptr) (* (( (ptr) gf←c28480)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd90 ))))((* (( (ptr) i←v4952)+1) ), (* (( (ptr) gf←c28480)+25) ), 0, 2147483647, pd90);
};
}
static void CreateDemoWidget←P720(formal←c0173, cmd←v9792)
word formal←c0173;
word cmd←v9792;
{
register ptr gf←c28512 = (ptr) &globalframe;
word result←v9836;
word msg←v9864;
word i←v4996;
word shell←v5024;
word bitmap←v5052;
word header←v5080;
word toggle←v5108;
word logWidget←v5136;
word moreSquares←v5164;
word reset←v5192;
word squaresSizeSlider←v5220;
word bitmapSizeSlider←v5248;
word moreButtons←v5276;
word hide←v5304;
word count←v5332;
word edit←v5360;
word controls←v5388;
word action←v5416;
word upper←v5444;
word contents←v5472;
/* CreateDemoWidget: */
SOURCE(3414, 2451)
SOURCE(3414, 2451)
result←v9836 = 0;
SOURCE(3414, 2451)
msg←v9864 = 0;
SOURCE(3458, 50)
{
word var←c26880;
var←c26880 = XR←NewObject(52, (* (( (ptr) gf←c28512)+15) ));
(* (ptr) var←c26880 ) = 8;
(* (( (ptr) var←c26880)+11) ) = (* (ptr) &fc91 );
(* (( (ptr) gf←c28512)+9)/* debugLastInstance←v3616 */ ) = var←c26880;
};
i←v4996 = (* (( (ptr) gf←c28512)+9)/* debugLastInstance←v3616 */ );
SOURCE(3510, 138)
{
W20 var←c0135;
(* (W9Pt) (word) &var←c0135 ) = (* (W9Pt) (( (ptr) gf←c28512)+91)/* var←c25664 */ );
(* (( (ptr) (word) &var←c0135) + 9) ) = 0;
(* (( (ptr) (word) &var←c0135) + 10) ) = (* (( (ptr) gf←c28512)+26) );
(* (( (ptr) (word) &var←c0135) + 11) ) = 0;
(* (( (ptr) (word) &var←c0135) + 12) ) = (* (( (ptr) gf←c28512)+28) );
(* (( (ptr) (word) &var←c0135) + 13) ) = 0;
(* (( (ptr) (word) &var←c0135) + 14) ) = 0;
(* (( (ptr) (word) &var←c0135) + 15) ) = 0;
(* (( (ptr) (word) &var←c0135) + 16) ) = 0;
(* (( (ptr) (word) &var←c0135) + 17) ) = 1;
(* (( (ptr) (word) &var←c0135) + 18) ) = 1;
(* (( (ptr) (word) &var←c0135) + 19) ) = 1;
{
word pd92;
pd92 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+6) );
shell←v5024 = (word) ( *( (fPt) ((* (ptr) pd92 ))))((word) (&var←c0135), pd92);
};
};
(* (( (ptr) i←v4996)+6) ) = shell←v5024;
SOURCE(3650, 157)
{
word pd93;
pd93 = (* (( (ptr) (* (( (ptr) gf←c28512)+180)/* var←c26944 */ ))+4) );
bitmap←v5052 = (word) ( *( (fPt) ((* (ptr) pd93 ))))((* (W9Pt) (( (ptr) gf←c28512)+100)/* var←c25728 */ ), (word) (( (bPt) gf←c28512)+192)
/* var←c25024 */ , i←v4996, pd93);
};
(* (( (ptr) i←v4996)+12) ) = bitmap←v5052;
SOURCE(3809, 109)
{
word pd94;
pd94 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+35) );
header←v5080 = (word) ( *( (fPt) ((* (ptr) pd94 ))))((* (W9Pt) (( (ptr) gf←c28512)+109)/* var←c25792 */ ), (* (( (ptr) gf←c28512)+30)
), (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ ), pd94);
};
SOURCE(3920, 174)
{
word var←c27008;
{
word var←c27040;
word var←c27072;
var←c27040 = XR←NewObject(12, (* (( (ptr) gf←c28512)+16) ));
var←c27072 = var←c27040;
(* (ptr) var←c27072 ) = (* (( (ptr) gf←c28512)+39) );
(* (( (ptr) var←c27072)+2) ) = XR←NewObject(12, (* (( (ptr) gf←c28512)+16) ));
var←c27072 = (* (( (ptr) var←c27072)+2) );
(* (ptr) var←c27072 ) = (* (( (ptr) gf←c28512)+37) );
(* (( (ptr) var←c27072)+1) ) = (* (( (ptr) gf←c28512)+38) );
(* (( (ptr) var←c27072)+2) ) = XR←NewObject(12, (* (( (ptr) gf←c28512)+16) ));
var←c27072 = (* (( (ptr) var←c27072)+2) );
(* (ptr) var←c27072 ) = (* (( (ptr) gf←c28512)+35) );
(* (( (ptr) var←c27072)+1) ) = (* (( (ptr) gf←c28512)+36) );
(* (( (ptr) var←c27072)+2) ) = XR←NewObject(12, (* (( (ptr) gf←c28512)+16) ));
var←c27072 = (* (( (ptr) var←c27072)+2) );
(* (ptr) var←c27072 ) = (* (( (ptr) gf←c28512)+32) );
(* (( (ptr) var←c27072)+1) ) = (* (( (ptr) gf←c28512)+33) );
var←c27008 = var←c27040;
};
{
W18 var←c0142;
(* (W9Pt) (word) &var←c0142 ) = (* (W9Pt) (( (ptr) gf←c28512)+118)/* var←c25856 */ );
(* (( (ptr) (word) &var←c0142) + 9) ) = var←c27008;
(* (( (ptr) (word) &var←c0142) + 10) ) = 1;
(* (( (ptr) (word) &var←c0142) + 11) ) = (word) (( (bPt) gf←c28512)+216)/* var←c25120 */ ;
(* (( (ptr) (word) &var←c0142) + 12) ) = i←v4996;
(* (( (ptr) (word) &var←c0142) + 13) ) = 0;
(* (W4Pt) (( (ptr) (word) &var←c0142) + 14) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
{
word pd95;
pd95 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+45) );
toggle←v5108 = (word) ( *( (fPt) ((* (ptr) pd95 ))))((word) (&var←c0142), pd95);
};
};
};
SOURCE(4096, 92)
{
word pd96;
pd96 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+53) );
logWidget←v5136 = (word) ( *( (fPt) ((* (ptr) pd96 ))))((* (W9Pt) (( (ptr) gf←c28512)+127)/* var←c25920 */ ), 0, pd96)
;
};
SOURCE(4190, 104)
{
W19 var←c0145;
(* (W9Pt) (word) &var←c0145 ) = (* (W9Pt) (( (ptr) gf←c28512)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0145) + 9) ) = (* (( (ptr) gf←c28512)+40) );
(* (W4Pt) (( (ptr) (word) &var←c0145) + 10) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0145) + 14) ) = (word) (( (bPt) gf←c28512)+264)/* var←c25312 */ ;
(* (( (ptr) (word) &var←c0145) + 15) ) = i←v4996;
(* (( (ptr) (word) &var←c0145) + 16) ) = 0;
(* (( (ptr) (word) &var←c0145) + 17) ) = 0;
(* (( (ptr) (word) &var←c0145) + 18) ) = 0;
{
word pd97;
pd97 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+36) );
moreSquares←v5164 = (word) ( *( (fPt) ((* (ptr) pd97 ))))((word) (&var←c0145), pd97);
};
};
SOURCE(4296, 99)
{
W19 var←c0147;
(* (W9Pt) (word) &var←c0147 ) = (* (W9Pt) (( (ptr) gf←c28512)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0147) + 9) ) = (* (( (ptr) gf←c28512)+41) );
(* (W4Pt) (( (ptr) (word) &var←c0147) + 10) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0147) + 14) ) = (word) (( (bPt) gf←c28512)+232)/* var←c25184 */ ;
(* (( (ptr) (word) &var←c0147) + 15) ) = i←v4996;
(* (( (ptr) (word) &var←c0147) + 16) ) = 0;
(* (( (ptr) (word) &var←c0147) + 17) ) = 0;
(* (( (ptr) (word) &var←c0147) + 18) ) = 0;
{
word pd98;
pd98 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+36) );
reset←v5192 = (word) ( *( (fPt) ((* (ptr) pd98 ))))((word) (&var←c0147), pd98);
};
};
SOURCE(4397, 174)
{
word pd99;
pd99 = (* (( (ptr) (* (( (ptr) gf←c28512)+176)/* var←c26400 */ ))+5) );
squaresSizeSlider←v5220 = (word) ( *( (fPt) ((* (ptr) pd99 ))))((* (W9Pt) (( (ptr) gf←c28512)+136)/* var←c25984 */ ), 0, (* (ptr) &fc100 ), i←v4996, 0, (word) (
( (bPt) gf←c28512)+296)/* var←c25440 */
, 0, pd99);
};
(* (( (ptr) i←v4996)+7) ) = squaresSizeSlider←v5220;
SOURCE(4573, 171)
{
word pd101;
pd101 = (* (( (ptr) (* (( (ptr) gf←c28512)+176)/* var←c26400 */ ))+5) );
bitmapSizeSlider←v5248 = (word) ( *( (fPt) ((* (ptr) pd101 ))))((* (W9Pt) (( (ptr) gf←c28512)+136)/* var←c25984 */ ), 0, (* (ptr) &fc100 ), i←v4996, 0, (word) (
( (bPt) gf←c28512)+288)/* var←c25408 */
, 0, pd101);
};
(* (( (ptr) i←v4996)+8) ) = bitmapSizeSlider←v5248;
SOURCE(4746, 111)
{
W19 var←c0151;
(* (W9Pt) (word) &var←c0151 ) = (* (W9Pt) (( (ptr) gf←c28512)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0151) + 9) ) = (* (( (ptr) gf←c28512)+42) );
(* (W4Pt) (( (ptr) (word) &var←c0151) + 10) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0151) + 14) ) = (word) (( (bPt) gf←c28512)+248)/* var←c25248 */ ;
(* (( (ptr) (word) &var←c0151) + 15) ) = i←v4996;
(* (( (ptr) (word) &var←c0151) + 16) ) = 0;
(* (( (ptr) (word) &var←c0151) + 17) ) = 0;
(* (( (ptr) (word) &var←c0151) + 18) ) = 0;
{
word pd102;
pd102 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+36) );
moreButtons←v5276 = (word) ( *( (fPt) ((* (ptr) pd102 ))))((word) (&var←c0151), pd102);
};
};
SOURCE(4859, 95)
{
W19 var←c0153;
(* (W9Pt) (word) &var←c0153 ) = (* (W9Pt) (( (ptr) gf←c28512)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0153) + 9) ) = (* (( (ptr) gf←c28512)+43) );
(* (W4Pt) (( (ptr) (word) &var←c0153) + 10) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0153) + 14) ) = (word) (( (bPt) gf←c28512)+256)/* var←c25280 */ ;
(* (( (ptr) (word) &var←c0153) + 15) ) = i←v4996;
(* (( (ptr) (word) &var←c0153) + 16) ) = 0;
(* (( (ptr) (word) &var←c0153) + 17) ) = 0;
(* (( (ptr) (word) &var←c0153) + 18) ) = 0;
{
word pd103;
pd103 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+36) );
hide←v5304 = (word) ( *( (fPt) ((* (ptr) pd103 ))))((word) (&var←c0153), pd103);
};
};
SOURCE(4956, 113)
{
W19 var←c0155;
(* (W9Pt) (word) &var←c0155 ) = (* (W9Pt) (( (ptr) gf←c28512)+78)/* var←c25536 */ );
(* (( (ptr) (word) &var←c0155) + 9) ) = (* (( (ptr) gf←c28512)+44) );
(* (W4Pt) (( (ptr) (word) &var←c0155) + 10) ) = (* (W4Pt) (( (ptr) gf←c28512)+87)/* var←c25600 */ );
(* (( (ptr) (word) &var←c0155) + 14) ) = (word) (( (bPt) gf←c28512)+224)/* var←c25152 */ ;
(* (( (ptr) (word) &var←c0155) + 15) ) = i←v4996;
(* (( (ptr) (word) &var←c0155) + 16) ) = 0;
(* (( (ptr) (word) &var←c0155) + 17) ) = 0;
(* (( (ptr) (word) &var←c0155) + 18) ) = 0;
{
word pd104;
pd104 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+36) );
count←v5332 = (word) ( *( (fPt) ((* (ptr) pd104 ))))((word) (&var←c0155), pd104);
};
};
(* (( (ptr) i←v4996)+10) ) = count←v5332;
SOURCE(5071, 63)
{
word pd105;
pd105 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+37) );
edit←v5360 = (word) ( *( (fPt) ((* (ptr) pd105 ))))((* (W9Pt) (( (ptr) gf←c28512)+145)/* var←c26048 */ ), (* (( (ptr) gf←c28512)+45)
), (* (W4Pt) (( (ptr) gf←c28512)+154)/* var←c26112 */ ), pd105);
};
(* (( (ptr) i←v4996)+9) ) = edit←v5360;
SOURCE(5136, 163)
{
word var←c27232;
{
word var←c27264;
word var←c27296;
var←c27264 = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = var←c27264;
{
word pd106;
pd106 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+48) );
(* (ptr) var←c27296 ) = (word) ( *( (fPt) ((* (ptr) pd106 ))))(1, pd106);
};
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = moreSquares←v5164;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = reset←v5192;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = squaresSizeSlider←v5220;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
{
word pd107;
pd107 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+48) );
(* (ptr) var←c27296 ) = (word) ( *( (fPt) ((* (ptr) pd107 ))))(1, pd107);
};
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = hide←v5304;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = edit←v5360;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = count←v5332;
(* (( (ptr) var←c27296)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27296 = (* (( (ptr) var←c27296)+1) );
(* (ptr) var←c27296 ) = moreButtons←v5276;
var←c27232 = var←c27264;
};
{
word pd108;
pd108 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+28) );
controls←v5388 = (word) ( *( (fPt) ((* (ptr) pd108 ))))((* (W9Pt) (( (ptr) gf←c28512)+158)/* var←c26176 */ ), var←c27232, (word) -1, pd108)
;
};
};
SOURCE(5301, 68)
{
word var←c27392;
{
word var←c27424;
word var←c27456;
var←c27424 = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27456 = var←c27424;
(* (ptr) var←c27456 ) = bitmap←v5052;
(* (( (ptr) var←c27456)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27456 = (* (( (ptr) var←c27456)+1) );
(* (ptr) var←c27456 ) = controls←v5388;
var←c27392 = var←c27424;
};
{
word pd109;
pd109 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+29) );
action←v5416 = (word) ( *( (fPt) ((* (ptr) pd109 ))))((* (W9Pt) (( (ptr) gf←c28512)+158)/* var←c26176 */ ), var←c27392, (word) -1, pd109)
;
};
};
SOURCE(5371, 114)
{
word var←c27488;
{
word var←c27520;
word var←c27552;
var←c27520 = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27552 = var←c27520;
(* (ptr) var←c27552 ) = header←v5080;
(* (( (ptr) var←c27552)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27552 = (* (( (ptr) var←c27552)+1) );
(* (ptr) var←c27552 ) = toggle←v5108;
(* (( (ptr) var←c27552)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27552 = (* (( (ptr) var←c27552)+1) );
{
word pd110;
pd110 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+48) );
(* (ptr) var←c27552 ) = (word) ( *( (fPt) ((* (ptr) pd110 ))))(1, pd110);
};
(* (( (ptr) var←c27552)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27552 = (* (( (ptr) var←c27552)+1) );
(* (ptr) var←c27552 ) = logWidget←v5136;
(* (( (ptr) var←c27552)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27552 = (* (( (ptr) var←c27552)+1) );
(* (ptr) var←c27552 ) = bitmapSizeSlider←v5248;
var←c27488 = var←c27520;
};
{
word pd111;
pd111 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+28) );
upper←v5444 = (word) ( *( (fPt) ((* (ptr) pd111 ))))((* (W9Pt) (( (ptr) gf←c28512)+158)/* var←c26176 */ ), var←c27488, (word) -1, pd111)
;
};
};
SOURCE(5487, 67)
{
word var←c27616;
{
word var←c27648;
word var←c27680;
var←c27648 = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27680 = var←c27648;
(* (ptr) var←c27680 ) = upper←v5444;
(* (( (ptr) var←c27680)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c28512)+13) ));
var←c27680 = (* (( (ptr) var←c27680)+1) );
(* (ptr) var←c27680 ) = action←v5416;
var←c27616 = var←c27648;
};
{
word pd112;
pd112 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+28) );
contents←v5472 = (word) ( *( (fPt) ((* (ptr) pd112 ))))((* (W9Pt) (( (ptr) gf←c28512)+158)/* var←c26176 */ ), var←c27616, (word) -1, pd112)
;
};
};
SOURCE(5556, 42)
{
word pd113;
pd113 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+54) );
(* (( (ptr) i←v4996)+1) ) = (word) ( *( (fPt) ((* (ptr) pd113 ))))(logWidget←v5136, pd113);
};
SOURCE(5600, 43)
{
word pd114;
pd114 = (* (( (ptr) (* (( (ptr) gf←c28512)+181)/* var←c27712 */ ))+15) );
(void) ( *( (fPt) ((* (ptr) pd114 ))))(bitmap←v5052, 0, pd114);
};
SOURCE(5645, 69)
{
word pd115;
pd115 = (* (( (ptr) (* (( (ptr) gf←c28512)+175)/* var←c26368 */ ))+12) );
(void) ( *( (fPt) ((* (ptr) pd115 ))))(contents←v5472, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c28512)+175)/* var←c26368 */ ))+19)
) ), (word) (( (bPt) gf←c28512)+272)/* var←c25344 */ , i←v4996, pd115);
};
SOURCE(5716, 74)
{
word pd116;
pd116 = (* (( (ptr) (* (( (ptr) gf←c28512)+175)/* var←c26368 */ ))+12) );
(void) ( *( (fPt) ((* (ptr) pd116 ))))(contents←v5472, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c28512)+175)/* var←c26368 */ ))+17)
) ), (word) (( (bPt) gf←c28512)+272)/* var←c25344 */ , i←v4996, pd116);
};
SOURCE(5792, 41)
{
word pd117;
pd117 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+12) );
(void) ( *( (fPt) ((* (ptr) pd117 ))))(shell←v5024, contents←v5472, pd117);
};
SOURCE(5835, 30)
{
word pd118;
pd118 = (* (( (ptr) (* (( (ptr) gf←c28512)+179)/* var←c26688 */ ))+13) );
(void) ( *( (fPt) ((* (ptr) pd118 ))))(shell←v5024, (* (W5Pt) (( (ptr) gf←c28512)+167)/* var←c26240 */ ), 0, 1, pd118)
;
};
/* removed tail goto */
(* (ptr) formal←c0173 ) = result←v9836;
(* (( (ptr) formal←c0173)+1) ) = msg←v9864;
return;
}
static void RunOneBlob←P780(i←v4200)
word i←v4200;
{
register ptr gf←c28544 = (ptr) &globalframe;
word key←v5516;
word ct←v5544;
word dx←v5572;
word dy←v5600;
/* RunOneBlob: */
SOURCE(5871, 1115)
SOURCE(5906, 16)
key←v5516 = (* (( (ptr) i←v4200)+3) );
SOURCE(5924, 61)
{
word pd119;
pd119 = (* (( (ptr) (* (( (ptr) gf←c28544)+180)/* var←c26944 */ ))+9) );
ct←v5544 = (word) ( *( (fPt) ((* (ptr) pd119 ))))((* (( (ptr) i←v4200)+12) ), 1, pd119);
};
SOURCE(5987, 48)
{
word pd120;
float tf121;
pd120 = (* (( (ptr) (* (( (ptr) gf←c28544)+182)/* var←c27744 */ ))+6) );
dx←v5572 = (
tf121 = (float)(int)(word) ( *( (fPt) ((* (ptr) pd120 ))))(0, (word) -100, 100, pd120), *(word*)&tf121
);
};
SOURCE(6037, 48)
{
word pd122;
float tf123;
pd122 = (* (( (ptr) (* (( (ptr) gf←c28544)+182)/* var←c27744 */ ))+6) );
dy←v5600 = (
tf123 = (float)(int)(word) ( *( (fPt) ((* (ptr) pd122 ))))(0, (word) -100, 100, pd122), *(word*)&tf123
);
};
SOURCE(6087, 12)
{
word x124;
word x126;
*(float*)&dx←v5572 = (
x124 = dx←v5572, *(float*)&x124
) / (
x126 = (* (ptr) &fc125 ), *(float*)&x126
);
};
SOURCE(6101, 12)
{
word x127;
word x128;
*(float*)&dy←v5600 = (
x127 = dy←v5600, *(float*)&x127
) / (
x128 = (* (ptr) &fc125 ), *(float*)&x128
);
};
SOURCE(6115, 871)
if ((ct←v5544 != 0)) {
SOURCE(6130, 867)
{
W4 oldBox←v5656;
W4 newBox←v5684;
W4 r←v5712;
word x←v5740;
word y←v5768;
word var←c27840;
word c←v24880;
SOURCE(6132, 41)
oldBox←v5656.f0 = (* (ptr) &fc58 );
oldBox←v5656.f1 = (* (ptr) &fc58 );
oldBox←v5656.f2 = (* (ptr) &fc91 );
oldBox←v5656.f3 = (* (ptr) &fc91 );
newBox←v5684 = oldBox←v5656;
SOURCE(6175, 50)
{
word pd129;
pd129 = (* (( (ptr) (* (( (ptr) gf←c28544)+183)/* var←c27808 */ ))+15) );
(void) ( *( (fPt) ((* (ptr) pd129 ))))((word) &r←v5712, ct←v5544, pd129);
};
SOURCE(6227, 20)
{
word x130;
word x131;
word x132;
*(float*)&x←v5740 = (
x130 = r←v5712.f0, *(float*)&x130
) + ((
x131 = r←v5712.f2, *(float*)&x131
) / (
x132 = (* (ptr) &fc54 ), *(float*)&x132
));
};
SOURCE(6249, 20)
{
word x133;
word x134;
word x135;
*(float*)&y←v5768 = (
x133 = r←v5712.f1, *(float*)&x133
) + ((
x134 = r←v5712.f3, *(float*)&x134
) / (
x135 = (* (ptr) &fc54 ), *(float*)&x135
));
};
SOURCE(6271, 47)
{
word pd136;
pd136 = (* (( (ptr) (* (( (ptr) gf←c28544)+177)/* var←c26464 */ ))+13) );
(void) ( *( (fPt) ((* (ptr) pd136 ))))(1, pd136);
};
SOURCE(6320, 666)
lab←L100013: ;
{
word tc137;
word tc138;
if ((key←v5516 == (* (( (ptr) i←v4200)+3) ))) {
c←v24880 = (* (( (ptr) (* (( (ptr) i←v4200)+12) ))+34) );
if ((c←v24880 != 0)) {
var←c27840 = (0 != (* (( (ptr) c←v24880)+15) ));
}
else {
var←c27840 = 0;
};
tc138 = (word) (0 != var←c27840);
}
else {
tc138 = (word) 0;
};
if (tc138) {
tc137 = (word) ((* (( (ptr) (* (( (ptr) i←v4200)+12) ))+37) ) == 0);
}
else {
tc137 = (word) 0;
};
if (tc137) {
}
else {
goto lab←L100011;
};
};
SOURCE(6407, 8)
{
word x139;
word x140;
*(float*)&x←v5740 = (
x139 = x←v5740, *(float*)&x139
) + (
x140 = dx←v5572, *(float*)&x140
);
};
SOURCE(6417, 94)
{
word x141;
word x142;
if (((
x141 = dx←v5572, *(float*)&x141
) > (
x142 = (* (ptr) &fc91 ), *(float*)&x142
))) {
SOURCE(6432, 37)
{
word x143;
word x144;
word x145;
if (((
x143 = x←v5740, *(float*)&x143
) > (
x144 = r←v5712.f0, *(float*)&x144
) + (
x145 = r←v5712.f2, *(float*)&x145
))) {
SOURCE(6451, 6)
{
word x146;
*(float*)&dx←v5572 = - (
x146 = dx←v5572, *(float*)&x146
);
};
SOURCE(6459, 10)
{
word x147;
word x148;
word x149;
*(float*)&x←v5740 = (
x147 = x←v5740, *(float*)&x147
) + ((
x148 = (* (ptr) &fc54 ), *(float*)&x148
) * (
x149 = dx←v5572, *(float*)&x149
));
};
};
};
}
else {
SOURCE(6478, 33)
{
word x150;
word x151;
if (((
x150 = x←v5740, *(float*)&x150
) < (
x151 = r←v5712.f0, *(float*)&x151
))) {
SOURCE(6493, 6)
{
word x152;
*(float*)&dx←v5572 = - (
x152 = dx←v5572, *(float*)&x152
);
};
SOURCE(6501, 10)
{
word x153;
word x154;
word x155;
*(float*)&x←v5740 = (
x153 = x←v5740, *(float*)&x153
) + ((
x154 = (* (ptr) &fc54 ), *(float*)&x154
) * (
x155 = dx←v5572, *(float*)&x155
));
};
};
};
};
};
SOURCE(6515, 8)
{
word x156;
word x157;
*(float*)&y←v5768 = (
x156 = y←v5768, *(float*)&x156
) + (
x157 = dy←v5600, *(float*)&x157
);
};
SOURCE(6525, 94)
{
word x158;
word x159;
if (((
x158 = dy←v5600, *(float*)&x158
) > (
x159 = (* (ptr) &fc91 ), *(float*)&x159
))) {
SOURCE(6540, 37)
{
word x160;
word x161;
word x162;
if (((
x160 = y←v5768, *(float*)&x160
) > (
x161 = r←v5712.f1, *(float*)&x161
) + (
x162 = r←v5712.f3, *(float*)&x162
))) {
SOURCE(6559, 6)
{
word x163;
*(float*)&dy←v5600 = - (
x163 = dy←v5600, *(float*)&x163
);
};
SOURCE(6567, 10)
{
word x164;
word x165;
word x166;
*(float*)&y←v5768 = (
x164 = y←v5768, *(float*)&x164
) + ((
x165 = (* (ptr) &fc54 ), *(float*)&x165
) * (
x166 = dy←v5600, *(float*)&x166
));
};
};
};
}
else {
SOURCE(6586, 33)
{
word x167;
word x168;
if (((
x167 = y←v5768, *(float*)&x167
) < (
x168 = r←v5712.f1, *(float*)&x168
))) {
SOURCE(6601, 6)
{
word x169;
*(float*)&dy←v5600 = - (
x169 = dy←v5600, *(float*)&x169
);
};
SOURCE(6609, 10)
{
word x170;
word x171;
word x172;
*(float*)&y←v5768 = (
x170 = y←v5768, *(float*)&x170
) + ((
x171 = (* (ptr) &fc54 ), *(float*)&x171
) * (
x172 = dy←v5600, *(float*)&x172
));
};
};
};
};
};
SOURCE(6623, 65)
{
word x173;
*(float*)&newBox←v5684.f0 = (
x173 = x←v5740, *(float*)&x173
) - (float)(int)(* (ptr) i←v4200 );
};
{
word x174;
*(float*)&newBox←v5684.f1 = (
x174 = y←v5768, *(float*)&x174
) - (float)(int)(* (ptr) i←v4200 );
};
{
word x175;
*(float*)&newBox←v5684.f2 = (
x175 = x←v5740, *(float*)&x175
) + (float)(int)(* (ptr) i←v4200 );
};
{
word x176;
*(float*)&newBox←v5684.f3 = (
x176 = y←v5768, *(float*)&x176
) + (float)(int)(* (ptr) i←v4200 );
};
SOURCE(6690, 33)
{
word pd177;
pd177 = (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+52) );
(void) ( *( (fPt) ((* (ptr) pd177 ))))(ct←v5544, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+55)
) ), pd177);
};
SOURCE(6725, 26)
{
word pd178;
pd178 = (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+67) );
(void) ( *( (fPt) ((* (ptr) pd178 ))))(ct←v5544, oldBox←v5656, pd178);
};
SOURCE(6753, 33)
{
word pd179;
pd179 = (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+52) );
(void) ( *( (fPt) ((* (ptr) pd179 ))))(ct←v5544, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+54)
) ), pd179);
};
SOURCE(6788, 26)
{
word pd180;
pd180 = (* (( (ptr) (* (( (ptr) gf←c28544)+184)/* var←c27872 */ ))+67) );
(void) ( *( (fPt) ((* (ptr) pd180 ))))(ct←v5544, newBox←v5684, pd180);
};
SOURCE(6816, 15)
oldBox←v5656 = newBox←v5684;
SOURCE(6833, 120)
{
word var←c27904;
var←c27904 = (* (( (ptr) i←v4200)+2) );
if ((var←c27904 == (* (( (ptr) gf←c28544)+38) ))) {
SOURCE(6864, 38)
{
word pd181;
pd181 = (* (( (ptr) (* (( (ptr) gf←c28544)+180)/* var←c26944 */ ))+8) );
(void) ( *( (fPt) ((* (ptr) pd181 ))))((* (( (ptr) i←v4200)+12) ), 0, pd181);
};
}
else {
if ((var←c27904 == (* (( (ptr) gf←c28544)+36) ))) {
SOURCE(6916, 37)
{
word pd182;
pd182 = (* (( (ptr) (* (( (ptr) gf←c28544)+180)/* var←c26944 */ ))+8) );
(void) ( *( (fPt) ((* (ptr) pd182 ))))((* (( (ptr) i←v4200)+12) ), 1, pd182);
};
};
};
};
SOURCE(6971, 15)
{
word pd183;
pd183 = (* (( (ptr) (* (( (ptr) gf←c28544)+177)/* var←c26464 */ ))+23) );
(void) ( *( (fPt) ((* (ptr) pd183 ))))(pd183);
};
goto lab←L100013;
lab←L100011: ;
};
};
}
static void BitmapChanged←P840(widget←v9924, reason←v9952, data←v9980)
word widget←v9924;
word reason←v9952;
word data←v9980;
{
register ptr gf←c28576 = (ptr) &globalframe;
word i←v5812;
/* BitmapChanged: */
SOURCE(7004, 489)
SOURCE(7056, 26)
i←v5812 = XR←Narrow(data←v9980, (* (( (ptr) gf←c28576)+15) ));
SOURCE(7084, 16)
(* (( (ptr) i←v5812)+3) ) = XR←NewObject(4, (* (( (ptr) gf←c28576)+19) ));
SOURCE(7102, 391)
{
word var←c27936;
var←c27936 = reason←v9952;
switch (var←c27936) {
case 0: case 1: case 2:
SOURCE(7150, 345)
{
word fsz←v5856;
SOURCE(7152, 16)
{
float tf184;
fsz←v5856 = (
tf184 = (float)(int)(* (ptr) i←v5812 ), *(word*)&tf184
);
};
SOURCE(7170, 120)
{
W2 var←c27968;
W2 var←c28000;
var←c27968.f0 = (* (( (ptr) widget←v9924)+42) );
var←c27968.f1 = (* (( (ptr) widget←v9924)+41) );
var←c28000.f0 = 0;
var←c28000.f1 = 0;
{
word pd185;
pd185 = (* (( (ptr) (* (( (ptr) gf←c28576)+180)/* var←c26944 */ ))+10) );
(void) ( *( (fPt) ((* (ptr) pd185 ))))(widget←v9924, var←c27968, 1, var←c28000, pd185);
};
};
SOURCE(7293, 82)
{
word pd186;
word x187;
word x188;
float tf189;
pd186 = (* (( (ptr) (* (( (ptr) gf←c28576)+176)/* var←c26400 */ ))+9) );
(void) ( *( (fPt) ((* (ptr) pd186 ))))((* (( (ptr) i←v5812)+7) ), (
tf189 = (
x187 = fsz←v5856, *(float*)&x187
) / (float)(int)(x188 = (* (( (ptr) (* (( (ptr) i←v5812)+12) ))+41) ),
MAX((int)(word), x188, 1)), *(word*)&tf189
), 0, pd186);
};
SOURCE(7377, 75)
{
register word n←v5900 = 0;
register word noName←c28032;
noName←c28032 = (* (( (ptr) i←v5812)+4) );
if (( (int)n←v5900 >= (int)noName←c28032)) {
goto lab←L100015;
};
lab←L100018: ;
SOURCE(7417, 35)
SOURCE(7418, 34)
{
W2 var←c28064;
{
W2 var←c0200;
word var←c0199;
var←c0199 = XR←ExtensionAlloc(5);
{
word tmpAddr190;
tmpAddr190 = (word) var←c0199;
(* (ptr) tmpAddr190 ) = ( ((word) (fPt) NoName←Q1572) );
(* (( (ptr) tmpAddr190) + 1) ) = 0;
(* (( (ptr) tmpAddr190) + 2) ) = (word) (( (bPt) gf←c28576)+200)/* var←c25056 */ ;
(* (( (ptr) tmpAddr190) + 3) ) = 0;
(* (( (ptr) tmpAddr190) + 4) ) = i←v5812;
};
(void) XR←Fork((word) &var←c0200, var←c0199);
var←c28064 = var←c0200;
};
{
word pd191;
pd191 = (* (( (ptr) (* (( (ptr) gf←c28576)+177)/* var←c26464 */ ))+11) );
(void) ( *( (fPt) ((* (ptr) pd191 ))))(var←c28064, pd191);
};
};
n←v5900 = (n←v5900 + 1);
if (( (int)n←v5900 < (int)noName←c28032)) {
goto lab←L100018;
};
lab←L100015: ;
};
SOURCE(7463, 30)
{
word pd192;
pd192 = (* (( (ptr) (* (( (ptr) gf←c28576)+178)/* var←c26496 */ ))+93) );
(void) ( *( (fPt) ((* (ptr) pd192 ))))((* (( (ptr) i←v5812)+1) ), (* (( (ptr) gf←c28576)+47) ), 0, 2147483647, pd192);
};
};
break;
};
};
}
static word NoName←Q1512(formal←c081)
word formal←c081;
{
word var←c083;
word var←c082;
/* intermediary proc for a FORK, nArgs: 1, nRets: 0 */
var←c083 = (* (( (ptr) formal←c081)+4) );
var←c082 = (* (( (ptr) formal←c081)+2) );
formal←c081 = XR←ExtensionFree(formal←c081);
(void) ( *( (fPt) ((* (ptr) var←c082 ))))(var←c083, var←c082);
return(0);
}
static word NoName←Q1572(formal←c0201)
word formal←c0201;
{
word var←c0203;
word var←c0202;
/* intermediary proc for a FORK, nArgs: 1, nRets: 0 */
var←c0203 = (* (( (ptr) formal←c0201)+4) );
var←c0202 = (* (( (ptr) formal←c0201)+2) );
formal←c0201 = XR←ExtensionFree(formal←c0201);
(void) ( *( (fPt) ((* (ptr) var←c0202 ))))(var←c0203, var←c0202);
return(0);
}
/* file: X11BounceDemo, module: X11BounceDemo, compiled at: December 16, 1992 11:12:22 am PST */
extern void XR←install←X11BounceDemo() {
NoName←Q1452();
}
extern void XR←run←X11BounceDemo() { XR←Start(&globalframe); }