/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: October 19, 1993 1:11:41 pm PDT */ /* C2C version: April 20, 1993 (sun4) */ /* ref-counting: off */ /* file: TEditFormatImpl, module: TEditFormatImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [3497914003,3721723652] TEditFormatImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1;} W2; typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; word r;} W9; typedef W9 *W9Pt; typedef struct {word f0, f1, f2;} W3; typedef W3 *W3Pt; typedef struct {W8 f; W8 r;} W16; typedef struct {W16 f; W16 r;} W32; typedef struct {word f0, f1, f2, f3;} W4; typedef W2 *W2Pt; typedef struct {W8 f; W2 r;} W10; typedef struct {W8 f; W3 r;} W11; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef struct {W8 f; W4 r;} W12; typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef struct {W8 f; W7 r;} W15; typedef struct {W16 f; W15 r;} W31; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef W4 *W4Pt; static float fc1 = 0.5; #define SOURCE(p, l) /* source p, l */ #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR_RaiseBoundsFault()) : (idx) ) #define MIN(cast, x, y) ( ( cast x) < ( cast y) ? (x) : (y) ) #define FMAX(x, y, tx, ty) ( (tx=((float) x)) >= (ty=((float) y)) ? tx : ty ) static float fc100 = 1.0; #define IOP2(op, x, y) ( (word) ((x) op (y)) ) static float fc125 = 0.0; #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) #define SGNCK(i) ((int) (word) (i) < 0 ? XR_RaiseArithmeticFault(): i ) #define FMIN(x, y, tx, ty) ( (tx=((float) x)) <= (ty=((float) y)) ? tx : ty ) #define INEG(x) ( (word) ( - ((int) (word) (x)) ) ) static float fc486 = 2.0; static float fc493 = -1.0; static float fc498 = 0.1; static float fc500 = -1.25; static float fc503 = 8.25; static float fc506 = 6.25; static float fc509 = 3.5; static float fc516 = 0.8; static float fc519 = 0.15; static float fc522 = 0.95; static float fc525 = 0.7; static void NoName_Q11952(); static void TEditFormatImpl_P0(); static word FloorI_P60(); static word CeilingI_P120(); static word Allocate_P180(); static void Release_P240(); static word CheckWidthCache_P300(); static void EnterWidthCache_P360(); static void ExpandChars_P420(); static void ExpandFormats_P480(); static word InitScratchRefs_P540(); static void AllocScratchRefs_P600(); static void ReleaseScratchRefs_P660(); static word GetWidthArray_P720(); static word GetTabStop_P780(); static word ComputeTabWidth_P840(); static void ComputePositionVector_P900(); static void FormatLine_P960(); static void Complain_P1080(); static void NormalFormatLine_P1140(); static word NoName_Q12012(); static word NoName_Q12072(); static void NodeStyleExtents_P3576(); static word AmplArt_P3636(); static void TryBreakAfterDash_P3792(); static word GetHyphWidth_P4668(); static word FetchHyph_P1200(); static void RegisterHyphenation_P1260(); static void action_P5172(); static word CharClass_P1320(); static void Paint_P1380(); static void PaintBackground_P1440(); static void Action_P5340(); static void Boxes_P5400(); static void EmitBox_P5460(); static void NormalPaint_P1500(); static word NoName_Q12132(); static void ShowProc_P5784(); static void do_P5940(); static void Resolve_P1560(); static void NormalResolve_P1620(); static void CharPosition_P1680(); static void NormalCharPosition_P1740(); static void BoundingBox_P1800(); static void NormalBoundingBox_P1860(); static void BBPoint_P6288(); static void BBox_P6348(); static void RegisterCharacterArtwork_P1920(); static void UnregisterCharacterArtwork_P1980(); static word GetCharacterArtworkClass_P2040(); static void VRulePaint_P2100(); static word VRuleFormat_P2160(); static void PlaceholderPaint_P2220(); static void path_P6696(); static word PlaceholderFormat_P2280(); static void RegisterArtwork_P2340(); static void UnRegisterArtwork_P2400(); static word GetArtworkClass_P2460(); static word GetArtworkClassForNode_P2520(); static word ArtworkEnabled_P2580(); static word SetArtworkEnabled_P2640(); static void Silly_P2700(); static void NoName_Q12192(); static void NoName_Q12252(); static void NoName_Q12312(); static struct {unsigned f; char r[16];} string2 = {851984, "\257\300\320\175\356\223\300\335\324\377\004\101\270\000\000"}; static struct {unsigned f; char r[20];} string3 = {1114129, "\006\007\000\001\004\001\010\001\024\001\040\001\070\001\100\104\001\000\000"}; static struct {unsigned f; char r[16];} string4 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\101\254\000\000"}; static struct {unsigned f; char r[4];} string5 = {131074, "\004\005\000"}; static struct {unsigned f; char r[4];} string6 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string7 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string8 = {851984, "\257\300\320\175\356\223\300\335\324\377\004\102\360\000\000"}; static struct {unsigned f; char r[4];} string9 = {65540, "\251\000\000"}; static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\101\174\000\000"}; static struct {unsigned f; char r[4];} string11 = {131074, "\003\010\000"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\101\160\000\000"}; static struct {unsigned f; char r[16];} string13 = {851984, "\257\300\320\175\356\223\300\335\324\377\004\102\330\000\000"}; static struct {unsigned f; char r[16];} string14 = {851984, "\257\300\320\175\356\223\300\335\324\377\004\101\364\000\000"}; static struct {unsigned f; char r[4];} string15 = {131074, "\003\001\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[16];} string17 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\164\000\000"}; static struct {unsigned f; char r[24];} string18 = {1441814, "\006\011\000\001\004\001\010\001\014\001\020\001\024\001\034\001\100\124\001\100\130\001\000"}; static struct {unsigned f; char r[16];} string19 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\200\000\000"}; static struct {unsigned f; char r[16];} string20 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\230\000\000"}; static struct {unsigned f; char r[12];} string21 = {655370, "\011\000$ \000\010\004@\216\000"}; static struct {unsigned f; char r[16];} string22 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\260\000\000"}; static struct {unsigned f; char r[44];} string23 = {2752556, "\260\006\005\146\151\162\163\164\257\300\320\175\356\223\300\335\324\377\004\100\324\005\004\162\145\163\164\214\257\300\320\175\356\223\300\335\324\377\004\100\324\261\000"}; static struct {unsigned f; char r[4];} string24 = {131074, "\004\007\000"}; static struct {unsigned f; char r[32];} string25 = {2031648, "\205\210\257\300\231\102\273\313\300\344\000\142\023\100\164\040\100\176\257\300\227\306\253\223\300\107\163\142\023\103\370"}; static struct {unsigned f; char r[16];} string26 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\104\304\000\000"}; static struct {unsigned f; char r[24];} string27 = {1376277, "\007\000\001\002\007\020\001\002\000\007\036\002\004\003\002\004\014\016\015\003\001\000\000"}; static struct {unsigned f; char r[8];} string28 = {327688, "Tioga\000\000"}; static struct {unsigned f; char r[8];} string29 = {327688, "Error\000\000"}; static struct {unsigned f; char r[12];} string30 = {655372, "FormatLine\000"}; static struct {unsigned f; char r[8];} string31 = {393224, "PTioga\000"}; static struct {unsigned f; char r[12];} string32 = {720908, "Placeholder"}; static struct {unsigned f; char r[8];} string33 = {458760, "Postfix"}; static struct {unsigned f; char r[8];} string34 = {458760, "Artwork"}; static struct {unsigned f; char r[48];} string35 = {2949168, "TEditFormatImpl: Character Artwork Format bug\000\000"}; static struct {unsigned f; char r[20];} string36 = {1245204, "AllocateNewLineInfo"}; static struct {unsigned f; char r[48];} string37 = {2883632, "TEditFormatImpl: Character Artwork Paint bug\000\000\000"}; static struct {unsigned f; char r[8];} string38 = {327688, "Silly\000\000"}; static struct {unsigned f; char r[8];} string39 = {327688, "VRule\000\000"}; static struct {unsigned f; char r[16];} string40 = {851984, "\257\300\320\175\356\223\300\335\324\377\004\100\164\000\000"}; static struct {unsigned f; char r[36];} string41 = {2228258, "\006\012\054\001\100\104\001\100\154\004\007\100\204\001\100\214\001\100\220\001\100\224\001\100\230\001\100\234\001\101\000\004\137\377\000"}; static struct {unsigned f; char r[16];} string42 = {851984, "\257\300\055\153\222\376\300\327\164\352\142\100\150\000\000"}; static struct {unsigned f; char r[16];} string43 = {851984, "\257\300\006<7[\300;CV\364@h\000\000"}; static struct {unsigned f; char r[16];} string44 = {851984, "\257\300\255\053\300\023\300\142\135\315\105\100\150\000\000"}; static struct {unsigned f; char r[16];} string45 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"}; static struct {unsigned f; char r[16];} string46 = {851984, "\257\300\170\064\225\306\300\207\372\245\271\100\150\000\000"}; static struct {unsigned f; char r[16];} string47 = {851984, "\257\300\046\300\267\143\300\022\215\240\122\100\150\000\000"}; static struct {unsigned f; char r[16];} string48 = {851984, "\257\300\136\334\260\200\300\074\241\343\352\100\150\000\000"}; static struct {unsigned f; char r[16];} string49 = {851984, "\257\300\167\317\044\003\300\277\140\004\026\100\150\000\000"}; static struct {unsigned f; char r[16];} string50 = {851984, "\257\300\375\366\273\111\300\156\046\321\053\100\150\000\000"}; static struct {unsigned f; char r[16];} string51 = {851984, "\257\300\051\356\171\277\300\146\001\231\234\100\150\000\000"}; static struct {unsigned f; char r[16];} string52 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string53 = {851984, "\257\300\240\236\274\171\300\344\000\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string54 = {851984, "\257\300\246\205\220\035\300\344\000\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string55 = {851984, "\257\300\242\221\264\046\300\105\142\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string56 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string57 = {851984, "\257\300\275\320\070\317\300\004\110\363\366\100\150\000\000"}; static struct {unsigned f; char r[16];} string58 = {851984, "\257\300\346\312\312\137\300\332\074\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string59 = {851984, "\257\300\353\035\365\325\300\132\075\117\337\100\150\000\000"}; static struct {unsigned f; char r[16];} string60 = {851984, "\257\300\261\010\310\246\300\337\340\027\051\100\150\000\000"}; static struct {unsigned f; char r[16];} string61 = {851984, "\257\300\042\224\360\026\300\243\254\175\360\100\150\000\000"}; static struct {unsigned f; char r[16];} string62 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\150\000\000"}; static struct {unsigned f; char r[32];} string63 = {2031648, "\211\023\022\105\170\164\162\141\106\157\162\155\141\164\111\156\146\157\122\145\160\300\353\351\362\137\300\156\374\044\211"}; static struct { word f0[188]; } globalframe = { {0} }; static void NoName_Q11952() { register ptr gf_c0802 = (ptr) &globalframe; word var_c70380; (* (( (ptr) gf_c0802)+8)/* minAmplifySpace_v4036 */ ) = (* (ptr) &fc1 ); (* (( (ptr) gf_c0802)+9)/* minHyphLetters_v4064 */ ) = 7; (* (( (ptr) gf_c0802)+13)/* scratchLineInfoLimit_v4232 */ ) = 300; (* (( (ptr) gf_c0802)+16)/* widthCacheSize_v4372 */ ) = 12; (* (( (ptr) gf_c0802)+165) ) = ( ((word) (fPt) TEditFormatImpl_P0) ); (* (( (ptr) gf_c0802)+163) ) = ( ((word) (fPt) FloorI_P60) ); (* (( (ptr) gf_c0802)+161) ) = ( ((word) (fPt) CeilingI_P120) ); (* (( (ptr) gf_c0802)+159) ) = ( ((word) (fPt) Allocate_P180) ); (* (( (ptr) gf_c0802)+157) ) = ( ((word) (fPt) Release_P240) ); (* (( (ptr) gf_c0802)+155) ) = ( ((word) (fPt) CheckWidthCache_P300) ); (* (( (ptr) gf_c0802)+153) ) = ( ((word) (fPt) EnterWidthCache_P360) ); (* (( (ptr) gf_c0802)+151) ) = ( ((word) (fPt) ExpandChars_P420) ); (* (( (ptr) gf_c0802)+149) ) = ( ((word) (fPt) ExpandFormats_P480) ); (* (( (ptr) gf_c0802)+147) ) = ( ((word) (fPt) InitScratchRefs_P540) ); (* (( (ptr) gf_c0802)+145) ) = ( ((word) (fPt) AllocScratchRefs_P600) ); (* (( (ptr) gf_c0802)+143) ) = ( ((word) (fPt) ReleaseScratchRefs_P660) ); (* (( (ptr) gf_c0802)+141) ) = ( ((word) (fPt) GetWidthArray_P720) ); (* (( (ptr) gf_c0802)+139) ) = ( ((word) (fPt) GetTabStop_P780) ); (* (( (ptr) gf_c0802)+137) ) = ( ((word) (fPt) ComputeTabWidth_P840) ); (* (( (ptr) gf_c0802)+135) ) = ( ((word) (fPt) ComputePositionVector_P900) ); (* (( (ptr) gf_c0802)+133) ) = ( ((word) (fPt) FormatLine_P960) ); (* (( (ptr) gf_c0802)+131) ) = ( ((word) (fPt) Complain_P1080) ); (* (( (ptr) gf_c0802)+129) ) = ( ((word) (fPt) NormalFormatLine_P1140) ); (* (( (ptr) gf_c0802)+127) ) = ( ((word) (fPt) FetchHyph_P1200) ); (* (( (ptr) gf_c0802)+125) ) = ( ((word) (fPt) RegisterHyphenation_P1260) ); (* (( (ptr) gf_c0802)+123) ) = ( ((word) (fPt) CharClass_P1320) ); (* (( (ptr) gf_c0802)+121) ) = ( ((word) (fPt) Paint_P1380) ); (* (( (ptr) gf_c0802)+119) ) = ( ((word) (fPt) PaintBackground_P1440) ); (* (( (ptr) gf_c0802)+117) ) = ( ((word) (fPt) NormalPaint_P1500) ); (* (( (ptr) gf_c0802)+115) ) = ( ((word) (fPt) Resolve_P1560) ); (* (( (ptr) gf_c0802)+113) ) = ( ((word) (fPt) NormalResolve_P1620) ); (* (( (ptr) gf_c0802)+111) ) = ( ((word) (fPt) CharPosition_P1680) ); (* (( (ptr) gf_c0802)+109) ) = ( ((word) (fPt) NormalCharPosition_P1740) ); (* (( (ptr) gf_c0802)+107) ) = ( ((word) (fPt) BoundingBox_P1800) ); (* (( (ptr) gf_c0802)+105) ) = ( ((word) (fPt) NormalBoundingBox_P1860) ); (* (( (ptr) gf_c0802)+103) ) = ( ((word) (fPt) RegisterCharacterArtwork_P1920) ); (* (( (ptr) gf_c0802)+101) ) = ( ((word) (fPt) UnregisterCharacterArtwork_P1980) ); (* (( (ptr) gf_c0802)+99) ) = ( ((word) (fPt) GetCharacterArtworkClass_P2040) ); (* (( (ptr) gf_c0802)+97) ) = ( ((word) (fPt) VRulePaint_P2100) ); (* (( (ptr) gf_c0802)+95) ) = ( ((word) (fPt) VRuleFormat_P2160) ); (* (( (ptr) gf_c0802)+93) ) = ( ((word) (fPt) PlaceholderPaint_P2220) ); (* (( (ptr) gf_c0802)+91) ) = ( ((word) (fPt) PlaceholderFormat_P2280) ); (* (( (ptr) gf_c0802)+89) ) = ( ((word) (fPt) RegisterArtwork_P2340) ); (* (( (ptr) gf_c0802)+87) ) = ( ((word) (fPt) UnRegisterArtwork_P2400) ); (* (( (ptr) gf_c0802)+85) ) = ( ((word) (fPt) GetArtworkClass_P2460) ); (* (( (ptr) gf_c0802)+83) ) = ( ((word) (fPt) GetArtworkClassForNode_P2520) ); (* (( (ptr) gf_c0802)+81) ) = ( ((word) (fPt) ArtworkEnabled_P2580) ); (* (( (ptr) gf_c0802)+79) ) = ( ((word) (fPt) SetArtworkEnabled_P2640) ); (* (( (ptr) gf_c0802)+77) ) = ( ((word) (fPt) Silly_P2700) ); (* (( (ptr) gf_c0802)+42) ) = (word) XR_GetTypeIndex((word) &string2, 0, (word) &string3); (* (( (ptr) gf_c0802)+43) ) = (word) XR_GetTypeIndex((word) &string4, 0, (word) &string5); (* (( (ptr) gf_c0802)+44) ) = (word) XR_GetTypeIndex((word) &string6, 0, (word) &string7); (* (( (ptr) gf_c0802)+45) ) = (word) XR_GetTypeIndex((word) &string8, 0, (word) &string7); (* (( (ptr) gf_c0802)+46) ) = (word) XR_GetTypeIndexS((word) (&string9)); (* (( (ptr) gf_c0802)+47) ) = (word) XR_GetTypeIndex((word) &string10, 0, (word) &string11); (* (( (ptr) gf_c0802)+48) ) = (word) XR_GetTypeIndex((word) &string12, 0, (word) &string7); (* (( (ptr) gf_c0802)+50) ) = (word) XR_GetTypeIndex((word) &string13, 0, (word) &string7); (* (( (ptr) gf_c0802)+51) ) = (word) XR_GetTypeIndex((word) &string14, 0, (word) &string15); (* (( (ptr) gf_c0802)+52) ) = (word) XR_GetTypeIndex((word) &string16, 0, (word) &string7); (* (( (ptr) gf_c0802)+53) ) = (word) XR_GetTypeIndex((word) &string17, 0, (word) &string18); (* (( (ptr) gf_c0802)+55) ) = (word) XR_GetTypeIndexS((word) (&string19)); (* (( (ptr) gf_c0802)+56) ) = (word) XR_GetTypeIndex((word) &string20, 0, (word) &string21); (* (( (ptr) gf_c0802)+58) ) = (word) XR_GetTypeIndexS((word) (&string22)); (* (( (ptr) gf_c0802)+59) ) = (word) XR_GetTypeIndex((word) &string23, 0, (word) &string24); (* (( (ptr) gf_c0802)+62) ) = (word) XR_GetTypeIndexS((word) (&string25)); (* (( (ptr) gf_c0802)+63) ) = (word) XR_GetTypeIndex((word) &string26, 0, (word) &string27); (* (ptr) (( (bPt) gf_c0802)+256) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string28); (* (ptr) (( (bPt) gf_c0802)+260) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string29); (* (ptr) (( (bPt) gf_c0802)+264) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string30); (* (ptr) (( (bPt) gf_c0802)+268) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string31); (* (ptr) (( (bPt) gf_c0802)+272) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+52) ), (word) &string32); (* (ptr) (( (bPt) gf_c0802)+276) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string33); (* (ptr) (( (bPt) gf_c0802)+280) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string34); (* (ptr) (( (bPt) gf_c0802)+284) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+52) ), (word) &string35); (* (ptr) (( (bPt) gf_c0802)+288) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string36); (* (ptr) (( (bPt) gf_c0802)+292) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+52) ), (word) &string37); (* (ptr) (( (bPt) gf_c0802)+296) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string38); (* (ptr) (( (bPt) gf_c0802)+300) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string32); (* (ptr) (( (bPt) gf_c0802)+304) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0802)+44) ), (word) &string39); (void) XR_DeclareGlobalFrame((word) "TEditFormatImpl", &globalframe, (word) XR_GetTypeIndex((word) &string40, 0, (word) &string41) , (word) (( (bPt) gf_c0802)+660)/* var_c59916 */ ); var_c70380 = (word) XR_ImportInterface((word) "Atom", (word) XR_GetTypeIndexS((word) (&string42)), 16); (* (( (ptr) gf_c0802)+181)/* var_c63052 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67895555); var_c70380 = (word) XR_ImportInterface((word) "CodeTimer", (word) XR_GetTypeIndexS((word) (&string43)), 21); (* (( (ptr) gf_c0802)+169)/* var_c60140 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 526850); (void) XR_ImportProcS(var_c70380, 526338); var_c70380 = (word) XR_ImportInterface((word) "Convert", (word) XR_GetTypeIndexS((word) (&string44)), 73); (* (( (ptr) gf_c0802)+180)/* var_c62988 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67901187); var_c70380 = (word) XR_ImportInterface((word) "Imager", (word) XR_GetTypeIndexS((word) (&string45)), 84); (* (( (ptr) gf_c0802)+183)/* var_c63436 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 801283); (void) XR_ImportProcS(var_c70380, 789506); (void) XR_ImportProcS(var_c70380, 266241); (void) XR_ImportProcS(var_c70380, 1326338); (void) XR_ImportProcS(var_c70380, 531202); (void) XR_ImportProcS(var_c70380, 795907); (void) XR_ImportProcS(var_c70380, 526594); (void) XR_ImportProcS(var_c70380, 793603); (void) XR_ImportProcS(var_c70380, 529666); (void) XR_ImportProcS(var_c70380, 530178); (void) XR_ImportProcS(var_c70380, 271361); (void) XR_ImportProcS(var_c70380, 530946); (void) XR_ImportProcS(var_c70380, 1326850); (void) XR_ImportProcS(var_c70380, 265985); (void) XR_ImportProcS(var_c70380, 536578); (void) XR_ImportProcS(var_c70380, 526338); var_c70380 = (word) XR_ImportInterface((word) "ImagerBackdoor", (word) XR_GetTypeIndexS((word) (&string46)), 42); (* (( (ptr) gf_c0802)+186)/* var_c68012 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67373057); var_c70380 = (word) XR_ImportInterface((word) "ImagerFont", (word) XR_GetTypeIndexS((word) (&string47)), 26); (* (( (ptr) gf_c0802)+173)/* var_c61100 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 268963074); (void) XR_ImportProcS(var_c70380, 268701185); (void) XR_ImportProcS(var_c70380, 134744578); var_c70380 = (word) XR_ImportInterface((word) "NodeReader", (word) XR_GetTypeIndexS((word) (&string48)), 12); (* (( (ptr) gf_c0802)+170)/* var_c60812 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67634690); (void) XR_ImportProcS(var_c70380, 201852162); (void) XR_ImportProcS(var_c70380, 67633154); var_c70380 = (word) XR_ImportInterface((word) "NodeStyle", (word) XR_GetTypeIndexS((word) (&string49)), 41); (* (( (ptr) gf_c0802)+175)/* var_c61260 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67643138); (void) XR_ImportProcS(var_c70380, 67380481); (void) XR_ImportProcS(var_c70380, 67635458); (void) XR_ImportProcS(var_c70380, 67639554); (void) XR_ImportProcS(var_c70380, 67635202); var_c70380 = (word) XR_ImportInterface((word) "NodeStyleOps", (word) XR_GetTypeIndexS((word) (&string50)), 23); (* (( (ptr) gf_c0802)+171)/* var_c60844 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 790275); (void) XR_ImportProcS(var_c70380, 790019); (void) XR_ImportProcS(var_c70380, 524546); (void) XR_ImportProcS(var_c70380, 67108864); var_c70380 = (word) XR_ImportInterface((word) "NodeStyleWorks", (word) XR_GetTypeIndexS((word) (&string51)), 69); (* (( (ptr) gf_c0802)+178)/* var_c62828 */ ) = var_c70380; var_c70380 = (word) XR_ImportInterface((word) "Process", (word) XR_GetTypeIndexS((word) (&string52)), 22); (* (( (ptr) gf_c0802)+172)/* var_c60908 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67371521); (void) XR_ImportProcS(var_c70380, 524546); var_c70380 = (word) XR_ImportInterface((word) "Prop", (word) XR_GetTypeIndexS((word) (&string53)), 4); (* (( (ptr) gf_c0802)+177)/* var_c62636 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67633410); var_c70380 = (word) XR_ImportInterface((word) "Real", (word) XR_GetTypeIndexS((word) (&string54)), 11); (* (( (ptr) gf_c0802)+168)/* var_c60108 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67371521); var_c70380 = (word) XR_ImportInterface((word) "RefTab", (word) XR_GetTypeIndexS((word) (&string55)), 16); (* (( (ptr) gf_c0802)+167)/* var_c59948 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67634946); (void) XR_ImportProcS(var_c70380, 67896579); (void) XR_ImportProcS(var_c70380, 788995); (void) XR_ImportProcS(var_c70380, 134742786); (void) XR_ImportProcS(var_c70380, 67895555); var_c70380 = (word) XR_ImportInterface((word) "Rope", (word) XR_GetTypeIndexS((word) (&string56)), 43); (* (( (ptr) gf_c0802)+185)/* var_c64876 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67634434); (void) XR_ImportProcS(var_c70380, 67373825); var_c70380 = (word) XR_ImportInterface((word) "RuntimeError", (word) XR_GetTypeIndexS((word) (&string57)), 27); (* (( (ptr) gf_c0802)+182)/* var_c63116 */ ) = var_c70380; var_c70380 = (word) XR_ImportInterface((word) "Scaled", (word) XR_GetTypeIndexS((word) (&string58)), 19); (* (( (ptr) gf_c0802)+174)/* var_c61132 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67375105); (void) XR_ImportProcS(var_c70380, 67637506); (void) XR_ImportProcS(var_c70380, 67371777); var_c70380 = (word) XR_ImportInterface((word) "SimpleFeedback", (word) XR_GetTypeIndexS((word) (&string59)), 7); (* (( (ptr) gf_c0802)+176)/* var_c61900 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 525058); (void) XR_ImportProcS(var_c70380, 1048580); var_c70380 = (word) XR_ImportInterface((word) "TextEdit", (word) XR_GetTypeIndexS((word) (&string60)), 39); (* (( (ptr) gf_c0802)+184)/* var_c64812 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67638274); (void) XR_ImportProcS(var_c70380, 67633154); (void) XR_ImportProcS(var_c70380, 67380481); var_c70380 = (word) XR_ImportInterface((word) "TextNode", (word) XR_GetTypeIndexS((word) (&string61)), 34); (* (( (ptr) gf_c0802)+179)/* var_c62956 */ ) = var_c70380; (void) XR_ImportProcS(var_c70380, 67372289); (void) XR_ImportProcS(var_c70380, 68162307); var_c70380 = (word) XR_ExportInterface((word) "TEditFormat", (word) XR_GetTypeIndexS((word) (&string62)), 17); (* (( (ptr) gf_c0802)+187)/* var_c70412 */ ) = var_c70380; (void) XR_ExportType((word) "ExtraFormatInfoRep", (word) XR_GetTypeIndexS((word) (&string63)), (word) XR_GetTypeIndex((word) &string2, 0, (word) &string3) ); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+532)/* var_c59404 */ , 1573126, (word) "FormatLine"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+484)/* var_c59212 */ , 524802, (word) "Paint"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+460)/* var_c59116 */ , 336069378, (word) "Resolve"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+444)/* var_c59052 */ , 134743042, (word) "CharPosition"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+428)/* var_c58988 */ , 269223171, (word) "BoundingBox"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+636)/* var_c59820 */ , 67110400, (word) "Allocate"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+628)/* var_c59788 */ , 263937, (word) "Release"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+356)/* var_c58700 */ , 264193, (word) "RegisterArtwork"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+348)/* var_c58668 */ , 264449, (word) "UnRegisterArtwork"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+340)/* var_c58636 */ , 67373569, (word) "GetArtworkClass"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+412)/* var_c58924 */ , 264961, (word) "RegisterCharacterArtwork") ; (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+404)/* var_c58892 */ , 265217, (word) "UnregisterCharacterArtwork") ; (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+396)/* var_c58860 */ , 67374337, (word) "GetCharacterArtworkClass") ; (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+324)/* var_c58572 */ , 67112448, (word) "ArtworkEnabled"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+316)/* var_c58540 */ , 67374849, (word) "SetArtworkEnabled"); (void) XR_ExportProcS(var_c70380, (word) (( (bPt) gf_c0802)+500)/* var_c59276 */ , 135008259, (word) "RegisterHyphenation") ; } static void TEditFormatImpl_P0(formal_c0111, formal_c0105) word formal_c0111; word formal_c0105; { register ptr gf_c70444 = (ptr) &globalframe; /* TEditFormatImpl: */ SOURCE(1881, 44192) /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ SOURCE(7267, 49) (* (( (ptr) gf_c70444)+30)/* scratchRefsAllocCount_v4820 */ ) = (word) InitScratchRefs_P540(100); SOURCE(30116, 43) { word pd64; pd64 = (* (( (ptr) (* (( (ptr) gf_c70444)+167)/* var_c59948 */ ))+5) ); (* (( (ptr) gf_c70444)+33)/* hyphTab_v5800 */ ) = (word) ( *( (fPt) ((* (ptr) pd64 ))))(3, 0, 0, pd64); }; SOURCE(41373, 60) { word pd65; pd65 = (* (( (ptr) (* (( (ptr) gf_c70444)+167)/* var_c59948 */ ))+5) ); (* (( (ptr) gf_c70444)+35)/* characterArtworkRegistry_v6276 */ ) = (word) ( *( (fPt) ((* (ptr) pd65 ))))(5, 0, 0, pd65) ; }; SOURCE(43008, 128) { word var_c59980; var_c59980 = XR_NewObject(12, (* (( (ptr) gf_c70444)+43) )); (* (ptr) var_c59980 ) = (* (( (ptr) gf_c70444)+76) ); (* (( (ptr) var_c59980)+1) ) = (word) (( (bPt) gf_c70444)+380)/* var_c58796 */ ; (* (( (ptr) gf_c70444)+36)/* vRuleClass_v6388 */ ) = var_c59980; }; SOURCE(44420, 146) { word var_c60012; var_c60012 = XR_NewObject(12, (* (( (ptr) gf_c70444)+43) )); (* (ptr) var_c60012 ) = (* (( (ptr) gf_c70444)+75) ); (* (( (ptr) var_c60012)+1) ) = (word) (( (bPt) gf_c70444)+364)/* var_c58732 */ ; (* (( (ptr) gf_c70444)+37)/* placeholderClass_v6500 */ ) = var_c60012; }; SOURCE(45317, 51) { word pd66; pd66 = (* (( (ptr) (* (( (ptr) gf_c70444)+167)/* var_c59948 */ ))+5) ); (* (( (ptr) gf_c70444)+38)/* artworkRegistry_v6640 */ ) = (word) ( *( (fPt) ((* (ptr) pd66 ))))(5, 0, 0, pd66); }; SOURCE(45371, 204) { word var_c60044; var_c60044 = XR_NewObject(24, (* (( (ptr) gf_c70444)+48) )); (* (( (ptr) var_c60044)+1) ) = (word) (( (bPt) gf_c70444)+516)/* var_c59340 */ ; (* (( (ptr) var_c60044)+2) ) = (word) (( (bPt) gf_c70444)+468)/* var_c59148 */ ; (* (( (ptr) var_c60044)+3) ) = (word) (( (bPt) gf_c70444)+452)/* var_c59084 */ ; (* (( (ptr) var_c60044)+4) ) = (word) (( (bPt) gf_c70444)+436)/* var_c59020 */ ; (* (( (ptr) var_c60044)+5) ) = (word) (( (bPt) gf_c70444)+420)/* var_c58956 */ ; (* (( (ptr) gf_c70444)+39)/* nonArtworkClass_v6668 */ ) = var_c60044; }; SOURCE(45913, 32) (void) RegisterArtwork_P2340((* ((( (ptr) gf_c70444)+39)/* nonArtworkClass_v6668 */ ) )); SOURCE(45947, 36) (void) RegisterCharacterArtwork_P1920((* ((( (ptr) gf_c70444)+36)/* vRuleClass_v6388 */ ) )); SOURCE(45985, 42) (void) RegisterCharacterArtwork_P1920((* ((( (ptr) gf_c70444)+37)/* placeholderClass_v6500 */ ) )); SOURCE(46029, 44) { W2 var_c60076; (void) RegisterHyphenation_P1260((word) &var_c60076, (* (( (ptr) gf_c70444)+74) ), (word) (( (bPt) gf_c70444)+308)/* var_c58508 */ , 0) ; }; } static word FloorI_P60(real_v6860) word real_v6860; { register ptr gf_c70476 = (ptr) &globalframe; word i_v6904; /* FloorI: */ SOURCE(2643, 15936) SOURCE(2694, 15885) { word pd67; pd67 = (* (( (ptr) (* (( (ptr) gf_c70476)+168)/* var_c60108 */ ))+6) ); i_v6904 = (word) ( *( (fPt) ((* (ptr) pd67 ))))(real_v6860, pd67); }; SOURCE(2716, 26) { word x68; if (((float)(int)i_v6904 > ( x68 = real_v6860, *(float*)&x68 ))) { SOURCE(2733, 9) i_v6904 = (i_v6904 - 1); }; }; SOURCE(2643, 15936) return(i_v6904); } static word CeilingI_P120(real_v6964) word real_v6964; { register ptr gf_c70508 = (ptr) &globalframe; word i_v7008; /* CeilingI: */ SOURCE(2748, 15831) SOURCE(2801, 15778) { word pd69; pd69 = (* (( (ptr) (* (( (ptr) gf_c70508)+168)/* var_c60108 */ ))+6) ); i_v7008 = (word) ( *( (fPt) ((* (ptr) pd69 ))))(real_v6964, pd69); }; SOURCE(2823, 26) { word x70; if (((float)(int)i_v7008 < ( x70 = real_v6964, *(float*)&x70 ))) { SOURCE(2840, 9) i_v7008 = (i_v7008 + 1); }; }; SOURCE(2748, 15831) return(i_v7008); } static word Allocate_P180() { register ptr gf_c70540 = (ptr) &globalframe; word lineInfo_v7068; /* Allocate: */ SOURCE(3035, 616) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70540)+16)/* LOCK_v3728 */ )); SOURCE(3035, 616) lineInfo_v7068 = 0; SOURCE(3108, 543) if (((* (( (ptr) gf_c70540)+11)/* scratchLineInfo_v4176 */ ) != 0)) { SOURCE(3140, 26) lineInfo_v7068 = (* (( (ptr) gf_c70540)+11)/* scratchLineInfo_v4176 */ ); SOURCE(3168, 31) (* (( (ptr) gf_c70540)+11)/* scratchLineInfo_v4176 */ ) = (* (( (ptr) lineInfo_v7068)+22) ); SOURCE(3201, 19) (* (( (ptr) lineInfo_v7068)+22) ) = 0; SOURCE(3222, 45) (* (( (ptr) gf_c70540)+12)/* scratchLineInfoCount_v4204 */ ) = ((* (( (ptr) gf_c70540)+12)/* scratchLineInfoCount_v4204 */ ) - 1); } else { SOURCE(3278, 49) { word pd71; pd71 = (* (( (ptr) (* (( (ptr) gf_c70540)+169)/* var_c60140 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd71 ))))((* (( (ptr) gf_c70540)+72) ), (* (( (ptr) gf_c70540)+67) ), pd71); }; SOURCE(3329, 39) lineInfo_v7068 = XR_NewObject(92, (* (( (ptr) gf_c70540)+53) )); SOURCE(3370, 53) { word var_c60204; { word var_c60236; var_c60236 = XR_NewObject(1504, (* (( (ptr) gf_c70540)+55) )); (* (ptr) var_c60236 ) = 125; var_c60204 = var_c60236; }; (* (ptr) lineInfo_v7068 ) = var_c60204; }; SOURCE(3425, 56) { word var_c60268; { word var_c60300; var_c60300 = XR_NewObject(440, (* (( (ptr) gf_c70540)+56) )); (* (( (ptr) var_c60300)+1) ) = 12; var_c60268 = var_c60300; }; (* (( (ptr) lineInfo_v7068)+1) ) = var_c60268; }; SOURCE(3483, 61) { word var_c60332; { word var_c60364; var_c60364 = XR_NewObject(508, (* (( (ptr) gf_c70540)+58) )); (* (ptr) var_c60364 ) = 126; var_c60332 = var_c60364; }; (* (( (ptr) lineInfo_v7068)+2) ) = var_c60332; }; SOURCE(3546, 55) (* (( (ptr) gf_c70540)+14)/* scratchLineInfoAllocated_v4260 */ ) = ((* (( (ptr) gf_c70540)+14)/* scratchLineInfoAllocated_v4260 */ ) + 1); SOURCE(3603, 48) { word pd72; pd72 = (* (( (ptr) (* (( (ptr) gf_c70540)+169)/* var_c60140 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd72 ))))((* (( (ptr) gf_c70540)+72) ), (* (( (ptr) gf_c70540)+67) ), pd72); }; }; SOURCE(3035, 616) (void) (XR_MonitorExit((word) (( (bPt) gf_c70540)+16)/* LOCK_v3728 */ )); return(lineInfo_v7068); } static void Release_P240(lineInfo_v7128) word lineInfo_v7128; { register ptr gf_c70572 = (ptr) &globalframe; word last_v12232 = 0; word count_v12260 = 0; /* Release: */ SOURCE(3660, 14919) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70572)+16)/* LOCK_v3728 */ )); SOURCE(3774, 14805) { register word i_v12304; i_v12304 = lineInfo_v7128; lab_L100003: ; if ((i_v12304 != 0)) { } else { goto lab_L100000; }; { word f_v12348; SOURCE(3836, 40) f_v12348 = (* (( (ptr) i_v12304)+1) ); SOURCE(3878, 14701) { register word i_v12392 = 0; register word noName_c60396; noName_c60396 = (* (ptr) f_v12348 ); if ((i_v12392 >= noName_c60396)) { goto lab_L100004; }; lab_L100007: ; SOURCE(3909, 14670) { word limit73; (* (( (ptr) (( (W9Pt) (( (ptr) f_v12348)+2))+( limit73 = (* (( (ptr) f_v12348)+1) ), BCK(i_v12392, limit73) )))+1) ) = 0; }; SOURCE(3926, 14653) { word limit74; (* (( (ptr) (( (W9Pt) (( (ptr) f_v12348)+2))+( limit74 = (* (( (ptr) f_v12348)+1) ), BCK(i_v12392, limit74) )))+2) ) = 0; }; SOURCE(3944, 14635) { word limit75; (* (( (ptr) (( (W9Pt) (( (ptr) f_v12348)+2))+( limit75 = (* (( (ptr) f_v12348)+1) ), BCK(i_v12392, limit75) )))+3) ) = 0; }; i_v12392 = (i_v12392 + 1); if ((i_v12392 < noName_c60396)) { goto lab_L100007; }; lab_L100004: ; }; SOURCE(3969, 20) (* (( (ptr) i_v12304)+3) ) = 0; SOURCE(3991, 19) (* (( (ptr) i_v12304)+4) ) = 0; SOURCE(4012, 12) (* (( (ptr) i_v12304)+21) ) = 0; SOURCE(4026, 11) (* (( (ptr) i_v12304)+20) ) = 0; SOURCE(4039, 12) (* (ptr) f_v12348 ) = 0; SOURCE(4053, 8) last_v12232 = i_v12304; SOURCE(4063, 17) count_v12260 = (count_v12260 + 1); }; i_v12304 = (* (( (ptr) i_v12304)+22) ); goto lab_L100003; lab_L100000: ; }; SOURCE(4091, 128) if (( (int)count_v12260 > (int)0)) { SOURCE(4111, 27) (* (( (ptr) last_v12232)+22) ) = (* (( (ptr) gf_c70572)+11)/* scratchLineInfo_v4176 */ ); SOURCE(4140, 26) (* (( (ptr) gf_c70572)+11)/* scratchLineInfo_v4176 */ ) = lineInfo_v7128; SOURCE(4168, 51) (* (( (ptr) gf_c70572)+12)/* scratchLineInfoCount_v4204 */ ) = ((* (( (ptr) gf_c70572)+12)/* scratchLineInfoCount_v4204 */ ) + count_v12260); }; SOURCE(4224, 286) lab_L100010: ; if (( (int)(* (( (ptr) gf_c70572)+12)/* scratchLineInfoCount_v4204 */ ) > (int)(* (( (ptr) gf_c70572)+13)/* scratchLineInfoLimit_v4232 */ ))) { } else { goto lab_L100008; }; { word i_v12436; SOURCE(4277, 41) i_v12436 = (* (( (ptr) gf_c70572)+11)/* scratchLineInfo_v4176 */ ); SOURCE(4320, 24) (* (( (ptr) gf_c70572)+11)/* scratchLineInfo_v4176 */ ) = (* (( (ptr) i_v12436)+22) ); SOURCE(4346, 47) (* (( (ptr) gf_c70572)+12)/* scratchLineInfoCount_v4204 */ ) = ((* (( (ptr) gf_c70572)+12)/* scratchLineInfoCount_v4204 */ ) - 1); SOURCE(4395, 16) (* (ptr) i_v12436 ) = 0; SOURCE(4413, 18) (* (( (ptr) i_v12436)+1) ) = 0; SOURCE(4433, 20) (* (( (ptr) i_v12436)+2) ) = 0; SOURCE(4455, 55) (* (( (ptr) gf_c70572)+15)/* scratchLineInfoDestroyed_v4288 */ ) = ((* (( (ptr) gf_c70572)+15)/* scratchLineInfoDestroyed_v4288 */ ) + 1); }; goto lab_L100010; lab_L100008: ; SOURCE(3660, 14919) (void) (XR_MonitorExit((word) (( (bPt) gf_c70572)+16)/* LOCK_v3728 */ )); return; } static word CheckWidthCache_P300(font_v7392) word font_v7392; { register ptr gf_c70604 = (ptr) &globalframe; word var_c7436; word prev_v12480 = 0; /* CheckWidthCache: */ SOURCE(4874, 419) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70604)+16)/* LOCK_v3728 */ )); SOURCE(4977, 251) { register word c_v12608; c_v12608 = (* (( (ptr) gf_c70604)+17)/* widthCache_v4400 */ ); lab_L100014: ; if ((c_v12608 != 0)) { } else { goto lab_L100011; }; SOURCE(5044, 171) if (((* (ptr) c_v12608 ) == font_v7392)) { SOURCE(5074, 76) if ((prev_v12480 != 0)) { SOURCE(5095, 18) (* (( (ptr) prev_v12480)+2) ) = (* (( (ptr) c_v12608)+2) ); SOURCE(5115, 19) (* (( (ptr) c_v12608)+2) ) = (* (( (ptr) gf_c70604)+17)/* widthCache_v4400 */ ); SOURCE(5136, 14) (* (( (ptr) gf_c70604)+17)/* widthCache_v4400 */ ) = c_v12608; }; SOURCE(5155, 35) (* (( (ptr) gf_c70604)+18)/* widthCacheHits_v4428 */ ) = ((* (( (ptr) gf_c70604)+18)/* widthCacheHits_v4428 */ ) + 1); SOURCE(5192, 23) { word var_c60428; var_c60428 = (* (( (ptr) c_v12608)+1) ); (void) (XR_MonitorExit((word) (( (bPt) gf_c70604)+16)/* LOCK_v3728 */ )); return(var_c60428); }; }; SOURCE(5220, 8) prev_v12480 = c_v12608; c_v12608 = (* (( (ptr) c_v12608)+2) ); goto lab_L100014; lab_L100011: ; }; SOURCE(5239, 39) (* (( (ptr) gf_c70604)+19)/* widthCacheMisses_v4456 */ ) = ((* (( (ptr) gf_c70604)+19)/* widthCacheMisses_v4456 */ ) + 1); SOURCE(5280, 13) (void) (XR_MonitorExit((word) (( (bPt) gf_c70604)+16)/* LOCK_v3728 */ )); return(0); } static void EnterWidthCache_P360(font_v7496, widths_v7524) word font_v7496; word widths_v7524; { register ptr gf_c70636 = (ptr) &globalframe; word new_v12736 = 0; word prev_v12764 = 0; word i_v12792 = 2; /* EnterWidthCache: */ SOURCE(5297, 13282) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70636)+16)/* LOCK_v3728 */ )); SOURCE(5445, 13134) { register word p_v13004; p_v13004 = (* (( (ptr) gf_c70636)+17)/* widthCache_v4400 */ ); lab_L100018: ; SOURCE(5498, 13081) if ((p_v13004 == 0)) { SOURCE(5515, 13064) { word var_c60460; word var_c60492; var_c60460 = XR_NewObject(12, (* (( (ptr) gf_c70636)+59) )); var_c60492 = var_c60460; (* (ptr) var_c60492 ) = font_v7496; (* (( (ptr) var_c60492)+1) ) = widths_v7524; new_v12736 = var_c60460; }; SOURCE(5543, 4) goto lab_L100016; }; SOURCE(5550, 13029) if ( ( (i_v12792 >= (* (( (ptr) gf_c70636)+16)/* widthCacheSize_v4372 */ )) ? ((* (( (ptr) p_v13004)+2) ) != 0) : 0 ) ) { SOURCE(5595, 12) new_v12736 = (* (( (ptr) p_v13004)+2) ); SOURCE(5609, 12) (* (( (ptr) p_v13004)+2) ) = 0; SOURCE(5623, 14) (* (( (ptr) new_v12736)+2) ) = 0; SOURCE(5639, 12940) (* (ptr) new_v12736 ) = font_v7496; (* (( (ptr) new_v12736)+1) ) = widths_v7524; SOURCE(5667, 4) goto lab_L100016; }; SOURCE(5676, 9) i_v12792 = (i_v12792 + 1); p_v13004 = (* (( (ptr) p_v13004)+2) ); goto lab_L100018; lab_L100016: ; }; SOURCE(5696, 21) (* (( (ptr) new_v12736)+2) ) = (* (( (ptr) gf_c70636)+17)/* widthCache_v4400 */ ); SOURCE(5719, 16) (* (( (ptr) gf_c70636)+17)/* widthCache_v4400 */ ) = new_v12736; SOURCE(5297, 13282) (void) (XR_MonitorExit((word) (( (bPt) gf_c70636)+16)/* LOCK_v3728 */ )); return; } static void ExpandChars_P420(lineInfo_v7584) word lineInfo_v7584; { register ptr gf_c70668 = (ptr) &globalframe; word oldCharInfo_v13132; word oldPositionInfo_v13160; word oldCharLimit_v13188; word charLimit_v13216; word newCharInfo_v13244; word newPositionInfo_v13272; /* ExpandChars: */ SOURCE(5741, 12838) SOURCE(5796, 53) oldCharInfo_v13132 = (* (ptr) lineInfo_v7584 ); SOURCE(5851, 65) oldPositionInfo_v13160 = (* (( (ptr) lineInfo_v7584)+2) ); SOURCE(5918, 41) oldCharLimit_v13188 = (* (ptr) oldCharInfo_v13132 ); SOURCE(5961, 87) { word x76; charLimit_v13216 = (x76 = ((oldCharLimit_v13188 + ((word) oldCharLimit_v13188 / 3)) + 1), MIN( (unsigned) , x76, 2147483646)); }; SOURCE(6050, 75) { word var_c60524; word var_c60556; word var_c60588; var_c60524 = BCK(charLimit_v13216, 22369621); var_c60556 = ((word) var_c60524 * 12); var_c60588 = XR_NewObject((4 + var_c60556), (* (( (ptr) gf_c70668)+55) )); (* (ptr) var_c60588 ) = var_c60524; newCharInfo_v13244 = var_c60588; }; SOURCE(6127, 89) { word var_c60620; word var_c60652; word var_c60684; var_c60620 = BCK((charLimit_v13216 + 1), 67108863); var_c60652 = ((word) var_c60620 << 2); var_c60684 = XR_NewObject((4 + var_c60652), (* (( (ptr) gf_c70668)+58) )); (* (ptr) var_c60684 ) = var_c60620; newPositionInfo_v13272 = var_c60684; }; SOURCE(6218, 34) if ((charLimit_v13216 <= oldCharLimit_v13188)) { SOURCE(6252, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(6259, 12320) { register word i_v13316 = 0; if ((i_v13316 >= oldCharLimit_v13188)) { goto lab_L100019; }; lab_L100022: ; SOURCE(6294, 12285) { word limit77; word limit78; (* (( (W3Pt) (( (ptr) newCharInfo_v13244)+1))+( limit77 = (* (ptr) newCharInfo_v13244 ), BCK(i_v13316, limit77) )) ) = (* (( (W3Pt) (( (ptr) oldCharInfo_v13132)+1))+( limit78 = (* (ptr) oldCharInfo_v13132 ), BCK(i_v13316, limit78) )) ); }; SOURCE(6327, 12252) { word limit79; word limit80; (* ((( (ptr) newPositionInfo_v13272)+1)+( limit79 = (* (ptr) newPositionInfo_v13272 ), BCK(i_v13316, limit79) )) ) = (* ((( (ptr) oldPositionInfo_v13160)+1)+( limit80 = (* (ptr) oldPositionInfo_v13160 ), BCK(i_v13316, limit80) )) ); }; i_v13316 = (i_v13316 + 1); if ((i_v13316 < oldCharLimit_v13188)) { goto lab_L100022; }; lab_L100019: ; }; SOURCE(6377, 12202) { word limit81; word limit82; (* ((( (ptr) newPositionInfo_v13272)+1)+( limit81 = (* (ptr) newPositionInfo_v13272 ), BCK(oldCharLimit_v13188, limit81) )) ) = (* ((( (ptr) oldPositionInfo_v13160)+1)+( limit82 = (* (ptr) oldPositionInfo_v13160 ), BCK(oldCharLimit_v13188, limit82) )) ); }; SOURCE(6440, 31) (* (ptr) lineInfo_v7584 ) = newCharInfo_v13244; SOURCE(6473, 39) (* (( (ptr) lineInfo_v7584)+2) ) = newPositionInfo_v13272; } static void ExpandFormats_P480(lineInfo_v7644) word lineInfo_v7644; { register ptr gf_c70700 = (ptr) &globalframe; word oldFormatInfo_v13360; word oldFormatLimit_v13388; word formatLimit_v13416; word newFormatInfo_v13444; /* ExpandFormats: */ SOURCE(6518, 12061) SOURCE(6575, 59) oldFormatInfo_v13360 = (* (( (ptr) lineInfo_v7644)+1) ); SOURCE(6636, 45) oldFormatLimit_v13388 = (* (( (ptr) oldFormatInfo_v13360)+1) ); SOURCE(6683, 93) { word x83; formatLimit_v13416 = (x83 = ((oldFormatLimit_v13388 + ((word) oldFormatLimit_v13388 / 3)) + 1), MIN( (unsigned) , x83, 1073741823)); }; SOURCE(6778, 83) { word var_c60716; word var_c60748; word var_c60780; var_c60716 = BCK(formatLimit_v13416, 7456540); var_c60748 = ((word) var_c60716 * 36); var_c60780 = XR_NewObject((8 + var_c60748), (* (( (ptr) gf_c70700)+56) )); (* (( (ptr) var_c60780)+1) ) = var_c60716; newFormatInfo_v13444 = var_c60780; }; SOURCE(6863, 43) (* (ptr) newFormatInfo_v13444 ) = (* (ptr) oldFormatInfo_v13360 ); SOURCE(6908, 38) if ((formatLimit_v13416 <= oldFormatLimit_v13388)) { SOURCE(6946, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(6953, 11626) { register word i_v13488 = 0; if ((i_v13488 >= oldFormatLimit_v13388)) { goto lab_L100023; }; lab_L100026: ; SOURCE(6990, 11589) { word limit84; word limit85; (* (( (W9Pt) (( (ptr) newFormatInfo_v13444)+2))+( limit84 = (* (( (ptr) newFormatInfo_v13444)+1) ), BCK(i_v13488, limit84) )) ) = (* (( (W9Pt) (( (ptr) oldFormatInfo_v13360)+2))+( limit85 = (* (( (ptr) oldFormatInfo_v13360)+1) ), BCK(i_v13488, limit85) )) ); }; i_v13488 = (i_v13488 + 1); if ((i_v13488 < oldFormatLimit_v13388)) { goto lab_L100026; }; lab_L100023: ; }; SOURCE(7036, 35) (* (( (ptr) lineInfo_v7644)+1) ) = newFormatInfo_v13444; } static word InitScratchRefs_P540(timeout_v7804) word timeout_v7804; { register ptr gf_c70732 = (ptr) &globalframe; word initialCount_v7848; /* InitScratchRefs: */ SOURCE(7364, 11215) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70732)+16)/* LOCK_v3728 */ )); SOURCE(7364, 11215) initialCount_v7848 = 1; SOURCE(7468, 11111) { word pd86; pd86 = (* (( (ptr) (* (( (ptr) gf_c70732)+170)/* var_c60812 */ ))+4) ); (* (( (ptr) gf_c70732)+27) ) = (word) ( *( (fPt) ((* (ptr) pd86 ))))(0, 0, pd86); }; { word pd87; pd87 = (* (( (ptr) (* (( (ptr) gf_c70732)+171)/* var_c60844 */ ))+4) ); (* (( (ptr) gf_c70732)+28) ) = (word) ( *( (fPt) ((* (ptr) pd87 ))))(pd87); }; { word pd88; pd88 = (* (( (ptr) (* (( (ptr) gf_c70732)+171)/* var_c60844 */ ))+4) ); (* (( (ptr) gf_c70732)+29) ) = (word) ( *( (fPt) ((* (ptr) pd88 ))))(pd88); }; SOURCE(7548, 27) (* (( (ptr) gf_c70732)+26)/* scratchRefsAvailable_v4764 */ ) = 1; SOURCE(7577, 11002) { word var_c60876; { word pd89; pd89 = (* (( (ptr) (* (( (ptr) gf_c70732)+172)/* var_c60908 */ ))+6) ); var_c60876 = (word) ( *( (fPt) ((* (ptr) pd89 ))))(timeout_v7804, pd89); }; { word pd90; pd90 = (* (( (ptr) (* (( (ptr) gf_c70732)+172)/* var_c60908 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd90 ))))((word) (( (bPt) gf_c70732)+80)/* scratchRefsReleased_v4736 */ , var_c60876, pd90); }; }; SOURCE(7364, 11215) (void) (XR_MonitorExit((word) (( (bPt) gf_c70732)+16)/* LOCK_v3728 */ )); return(initialCount_v7848); } static void AllocScratchRefs_P600(formal_c0171) word formal_c0171; { register ptr gf_c70764 = (ptr) &globalframe; W3 allocated_v7908; /* AllocScratchRefs: */ SOURCE(7662, 10917) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70764)+16)/* LOCK_v3728 */ )); SOURCE(7662, 10917) allocated_v7908.f0 = 0; allocated_v7908.f1 = 0; allocated_v7908.f2 = 0; SOURCE(7728, 109) if ((0 == (* (( (ptr) gf_c70764)+26)/* scratchRefsAvailable_v4764 */ ))) { SOURCE(7763, 47) (* (( (ptr) gf_c70764)+31)/* scratchRefsWaitCount_v4848 */ ) = ((* (( (ptr) gf_c70764)+31)/* scratchRefsWaitCount_v4848 */ ) + 1); SOURCE(7812, 25) (void) (XR_Wait((word) (( (bPt) gf_c70764)+16)/* LOCK_v3728 */ , (word) (( (bPt) gf_c70764)+80)/* scratchRefsReleased_v4736 */ ) ); }; SOURCE(7840, 10739) if ((0 != (* (( (ptr) gf_c70764)+26)/* scratchRefsAvailable_v4764 */ ))) { SOURCE(7870, 28) (* (( (ptr) gf_c70764)+26)/* scratchRefsAvailable_v4764 */ ) = 0; SOURCE(7900, 23) allocated_v7908 = (* (W3Pt) (( (ptr) gf_c70764)+27)/* scratchRefs_v4792 */ ); SOURCE(7925, 10654) (* (( (ptr) gf_c70764)+27) ) = 0; (* (( (ptr) gf_c70764)+28) ) = 0; (* (( (ptr) gf_c70764)+29) ) = 0; } else { SOURCE(7962, 10617) { word pd91; pd91 = (* (( (ptr) (* (( (ptr) gf_c70764)+170)/* var_c60812 */ ))+4) ); allocated_v7908.f0 = (word) ( *( (fPt) ((* (ptr) pd91 ))))(0, 0, pd91); }; { word pd92; pd92 = (* (( (ptr) (* (( (ptr) gf_c70764)+171)/* var_c60844 */ ))+4) ); allocated_v7908.f1 = (word) ( *( (fPt) ((* (ptr) pd92 ))))(pd92); }; { word pd93; pd93 = (* (( (ptr) (* (( (ptr) gf_c70764)+171)/* var_c60844 */ ))+4) ); allocated_v7908.f2 = (word) ( *( (fPt) ((* (ptr) pd93 ))))(pd93); }; SOURCE(8040, 49) (* (( (ptr) gf_c70764)+30)/* scratchRefsAllocCount_v4820 */ ) = ((* (( (ptr) gf_c70764)+30)/* scratchRefsAllocCount_v4820 */ ) + 1); }; /* removed tail goto */ (void) (XR_MonitorExit((word) (( (bPt) gf_c70764)+16)/* LOCK_v3728 */ )); (* (W3Pt) formal_c0171 ) = allocated_v7908; return; } static void ReleaseScratchRefs_P660(allocated_v7968) W3 allocated_v7968; { register ptr gf_c70796 = (ptr) &globalframe; /* ReleaseScratchRefs: */ SOURCE(8096, 175) (void) (XR_MonitorEntry((word) (( (bPt) gf_c70796)+16)/* LOCK_v3728 */ )); SOURCE(8156, 115) if ((0 == (* (( (ptr) gf_c70796)+26)/* scratchRefsAvailable_v4764 */ ))) { SOURCE(8191, 23) (* (W3Pt) (( (ptr) gf_c70796)+27)/* scratchRefs_v4792 */ ) = allocated_v7968; SOURCE(8216, 27) (* (( (ptr) gf_c70796)+26)/* scratchRefsAvailable_v4764 */ ) = 1; SOURCE(8245, 26) (void) (XR_Notify((word) (( (bPt) gf_c70796)+80)/* scratchRefsReleased_v4736 */ )); }; SOURCE(8096, 175) (void) (XR_MonitorExit((word) (( (bPt) gf_c70796)+16)/* LOCK_v3728 */ )); return; } static word GetWidthArray_P720(font_v8028) word font_v8028; { register ptr gf_c70828 = (ptr) &globalframe; word widths_v8072; /* GetWidthArray: */ SOURCE(8280, 10299) SOURCE(8280, 10299) widths_v8072 = 0; SOURCE(8348, 10231) widths_v8072 = (word) CheckWidthCache_P300(font_v8028); SOURCE(8380, 10199) if ((widths_v8072 == 0)) { SOURCE(8403, 31) widths_v8072 = XR_NewObject(380, (* (( (ptr) gf_c70828)+62) )); SOURCE(8436, 10143) { register word noName_c61004 = 32; register word c_v13532; lab_L100032: ; c_v13532 = (noName_c61004 - 32); SOURCE(8479, 10100) { word var_c61036; { W2 var_c0179; word var_c61068; { word pd94; pd94 = (* (( (ptr) (* (( (ptr) gf_c70828)+173)/* var_c61100 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd94 ))))((word) &var_c0179, font_v8028, (c_v13532 + 32), pd94); }; var_c61068 = var_c0179.f0; { word pd95; pd95 = (* (( (ptr) (* (( (ptr) gf_c70828)+174)/* var_c61132 */ ))+7) ); var_c61036 = (word) ( *( (fPt) ((* (ptr) pd95 ))))(var_c61068, pd95); }; }; (* (( (ptr) widths_v8072)+c_v13532) ) = var_c61036; }; if ((noName_c61004 >= 126)) { goto lab_L100029; }; noName_c61004 = (noName_c61004 + 1); goto lab_L100032; lab_L100029: ; }; SOURCE(8539, 29) (void) EnterWidthCache_P360(font_v8028, widths_v8072); }; SOURCE(8280, 10299) return(widths_v8072); } static word GetTabStop_P780(style_v8456, i_v8484) word style_v8456; word i_v8484; { register ptr gf_c70860 = (ptr) &globalframe; word var_c8528; word tabStop_v13576; /* GetTabStop: */ SOURCE(8934, 388) SOURCE(9006, 50) tabStop_v13576 = (* (( (ptr) style_v8456)+3) ); SOURCE(9058, 242) if ((i_v8484 < ( (((unsigned)(* (( (ptr) style_v8456)+2) ) << 1) >> 1) ))) { SOURCE(9088, 214) { word t_v13620; SOURCE(9090, 3) t_v13620 = (* (( (ptr) style_v8456)+4) ); SOURCE(9137, 98) { register word noName_c61164; register word j_v13748; noName_c61164 = i_v8484; j_v13748 = ( (((unsigned)(* (( (ptr) style_v8456)+2) ) << 1) >> 1) ); if ((noName_c61164 >= j_v13748)) { goto lab_L100033; }; j_v13748 = (j_v13748 - 1); if ((noName_c61164 == j_v13748)) { goto lab_L100033; }; lab_L100036: ; SOURCE(9188, 47) if ((t_v13620 == 0)) { SOURCE(9204, 21) (* (( (ptr) gf_c70860)+32)/* oops_v5016 */ ) = ((* (( (ptr) gf_c70860)+32)/* oops_v5016 */ ) + 1); } else { SOURCE(9225, 10) t_v13620 = (* (( (ptr) t_v13620)+1) ); }; j_v13748 = (j_v13748 - 1); if ((noName_c61164 < j_v13748)) { goto lab_L100036; }; lab_L100033: ; }; SOURCE(9246, 54) if ((t_v13620 == 0)) { SOURCE(9262, 21) (* (( (ptr) gf_c70860)+32)/* oops_v5016 */ ) = ((* (( (ptr) gf_c70860)+32)/* oops_v5016 */ ) + 1); } else { SOURCE(9283, 17) tabStop_v13576 = (* (ptr) t_v13620 ); }; }; }; SOURCE(9305, 17) return(tabStop_v13576); } static word ComputeTabWidth_P840(style_v8588, spaceWidth_v8616, endX_v8644, nTabs_v8672) word style_v8588; word spaceWidth_v8616; word endX_v8644; word nTabs_v8672; { register ptr gf_c70892 = (ptr) &globalframe; word width_v8716; word tabStop_v13792; /* ComputeTabWidth: */ SOURCE(9326, 9253) SOURCE(9326, 9253) width_v8716 = 0; SOURCE(9455, 53) tabStop_v13792 = (word) GetTabStop_P780(style_v8588, nTabs_v8672); SOURCE(9510, 9069) if ((tabStop_v13792 == 0)) { SOURCE(9532, 307) { word tabWidth_v13836; word toNextTab_v13864; SOURCE(9534, 86) { word var_c61228; { word pd96; word x97; float tf98; float tf99; word x101; float tf102; pd96 = (* (( (ptr) (* (( (ptr) gf_c70892)+175)/* var_c61260 */ ))+12) ); var_c61228 = ( tf102 = FMAX(( x97 = (word) ( *( (fPt) ((* (ptr) pd96 ))))(style_v8588, 7, pd96), *(float*)&x97 ), ( x101 = (* (ptr) &fc100 ), *(float*)&x101 ), tf98, tf99), *(word*)&tf102 ); }; { word pd103; pd103 = (* (( (ptr) (* (( (ptr) gf_c70892)+174)/* var_c61132 */ ))+7) ); tabWidth_v13836 = (word) ( *( (fPt) ((* (ptr) pd103 ))))(var_c61228, pd103); }; }; SOURCE(9622, 112) { word b_v58204; { word i_v57224; i_v57224 = IOP2( % , (int)endX_v8644, (int)tabWidth_v13836); b_v58204 = i_v57224; }; { word i_v39332; i_v39332 = (tabWidth_v13836 - b_v58204); toNextTab_v13864 = i_v39332; }; }; SOURCE(9736, 17) width_v8716 = toNextTab_v13864; SOURCE(9755, 8824) if (( (int)spaceWidth_v8616 > (int)toNextTab_v13864)) { SOURCE(9801, 8778) { word var_c61420; word i_v39684; i_v39684 = (width_v8716 + tabWidth_v13836); var_c61420 = i_v39684; width_v8716 = var_c61420; }; }; }; } else { SOURCE(9846, 251) { word tabLoc_v13908; word minLoc_v13936; word newLoc_v13964; SOURCE(9848, 75) { word var_c61452; { word pd104; pd104 = (* (( (ptr) (* (( (ptr) gf_c70892)+175)/* var_c61260 */ ))+29) ); var_c61452 = (word) ( *( (fPt) ((* (ptr) pd104 ))))(tabStop_v13792, style_v8588, pd104); }; { word pd105; pd105 = (* (( (ptr) (* (( (ptr) gf_c70892)+174)/* var_c61132 */ ))+7) ); tabLoc_v13908 = (word) ( *( (fPt) ((* (ptr) pd105 ))))(var_c61452, pd105); }; }; SOURCE(9925, 52) { word i_v57164; i_v57164 = (endX_v8644 + spaceWidth_v8616); minLoc_v13936 = i_v57164; }; SOURCE(9979, 80) newLoc_v13964 = ( ( (int)minLoc_v13936 > (int)tabLoc_v13908) ? minLoc_v13936 : tabLoc_v13908 ) ; SOURCE(10061, 8518) { word i_v58160; i_v58160 = (newLoc_v13964 - endX_v8644); width_v8716 = i_v58160; }; }; }; SOURCE(9326, 9253) return(width_v8716); } static void ComputePositionVector_P900(lineInfo_v8776) word lineInfo_v8776; { word x_v14008; word sx_v14036 = 32768; /* ComputePositionVector: */ SOURCE(10104, 8475) SOURCE(10169, 41) { word var_c61548; var_c61548 = (* (( (ptr) lineInfo_v8776)+2) ); { word limit106; (* ((( (ptr) var_c61548)+1)+( limit106 = (* (ptr) var_c61548 ), BCK(0, limit106) )) ) = 0; }; x_v14008 = 0; }; SOURCE(10244, 8335) if (((* (( (ptr) lineInfo_v8776)+14) ) > 0)) { SOURCE(10280, 328) { word charEntry_v14080; word var_c61612; SOURCE(10282, 78) { word limit107; var_c61612 = (* (ptr) lineInfo_v8776 ); charEntry_v14080 = (word) (( (W3Pt) (( (bPt) var_c61612)+4))+( limit107 = (* (ptr) var_c61612 ), BCK(0, limit107) )); }; SOURCE(10362, 8217) { register word i_v14136 = 0; register word noName_c61644; noName_c61644 = (* (( (ptr) lineInfo_v8776)+14) ); if ((i_v14136 >= noName_c61644)) { goto lab_L100043; }; lab_L100046: ; { word xNext_v14180; SOURCE(10400, 68) { word a_v58412; { word var_c61708; word b_v57072; b_v57072 = (* (( (ptr) charEntry_v14080)+2) ); { word i_v57120; i_v57120 = (sx_v14036 + b_v57072); var_c61708 = i_v57120; }; sx_v14036 = var_c61708; }; a_v58412 = sx_v14036; xNext_v14180 = (word)( (int)a_v58412 >> 16); }; SOURCE(10470, 30) if (( (int)xNext_v14180 <= (int)x_v14008)) { SOURCE(10489, 11) xNext_v14180 = (x_v14008 + 1); }; SOURCE(10502, 8077) { word var_c61804; var_c61804 = xNext_v14180; { word var_c61836; word var_c61868; var_c61836 = (i_v14136 + 1); var_c61868 = (* (( (ptr) lineInfo_v8776)+2) ); { word limit108; (* ((( (ptr) var_c61868)+1)+( /*1*/ limit108 = (* (ptr) var_c61868 ), /*1*/ BCK(var_c61836, limit108) /*1*/ )) ) = var_c61804; }; }; x_v14008 = var_c61804; }; SOURCE(10542, 55) charEntry_v14080 = (charEntry_v14080 + 12); }; i_v14136 = (i_v14136 + 1); if ((i_v14136 < noName_c61644)) { goto lab_L100046; }; lab_L100043: ; }; }; }; } static void FormatLine_P960(lineInfo_v44508, node_v44536, startOffset_v44564, nodeStyle_v44592, lineWidth_v44620, doLigsAndKern_v44648) word lineInfo_v44508; word node_v44536; word startOffset_v44564; word nodeStyle_v44592; word lineWidth_v44620; word doLigsAndKern_v44648; { register ptr gf_c70924 = (ptr) &globalframe; /* FormatLine: */ SOURCE(10615, 7964) SOURCE(10661, 40) { word pd109; pd109 = (* (( (ptr) (* (( (ptr) gf_c70924)+169)/* var_c60140 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd109 ))))((* (( (ptr) gf_c70924)+66) ), (* (( (ptr) gf_c70924)+67) ), pd109); }; SOURCE(10703, 7876) (* (( (ptr) lineInfo_v44508)+5) ) = node_v44536; (* (( (ptr) lineInfo_v44508)+6) ) = startOffset_v44564; SOURCE(10744, 29) (* (( (ptr) lineInfo_v44508)+13) ) = 2147483648; SOURCE(10775, 28) (* (( (ptr) lineInfo_v44508)+11) ) = 2147483647; SOURCE(10805, 20) (* (( (ptr) lineInfo_v44508)+16) ) = 0; SOURCE(10827, 30) (* (( (ptr) lineInfo_v44508)+17) ) = 0; SOURCE(10859, 19) (* (( (ptr) lineInfo_v44508)+14) ) = 0; SOURCE(10880, 29) (* (( (ptr) lineInfo_v44508)+15) ) = 0; SOURCE(10911, 30) (* (( (ptr) lineInfo_v44508)+19) ) = 0; SOURCE(10943, 27) (* (( (ptr) lineInfo_v44508)+18) ) = (* (ptr) &fc100 ); SOURCE(10972, 30) (* (ptr) (* (( (ptr) lineInfo_v44508)+1) ) ) = 0; SOURCE(11004, 27) (* (( (ptr) lineInfo_v44508)+3) ) = 0; SOURCE(11033, 26) (* (( (ptr) lineInfo_v44508)+4) ) = 0; SOURCE(11061, 7518) if ((* (( (bPt) node_v44536)+36) ) & 010) { SOURCE(11085, 258) { word class_v14224; SOURCE(11087, 50) class_v14224 = (word) GetArtworkClassForNode_P2520(node_v44536); SOURCE(11139, 199) if ( ( (class_v14224 != 0) ? ((* (( (ptr) class_v14224)+1) ) != 0) : 0 ) ) { SOURCE(11180, 29) (* (( (ptr) lineInfo_v44508)+3) ) = class_v14224; SOURCE(11211, 78) { word pd110; pd110 = (* (( (ptr) class_v14224)+1) ); (void) ( *( (fPt) ((* (ptr) pd110 ))))(lineInfo_v44508, node_v44536, startOffset_v44564, nodeStyle_v44592, lineWidth_v44620, doLigsAndKern_v44648, pd110) ; }; SOURCE(11291, 39) { word pd111; pd111 = (* (( (ptr) (* (( (ptr) gf_c70924)+169)/* var_c60140 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd111 ))))((* (( (ptr) gf_c70924)+66) ), (* (( (ptr) gf_c70924)+67) ), pd111); }; SOURCE(11332, 6) return; }; }; }; SOURCE(11346, 82) (void) NormalFormatLine_P1140(lineInfo_v44508, node_v44536, startOffset_v44564, nodeStyle_v44592, lineWidth_v44620, doLigsAndKern_v44648) ; SOURCE(11430, 7149) if (( (int)(* (( (ptr) lineInfo_v44508)+13) ) < (int)(* (( (ptr) lineInfo_v44508)+11) ))) { SOURCE(11470, 7109) { word pd112; pd112 = (* (( (ptr) (* (( (ptr) gf_c70924)+175)/* var_c61260 */ ))+13) ); (* (( (ptr) lineInfo_v44508)+13) ) = (word) ( *( (fPt) ((* (ptr) pd112 ))))(nodeStyle_v44592, 22, pd112); }; SOURCE(11524, 17) (* (( (ptr) lineInfo_v44508)+11) ) = 0; }; SOURCE(11546, 39) { word pd113; pd113 = (* (( (ptr) (* (( (ptr) gf_c70924)+169)/* var_c60140 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd113 ))))((* (( (ptr) gf_c70924)+66) ), (* (( (ptr) gf_c70924)+67) ), pd113); }; } static void Complain_P1080(msg_v9556) word msg_v9556; { register ptr gf_c70956 = (ptr) &globalframe; /* Complain: */ SOURCE(12948, 121) SOURCE(12979, 52) { word pd114; pd114 = (* (( (ptr) (* (( (ptr) gf_c70956)+176)/* var_c61900 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd114 ))))((* (( (ptr) gf_c70956)+64) ), 0, (* (( (ptr) gf_c70956)+65) ), msg_v9556, pd114); }; SOURCE(13033, 36) { word pd115; pd115 = (* (( (ptr) (* (( (ptr) gf_c70956)+176)/* var_c61900 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd115 ))))((* (( (ptr) gf_c70956)+64) ), (* (( (ptr) gf_c70956)+65) ), pd115); }; } static void NormalFormatLine_P1140(formal_c0899, formal_c0900, startOffset_v9672, formal_c0901, lineWidth_v9728, doLigsAndKern_v9756) word formal_c0899; word formal_c0900; word startOffset_v9672; word formal_c0901; word lineWidth_v9728; word doLigsAndKern_v9756; { W32 var_c70988; /* declaration of lineInfo_v9616 skipped */ /* declaration of node_v9644 skipped */ /* declaration of nodeStyle_v9700 skipped */ register ptr gf_c71020 = (ptr) &globalframe; /* declaration of var_c61932 skipped */ /* declaration of var_c61964 skipped */ /* declaration of var_c61996 skipped */ /* declaration of var_c62028 skipped */ W3 my_v14268; word leftExtra_v14296; word rightExtra_v14324; word leftIndent_v14352; word rightIndent_v14380; word lineLength_v14408; /* declaration of trimmedLineWidth_v14436 skipped */ word fontWidths_v14464 = 0; /* declaration of charLooks_v14492 skipped */ word charProps_v14520 = 0; word haveCharacterArtwork_v14548 = 0; word curFormatNumber_v14576 = 1073741823; /* declaration of breakIndex_v14604 skipped */ /* declaration of endX_v14632 skipped */ /* declaration of breakX_v14660 skipped */ word spaceAtEnd_v14688 = 0; word haveLetterspace_v14716 = 0; word prevLetterspace_v14744 = 0; word prevDoLetterspace_v14772 = 0; word breakSpaceAtEnd_v14800 = 0; word spaceWidths_v14828 = 0; word highWaterChars_v14856; word extension_v14884 = 0; word hyphenation_v14912 = 0; word hyphenationData_v14940 = 0; word mayAmplArt_v14996 = 0; /* declaration of reader_v15052 skipped */ word nodeSize_v15080; word nodeChars_v15108; /* declaration of maxNChars_v15136 skipped */ /* declaration of maxIndex_v15164 skipped */ word nTabs_v15192 = 0; word hyphenated_v15220 = 0; (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) = formal_c0899; (* (( (ptr) &var_c70988)+5)/* node_v9644 */ ) = formal_c0900; (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ) = formal_c0901; /* NormalFormatLine: */ SOURCE(13075, 16854) { word tmpAddr116; tmpAddr116 = (word) (( (ptr) &var_c70988)+7)/* var_c61932 */ ; (* (ptr) tmpAddr116 ) = ( ((word) (fPt) GetHyphWidth_P4668) ); (* (( (ptr) tmpAddr116) + 1) ) = 1; }; { word tmpAddr117; tmpAddr117 = (word) (( (ptr) &var_c70988)+9)/* var_c61964 */ ; (* (ptr) tmpAddr117 ) = ( ((word) (fPt) TryBreakAfterDash_P3792) ); (* (( (ptr) tmpAddr117) + 1) ) = 1; }; { word tmpAddr118; tmpAddr118 = (word) (( (ptr) &var_c70988)+11)/* var_c61996 */ ; (* (ptr) tmpAddr118 ) = ( ((word) (fPt) AmplArt_P3636) ); (* (( (ptr) tmpAddr118) + 1) ) = 1; }; { word tmpAddr119; tmpAddr119 = (word) (( (ptr) &var_c70988)+13)/* var_c62028 */ ; (* (ptr) tmpAddr119 ) = ( ((word) (fPt) NodeStyleExtents_P3576) ); (* (( (ptr) tmpAddr119) + 1) ) = 1; }; SOURCE(13248, 36) (void) AllocScratchRefs_P600((word) (&my_v14268)); SOURCE(13286, 107) { word tc120; word pd121; word pd122; if (( (int)startOffset_v9672 == (int)0)) { pd121 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); tc120 = (word) ( *( (fPt) ((* (ptr) pd121 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 14, pd121); } else { pd122 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); tc120 = (word) ( *( (fPt) ((* (ptr) pd122 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 16, pd122); }; leftExtra_v14296 = tc120; }; SOURCE(13395, 85) { word tc123; word pd124; if (( (int)startOffset_v9672 == (int)0)) { pd124 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); tc123 = (word) ( *( (fPt) ((* (ptr) pd124 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 15, pd124); } else { tc123 = (word) (* (ptr) &fc125 ); }; rightExtra_v14324 = tc123; }; SOURCE(13482, 83) { word var_c62060; { word pd126; word x127; word x128; pd126 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); *(float*)&var_c62060 = ( x127 = (word) ( *( (fPt) ((* (ptr) pd126 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 12, pd126), *(float*)&x127 ) + ( x128 = leftExtra_v14296, *(float*)&x128 ); }; { word pd129; pd129 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); leftIndent_v14352 = (word) ( *( (fPt) ((* (ptr) pd129 ))))(var_c62060, pd129); }; }; SOURCE(13567, 86) { word var_c62092; { word pd130; word x131; word x132; pd130 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); *(float*)&var_c62092 = ( x131 = (word) ( *( (fPt) ((* (ptr) pd130 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 13, pd130), *(float*)&x131 ) + ( x132 = rightExtra_v14324, *(float*)&x132 ); }; { word pd133; pd133 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); rightIndent_v14380 = (word) ( *( (fPt) ((* (ptr) pd133 ))))(var_c62092, pd133); }; }; SOURCE(13655, 73) { word var_c62124; { word pd134; pd134 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); var_c62124 = (word) ( *( (fPt) ((* (ptr) pd134 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 47, pd134); }; { word pd135; pd135 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); lineLength_v14408 = (word) ( *( (fPt) ((* (ptr) pd135 ))))(var_c62124, pd135); }; }; SOURCE(13730, 200) { word a_v57976; { word a_v58068; a_v58068 = ( ( ( (int)lineLength_v14408 > (int)0) ? ( (int)lineLength_v14408 < (int)lineWidth_v9728) : 0 ) ? lineLength_v14408 : lineWidth_v9728 ) ; { word i_v58116; i_v58116 = (a_v58068 - leftIndent_v14352); a_v57976 = i_v58116; }; }; { word i_v58024; i_v58024 = (a_v57976 - rightIndent_v14380); (* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ ) = i_v58024; }; }; SOURCE(13964, 38) (* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ ) = 0; SOURCE(14149, 38) (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) = 0; SOURCE(14189, 32) (* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) = 0; SOURCE(14223, 34) (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ) = 0; SOURCE(14547, 49) highWaterChars_v14856 = (* (ptr) (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ) ); SOURCE(15204, 60) { word pd136; pd136 = (* (( (ptr) (* (( (ptr) gf_c71020)+170)/* var_c60812 */ ))+4) ); (* (( (ptr) &var_c70988)+20)/* reader_v15052 */ ) = (word) ( *( (fPt) ((* (ptr) pd136 ))))((* (( (ptr) &var_c70988)+5)/* node_v9644 */ ), my_v14268.f0, pd136) ; }; SOURCE(15266, 39) nodeSize_v15080 = (* (ptr) (* (( (ptr) &var_c70988)+20)/* reader_v15052 */ ) ); SOURCE(15307, 52) nodeChars_v15108 = (nodeSize_v15080 - (MIN((int)(word), startOffset_v9672, nodeSize_v15080))); SOURCE(15361, 79) (* (( (ptr) &var_c70988)+21)/* maxNChars_v15136 */ ) = (MIN((int)(word), nodeChars_v15108, 2147483647)); SOURCE(15442, 18) (* (( (ptr) &var_c70988)+22)/* maxIndex_v15164 */ ) = (word) -1; SOURCE(15504, 27) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) = (* (( (ptr) &var_c70988)+21)/* maxNChars_v15136 */ ); SOURCE(15533, 11673) { /* declaration of curIndex_v15468 skipped */ (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) = 0; if (((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) >= (* (( (ptr) &var_c70988)+21)/* maxNChars_v15136 */ ))) { goto lab_L100054; }; lab_L100057: ; { /* declaration of nodeIndex_v15512 skipped */ W3 cur_v15540; word xchar_v15568; word crBreak_v15596 = 0; word doLetterspace_v15624 = 1; word alteredWidth_v15652 = 0; /* declaration of width_v15680 skipped */ word var_c64908; word a_v58364; SOURCE(15572, 37) (* (( (ptr) &var_c70988)+24)/* nodeIndex_v15512 */ ) = (startOffset_v9672 + (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ )); SOURCE(15611, 73) { W3 var_c0285; { word var_c0866; (* (( (ptr) &var_c70988)+22)/* maxIndex_v15164 */ ) = (* (( (ptr) &var_c70988)+24)/* nodeIndex_v15512 */ ); var_c0866 = (* (( (ptr) &var_c70988)+24)/* nodeIndex_v15512 */ ); { word pd137; pd137 = (* (( (ptr) (* (( (ptr) gf_c71020)+170)/* var_c60812 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd137 ))))((word) &var_c0285, (* (( (ptr) &var_c70988)+20)/* reader_v15052 */ ), var_c0866, pd137) ; }; }; cur_v15540 = var_c0285; }; SOURCE(15686, 23) xchar_v15568 = cur_v15540.f0; SOURCE(15790, 33) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = 0; SOURCE(16312, 6033) if ((((((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) == 0) || (cur_v15540.f1 != (* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ ))) || (cur_v15540.f2 != charProps_v14520)) || (0 != haveCharacterArtwork_v14548)) || (xchar_v15568 <= 2)) { SOURCE(16428, 5917) SOURCE(16431, 16) { word realVShift_v15768; W9 new_v15796; word newExtension_v15824 = 0; W4 fontBoundingBox_v15852; /* declaration of charStyle_v15880 skipped */ word charPostfix_v15908 = 0; word charArtwork_v15936 = 0; word var_c62732; SOURCE(16449, 32) XR_FillWords(&new_v15796, 9, 0); (* (( (ptr) &new_v15796)+4) ) = (* (ptr) &fc125 ); SOURCE(16557, 28) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) = (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ); SOURCE(16624, 1955) if ((xchar_v15568 == 1) || (xchar_v15568 == 2)) { SOURCE(16688, 1891) charArtwork_v15936 = (* (( (ptr) gf_c71020)+68) ); }; SOURCE(16734, 21) (* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ ) = cur_v15540.f1; SOURCE(16757, 21) charProps_v14520 = cur_v15540.f2; SOURCE(16780, 1799) if ((charProps_v14520 != 0)) { SOURCE(16804, 1775) { word pd138; pd138 = (* (( (ptr) (* (( (ptr) gf_c71020)+177)/* var_c62636 */ ))+5) ); charPostfix_v15908 = (word) ( *( (fPt) ((* (ptr) pd138 ))))(charProps_v14520, (* (( (ptr) gf_c71020)+69) ), pd138); }; SOURCE(16849, 1730) { word pd139; pd139 = (* (( (ptr) (* (( (ptr) gf_c71020)+177)/* var_c62636 */ ))+5) ); charArtwork_v15936 = (word) ( *( (fPt) ((* (ptr) pd139 ))))(charProps_v14520, (* (( (ptr) gf_c71020)+70) ), pd139); }; }; SOURCE(16897, 41) haveCharacterArtwork_v14548 = 0; (* (( (ptr) &new_v15796)+8) ) = 0; SOURCE(16940, 1639) if ((charArtwork_v15936 == 0)) { SOURCE(16968, 1611) { register word f_v15992 = 0; register word noName_c62668; { word x140; noName_c62668 = (x140 = (* (ptr) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ) ), MIN( (unsigned) , x140, 9)); }; if (( (int)f_v15992 >= (int)noName_c62668)) { goto lab_L100059; }; lab_L100062: ; { W9 finfo_v16036; word e_v16064; SOURCE(17046, 59) { word var_c62700; var_c62700 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ); { /*1*/ word limit141; /*1*/ finfo_v16036 = (* (( (W9Pt) (( (ptr) var_c62700)+2))+( /*1*/ limit141 = (* (( (ptr) var_c62700)+1) ), /*1*/ BCK(f_v15992, limit141) /*1*/ )) ); /*1*/ }; }; SOURCE(17107, 36) e_v16064 = (* (( (ptr) &finfo_v16036)+7) ); SOURCE(17145, 1434) if ( ( ( ((* (ptr) &finfo_v16036 ) == (* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ )) ? ((* (( (ptr) e_v16064)+1) ) == charPostfix_v15908) : 0 ) ? (0 == (* (( (ptr) &finfo_v16036)+8) )) : 0 ) ) { SOURCE(17228, 19) curFormatNumber_v14576 = f_v15992; SOURCE(17249, 13) extension_v14884 = e_v16064; SOURCE(17264, 1315) fontWidths_v14464 = (word) GetWidthArray_P720((* ((( (ptr) &finfo_v16036)+1)) )); SOURCE(17304, 14) goto lab_L100058; }; }; f_v15992 = (f_v15992 + 1); if ((f_v15992 < noName_c62668)) { goto lab_L100062; }; lab_L100059: ; }; }; SOURCE(17335, 44) curFormatNumber_v14576 = (* (ptr) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ) ); SOURCE(17381, 78) if ((curFormatNumber_v14576 >= (* (( (ptr) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ))+1) ))) { SOURCE(17436, 23) (void) ExpandFormats_P480((* ((( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) )); }; SOURCE(17461, 1118) { word limit142; var_c62732 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ); extension_v14884 = (* (( (ptr) (( (W9Pt) (( (ptr) var_c62732)+2))+( limit142 = (* (( (ptr) var_c62732)+1) ), BCK(curFormatNumber_v14576, limit142) )))+7) ); }; SOURCE(17521, 57) if ((extension_v14884 == 0)) { SOURCE(17543, 35) extension_v14884 = XR_NewObject(76, (* (( (ptr) gf_c71020)+42) )); }; SOURCE(17580, 40) (* (( (ptr) &new_v15796)+7) ) = extension_v14884; newExtension_v15824 = extension_v14884; SOURCE(17622, 37) (* (ptr) newExtension_v15824 ) = charProps_v14520; SOURCE(17661, 38) (* (( (ptr) newExtension_v15824)+1) ) = charPostfix_v15908; SOURCE(17701, 35) (* (( (ptr) newExtension_v15824)+2) ) = 0; SOURCE(17738, 841) if (((* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ ) != 0)) { SOURCE(17772, 24) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) = my_v14268.f1; SOURCE(17798, 53) { word pd143; pd143 = (* (( (ptr) (* (( (ptr) gf_c71020)+171)/* var_c60844 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd143 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), (* (( (ptr) &var_c70988)+6) /* nodeStyle_v9700 */ ), pd143); }; SOURCE(17853, 726) { /* declaration of var_c01 skipped */ /* declaration of var_c02 skipped */ (* (( (ptr) &var_c70988)+27)/* var_c01 */ ) = (unsigned) ( * (bPt) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) >> 6) ; (* (( (ptr) &var_c70988)+28)/* var_c02 */ ) = (* (( (ptr) (* (( (ptr) gf_c71020)+171)/* var_c60844 */ ))+18) ); { word var_c0867; var_c0867 = (word) &var_c70988; (void) (word) XR_Enable(( ((word) (fPt) NoName_Q12072) ), ( ((word) (fPt) NoName_Q12312) ), var_c0867); }; }; }; SOURCE(18024, 208) if ((charPostfix_v15908 != 0)) { SOURCE(18052, 111) if (((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) == (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ))) { SOURCE(18084, 24) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) = my_v14268.f1; SOURCE(18110, 53) { word pd144; pd144 = (* (( (ptr) (* (( (ptr) gf_c71020)+171)/* var_c60844 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd144 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), (* (( (ptr) &var_c70988)+6) /* nodeStyle_v9700 */ ), pd144); }; }; SOURCE(18168, 64) { word pd145; pd145 = (* (( (ptr) (* (( (ptr) gf_c71020)+171)/* var_c60844 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd145 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), charPostfix_v15908, (unsigned) ( * (bPt) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) >> 6), pd145); }; }; SOURCE(18237, 769) { word var_c63020; var_c63020 = charArtwork_v15936; if ((var_c63020 == 0)) { goto lab_L100065; }; { word tc146; if (((* (( (ptr) gf_c71020)+63) ) == XR_GetReferentType(var_c63020))) { tc146 = (word) ( (unsigned) (*(int*)var_c63020<0) == 0); } else { tc146 = (word) 0; }; if (tc146) { { word r_v16108; r_v16108 = var_c63020; SOURCE(18277, 737) { /*1*/ word key_v16152; /*1*/ /* declaration of class_v16180 skipped */ SOURCE(18279, 28) /*1*/ { /*1*/ word pd147; /*1*/ pd147 = (* (( (ptr) (* (( (ptr) gf_c71020)+181)/* var_c63052 */ ))+5) ); /*1*/ key_v16152 = (word) ( *( (fPt) ((* (ptr) pd147 ))))(r_v16108, 0, 2147483647, pd147); /*1*/ }; SOURCE(18309, 60) /*1*/ (* (( (ptr) &var_c70988)+27)/* class_v16180 */ ) = (word) GetCharacterArtworkClass_P2040(key_v16152); SOURCE(18371, 635) /*1*/ if (((* (( (ptr) &var_c70988)+27)/* class_v16180 */ ) != 0)) { SOURCE(18393, 186) SOURCE(18393, 186) /*1*/ { /*1*/ /* declaration of var_c03 skipped */ /*1*/ /* declaration of var_c04 skipped */ /*1*/ (* (( (ptr) &var_c70988)+28) ) = (* (( (ptr) &var_c70988)+5)/* node_v9644 */ ); /*1*/ (* (( (ptr) &var_c70988)+29) ) = (* (( (ptr) &var_c70988)+24)/* nodeIndex_v15512 */ ); /*1*/ (* (( (ptr) &var_c70988)+30)/* var_c04 */ ) = (* (( (ptr) (* (( (ptr) &var_c70988)+27)/* class_v16180 */ ))+1) ); /*1*/ { /*1*/ /* declaration of var_c05 skipped */ /*1*/ { /*1*/ word var_c06; /*1*/ { /*1*/ word var_c0868; /*1*/ var_c0868 = (word) &var_c70988; /*1*/ var_c06 = (word) XR_Enable(( ((word) (fPt) NoName_Q12012) ), ( ((word) (fPt) NoName_Q12252) ), var_c0868); /*1*/ }; /*1*/ if ((var_c06 == 2)) { /*1*/ goto lab_L100067; /*1*/ }; /*1*/ }; /*1*/ (* (( (ptr) newExtension_v15824)+2) ) = (* (( (ptr) &var_c70988)+31)/* var_c05 */ ); /*1*/ }; /*1*/ }; /*1*/ lab_L100067: ; SOURCE(18596, 410) /*1*/ if (((* (( (ptr) newExtension_v15824)+2) ) != 0)) { SOURCE(18641, 367) /*1*/ { /*1*/ word vShift_v16224; SOURCE(18643, 51) /*1*/ { /*1*/ word pd148; /*1*/ pd148 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); /*1*/ vShift_v16224 = (word) ( *( (fPt) ((* (ptr) pd148 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 6, pd148); /*1*/ }; SOURCE(18696, 17) /*1*/ (* (( (ptr) &new_v15796)+8) ) = 1; SOURCE(18715, 27) /*1*/ haveCharacterArtwork_v14548 = 1; SOURCE(18744, 65) /*1*/ if ((0 != (* (( (ptr) (* (( (ptr) newExtension_v15824)+2) ))+7) ))) { SOURCE(18792, 17) /*1*/ mayAmplArt_v14996 = 1; /*1*/ }; SOURCE(18811, 97) /*1*/ { /*1*/ word var_c63148; /*1*/ { /*1*/ word x149; /*1*/ word x150; /*1*/ word x151; /*1*/ float tf152; /*1*/ word x153; /*1*/ var_c63148 = (x149 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ), /*1*/ x153 = (word) CeilingI_P120(( /*1*/ tf152 = ( /*1*/ x150 = (* (( (ptr) (* (( (ptr) newExtension_v15824)+2) ))+4) ), *(float*)&x150 /*1*/ ) + ( /*1*/ x151 = vShift_v16224, *(float*)&x151 /*1*/ ), *(word*)&tf152 /*1*/ )), /*1*/ MAX((int)(word), x149, x153)); /*1*/ }; /*1*/ (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c63148; /*1*/ }; SOURCE(18910, 96) /*1*/ { /*1*/ word var_c63180; /*1*/ { /*1*/ word x154; /*1*/ word x155; /*1*/ word x156; /*1*/ float tf157; /*1*/ word x158; /*1*/ var_c63180 = (x154 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ), /*1*/ x158 = (word) FloorI_P60(( /*1*/ tf157 = ( /*1*/ x155 = vShift_v16224, *(float*)&x155 /*1*/ ) - ( /*1*/ x156 = (* (( (ptr) (* (( (ptr) newExtension_v15824)+2) ))+3) ), *(float*)&x156 /*1*/ ), *(word*)&tf157 /*1*/ )), /*1*/ MIN((int)(word), x154, x158)); /*1*/ }; /*1*/ (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c63180; /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; }; } else { lab_L100065: ; }; }; }; SOURCE(19034, 76) { word var_c63212; { word pd159; pd159 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); var_c63212 = (word) ( *( (fPt) ((* (ptr) pd159 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 2, pd159); }; { word pd160; pd160 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); (* (( (ptr) newExtension_v15824)+9) ) = (word) ( *( (fPt) ((* (ptr) pd160 ))))(var_c63212, pd160); }; }; SOURCE(19112, 67) if (((* (( (ptr) newExtension_v15824)+9) ) != 0)) { SOURCE(19157, 22) haveLetterspace_v14716 = 1; }; SOURCE(19181, 39) { word pd161; pd161 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+41) ); (* (( (ptr) &new_v15796)+1) ) = (word) ( *( (fPt) ((* (ptr) pd161 ))))((* ((( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) ), pd161) ; }; SOURCE(19222, 47) { word pd162; pd162 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+43) ); (* (( (ptr) &new_v15796)+2) ) = (word) ( *( (fPt) ((* (ptr) pd162 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 0, pd162) ; }; SOURCE(19271, 54) { word pd163; pd163 = (* (( (ptr) (* (( (ptr) gf_c71020)+173)/* var_c61100 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd163 ))))((word) &fontBoundingBox_v15852, (* (( (ptr) &new_v15796)+1) ), pd163); }; SOURCE(19327, 21) (* (ptr) &new_v15796 ) = (* (( (ptr) &var_c70988)+16)/* charLooks_v14492 */ ); SOURCE(19350, 53) (* (( (ptr) &new_v15796)+6) ) = (unsigned) ( * (bPt) (( (bPt) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ))+1) >> 6) ; SOURCE(19405, 524) if (((* (( (ptr) &new_v15796)+6) ) != 0)) { SOURCE(19436, 495) { word underlineThickness_v16268; word underlineDescent_v16296; SOURCE(19438, 75) { word pd164; pd164 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); underlineThickness_v16268 = (word) ( *( (fPt) ((* (ptr) pd164 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 57, pd164) ; }; SOURCE(19515, 71) { word pd165; pd165 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); underlineDescent_v16296 = (word) ( *( (fPt) ((* (ptr) pd165 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 58, pd165) ; }; SOURCE(19588, 49) (* (( (ptr) newExtension_v15824)+4) ) = underlineThickness_v16268; SOURCE(19639, 43) (* (( (ptr) newExtension_v15824)+3) ) = underlineDescent_v16296; SOURCE(19684, 71) { word var_c63276; { word x166; word x167; float tf168; word x169; var_c63276 = (x166 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ), /*1*/ x169 = (word) CeilingI_P120(( /*1*/ tf168 = - ( /*1*/ x167 = (* (( (ptr) newExtension_v15824)+3) ), *(float*)&x167 /*1*/ ), *(word*)&tf168 /*1*/ )), /*1*/ MAX((int)(word), x166, x169)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c63276; }; SOURCE(19757, 100) { word var_c63308; { word x170; word x171; word x172; float tf173; word x174; var_c63308 = (x170 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ), /*1*/ x174 = (word) FloorI_P60(( /*1*/ tf173 = - (( /*1*/ x171 = (* (( (ptr) newExtension_v15824)+4) ), *(float*)&x171 /*1*/ ) + ( /*1*/ x172 = (* (( (ptr) newExtension_v15824)+3) ), *(float*)&x172 /*1*/ )), *(word*)&tf173 /*1*/ )), /*1*/ MIN((int)(word), x170, x174)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c63308; }; SOURCE(19859, 70) { word pd175; pd175 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+43) ); (* (( (ptr) newExtension_v15824)+5) ) = (word) ( *( (fPt) ((* (ptr) pd175 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 1, pd175) ; }; }; }; SOURCE(19934, 49) (* (( (ptr) &new_v15796)+5) ) = (unsigned) ((* (bPt) (* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ) ) & 3); SOURCE(19985, 520) if (((* (( (ptr) &new_v15796)+5) ) != 0)) { SOURCE(20014, 493) { word strikeoutThickness_v16340; word strikeoutAscent_v16368; SOURCE(20016, 75) { word pd176; pd176 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); strikeoutThickness_v16340 = (word) ( *( (fPt) ((* (ptr) pd176 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 62, pd176) ; }; SOURCE(20093, 69) { word pd177; pd177 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); strikeoutAscent_v16368 = (word) ( *( (fPt) ((* (ptr) pd177 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 63, pd177) ; }; SOURCE(20164, 49) (* (( (ptr) newExtension_v15824)+7) ) = strikeoutThickness_v16340; SOURCE(20215, 43) { word x178; *(float*)(( (ptr) newExtension_v15824)+6) = - ( x178 = strikeoutAscent_v16368, *(float*)&x178 ); }; SOURCE(20260, 71) { word var_c63340; { word x179; word x180; float tf181; word x182; var_c63340 = (x179 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ), /*1*/ x182 = (word) CeilingI_P120(( /*1*/ tf181 = - ( /*1*/ x180 = (* (( (ptr) newExtension_v15824)+6) ), *(float*)&x180 /*1*/ ), *(word*)&tf181 /*1*/ )), /*1*/ MAX((int)(word), x179, x182)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c63340; }; SOURCE(20333, 100) { word var_c63372; { word x183; word x184; word x185; float tf186; word x187; var_c63372 = (x183 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ), /*1*/ x187 = (word) FloorI_P60(( /*1*/ tf186 = - (( /*1*/ x184 = (* (( (ptr) newExtension_v15824)+7) ), *(float*)&x184 /*1*/ ) + ( /*1*/ x185 = (* (( (ptr) newExtension_v15824)+6) ), *(float*)&x185 /*1*/ )), *(word*)&tf186 /*1*/ )), /*1*/ MIN((int)(word), x183, x187)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c63372; }; SOURCE(20435, 70) { word pd188; pd188 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+43) ); (* (( (ptr) newExtension_v15824)+8) ) = (word) ( *( (fPt) ((* (ptr) pd188 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 2, pd188) ; }; }; }; SOURCE(20552, 1269) { word backgroundAscent_v16412; word backgroundDescent_v16440; word outlineBoxThickness_v16468; word backgroundHeight_v16496; word var_c63404; SOURCE(20554, 71) { word pd189; pd189 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); backgroundAscent_v16412 = (word) ( *( (fPt) ((* (ptr) pd189 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 72, pd189) ; }; SOURCE(20627, 73) { word pd190; pd190 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); backgroundDescent_v16440 = (word) ( *( (fPt) ((* (ptr) pd190 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 73, pd190) ; }; SOURCE(20702, 84) { word pd191; word x192; float tf193; float tf194; word x195; float tf196; pd191 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); outlineBoxThickness_v16468 = ( tf196 = FMAX(( /*1*/ x192 = (word) ( *( (fPt) ((* (ptr) pd191 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 67, pd191), *(float*)&x192 /*1*/ ), ( /*1*/ x195 = (* (ptr) &fc125 ), *(float*)&x195 /*1*/ ), tf193, tf194), *(word*)&tf196 ); }; SOURCE(20788, 59) { word x197; word x198; *(float*)&backgroundHeight_v16496 = ( x197 = backgroundAscent_v16412, *(float*)&x197 ) + ( x198 = backgroundDescent_v16440, *(float*)&x198 ); }; SOURCE(20849, 967) { word x199; word x200; word x201; word x202; if ((( x199 = backgroundHeight_v16496, *(float*)&x199 ) > ( x200 = (* (ptr) &fc125 ), *(float*)&x200 ))) { var_c63404 = (unsigned) 1; } else { var_c63404 = (unsigned) (( x201 = outlineBoxThickness_v16468, *(float*)&x201 ) > ( x202 = (* (ptr) &fc125 ), *(float*)&x202 )); }; }; (* (( (ptr) newExtension_v15824)+11) ) = var_c63404; if ((0 != var_c63404)) { SOURCE(20941, 29) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+17) ) = 1; SOURCE(20972, 48) (* (( (ptr) newExtension_v15824)+12) ) = backgroundAscent_v16412; SOURCE(21022, 50) (* (( (ptr) newExtension_v15824)+13) ) = backgroundDescent_v16440; SOURCE(21074, 72) { word pd203; pd203 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+43) ); (* (( (ptr) newExtension_v15824)+14) ) = (word) ( *( (fPt) ((* (ptr) pd203 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 4, pd203) ; }; SOURCE(21148, 80) { word pd204; pd204 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); (* (( (ptr) newExtension_v15824)+15) ) = (word) ( *( (fPt) ((* (ptr) pd204 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 68, pd204) ; }; SOURCE(21230, 257) { word x205; word x206; if ((( x205 = backgroundHeight_v16496, *(float*)&x205 ) <= ( x206 = (* (ptr) &fc125 ), *(float*)&x206 ))) { SOURCE(21264, 87) { /*1*/ word x207; /*1*/ word x208; /*1*/ *(float*)(( (ptr) newExtension_v15824)+12) = ( /*1*/ x207 = fontBoundingBox_v15852.f3, *(float*)&x207 /*1*/ ) + ( /*1*/ x208 = (* (( (ptr) newExtension_v15824)+15) ), *(float*)&x208 /*1*/ ); /*1*/ }; SOURCE(21353, 89) { /*1*/ word x209; /*1*/ word x210; /*1*/ *(float*)(( (ptr) newExtension_v15824)+13) = ( /*1*/ x209 = fontBoundingBox_v15852.f2, *(float*)&x209 /*1*/ ) + ( /*1*/ x210 = (* (( (ptr) newExtension_v15824)+15) ), *(float*)&x210 /*1*/ ); /*1*/ }; SOURCE(21444, 43) (* (( (ptr) newExtension_v15824)+14) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c71020)+183)/* var_c63436 */ ))+55) ) ); }; }; SOURCE(21492, 54) (* (( (ptr) newExtension_v15824)+16) ) = outlineBoxThickness_v16468; SOURCE(21548, 72) { word pd211; pd211 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+43) ); (* (( (ptr) newExtension_v15824)+17) ) = (word) ( *( (fPt) ((* (ptr) pd211 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 3, pd211) ; }; SOURCE(21622, 95) { word var_c63468; { word x212; word x213; word x214; float tf215; word x216; var_c63468 = (x212 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ), /*1*/ x216 = (word) CeilingI_P120(( /*1*/ tf215 = ( /*1*/ x213 = (* (( (ptr) newExtension_v15824)+12) ), *(float*)&x213 /*1*/ ) + ( /*1*/ x214 = outlineBoxThickness_v16468, *(float*)&x214 /*1*/ ), *(word*)&tf215 /*1*/ )), /*1*/ MAX((int)(word), x212, x216)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c63468; }; SOURCE(21719, 97) { word var_c63500; { word x217; word x218; word x219; float tf220; word x221; var_c63500 = (x217 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ), /*1*/ x221 = (word) FloorI_P60(( /*1*/ tf220 = - (( /*1*/ x218 = (* (( (ptr) newExtension_v15824)+13) ), *(float*)&x218 /*1*/ ) + ( /*1*/ x219 = outlineBoxThickness_v16468, *(float*)&x219 /*1*/ )), *(word*)&tf220 /*1*/ )), /*1*/ MIN((int)(word), x217, x221)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c63500; }; }; }; SOURCE(21824, 58) { word pd222; pd222 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); (* (( (ptr) newExtension_v15824)+10) ) = (word) ( *( (fPt) ((* (ptr) pd222 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 5, pd222) ; }; SOURCE(21884, 49) { word pd223; pd223 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); realVShift_v15768 = (word) ( *( (fPt) ((* (ptr) pd223 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 6, pd223) ; }; SOURCE(21935, 23) (* (( (ptr) &new_v15796)+4) ) = realVShift_v15768; SOURCE(21960, 60) { word var_c63532; { word pd224; word x225; pd224 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+13) ); var_c63532 = (x225 = (word) ( *( (fPt) ((* (ptr) pd224 ))))((* (( (ptr) &var_c70988)+26)/* charStyle_v15880 */ ), 77, pd224) , MAX((int)(word), x225, 0)); }; (* (( (ptr) newExtension_v15824)+18) ) = var_c63532; }; SOURCE(22022, 81) { word var_c63564; { word x226; word x227; word x228; float tf229; word x230; var_c63564 = (x226 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ), x230 = (word) CeilingI_P120(( /*1*/ tf229 = ( /*1*/ x227 = fontBoundingBox_v15852.f3, *(float*)&x227 /*1*/ ) + ( /*1*/ x228 = realVShift_v15768, *(float*)&x228 /*1*/ ), *(word*)&tf229 /*1*/ )), MAX((int)(word), x226, x230)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c63564; }; SOURCE(22105, 81) { word var_c63596; { word x231; word x232; word x233; float tf234; word x235; var_c63596 = (x231 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ), x235 = (word) FloorI_P60(( /*1*/ tf234 = ( - ( /*1*/ x232 = fontBoundingBox_v15852.f2, *(float*)&x232 /*1*/ )) + ( /*1*/ x233 = realVShift_v15768, *(float*)&x233 /*1*/ ), *(word*)&tf234 /*1*/ )), MIN((int)(word), x231, x235)); }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c63596; }; SOURCE(22188, 36) fontWidths_v14464 = (word) GetWidthArray_P720((* ((( (ptr) &new_v15796)+1)) )); SOURCE(22226, 42) { word var_c63628; var_c63628 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ); { word limit236; (* (( (W9Pt) (( (ptr) var_c63628)+2))+( limit236 = (* (( (ptr) var_c63628)+1) ), BCK(curFormatNumber_v14576, limit236) )) ) = new_v15796; }; }; SOURCE(22270, 48) (* (ptr) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ) ) = BCK((curFormatNumber_v14576 + 1), 1073741824) ; }; goto lab_L100070; lab_L100058: ; lab_L100070: ; }; SOURCE(22348, 104) if (((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) >= highWaterChars_v14856)) { SOURCE(22385, 21) (void) ExpandChars_P420((* ((( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) )); SOURCE(22408, 44) highWaterChars_v14856 = (* (ptr) (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ) ); }; SOURCE(22457, 1433) if ((0 != haveCharacterArtwork_v14548)) { SOURCE(22488, 64) { word pd237; pd237 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (word) ( *( (fPt) ((* (ptr) pd237 ))))((* ((( (ptr) (* (( (ptr) extension_v14884)+2) ))+5)) ), pd237); }; SOURCE(22554, 21) doLetterspace_v15624 = 0; SOURCE(22577, 24) spaceAtEnd_v14688 = 0; SOURCE(22603, 90) if ((0 != (* (( (ptr) (* (( (ptr) extension_v14884)+2) ))+7) ))) { SOURCE(22648, 45) { word var_c63692; word i_v57028; i_v57028 = (spaceWidths_v14828 + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c63692 = i_v57028; spaceWidths_v14828 = var_c63692; }; }; } else { SOURCE(22702, 1188) { word var_c63724; var_c63724 = xchar_v15568; if ((var_c63724 == 13) || (var_c63724 == 10)) { SOURCE(22734, 14) crBreak_v15596 = 1; SOURCE(22750, 23) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (* (ptr) fontWidths_v14464 ); SOURCE(22775, 25) (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); SOURCE(22802, 33) { word i_v56984; i_v56984 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ) = i_v56984; }; SOURCE(22837, 21) doLetterspace_v15624 = 0; goto endif0238; }; if ((var_c63724 == 32)) { SOURCE(22872, 23) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (* (ptr) fontWidths_v14464 ); SOURCE(22897, 45) { word var_c63788; word i_v56940; i_v56940 = (spaceWidths_v14828 + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c63788 = i_v56940; spaceWidths_v14828 = var_c63788; }; SOURCE(22944, 25) (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); SOURCE(22971, 33) { word i_v56896; i_v56896 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ) = i_v56896; }; SOURCE(23006, 43) { word var_c63852; word i_v56852; i_v56852 = (spaceAtEnd_v14688 + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c63852 = i_v56852; spaceAtEnd_v14688 = var_c63852; }; SOURCE(23051, 21) doLetterspace_v15624 = 0; goto endif0238; }; if ((var_c63724 == 45)) { SOURCE(23088, 25) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (* (( (ptr) fontWidths_v14464)+13) ); SOURCE(23115, 24) spaceAtEnd_v14688 = 0; SOURCE(23141, 19) (void) TryBreakAfterDash_P3792((word) ((( (bPt) &var_c70988)+36)/* var_c61964 */ )); goto endif0238; }; if ((var_c63724 == 9)) { SOURCE(23175, 25) spaceWidths_v14828 = 0; SOURCE(23202, 39) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+19) ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); SOURCE(23243, 96) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (word) ComputeTabWidth_P840((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), (* (ptr) fontWidths_v14464 ), (* ( ( (ptr) &var_c70988)+18)/* endX_v14632 */ ), nTabs_v15192); SOURCE(23341, 25) (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); SOURCE(23368, 33) { word i_v56808; i_v56808 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ) = i_v56808; }; SOURCE(23403, 43) { word var_c63980; word i_v56764; i_v56764 = (spaceAtEnd_v14688 + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c63980 = i_v56764; spaceAtEnd_v14688 = var_c63980; }; SOURCE(23448, 17) nTabs_v15192 = (nTabs_v15192 + 1); SOURCE(23467, 21) doLetterspace_v15624 = 0; goto endif0238; }; if (((var_c63724 - 32) <= 94)) { SOURCE(23515, 25) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (* (( (ptr) fontWidths_v14464)+BCK((xchar_v15568 - 32), 95)) ); SOURCE(23542, 24) spaceAtEnd_v14688 = 0; goto endif0238; }; SOURCE(23580, 330) { word font_v16540; word var_c64044; SOURCE(23582, 54) { word limit239; var_c64044 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+1) ); font_v16540 = (* (( (ptr) (( (W9Pt) (( (ptr) var_c64044)+2))+( /*1*/ limit239 = (* (( (ptr) var_c64044)+1) ), /*1*/ BCK(curFormatNumber_v14576, limit239) /*1*/ )))+1) ); }; SOURCE(23638, 61) { W2 var_c0349; word var_c64076; { word pd240; pd240 = (* (( (ptr) (* (( (ptr) gf_c71020)+173)/* var_c61100 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd240 ))))((word) &var_c0349, font_v16540, xchar_v15568, pd240); }; var_c64076 = var_c0349.f0; { word pd241; pd241 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = (word) ( *( (fPt) ((* (ptr) pd241 ))))(var_c64076, pd241); }; }; SOURCE(23701, 24) spaceAtEnd_v14688 = 0; SOURCE(23727, 163) { word var_c64140; var_c64140 = xchar_v15568; switch (var_c64140) { case 8510: case 61220: case 61221: case 61222: case 24: SOURCE(23794, 19) (void) TryBreakAfterDash_P3792((word) ((( (bPt) &var_c70988)+36)/* var_c61964 */ )); break; case 61219: SOURCE(23831, 17) xchar_v15568 = (word) -1; SOURCE(23850, 19) (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ) = 0; SOURCE(23871, 19) alteredWidth_v15652 = 1; break; default: break; }; }; }; goto endif0238; endif0238: ; }; }; SOURCE(23913, 408) if ((0 != haveLetterspace_v14716)) { SOURCE(23939, 338) if ( ( ((0 != prevDoLetterspace_v14772) && (0 != doLetterspace_v15624)) ? ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) > 0) : 0 ) ) { SOURCE(24000, 279) { word pad_v16584; word var_c64364; word var_c64396; word var_c64588; word var_c64620; word var_c64428; word a_v56580; word var_c64460; word var_c64492; SOURCE(24002, 89) { word var_c64204; { word var_c64236; word b_v56672; b_v56672 = (* (( (ptr) extension_v14884)+9) ); { word i_v56720; i_v56720 = (prevLetterspace_v14744 + b_v56672); var_c64236 = i_v56720; }; var_c64204 = var_c64236; }; { word pd242; pd242 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+21) ); pad_v16584 = (word) ( *( (fPt) ((* (ptr) pd242 ))))(var_c64204, (word) -1, pd242); }; }; SOURCE(24093, 60) { word limit243; word tadr244; var_c64364 = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) - 1); var_c64396 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); tadr244 = (word) (( (ptr) ((( (W3Pt) (( (ptr) var_c64396)+1))+( /*1*/ limit243 = (* (ptr) var_c64396 ), /*1*/ BCK(var_c64364, limit243) /*1*/ )))) + 1); (* (ptr) tadr244 ) = ((* (ptr) tadr244 ) & 4294967293) | (((word) (pad_v16584 != 0)) << 1); }; SOURCE(24155, 91) { word limit245; var_c64588 = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) - 1); var_c64620 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); { word limit246; var_c64460 = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) - 1); var_c64492 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); a_v56580 = (* (( (W3Pt) (( (ptr) var_c64492)+1))+( /*1*/ limit246 = (* (ptr) var_c64492 ), /*1*/ BCK(var_c64460, limit246) /*1*/ )) ).f2; }; { word i_v56628; i_v56628 = (a_v56580 + pad_v16584); var_c64428 = i_v56628; }; (* (( (W3Pt) (( (ptr) var_c64620)+1))+( limit245 = (* (ptr) var_c64620 ), BCK(var_c64588, limit245) )) ).f2 = (var_c64428 ); }; SOURCE(24248, 29) { word var_c64652; word i_v56536; i_v56536 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) + pad_v16584); var_c64652 = i_v56536; (* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) = var_c64652; }; }; }; SOURCE(24282, 39) prevLetterspace_v14744 = (* (( (ptr) extension_v14884)+9) ); }; SOURCE(24326, 33) prevDoLetterspace_v14772 = doLetterspace_v15624; SOURCE(24361, 135) { word var_c64716; word var_c64684; { word idx247; word limit248; var_c64684 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); var_c64716 = (word) (( (W3Pt) (( (bPt) var_c64684)+4))+( idx247 = (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ), limit248 = (* (ptr) var_c64684 ), BCK(idx247, limit248) )); }; (* (ptr) var_c64716 ) = xchar_v15568; (* (( (ptr) var_c64716)+1) ) = ((word) (((word) ( (((unsigned)curFormatNumber_v14576 << 2) >> 2) ) << 1) + (unsigned) (alteredWidth_v15652 & 1)) << 1); (* (( (ptr) var_c64716)+2) ) = (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ); }; SOURCE(24498, 31) { word var_c64748; word i_v56492; i_v56492 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) + (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c64748 = i_v56492; (* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) = var_c64748; }; SOURCE(24531, 304) if ((0 != crBreak_v15596)) { SOURCE(24547, 295) { word nlr_v16628; word newline_v16656; SOURCE(24549, 61) { word var_c64780; { word pd249; pd249 = (* (( (ptr) (* (( (ptr) gf_c71020)+179)/* var_c62956 */ ))+9) ); var_c64780 = (word) ( *( (fPt) ((* (ptr) pd249 ))))((* ((( (ptr) &var_c70988)+5)/* node_v9644 */ ) ), pd249); }; { word pd250; pd250 = (* (( (ptr) (* (( (ptr) gf_c71020)+184)/* var_c64812 */ ))+41) ); nlr_v16628 = (word) ( *( (fPt) ((* (ptr) pd250 ))))(var_c64780, pd250); }; }; SOURCE(24612, 81) { word char_v55340; { word tc251; word pd252; word pd253; pd252 = (* (( (ptr) (* (( (ptr) gf_c71020)+185)/* var_c64876 */ ))+15) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd252 ))))(nlr_v16628, pd252) > (int)0)) { pd253 = (* (( (ptr) (* (( (ptr) gf_c71020)+185)/* var_c64876 */ ))+9) ); tc251 = (word) ( *( (fPt) ((* (ptr) pd253 ))))(nlr_v16628, 0, pd253); } else { tc251 = (word) 13; }; char_v55340 = tc251; }; newline_v16656 = char_v55340; }; SOURCE(24695, 62) if ((xchar_v15568 == newline_v16656)) { (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) = 1; } else { (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) = 0; }; SOURCE(24759, 23) breakSpaceAtEnd_v14800 = (* (( (ptr) &var_c70988)+25)/* width_v15680 */ ); SOURCE(24784, 19) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) = 1; SOURCE(24805, 30) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); SOURCE(24837, 5) goto lab_L100055; }; }; SOURCE(24845, 2361) { word i_v57932; i_v57932 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - spaceAtEnd_v14688); a_v58364 = i_v57932; }; var_c64908 = (unsigned) ( (int)a_v58364 > (int)(* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ )); if (((0 != var_c64908) )) { SOURCE(24918, 2297) { word partialWordWidth_v16700; SOURCE(24920, 85) { word a_v57796; { word i_v57888; i_v57888 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - spaceAtEnd_v14688); a_v57796 = i_v57888; }; { word i_v57844; i_v57844 = (a_v57796 - (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ )); partialWordWidth_v16700 = i_v57844; }; }; SOURCE(25007, 21) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) = 2; SOURCE(25030, 1983) if ( ( (spaceAtEnd_v14688 == 0) ? ( (int)((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) - (* (( (ptr) &var_c70988)+17) /* breakIndex_v14604 */ )) >= (int)(* (( (ptr) gf_c71020)+9)/* minHyphLetters_v4064 */ )) : 0 ) ) { SOURCE(25110, 1914) { word hyphenationClass_v16744; word hyph_v16772; SOURCE(25112, 66) hyphenationClass_v16744 = (* (( (ptr) (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ))+15) ); SOURCE(25180, 40) hyph_v16772 = (word) FetchHyph_P1200(hyphenationClass_v16744); SOURCE(25222, 1791) if ((hyph_v16772 != 0)) { SOURCE(25239, 1782) { W4 h_v16816; word index0_v16844; word index1_v16872; SOURCE(25241, 44) XR_FillWords(&h_v16816, 4, 0); SOURCE(25287, 36) index0_v16844 = (startOffset_v9672 + (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ )); SOURCE(25325, 20) index1_v16872 = index0_v16844; SOURCE(25347, 404) lab_L100092: ; if (( (int)index1_v16872 < (int)nodeSize_v15080)) { /*1*/ } else { /*1*/ goto lab_L100090; /*1*/ }; { /*1*/ word c_v16916; /*1*/ word alpha_v16944; SOURCE(25372, 47) /*1*/ { /*1*/ word pd254; /*1*/ pd254 = (* (( (ptr) (* (( (ptr) gf_c71020)+170)/* var_c60812 */ ))+10) ); /*1*/ c_v16916 = (word) ( *( (fPt) ((* (ptr) pd254 ))))((* (( (ptr) &var_c70988)+20)/* reader_v15052 */ ), index1_v16872, pd254) /*1*/ ; /*1*/ }; SOURCE(25421, 257) /*1*/ { /*1*/ word var_c65164; /*1*/ var_c65164 = ((word) c_v16916 >> 8); /*1*/ switch (var_c65164) { /*1*/ case 0: /*1*/ { /*1*/ word var_c65196; /*1*/ var_c65196 = BCK(c_v16916, 256); /*1*/ if ((((var_c65196 - 97) <= 25) || ((var_c65196 - 65) <= 25)) || ((var_c65196 - 193) <= 16)) { /*1*/ alpha_v16944 = 1; /*1*/ } /*1*/ else { /*1*/ alpha_v16944 = 0; /*1*/ }; /*1*/ }; /*1*/ break; /*1*/ case 38: case 39: /*1*/ alpha_v16944 = 1; /*1*/ break; /*1*/ case 239: /*1*/ alpha_v16944 = (unsigned) ((c_v16916 & 0377) == 35); /*1*/ break; /*1*/ default: /*1*/ alpha_v16944 = 0; /*1*/ break; /*1*/ }; /*1*/ }; SOURCE(25680, 32) /*1*/ { /*1*/ word x255; /*1*/ (* (( (ptr) &var_c70988)+22)/* maxIndex_v15164 */ ) = (x255 = (* (( (ptr) &var_c70988)+22)/* maxIndex_v15164 */ ), /*1*/ MAX((int)(word), x255, index1_v16872)); /*1*/ }; SOURCE(25714, 37) /*1*/ if ((0 != alpha_v16944)) { SOURCE(25728, 23) /*1*/ index1_v16872 = (index1_v16872 + 1); /*1*/ } /*1*/ else { SOURCE(25751, 4) /*1*/ goto lab_L100091; /*1*/ }; /*1*/ }; goto lab_L100092; lab_L100090: ; lab_L100091: ; SOURCE(25766, 104) if (( (int)index1_v16872 > (int)index0_v16844)) { SOURCE(25788, 82) /*1*/ { /*1*/ word pd256; /*1*/ pd256 = (* (ptr) hyph_v16772 ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd256 ))))((word) &h_v16816, (* (( (ptr) &var_c70988)+5)/* node_v9644 */ ), index0_v16844, (index1_v16872 - index0_v16844), (* ( /*1*/ ( (ptr) hyph_v16772)+1) ), pd256); /*1*/ }; /*1*/ }; SOURCE(25872, 1141) if (( (unsigned) (* (bPt) &h_v16816 ) > 0)) { SOURCE(25889, 1129) /*1*/ { /*1*/ /* declaration of formatNum_v16988 skipped */ /*1*/ /* declaration of hyphChar_v17016 skipped */ /*1*/ /* declaration of hyphWidth_v17044 skipped */ /*1*/ /* declaration of artChar_v17072 skipped */ /*1*/ word i_v17128 = 0; /*1*/ word w_v17156; /*1*/ word b_v17184; /*1*/ word j_v17212 = 0; /*1*/ word var_c65260; /*1*/ word b_v58316; SOURCE(25891, 25) /*1*/ (* (( (ptr) &var_c70988)+26)/* formatNum_v16988 */ ) = 2147483647; SOURCE(25918, 24) /*1*/ (* (( (ptr) &var_c70988)+27)/* hyphChar_v17016 */ ) = 0; SOURCE(25944, 37) /*1*/ (* (( (ptr) &var_c70988)+28)/* hyphWidth_v17044 */ ) = 0; SOURCE(25983, 21) /*1*/ (* (( (ptr) &var_c70988)+29)/* artChar_v17072 */ ) = 0; SOURCE(26441, 24) /*1*/ w_v17156 = (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ); SOURCE(26467, 19) /*1*/ b_v17184 = (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ); SOURCE(26500, 318) /*1*/ lab_L100095: ; /*1*/ { /*1*/ word tc257; /*1*/ word tc258; /*1*/ word tc259; /*1*/ if ( ( ((b_v17184 + j_v17212) < (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ )) ? (i_v17128 < 16) : 0 ) ) { /*1*/ tc259 = (word) ( (unsigned) (word) (* (( (bPt) &h_v16816)+BCK(i_v17128, 16)) ) > 0); /*1*/ } /*1*/ else { /*1*/ tc259 = (word) 0; /*1*/ }; /*1*/ if (tc259) { /*1*/ { /*1*/ word a_v56372; /*1*/ word b_v56400; /*1*/ a_v56372 = w_v17156; /*1*/ b_v56400 = (word) GetHyphWidth_P4668(SGNCK((b_v17184 + j_v17212)), (word) (( (bPt) &var_c70988)+28)/* var_c61932 */ ); /*1*/ { /*1*/ word i_v56448; /*1*/ i_v56448 = (a_v56372 + b_v56400); /*1*/ b_v58316 = i_v56448; /*1*/ }; /*1*/ }; /*1*/ var_c65260 = (unsigned) ( (int)(* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ ) > (int)b_v58316); /*1*/ tc258 = (word) (0 != var_c65260); /*1*/ } /*1*/ else { /*1*/ tc258 = (word) 0; /*1*/ }; /*1*/ if (tc258) { /*1*/ tc257 = (word) (0 == (* (( (ptr) &var_c70988)+29)/* artChar_v17072 */ )); /*1*/ } /*1*/ else { /*1*/ tc257 = (word) 0; /*1*/ }; /*1*/ if (tc257) { /*1*/ } /*1*/ else { /*1*/ goto lab_L100093; /*1*/ }; /*1*/ }; SOURCE(26653, 101) /*1*/ if ((j_v17212 == (unsigned) (word) (* (( (bPt) &h_v16816)+BCK(i_v17128, 16)) ))) { SOURCE(26672, 16) /*1*/ (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) = SGNCK((b_v17184 + j_v17212)); SOURCE(26690, 34) /*1*/ { /*1*/ word i_v56328; /*1*/ i_v56328 = (w_v17156 + (* (( (ptr) &var_c70988)+28)/* hyphWidth_v17044 */ )); /*1*/ (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ) = i_v56328; /*1*/ }; SOURCE(26726, 17) /*1*/ hyphenated_v15220 = 1; SOURCE(26745, 9) /*1*/ i_v17128 = (i_v17128 + 1); /*1*/ }; SOURCE(26759, 48) /*1*/ { /*1*/ word var_c65420; /*1*/ word b_v56236; /*1*/ word var_c65452; /*1*/ word var_c65484; /*1*/ { /*1*/ word limit260; /*1*/ var_c65452 = (b_v17184 + j_v17212); /*1*/ var_c65484 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); /*1*/ b_v56236 = (* (( (W3Pt) (( (ptr) var_c65484)+1))+( /*1*/ limit260 = (* (ptr) var_c65484 ), /*1*/ BCK(var_c65452, limit260) /*1*/ )) ).f2; /*1*/ }; /*1*/ { /*1*/ word i_v56284; /*1*/ i_v56284 = (w_v17156 + b_v56236); /*1*/ var_c65420 = i_v56284; /*1*/ }; /*1*/ w_v17156 = var_c65420; /*1*/ }; SOURCE(26809, 9) /*1*/ j_v17212 = (j_v17212 + 1); /*1*/ goto lab_L100095; /*1*/ lab_L100093: ; SOURCE(26829, 184) /*1*/ if ((0 != hyphenated_v15220)) { SOURCE(26850, 29) /*1*/ { /*1*/ word var_c65580; /*1*/ var_c65580 = (word) GetHyphWidth_P4668((* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ), (word) (( (bPt) &var_c70988)+28) /*1*/ /* var_c61932 */ ); /*1*/ }; SOURCE(26881, 132) /*1*/ { /*1*/ word var_c65644; /*1*/ word var_c65612; /*1*/ { /*1*/ word idx261; /*1*/ word limit262; /*1*/ var_c65612 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); /*1*/ var_c65644 = (word) (( (W3Pt) (( (bPt) var_c65612)+4))+( /*1*/ idx261 = (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ), /*1*/ limit262 = (* (ptr) var_c65612 ), /*1*/ BCK(idx261, limit262) /*1*/ )); /*1*/ }; /*1*/ (* (ptr) var_c65644 ) = (* (( (ptr) &var_c70988)+27)/* hyphChar_v17016 */ ); /*1*/ { /*1*/ word idx263; /*1*/ (* (( (ptr) var_c65644)+1) ) = ((word) ( /*1*/ idx263 = (* (( (ptr) &var_c70988)+26)/* formatNum_v16988 */ ), /*1*/ BCK(idx263, 1073741824) /*1*/ ) << 2); /*1*/ }; /*1*/ (* (( (ptr) var_c65644)+2) ) = (* (( (ptr) &var_c70988)+28)/* hyphWidth_v17044 */ ); /*1*/ }; /*1*/ }; /*1*/ }; /*1*/ }; }; }; }; }; SOURCE(27027, 179) if (((* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ) > 0)) { SOURCE(27049, 28) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) = (* (( (ptr) &var_c70988)+17)/* breakIndex_v14604 */ ); SOURCE(27079, 13) (* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) = (* (( (ptr) &var_c70988)+19)/* breakX_v14660 */ ); } else { SOURCE(27099, 107) if (((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) > 0)) { SOURCE(27119, 26) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) = (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ); SOURCE(27147, 32) { word var_c65676; word i_v57752; i_v57752 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - (* (( (ptr) &var_c70988)+25)/* width_v15680 */ )); var_c65676 = i_v57752; (* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) = var_c65676; }; } else { SOURCE(27187, 19) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) = 1; }; }; SOURCE(27209, 4) goto lab_L100055; }; }; }; (* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) = ((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) + 1); if (((* (( (ptr) &var_c70988)+23)/* curIndex_v15468 */ ) < (* (( (ptr) &var_c70988)+21)/* maxNChars_v15136 */ ))) { goto lab_L100057; }; lab_L100054: ; lab_L100055: ; }; SOURCE(27227, 82) if ( ( ((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) == 0) ? ( (int)(* (( (ptr) (* (( (ptr) &var_c70988)+4) /* lineInfo_v9616 */ ))+14) ) < (int)nodeChars_v15108) : 0 ) ) { SOURCE(27288, 21) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) = 2; }; SOURCE(27311, 89) if (( (int)(* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) < (int)(* (( (ptr) (* (( (ptr) &var_c70988)+4) /* lineInfo_v9616 */ ))+11) ))) { SOURCE(27349, 51) { W2 var_c65708; (void) NodeStyleExtents_P3576((word) &var_c65708, (word) (( (bPt) &var_c70988)+52)/* var_c62028 */ ); (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+11) ) = var_c65708.f1; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+13) ) = var_c65708.f0; }; }; SOURCE(27402, 531) if (((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) == 2)) { SOURCE(27434, 29) breakSpaceAtEnd_v14800 = 0; SOURCE(27465, 468) { register word j_v17624; j_v17624 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ); if ((1 >= j_v17624)) { goto lab_L100103; }; j_v17624 = (j_v17624 - 1); lab_L100106: ; { word c_v17668; word var_c65772; SOURCE(27514, 36) { word limit264; var_c65772 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); c_v17668 = (* (( (W3Pt) (( (ptr) var_c65772)+1))+( limit264 = (* (ptr) var_c65772 ), BCK(j_v17624, limit264) )) ).f0; }; SOURCE(27552, 381) { word var_c65804; var_c65804 = c_v17668; if ((var_c65804 == 32)) { SOURCE(27573, 214) { word width_v17712; word var_c65836; SOURCE(27575, 48) { word limit265; var_c65836 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); width_v17712 = (* (( (W3Pt) (( (ptr) var_c65836)+1))+( /*1*/ limit265 = (* (ptr) var_c65836 ), /*1*/ BCK(j_v17624, limit265) /*1*/ )) ).f2; }; SOURCE(27625, 46) { word var_c65868; word i_v57708; i_v57708 = (spaceWidths_v14828 - width_v17712); var_c65868 = i_v57708; spaceWidths_v14828 = var_c65868; }; SOURCE(27673, 53) { word var_c65900; word i_v56104; i_v56104 = (breakSpaceAtEnd_v14800 + width_v17712); var_c65900 = i_v56104; breakSpaceAtEnd_v14800 = var_c65900; }; SOURCE(27728, 57) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) = ((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) + 1); }; } else { if ((var_c65804 == 9)) { SOURCE(27800, 74) { word var_c65932; word b_v56012; word var_c65964; { word limit266; var_c65964 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); b_v56012 = (* (( (W3Pt) (( (ptr) var_c65964)+1))+( /*1*/ limit266 = (* (ptr) var_c65964 ), /*1*/ BCK(j_v17624, limit266) /*1*/ )) ).f2; }; { word i_v56060; i_v56060 = (breakSpaceAtEnd_v14800 + b_v56012); var_c65932 = i_v56060; }; breakSpaceAtEnd_v14800 = var_c65932; }; SOURCE(27876, 57) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) = ((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) + 1); } else { SOURCE(27949, 4) goto lab_L100104; }; }; }; }; if ((1 >= j_v17624)) { goto lab_L100103; }; j_v17624 = (j_v17624 - 1); goto lab_L100106; lab_L100103: ; lab_L100104: ; }; }; SOURCE(27967, 1533) { word var_c66060; if (((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+16) ) == 2)) { var_c66060 = (unsigned) (((unsigned)(* (( (bPt) (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ))+1) ) << 26) >> 30); } else { var_c66060 = (unsigned) (((unsigned)(* (( (bPt) (* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ))+1) ) << 28) >> 30); }; switch (var_c66060) { case 0: SOURCE(28092, 29) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+9) ) = leftIndent_v14352; break; case 2: SOURCE(28139, 29) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+9) ) = leftIndent_v14352; SOURCE(28170, 1050) if (( (int)spaceWidths_v14828 > (int)0)) { SOURCE(28227, 995) { word residual_v17756; word maxHorizontalExpansion_v17784; word amplify_v17812; word start_v17840; word end_v17868; SOURCE(28229, 92) { word b_v57572; { word i_v57664; i_v57664 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - breakSpaceAtEnd_v14800); b_v57572 = i_v57664; }; { word i_v57620; i_v57620 = ((* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ ) - b_v57572); residual_v17756 = i_v57620; }; }; SOURCE(28323, 83) { word pd267; pd267 = (* (( (ptr) (* (( (ptr) gf_c71020)+175)/* var_c61260 */ ))+12) ); maxHorizontalExpansion_v17784 = (word) ( *( (fPt) ((* (ptr) pd267 ))))((* (( (ptr) &var_c70988)+6)/* nodeStyle_v9700 */ ), 79, pd267) ; }; SOURCE(28408, 141) { word var_c66252; word var_c0869; word var_c0870; word var_c0871; { word i_v55968; i_v55968 = (residual_v17756 + spaceWidths_v14828); var_c66252 = i_v55968; }; { word pd268; pd268 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+20) ); var_c0869 = (word) ( *( (fPt) ((* (ptr) pd268 ))))(var_c66252, pd268); }; { word x269; word pd270; word x271; pd270 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+20) ); *(float*)&var_c0870 = ( x269 = var_c0869, *(float*)&x269 ) / ( x271 = (word) ( *( (fPt) ((* (ptr) pd270 ))))(spaceWidths_v14828, pd270), *(float*)&x271 ); }; { word x272; float tf273; float tf274; word x275; float tf276; var_c0871 = ( tf276 = FMIN(( /*1*/ x272 = var_c0870, *(float*)&x272 /*1*/ ), ( /*1*/ x275 = maxHorizontalExpansion_v17784, *(float*)&x275 /*1*/ ), tf273, tf274), *(word*)&tf276 ); }; { word x277; float tf278; float tf279; word x280; float tf281; amplify_v17812 = ( tf281 = FMAX(( /*1*/ x277 = var_c0871, *(float*)&x277 /*1*/ ), ( /*1*/ x280 = (* (( (ptr) gf_c71020)+8)/* minAmplifySpace_v4036 */ ), *(float*)&x280 /*1*/ ), tf278, tf279), *(word*)&tf281 ); }; }; SOURCE(28551, 39) start_v17840 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+19) ); SOURCE(28592, 52) end_v17868 = ((* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ) - (* (( (ptr) (* (( (ptr) &var_c70988)+4) /* lineInfo_v9616 */ ))+15) )); SOURCE(28646, 529) if ((start_v17840 < end_v17868)) { SOURCE(28666, 520) { word entry_v17912; word var_c66316; word cachedWidth_v17940 = 0; word amplifiedWidth_v17968 = 0; SOURCE(28668, 78) { word limit282; var_c66316 = (* (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) ); entry_v17912 = (word) (( (W3Pt) (( (bPt) var_c66316)+4))+( /*1*/ limit282 = (* (ptr) var_c66316 ), /*1*/ BCK(start_v17840, limit282) /*1*/ )); }; SOURCE(28833, 342) { register word i_v18024; i_v18024 = start_v17840; if ((i_v18024 >= end_v17868)) { /*1*/ goto lab_L100115; /*1*/ }; lab_L100118: ; SOURCE(28863, 260) { /*1*/ word tc284; /*1*/ if (((* (ptr) entry_v17912 ) == 32)) { goto then0283;}; /*1*/ if ((0 != mayAmplArt_v14996)) { /*1*/ tc284 = (word) (0 != (word) AmplArt_P3636(( * (ptr) (( (ptr) entry_v17912)+1) >> 2), (word) (( (bPt) &var_c70988)+44)/* var_c61996 */ ) /*1*/ ); /*1*/ } /*1*/ else { /*1*/ tc284 = (word) 0; /*1*/ }; /*1*/ if (tc284) { /*1*/ then0283: ; SOURCE(28936, 130) /*1*/ if (((* (( (ptr) entry_v17912)+2) ) != cachedWidth_v17940)) { SOURCE(28972, 25) /*1*/ cachedWidth_v17940 = (* (( (ptr) entry_v17912)+2) ); SOURCE(28999, 67) /*1*/ { /*1*/ word var_c66412; /*1*/ { /*1*/ word pd285; /*1*/ word x286; /*1*/ word x287; /*1*/ pd285 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+20) ); /*1*/ *(float*)&var_c66412 = ( /*1*/ x286 = (word) ( *( (fPt) ((* (ptr) pd285 ))))(cachedWidth_v17940, pd285), *(float*)&x286 /*1*/ ) * ( /*1*/ x287 = amplify_v17812, *(float*)&x287 /*1*/ ); /*1*/ }; /*1*/ { /*1*/ word pd288; /*1*/ pd288 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+7) ); /*1*/ amplifiedWidth_v17968 = (word) ( *( (fPt) ((* (ptr) pd288 ))))(var_c66412, pd288); /*1*/ }; /*1*/ }; /*1*/ }; SOURCE(29071, 28) /*1*/ (* (( (ptr) entry_v17912)+2) ) = amplifiedWidth_v17968; SOURCE(29101, 22) /*1*/ (* (( (ptr) entry_v17912) + 1) ) |= 1; /*1*/ }; /*1*/ }; SOURCE(29128, 47) entry_v17912 = (entry_v17912 + 12); i_v18024 = (i_v18024 + 1); if ((i_v18024 < end_v17868)) { /*1*/ goto lab_L100118; /*1*/ }; lab_L100115: ; }; }; }; SOURCE(29189, 31) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+18) ) = amplify_v17812; }; }; break; case 1: SOURCE(29243, 111) { word a_v57408; word b_v57436; { word i_v55924; i_v55924 = (leftIndent_v14352 + (* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ )); a_v57408 = i_v55924; }; { word i_v57528; i_v57528 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - breakSpaceAtEnd_v14800); b_v57436 = i_v57528; }; { word i_v57484; i_v57484 = (a_v57408 - b_v57436); (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+9) ) = i_v57484; }; }; break; case 3: SOURCE(29371, 129) { word var_c66604; { word var_c66636; word b_v55832; { word var_c66668; { word b_v57272; { word i_v57364; i_v57364 = ((* (( (ptr) &var_c70988)+18)/* endX_v14632 */ ) - breakSpaceAtEnd_v14800); b_v57272 = i_v57364; }; { word i_v57320; i_v57320 = ((* (( (ptr) &var_c70988)+15)/* trimmedLineWidth_v14436 */ ) - b_v57272); var_c66668 = i_v57320; }; }; { word pd289; pd289 = (* (( (ptr) (* (( (ptr) gf_c71020)+174)/* var_c61132 */ ))+21) ); b_v55832 = (word) ( *( (fPt) ((* (ptr) pd289 ))))(var_c66668, (word) -1, pd289); }; }; { word i_v55880; i_v55880 = (leftIndent_v14352 + b_v55832); var_c66636 = i_v55880; }; var_c66604 = var_c66636; }; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+9) ) = var_c66604; }; break; default: SOURCE(29516, 5) (void) XR_RaiseUnnamedError(); break; }; }; SOURCE(29523, 58) if ((0 != hyphenated_v15220)) { SOURCE(29544, 37) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+15) ) = 2147483647; }; SOURCE(29584, 80) { word x290; word x291; if ((( x290 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+18) ), *(float*)&x290 ) == ( x291 = (* (ptr) &fc100 ), *(float*)&x291 ))) { SOURCE(29620, 44) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+19) ) = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ); }; }; SOURCE(29666, 54) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+8) ) = (startOffset_v9672 + (* (( (ptr) (* (( (ptr) &var_c70988)+4) /* lineInfo_v9616 */ ))+14) )); (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+7) ) = (* (( (ptr) &var_c70988)+5)/* node_v9644 */ ); SOURCE(29722, 75) { word x292; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+20) ) = ((x292 = ((* (( (ptr) &var_c70988)+22)/* maxIndex_v15164 */ ) + 1), MAX((int)(word), startOffset_v9672, x292)) - startOffset_v9672); }; SOURCE(29799, 31) (void) ComputePositionVector_P900((* ((( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ) )); SOURCE(29832, 17) (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+10) ) = 0; SOURCE(29851, 54) { word var_c66956; var_c66956 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+2) ); { word idx293; word limit294; (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+12) ) = (* ((( (ptr) var_c66956)+1)+( idx293 = (* (( (ptr) (* (( (ptr) &var_c70988)+4)/* lineInfo_v9616 */ ))+14) ), limit294 = (* (ptr) var_c66956 ), BCK(idx293, limit294) )) ); }; }; SOURCE(29907, 22) (void) ReleaseScratchRefs_P660(my_v14268); } static word NoName_Q12012(formal_c0821) word formal_c0821; { SOURCE(18393, 186) { word pd295; pd295 = (* (( (ptr) formal_c0821)+30) ); (* (( (ptr) formal_c0821)+31) ) = (word) ( *( (fPt) ((* (ptr) pd295 ))))((* (( (ptr) formal_c0821)+27) ), (* (W2Pt) (( (ptr) formal_c0821)+28) ), (* (( (ptr) formal_c0821)+26) ), pd295); }; return(0); } static word NoName_Q12072(formal_c0822) word formal_c0822; { SOURCE(17853, 726) { word pd296; pd296 = (* (( (ptr) formal_c0822)+28) ); (void) ( *( (fPt) ((* (ptr) pd296 ))))((* (( (ptr) formal_c0822)+26) ), (* (( (ptr) formal_c0822)+16) ), (* (( (ptr) formal_c0822)+27) ), pd296); }; return(0); } static void NodeStyleExtents_P3576(formal_c0469, formal_c71084) word formal_c0469; word formal_c71084; { register ptr gf_c71052 = (ptr) &globalframe; word ymax_v15308; word ymin_v15336; word font_v18068; W4 fontBoundingBox_v18096; formal_c71084 = (formal_c71084 - 52); /* NodeStyleExtents: */ SOURCE(14701, 3878) SOURCE(14759, 41) { word pd297; pd297 = (* (( (ptr) (* (( (ptr) gf_c71052)+175)/* var_c61260 */ ))+41) ); font_v18068 = (word) ( *( (fPt) ((* (ptr) pd297 ))))((* ((( (ptr) formal_c71084)+6)) ), pd297); }; SOURCE(14802, 70) { word pd298; pd298 = (* (( (ptr) (* (( (ptr) gf_c71052)+173)/* var_c61100 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd298 ))))((word) &fontBoundingBox_v18096, font_v18068, pd298); }; SOURCE(14874, 3705) ymax_v15308 = (word) CeilingI_P120(fontBoundingBox_v18096.f3); SOURCE(14915, 3664) { word x299; float tf300; ymin_v15336 = (word) FloorI_P60(( tf300 = - ( x299 = fontBoundingBox_v18096.f2, *(float*)&x299 ), *(word*)&tf300 )); }; /* removed tail goto */ (* (ptr) formal_c0469 ) = ymax_v15308; (* (( (ptr) formal_c0469)+1) ) = ymin_v15336; return; } static word AmplArt_P3636(f_v15396, formal_c71116) word f_v15396; word formal_c71116; { word var_c15440; word ext_v18140; word var_c66988; formal_c71116 = (formal_c71116 - 44); /* AmplArt: */ SOURCE(14985, 3594) SOURCE(15048, 55) { word limit301; var_c66988 = (* (( (ptr) (* (( (ptr) formal_c71116)+4) ))+1) ); ext_v18140 = (* (( (ptr) (( (W9Pt) (( (ptr) var_c66988)+2))+( limit301 = (* (( (ptr) var_c66988)+1) ), BCK(f_v15396, limit301) )))+7) ); }; SOURCE(15105, 94) if (((* (( (ptr) ext_v18140)+2) ) != 0)) { SOURCE(15140, 45) return((* (( (ptr) (* (( (ptr) ext_v18140)+2) ))+7) )); } else { SOURCE(15185, 14) return(0); }; } static void TryBreakAfterDash_P3792(formal_c71180) word formal_c71180; { register ptr gf_c71148 = (ptr) &globalframe; word var_c67020; word xChar_v55004; word var_c67052; word var_c67084; word var_c67116; word a_v58268; word var_c67180; word xChar_v54956; formal_c71180 = (formal_c71180 - 36); /* TryBreakAfterDash: */ SOURCE(15825, 26) SOURCE(16009, 2570) { word tc302; word tc303; word tc304; word tc305; if (((* (( (ptr) formal_c71180)+23) ) > 0)) { { word limit306; var_c67052 = ((* (( (ptr) formal_c71180)+23) ) - 1); var_c67084 = (* (ptr) (* (( (ptr) formal_c71180)+4) ) ); xChar_v55004 = (* (( (W3Pt) (( (ptr) var_c67084)+1))+( limit306 = (* (ptr) var_c67084 ), BCK(var_c67052, limit306) )) ).f0; }; SOURCE(15909, 2670) if (((xChar_v55004 - 97) <= 25)) { var_c67020 = (unsigned) 1; } else { var_c67020 = (unsigned) ((xChar_v55004 - 65) <= 25); }; tc305 = (word) (0 != var_c67020); } else { tc305 = (word) 0; }; if (tc305) { { word i_v56192; i_v56192 = ((* (( (ptr) formal_c71180)+18) ) + (* (( (ptr) formal_c71180)+25) )); a_v58268 = i_v56192; }; var_c67116 = (unsigned) ( (int)a_v58268 > (int)(* (( (ptr) formal_c71180)+15) )); tc304 = (word) (0 == var_c67116); } else { tc304 = (word) 0; }; if (tc304) { tc303 = (word) ( (int)((* (( (ptr) formal_c71180)+21) ) - (* (( (ptr) formal_c71180)+23) )) > (int)1); } else { tc303 = (word) 0; }; if (tc303) { { word var_c0872; (* (( (ptr) formal_c71180)+22) ) = ((* (( (ptr) formal_c71180)+24) ) + 1); var_c0872 = (* (( (ptr) formal_c71180)+22) ); { word pd307; pd307 = (* (( (ptr) (* (( (ptr) gf_c71148)+170)/* var_c60812 */ ))+10) ); xChar_v54956 = (word) ( *( (fPt) ((* (ptr) pd307 ))))((* (( (ptr) formal_c71180)+20) ), var_c0872, pd307); }; }; SOURCE(15909, 2670) if (((xChar_v54956 - 97) <= 25)) { var_c67180 = (unsigned) 1; } else { var_c67180 = (unsigned) ((xChar_v54956 - 65) <= 25); }; tc302 = (word) (0 != var_c67180); } else { tc302 = (word) 0; }; if (tc302) { SOURCE(16244, 25) (* (( (ptr) formal_c71180)+17) ) = ((* (( (ptr) formal_c71180)+23) ) + 1); SOURCE(16271, 2308) { word i_v56148; i_v56148 = ((* (( (ptr) formal_c71180)+18) ) + (* (( (ptr) formal_c71180)+25) )); (* (( (ptr) formal_c71180)+19) ) = i_v56148; }; }; }; } static word GetHyphWidth_P4668(k_v17288, formal_c71244) word k_v17288; word formal_c71244; { register ptr gf_c71212 = (ptr) &globalframe; word hyphW_v17332; word f_v17360; formal_c71244 = (formal_c71244 - 28); /* GetHyphWidth: */ SOURCE(26006, 20) SOURCE(26006, 20) hyphW_v17332 = 0; SOURCE(26068, 42) { word var_c0873; word var_c67276; { word limit308; var_c67276 = (* (ptr) (* (( (ptr) formal_c71244)+4) ) ); var_c0873 = (var_c0873 & 3221225472) | ((word) ((unsigned)(* (( (ptr) (( (W3Pt) (( (ptr) var_c67276)+1))+( limit308 = (* (ptr) var_c67276 ), BCK(k_v17288, limit308) )))+1) ) >> 2)); }; f_v17360 = ( (((unsigned)var_c0873 << 2) >> 2) ); }; SOURCE(26112, 289) if ((f_v17360 != (* (( (ptr) formal_c71244)+26) ))) { SOURCE(26134, 269) { W9 fie_v17404; word extension_v17432; SOURCE(26136, 57) { word var_c67308; var_c67308 = (* (( (ptr) (* (( (ptr) formal_c71244)+4) ))+1) ); { word limit309; fie_v17404 = (* (( (W9Pt) (( (ptr) var_c67308)+2))+( limit309 = (* (( (ptr) var_c67308)+1) ), BCK(f_v17360, limit309) )) ); }; }; SOURCE(26195, 42) extension_v17432 = (* (( (ptr) &fie_v17404)+7) ); SOURCE(26239, 31) (* (( (ptr) formal_c71244)+27) ) = (* (( (ptr) extension_v17432)+18) ); SOURCE(26272, 72) { W2 var_c0492; word var_c67340; { word pd310; pd310 = (* (( (ptr) (* (( (ptr) gf_c71212)+173)/* var_c61100 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd310 ))))((word) &var_c0492, (* (( (ptr) &fie_v17404)+1) ), (* (( (ptr) formal_c71244)+27) ), pd310) ; }; var_c67340 = var_c0492.f0; { word pd311; pd311 = (* (( (ptr) (* (( (ptr) gf_c71212)+174)/* var_c61132 */ ))+7) ); (* (( (ptr) formal_c71244)+28) ) = (word) ( *( (fPt) ((* (ptr) pd311 ))))(var_c67340, pd311); }; }; SOURCE(26346, 40) (* (( (ptr) formal_c71244)+29) ) = (unsigned) ((* (( (ptr) extension_v17432)+2) ) != 0); SOURCE(26388, 13) (* (( (ptr) formal_c71244)+26) ) = f_v17360; }; }; SOURCE(26406, 18) return((* (( (ptr) formal_c71244)+28) )); } static word FetchHyph_P1200(hyphenationClass_v9912) word hyphenationClass_v9912; { register ptr gf_c71276 = (ptr) &globalframe; word var_c9956; /* FetchHyph: */ SOURCE(30162, 171) SOURCE(30222, 111) { word var_c67372; W2 var_c0496; { word pd312; pd312 = (* (( (ptr) (* (( (ptr) gf_c71276)+167)/* var_c59948 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd312 ))))((word) &var_c0496, (* (( (ptr) gf_c71276)+33)/* hyphTab_v5800 */ ), hyphenationClass_v9912, pd312) ; }; var_c67372 = var_c0496.f1; if ((var_c67372 == 0)) { goto lab_L100134; }; if (((* (( (ptr) gf_c71276)+51) ) == XR_GetReferentType(var_c67372))) { { word hyph_v18184; hyph_v18184 = var_c67372; SOURCE(30297, 12) return(hyph_v18184); }; } else { lab_L100134: ; SOURCE(30322, 11) return(0); }; }; } static void RegisterHyphenation_P1260(formal_c0504, hyphenationClass_v10016, formal_c0902, formal_c0903) word formal_c0504; word hyphenationClass_v10016; word formal_c0902; word formal_c0903; { W10 var_c71308; /* declaration of hyphProc_v10044 skipped */ /* declaration of hyphData_v10072 skipped */ register ptr gf_c71340 = (ptr) &globalframe; /* declaration of oldProc_v10128 skipped */ /* declaration of oldData_v10156 skipped */ /* declaration of var_c67404 skipped */ (* (( (ptr) &var_c71308)+4)/* hyphProc_v10044 */ ) = formal_c0902; (* (( (ptr) &var_c71308)+5)/* hyphData_v10072 */ ) = formal_c0903; /* RegisterHyphenation: */ SOURCE(30339, 396) { word tmpAddr313; tmpAddr313 = (word) (( (ptr) &var_c71308)+8)/* var_c67404 */ ; (* (ptr) tmpAddr313 ) = ( ((word) (fPt) action_P5172) ); (* (( (ptr) tmpAddr313) + 1) ) = 1; }; SOURCE(30339, 396) (* (( (ptr) &var_c71308)+6)/* oldProc_v10128 */ ) = 0; SOURCE(30339, 396) (* (( (ptr) &var_c71308)+7)/* oldData_v10156 */ ) = 0; SOURCE(30687, 48) { word pd314; pd314 = (* (( (ptr) (* (( (ptr) gf_c71340)+167)/* var_c59948 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd314 ))))((* (( (ptr) gf_c71340)+33)/* hyphTab_v5800 */ ), hyphenationClass_v10016, (word) ( ( (bPt) &var_c71308)+32)/* var_c67404 */ , pd314); }; /* removed tail goto */ (* (ptr) formal_c0504 ) = (* (( (ptr) &var_c71308)+6)/* oldProc_v10128 */ ); (* (( (ptr) formal_c0504)+1) ) = (* (( (ptr) &var_c71308)+7)/* oldData_v10156 */ ); return; } static void action_P5172(formal_c0513, found_v53672, val_v53700, formal_c71404) word formal_c0513; word found_v53672; word val_v53700; word formal_c71404; { register ptr gf_c71372 = (ptr) &globalframe; word op_v53744; word new_v53772; formal_c71404 = (formal_c71404 - 32); /* action: */ SOURCE(30490, 192) SOURCE(30490, 192) op_v53744 = 0; SOURCE(30490, 192) new_v53772 = 0; SOURCE(30522, 67) { word var_c67436; var_c67436 = val_v53700; if ((var_c67436 == 0)) { goto lab_L100137; }; if (((* (( (ptr) gf_c71372)+51) ) == XR_GetReferentType(var_c67436))) { { word old_v18272; old_v18272 = var_c67436; SOURCE(30556, 33) (* (( (ptr) formal_c71404)+7) ) = (* (( (ptr) old_v18272)+1) ); (* (( (ptr) formal_c71404)+6) ) = XR_CheckProc(* (ptr) old_v18272 ); }; } else { lab_L100137: ; }; }; SOURCE(30591, 91) if (((* (( (ptr) formal_c71404)+4) ) == 0)) { SOURCE(30612, 20) op_v53744 = 2; new_v53772 = 0; /* removed tail goto */ } else { SOURCE(30632, 50) { word var_c67532; { word var_c67500; var_c67500 = XR_NewObject(8, (* (( (ptr) gf_c71372)+51) )); (* (ptr) var_c67500 ) = XR_CheckProc(* (( (ptr) formal_c71404)+4) ); (* (( (ptr) var_c67500)+1) ) = (* (( (ptr) formal_c71404)+5) ); var_c67532 = var_c67500; }; op_v53744 = 1; new_v53772 = var_c67532; /* removed tail goto */ }; }; (* (ptr) formal_c0513 ) = op_v53744; (* (( (ptr) formal_c0513)+1) ) = new_v53772; return; } static word CharClass_P1320(char_v10228) word char_v10228; { word charClass_v10272; /* CharClass: */ SOURCE(30742, 383) SOURCE(30823, 302) if ((((word) char_v10228 >> 8) == 0)) { SOURCE(30852, 176) { word var_c67564; var_c67564 = (char_v10228 & 0377); if ((((var_c67564 == 32) || (var_c67564 == 9)) || (var_c67564 == 13)) || (var_c67564 == 10)) { charClass_v10272 = 3; } else { if ((((var_c67564 - 97) <= 25) || ((var_c67564 - 65) <= 25)) || ((var_c67564 - 48) <= 9)) { charClass_v10272 = 1; } else { charClass_v10272 = 2; }; }; }; } else { SOURCE(31037, 88) if (((((char_v10228 & 0377) & 0177) - 33) <= 93)) { SOURCE(31085, 25) charClass_v10272 = 2; } else { SOURCE(31110, 15) charClass_v10272 = 3; }; }; SOURCE(30742, 383) return(charClass_v10272); } static void Paint_P1380(lineInfo_v45336, context_v45364) word lineInfo_v45336; word context_v45364; { word class_v18316; /* Paint: */ SOURCE(31131, 191) SOURCE(31171, 43) class_v18316 = (* (( (ptr) lineInfo_v45336)+3) ); SOURCE(31216, 106) if ( ( (class_v18316 != 0) ? ((* (( (ptr) class_v18316)+2) ) != 0) : 0 ) ) { SOURCE(31256, 36) { word pd315; pd315 = (* (( (ptr) class_v18316)+2) ); (void) ( *( (fPt) ((* (ptr) pd315 ))))(lineInfo_v45336, context_v45364, pd315); }; } else { SOURCE(31292, 30) (void) NormalPaint_P1500(lineInfo_v45336, context_v45364); }; } static void PaintBackground_P1440(lineInfo_v10332, formal_c0904) word lineInfo_v10332; word formal_c0904; { W11 var_c71436; /* declaration of context_v10360 skipped */ register ptr gf_c71468 = (ptr) &globalframe; /* declaration of var_c67596 skipped */ /* declaration of nChars_v18360 skipped */ /* declaration of charInfo_v18388 skipped */ /* declaration of formatInfo_v18416 skipped */ /* declaration of lastSetColor_v18444 skipped */ (* (( (ptr) &var_c71436)+4)/* context_v10360 */ ) = formal_c0904; /* PaintBackground: */ SOURCE(31328, 1879) { word tmpAddr316; tmpAddr316 = (word) (( (ptr) &var_c71436)+5)/* var_c67596 */ ; (* (ptr) tmpAddr316 ) = ( ((word) (fPt) Action_P5340) ); (* (( (ptr) tmpAddr316) + 1) ) = 1; }; SOURCE(31412, 108) { word idx317; (* (( (ptr) &var_c71436)+7)/* nChars_v18360 */ ) = ( idx317 = (word) ((* (( (ptr) lineInfo_v10332)+14) ) + ( ((* (( (ptr) lineInfo_v10332)+15) ) == 2147483647) ? 1 : INEG((* ( ( (ptr) lineInfo_v10332)+15) )) ) ), SGNCK(idx317) ); }; SOURCE(31522, 50) (* (( (ptr) &var_c71436)+8)/* charInfo_v18388 */ ) = (* (ptr) lineInfo_v10332 ); SOURCE(31574, 56) (* (( (ptr) &var_c71436)+9)/* formatInfo_v18416 */ ) = (* (( (ptr) lineInfo_v10332)+1) ); SOURCE(31632, 46) (* (( (ptr) &var_c71436)+10)/* lastSetColor_v18444 */ ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c71468)+183)/* var_c63436 */ ))+54) ) ); SOURCE(33177, 30) { word pd318; pd318 = (* (( (ptr) (* (( (ptr) gf_c71468)+183)/* var_c63436 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd318 ))))((* (( (ptr) &var_c71436)+4)/* context_v10360 */ ), (word) (( (bPt) &var_c71436)+20) /* var_c67596 */ , pd318); }; } static void Action_P5340(formal_c71564) word formal_c71564; { W6 var_c71500; register ptr gf_c71532 = (ptr) &globalframe; /* declaration of var_c67628 skipped */ formal_c71564 = (formal_c71564 - 20); var_c71500.f0 = formal_c71564; /* Action: */ SOURCE(31845, 1327) { word tmpAddr319; tmpAddr319 = (word) (( (ptr) &var_c71500)+4)/* var_c67628 */ ; (* (ptr) tmpAddr319 ) = ( ((word) (fPt) Boxes_P5400) ); (* (( (ptr) tmpAddr319) + 1) ) = 1; }; SOURCE(33107, 20) { word pd320; pd320 = (* (( (ptr) (* (( (ptr) gf_c71532)+183)/* var_c63436 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd320 ))))((* ((( (ptr) formal_c71564)+4)) ), pd320); }; SOURCE(33129, 20) (void) Boxes_P5400(1, (word) (( (bPt) &var_c71500)+16)/* var_c67628 */ ); SOURCE(33151, 21) (void) Boxes_P5400(0, (word) (( (bPt) &var_c71500)+16)/* var_c67628 */ ); } static void Boxes_P5400(outline_v18696, formal_c71660) word outline_v18696; word formal_c71660; { W12 var_c71596; register ptr gf_c71628 = (ptr) &globalframe; /* declaration of var_c67660 skipped */ word prevFormatNumber_v18724 = 2147483647; /* declaration of x_v18752 skipped */ /* declaration of pad_v18780 skipped */ /* declaration of xMin_v18808 skipped */ formal_c71660 = (formal_c71660 - 16); (* (ptr) &var_c71596 ) = formal_c71660; /* Boxes: */ SOURCE(31862, 1240) { word tmpAddr321; tmpAddr321 = (word) (( (ptr) &var_c71596)+4)/* var_c67660 */ ; (* (ptr) tmpAddr321 ) = ( ((word) (fPt) EmitBox_P5460) ); (* (( (ptr) tmpAddr321) + 1) ) = 1; }; SOURCE(31928, 29) (* (( (ptr) &var_c71596)+6)/* x_v18752 */ ) = 0; SOURCE(31959, 35) (* (( (ptr) &var_c71596)+7) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+8) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+9) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+10) ) = (* (ptr) &fc125 ); SOURCE(31996, 16) (* (( (ptr) &var_c71596)+11)/* xMin_v18808 */ ) = (* (ptr) &fc125 ); SOURCE(32239, 843) { register word i_v18896 = 0; if ((i_v18896 >= (* (( (ptr) (* (ptr) formal_c71660 ))+7) ))) { goto lab_L100138; }; lab_L100141: ; { word formatNumber_v18940; W9 format_v18968; word extension_v18996; word thickness_v19024; word something_v19052; SOURCE(32268, 65) { word limit322; formatNumber_v18940 = ( * (ptr) (( (ptr) (( (W3Pt) (( (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+8) ))+1))+( limit322 = (* (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+8) ) ), BCK(i_v18896, limit322) )))+1) >> 2); }; SOURCE(32335, 62) { word limit323; format_v18968 = (* (( (W9Pt) (( (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+9) ))+2))+( limit323 = (* (( (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+9) ))+1) ), BCK(formatNumber_v18940, limit323) )) ); }; SOURCE(32399, 45) extension_v18996 = (* (( (ptr) &format_v18968)+7) ); SOURCE(32446, 70) thickness_v19024 = ( (0 != outline_v18696) ? (* (( (ptr) extension_v18996)+16) ) : (* (ptr) &fc125 ) ) ; SOURCE(32518, 50) { word x324; word x325; something_v19052 = (unsigned) ( (0 == outline_v18696) ? 1 : (( x324 = thickness_v19024, *(float*)&x324 ) > ( x325 = (* (ptr) &fc125 ), *(float*)&x325 )) ) ; }; SOURCE(32570, 470) if ((prevFormatNumber_v18724 != formatNumber_v18940)) { SOURCE(32612, 9) (void) EmitBox_P5460((word) ((( (bPt) &var_c71596)+16)/* var_c67660 */ )); SOURCE(32623, 271) if ( ( (0 != (* (( (ptr) extension_v18996)+11) )) ? (0 != something_v19052) : 0 ) ) { { word x326; word x327; *(float*)(( (ptr) &var_c71596)+7) = ( x326 = (* (( (ptr) extension_v18996)+15) ), *(float*)&x326 ) + ( x327 = thickness_v19024, *(float*)&x327 ); }; { word x328; word x329; *(float*)(( (ptr) &var_c71596)+8) = ( x328 = (* (( (ptr) extension_v18996)+15) ), *(float*)&x328 ) + ( x329 = thickness_v19024, *(float*)&x329 ); }; { word x330; word x331; *(float*)(( (ptr) &var_c71596)+9) = ( x330 = (* (( (ptr) extension_v18996)+13) ), *(float*)&x330 ) + ( x331 = thickness_v19024, *(float*)&x331 ); }; { word x332; word x333; *(float*)(( (ptr) &var_c71596)+10) = ( x332 = (* (( (ptr) extension_v18996)+12) ), *(float*)&x332 ) + ( x333 = thickness_v19024, *(float*)&x333 ); }; } else { (* (( (ptr) &var_c71596)+7) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+8) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+9) ) = (* (ptr) &fc125 ); (* (( (ptr) &var_c71596)+10) ) = (* (ptr) &fc125 ); }; SOURCE(32896, 111) if ((0 != (* (( (ptr) extension_v18996)+11) ))) { SOURCE(32925, 82) { word color_v55052; color_v55052 = ( (0 != outline_v18696) ? (* (( (ptr) extension_v18996)+17) ) : (* (( (ptr) extension_v18996)+14) ) ) ; SOURCE(31758, 83) if (((* (( (ptr) (* (ptr) formal_c71660 ))+10) ) != color_v55052)) { SOURCE(31788, 31) { word pd334; pd334 = (* (( (ptr) (* (( (ptr) gf_c71628)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd334 ))))((* (( (ptr) (* (ptr) formal_c71660 ))+4) ), color_v55052, pd334); }; SOURCE(31821, 20) (* (( (ptr) (* (ptr) formal_c71660 ))+10) ) = color_v55052; }; }; }; SOURCE(33009, 31) prevFormatNumber_v18724 = formatNumber_v18940; }; SOURCE(33045, 37) { word var_c67820; word b_v55740; { word limit335; b_v55740 = (* (( (W3Pt) (( (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+8) ))+1))+( limit335 = (* (ptr) (* (( (ptr) (* (ptr) formal_c71660 ))+8) ) ), BCK(i_v18896, limit335) )) ).f2; }; { word i_v55788; i_v55788 = ((* (( (ptr) &var_c71596)+6)/* x_v18752 */ ) + b_v55740); var_c67820 = i_v55788; }; (* (( (ptr) &var_c71596)+6)/* x_v18752 */ ) = var_c67820; }; }; i_v18896 = (i_v18896 + 1); if ((i_v18896 < (* (( (ptr) (* (ptr) formal_c71660 ))+7) ))) { goto lab_L100141; }; lab_L100138: ; }; SOURCE(33093, 9) (void) EmitBox_P5460((word) ((( (bPt) &var_c71596)+16)/* var_c67660 */ )); } static void EmitBox_P5460(formal_c71724) word formal_c71724; { register ptr gf_c71692 = (ptr) &globalframe; word xMax_v19096; formal_c71724 = (formal_c71724 - 16); /* EmitBox: */ SOURCE(32014, 220) SOURCE(32032, 28) { word pd336; pd336 = (* (( (ptr) (* (( (ptr) gf_c71692)+174)/* var_c61132 */ ))+20) ); xMax_v19096 = (word) ( *( (fPt) ((* (ptr) pd336 ))))((* ((( (ptr) formal_c71724)+6)) ), pd336); }; SOURCE(32062, 159) { word x337; word x338; word x339; if ((( x337 = (* (( (ptr) formal_c71724)+10) ), *(float*)&x337 ) + ( x338 = (* (( (ptr) formal_c71724)+9) ), *(float*)&x338 ) > ( x339 = (* (ptr) &fc125 ), *(float*)&x339 ))) { SOURCE(32099, 122) { W4 var_c67916; { word x340; word x341; *(float*)&var_c67916.f0 = ( x340 = (* (( (ptr) formal_c71724)+11) ), *(float*)&x340 ) - ( x341 = (* (( (ptr) formal_c71724)+7) ), *(float*)&x341 ); }; { word x342; *(float*)&var_c67916.f1 = - ( x342 = (* (( (ptr) formal_c71724)+9) ), *(float*)&x342 ); }; { word x343; word x344; *(float*)&var_c67916.f2 = ( x343 = xMax_v19096, *(float*)&x343 ) + ( x344 = (* (( (ptr) formal_c71724)+8) ), *(float*)&x344 ); }; var_c67916.f3 = (* (( (ptr) formal_c71724)+10) ); { word pd345; pd345 = (* (( (ptr) (* (( (ptr) gf_c71692)+183)/* var_c63436 */ ))+67) ); (void) ( *( (fPt) ((* (ptr) pd345 ))))((* (( (ptr) (* (ptr) (* (ptr) formal_c71724 ) ))+4) ), var_c67916, pd345); }; }; }; }; SOURCE(32223, 11) (* (( (ptr) formal_c71724)+11) ) = xMax_v19096; } static void NormalPaint_P1500(formal_c0905, formal_c0906) word formal_c0905; word formal_c0906; { W31 var_c71756; /* declaration of lineInfo_v10420 skipped */ /* declaration of context_v10448 skipped */ register ptr gf_c71788 = (ptr) &globalframe; /* declaration of var_c67948 skipped */ /* declaration of var_c67980 skipped */ /* declaration of nChars_v19140 skipped */ /* declaration of i_v19168 skipped */ /* declaration of charInfo_v19196 skipped */ word formatInfo_v19224; word lastSetColor_v19252; word lastAmplify_v19308; word lastSetFont_v19364 = 0; (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ) = formal_c0905; (* (( (ptr) &var_c71756)+5)/* context_v10448 */ ) = formal_c0906; /* NormalPaint: */ SOURCE(33237, 4150) { word tmpAddr346; tmpAddr346 = (word) (( (ptr) &var_c71756)+6)/* var_c67948 */ ; (* (ptr) tmpAddr346 ) = ( ((word) (fPt) do_P5940) ); (* (( (ptr) tmpAddr346) + 1) ) = 1; }; { word tmpAddr347; tmpAddr347 = (word) (( (ptr) &var_c71756)+8)/* var_c67980 */ ; (* (ptr) tmpAddr347 ) = ( ((word) (fPt) ShowProc_P5784) ); (* (( (ptr) tmpAddr347) + 1) ) = 1; }; SOURCE(33324, 108) { word idx348; (* (( (ptr) &var_c71756)+10)/* nChars_v19140 */ ) = ( idx348 = (word) ((* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+14) ) + ( ((* (( (ptr) (* (( (ptr) &var_c71756)+4) /* lineInfo_v10420 */ ))+15) ) == 2147483647) ? 1 : INEG((* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+15) )) ) ), SGNCK(idx348) ); }; SOURCE(33434, 10) (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) = 0; SOURCE(33446, 50) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ) = (* (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ) ); SOURCE(33498, 56) formatInfo_v19224 = (* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+1) ); SOURCE(33556, 46) lastSetColor_v19252 = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+54) ) ); SOURCE(33769, 23) lastAmplify_v19308 = (* (ptr) &fc100 ); SOURCE(33978, 99) { word tc349; word pd350; if (((* (( (ptr) (* (( (ptr) &var_c71756)+5)/* context_v10448 */ ))+1) ) != 0)) { pd350 = (* (( (ptr) (* (( (ptr) gf_c71788)+186)/* var_c68012 */ ))+12) ); tc349 = (word) ((word) ( *( (fPt) ((* (ptr) pd350 ))))((* ((( (ptr) &var_c71756)+5)/* context_v10448 */ ) ), pd350) != (* (ptr) (* ( ( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+54) ) )); } else { tc349 = (word) 0; }; if (tc349) { SOURCE(34054, 23) (* (( (ptr) gf_c71788)+34)/* colorBug_v5968 */ ) = ((* (( (ptr) gf_c71788)+34)/* colorBug_v5968 */ ) + 1); }; }; SOURCE(34079, 65) if ((0 != (* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+17) ))) { SOURCE(34110, 34) (void) PaintBackground_P1440((* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ), (* (( (ptr) &var_c71756)+5)/* context_v10448 */ )) ; }; SOURCE(34146, 3183) lab_L100146: ; if (((* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) < (* (( (ptr) &var_c71756)+10)/* nChars_v19140 */ ))) { } else { goto lab_L100144; }; { /* declaration of formatNumber_v19528 skipped */ /* declaration of format_v19556 skipped */ /* declaration of extension_v19584 skipped */ /* declaration of worry_v19612 skipped */ /* declaration of doUnderline_v19640 skipped */ /* declaration of doStrikeout_v19668 skipped */ /* declaration of deltaWidth_v19696 skipped */ /* declaration of tabFound_v19724 skipped */ /* declaration of newi_v19752 skipped */ SOURCE(34166, 65) { word idx351; word limit352; (* (( (ptr) &var_c71756)+13)/* formatNumber_v19528 */ ) = ( * (ptr) (( (ptr) (( (W3Pt) (( (ptr) (* (( (ptr) &var_c71756)+12) /* charInfo_v19196 */ ))+1))+( idx351 = (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ), limit352 = (* (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ) ), BCK(idx351, limit352) )))+1) >> 2); }; SOURCE(34233, 62) { word idx353; word limit354; (* (W9Pt) (( (ptr) &var_c71756)+14)/* format_v19556 */ ) = (* (( (W9Pt) (( (ptr) formatInfo_v19224)+2))+( idx353 = (* (( (ptr) &var_c71756)+13)/* formatNumber_v19528 */ ), limit354 = (* (( (ptr) formatInfo_v19224)+1) ), BCK(idx353, limit354) )) ); }; SOURCE(34297, 45) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ) = (* (( (ptr) &var_c71756)+21) ); SOURCE(34344, 73) (* (( (ptr) &var_c71756)+24)/* worry_v19612 */ ) = (unsigned) ( ((* (( (ptr) &var_c71756)+20) ) != 0) ? 1 : ((* (( (ptr) &var_c71756)+19) ) != 0) ) ; SOURCE(34419, 28) (* (( (ptr) &var_c71756)+25)/* doUnderline_v19640 */ ) = 0; SOURCE(34449, 28) (* (( (ptr) &var_c71756)+26)/* doStrikeout_v19668 */ ) = 0; SOURCE(34479, 22) (* (( (ptr) &var_c71756)+27)/* deltaWidth_v19696 */ ) = (* (ptr) &fc125 ); SOURCE(34503, 22) (* (( (ptr) &var_c71756)+28)/* tabFound_v19724 */ ) = 0; SOURCE(34527, 13) (* (( (ptr) &var_c71756)+29)/* newi_v19752 */ ) = 0; SOURCE(35598, 99) if ((lastSetFont_v19364 != (* (( (ptr) &var_c71756)+15) ))) { SOURCE(35634, 36) { word pd355; pd355 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd355 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) &var_c71756)+15) ), pd355) ; }; SOURCE(35672, 25) lastSetFont_v19364 = (* (( (ptr) &var_c71756)+15) ); }; SOURCE(35702, 77) if (((* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) == (* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+19) ))) { SOURCE(35741, 38) { word a_v55292; a_v55292 = (* (( (ptr) (* (( (ptr) &var_c71756)+4)/* lineInfo_v10420 */ ))+18) ); SOURCE(33873, 76) { word x356; word x357; if ((( x356 = a_v55292, *(float*)&x356 ) != ( x357 = lastAmplify_v19308, *(float*)&x357 ))) { SOURCE(33898, 34) { word pd358; pd358 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+31) ); (void) ( *( (fPt) ((* (ptr) pd358 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), a_v55292, pd358); }; SOURCE(33934, 15) lastAmplify_v19308 = a_v55292; }; }; }; }; SOURCE(35781, 22) SOURCE(33682, 83) if ((lastSetColor_v19252 != (* (( (ptr) &var_c71756)+16) ))) { SOURCE(33712, 31) { word pd359; pd359 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd359 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) &var_c71756)+16) ), pd359) ; }; SOURCE(33745, 20) lastSetColor_v19252 = (* (( (ptr) &var_c71756)+16) ); }; SOURCE(35805, 189) if ((0 != (* (( (ptr) &var_c71756)+24)/* worry_v19612 */ ))) { SOURCE(35819, 177) { word startCharClass_v19944; SOURCE(35821, 71) { word idx360; word limit361; startCharClass_v19944 = (word) CharClass_P1320((* (( (W3Pt) (( (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ))+1) )+( idx360 = (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ), limit361 = (* (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ) ), BCK(idx360, limit361) )) ).f0); }; SOURCE(35894, 50) (* (( (ptr) &var_c71756)+25)/* doUnderline_v19640 */ ) = (unsigned) ((* (( (ptr) &var_c71756)+20) ) >= startCharClass_v19944); SOURCE(35946, 48) (* (( (ptr) &var_c71756)+26)/* doStrikeout_v19668 */ ) = (unsigned) ((* (( (ptr) &var_c71756)+19) ) >= startCharClass_v19944); }; }; SOURCE(35999, 67) if (((0 != (* (( (ptr) &var_c71756)+25)/* doUnderline_v19640 */ )) || (0 != (* (( (ptr) &var_c71756)+26)/* doStrikeout_v19668 */ )))) { SOURCE(36036, 30) { word pd362; pd362 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+40) ); (void) ( *( (fPt) ((* (ptr) pd362 ))))((* ((( (ptr) &var_c71756)+5)/* context_v10448 */ ) ), pd362); }; }; SOURCE(36071, 68) { word x363; word x364; if ((( x363 = (* (( (ptr) &var_c71756)+18) ), *(float*)&x363 ) != ( x364 = (* (ptr) &fc125 ), *(float*)&x364 ))) { SOURCE(36101, 38) { word pd365; pd365 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+27) ); (void) ( *( (fPt) ((* (ptr) pd365 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) &var_c71756)+18) ), pd365) ; }; }; }; SOURCE(36144, 74) { word x366; word x367; if ((( x366 = (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+10) ), *(float*)&x366 ) != ( x367 = (* (ptr) &fc125 ), *(float*)&x367 ))) { SOURCE(36177, 41) { word pd368; pd368 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd368 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) (* (( (ptr) &var_c71756)+23) /* extension_v19584 */ ))+10) ), pd368); }; }; }; SOURCE(36223, 443) if (((* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+2) ) == 0)) { SOURCE(36266, 30) { word pd369; pd369 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd369 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (word) (( (bPt) &var_c71756)+32) /* var_c67980 */ , 0, pd369); }; SOURCE(36298, 8) (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) = (* (( (ptr) &var_c71756)+29)/* newi_v19752 */ ); } else { SOURCE(36313, 355) { word x_v20016; SOURCE(36399, 49) x_v20016 = (* (( (ptr) (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+2) ))+5) ); SOURCE(36450, 132) SOURCE(36450, 132) { /* declaration of var_c07 skipped */ (* (( (ptr) &var_c71756)+30)/* var_c07 */ ) = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+13) ); { word var_c08; { word var_c0874; var_c0874 = (word) &var_c71756; var_c08 = (word) XR_Enable(( ((word) (fPt) NoName_Q12132) ), ( ((word) (fPt) NoName_Q12192) ), var_c0874); }; /* removed trivial cond node */ }; }; SOURCE(36599, 56) { word var_c68044; { word pd370; word idx371; word limit372; pd370 = (* (( (ptr) (* (( (ptr) gf_c71788)+174)/* var_c61132 */ ))+20) ); var_c68044 = (word) ( *( (fPt) ((* (ptr) pd370 ))))((* (( (W3Pt) (( (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ))+1) )+( idx371 = (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ), limit372 = (* (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ) ), BCK(idx371, limit372) )) ).f2, pd370); }; { word pd373; pd373 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd373 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), var_c68044, pd373); }; }; SOURCE(36657, 9) (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) = ((* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) + 1); }; }; SOURCE(36671, 128) if ((0 != (* (( (ptr) &var_c71756)+28)/* tabFound_v19724 */ ))) { SOURCE(36688, 113) { W3 entry_v20076; SOURCE(36690, 46) { word idx374; word limit375; entry_v20076 = (* (( (W3Pt) (( (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ))+1))+( idx374 = (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ), limit375 = (* (ptr) (* (( (ptr) &var_c71756)+12)/* charInfo_v19196 */ ) ), BCK(idx374, limit375) )) ); }; SOURCE(36738, 50) { word var_c68076; { word pd376; pd376 = (* (( (ptr) (* (( (ptr) gf_c71788)+174)/* var_c61132 */ ))+20) ); var_c68076 = (word) ( *( (fPt) ((* (ptr) pd376 ))))(entry_v20076.f2, pd376); }; { word pd377; pd377 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd377 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), var_c68076, pd377); }; }; SOURCE(36790, 9) (* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) = ((* (( (ptr) &var_c71756)+11)/* i_v19168 */ ) + 1); }; }; SOURCE(36804, 69) { word x378; word x379; if ((( x378 = (* (( (ptr) &var_c71756)+18) ), *(float*)&x378 ) != ( x379 = (* (ptr) &fc125 ), *(float*)&x379 ))) { SOURCE(36834, 39) { word pd380; word x381; float tf382; pd380 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+27) ); (void) ( *( (fPt) ((* (ptr) pd380 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), ( tf382 = - ( x381 = (* (( (ptr) &var_c71756)+18) ), *(float*)&x381 ), *(word*)&tf382 ), pd380); }; }; }; SOURCE(36878, 119) { word x383; word x384; word x385; word x386; if ((( x383 = (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+10) ), *(float*)&x383 ) != ( x384 = (* (ptr) &fc125 ), *(float*)&x384 )) || (( x385 = (* (( (ptr) &var_c71756)+27)/* deltaWidth_v19696 */ ), *(float*)&x385 ) != ( x386 = (* (ptr) &fc125 ), *(float*)&x386 ))) { SOURCE(36929, 52) { word pd387; word x388; word x389; float tf390; pd387 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd387 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), ( tf390 = ( x388 = (* (( (ptr) &var_c71756)+27)/* deltaWidth_v19696 */ ), *(float*)&x388 ) - ( x389 = (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+10) ), *(float*)&x389 ), *(word*)&tf390 ), pd387); }; SOURCE(36983, 14) (* (( (ptr) &var_c71756)+27)/* deltaWidth_v19696 */ ) = (* (ptr) &fc125 ); }; }; SOURCE(37002, 161) if ((0 != (* (( (ptr) &var_c71756)+25)/* doUnderline_v19640 */ ))) { SOURCE(37024, 34) { word color_v55196; color_v55196 = (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+5) ); SOURCE(33682, 83) if ((lastSetColor_v19252 != color_v55196)) { SOURCE(33712, 31) { word pd391; pd391 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd391 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), color_v55196, pd391); }; SOURCE(33745, 20) lastSetColor_v19252 = color_v55196; }; }; SOURCE(37060, 79) { word pd392; pd392 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+41) ); (void) ( *( (fPt) ((* (ptr) pd392 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) (* (( (ptr) &var_c71756)+23) /* extension_v19584 */ ))+3) ), (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+4) ), pd392); }; SOURCE(37141, 22) SOURCE(33682, 83) if ((lastSetColor_v19252 != (* (( (ptr) &var_c71756)+16) ))) { SOURCE(33712, 31) { word pd393; pd393 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd393 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) &var_c71756)+16) ), pd393) ; }; SOURCE(33745, 20) lastSetColor_v19252 = (* (( (ptr) &var_c71756)+16) ); }; }; SOURCE(37168, 161) if ((0 != (* (( (ptr) &var_c71756)+26)/* doStrikeout_v19668 */ ))) { SOURCE(37190, 34) { word color_v55148; color_v55148 = (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+8) ); SOURCE(33682, 83) if ((lastSetColor_v19252 != color_v55148)) { SOURCE(33712, 31) { word pd394; pd394 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd394 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), color_v55148, pd394); }; SOURCE(33745, 20) lastSetColor_v19252 = color_v55148; }; }; SOURCE(37226, 79) { word pd395; pd395 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+41) ); (void) ( *( (fPt) ((* (ptr) pd395 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) (* (( (ptr) &var_c71756)+23) /* extension_v19584 */ ))+6) ), (* (( (ptr) (* (( (ptr) &var_c71756)+23)/* extension_v19584 */ ))+7) ), pd395); }; SOURCE(37307, 22) SOURCE(33682, 83) if ((lastSetColor_v19252 != (* (( (ptr) &var_c71756)+16) ))) { SOURCE(33712, 31) { word pd396; pd396 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd396 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (( (ptr) &var_c71756)+16) ), pd396) ; }; SOURCE(33745, 20) lastSetColor_v19252 = (* (( (ptr) &var_c71756)+16) ); }; }; }; goto lab_L100146; lab_L100144: ; SOURCE(37343, 22) { word color_v55100; color_v55100 = (* (ptr) (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+54) ) ); SOURCE(33682, 83) if ((lastSetColor_v19252 != color_v55100)) { SOURCE(33712, 31) { word pd397; pd397 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd397 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), color_v55100, pd397); }; SOURCE(33745, 20) lastSetColor_v19252 = color_v55100; }; }; SOURCE(37367, 20) SOURCE(33873, 76) { word x398; word x399; if ((( x398 = (* (ptr) &fc100 ), *(float*)&x398 ) != ( x399 = lastAmplify_v19308, *(float*)&x399 ))) { SOURCE(33898, 34) { word pd400; pd400 = (* (( (ptr) (* (( (ptr) gf_c71788)+183)/* var_c63436 */ ))+31) ); (void) ( *( (fPt) ((* (ptr) pd400 ))))((* (( (ptr) &var_c71756)+5)/* context_v10448 */ ), (* (ptr) &fc100 ), pd400); }; SOURCE(33934, 15) lastAmplify_v19308 = (* (ptr) &fc100 ); }; }; } static word NoName_Q12132(formal_c0842) word formal_c0842; { SOURCE(36450, 132) { word pd401; pd401 = (* (( (ptr) formal_c0842)+30) ); (void) ( *( (fPt) ((* (ptr) pd401 ))))((* (( (ptr) formal_c0842)+5) ), (word) (( (bPt) formal_c0842)+24), pd401); }; return(0); } static void ShowProc_P5784(charAction_v19856, formal_c71852) word charAction_v19856; word formal_c71852; { register ptr gf_c71820 = (ptr) &globalframe; word info_v20120; word end_v20148; word f_v20176; word whatMeWorry_v20204; word j_v20232; word entry_v20260 = 0; formal_c71852 = (formal_c71852 - 32); /* ShowProc: */ SOURCE(34542, 16) SOURCE(34602, 37) info_v20120 = (* (( (ptr) formal_c71852)+12) ); SOURCE(34641, 17) end_v20148 = (* (( (ptr) formal_c71852)+10) ); SOURCE(34660, 42) f_v20176 = (* (( (ptr) formal_c71852)+13) ); SOURCE(34704, 25) whatMeWorry_v20204 = (* (( (ptr) formal_c71852)+24) ); SOURCE(34731, 10) j_v20232 = (* (( (ptr) formal_c71852)+11) ); SOURCE(34799, 34) if ((j_v20232 < end_v20148)) { SOURCE(34815, 18) { word limit402; entry_v20260 = (word) (( (W3Pt) (( (bPt) info_v20120)+4))+( limit402 = (* (ptr) info_v20120 ), BCK(j_v20232, limit402) )); }; }; SOURCE(34835, 739) lab_L100153: ; if ((j_v20232 < end_v20148)) { } else { goto lab_L100151; }; { word char_v20316; SOURCE(34852, 24) char_v20316 = (* (ptr) entry_v20260 ); SOURCE(34878, 31) if ((( * (ptr) (( (ptr) entry_v20260)+1) >> 2) != f_v20176)) { SOURCE(34909, 4) goto lab_L100152; }; SOURCE(34915, 259) if ((0 != whatMeWorry_v20204)) { SOURCE(34935, 245) { word charClass_v20360; word charUnderline_v20388; word charStrikeout_v20416; SOURCE(34937, 54) charClass_v20360 = (word) CharClass_P1320(char_v20316); SOURCE(34993, 56) charUnderline_v20388 = (unsigned) ((* (( (ptr) formal_c71852)+20) ) >= charClass_v20360); SOURCE(35051, 54) charStrikeout_v20416 = (unsigned) ((* (( (ptr) formal_c71852)+19) ) >= charClass_v20360); SOURCE(35107, 67) if (((* (( (ptr) formal_c71852)+25) ) != charUnderline_v20388) || ((* (( (ptr) formal_c71852)+26) ) != charStrikeout_v20416)) { SOURCE(35174, 4) goto lab_L100152; }; }; }; SOURCE(35183, 34) if ((char_v20316 == 9)) { SOURCE(35202, 15) (* (( (ptr) formal_c71852)+28) ) = 1; SOURCE(35219, 4) goto lab_L100152; }; SOURCE(35226, 68) if ((char_v20316 != (word) -1) || ! ((* (( (bPt) entry_v20260)+7) ) & 02)) { SOURCE(35278, 16) (void) ( *( (fPt) ((* (ptr) charAction_v19856 ))))(char_v20316, charAction_v19856); }; SOURCE(35296, 9) j_v20232 = (j_v20232 + 1); SOURCE(35307, 39) if ((j_v20232 == (* (( (ptr) (* (( (ptr) formal_c71852)+4) ))+19) ))) { SOURCE(35346, 4) goto lab_L100152; }; SOURCE(35352, 164) if ( ( ((* (( (bPt) entry_v20260)+7) ) & 02) ? (char_v20316 != (word) -1) : 0 ) ) { SOURCE(35400, 116) { W2 var_c0589; word var_c0876; { word var_c68108; word var_c0875; { word idx403; word limit404; var_c68108 = (* (( (ptr) (* (( (ptr) formal_c71852)+4) ))+1) ); var_c0875 = (* (( (ptr) (( (W9Pt) (( (ptr) var_c68108)+2))+( idx403 = (word) ( * (ptr) (( (ptr) entry_v20260)+1) >> 2), limit404 = (* (( (ptr) var_c68108)+1) ), BCK(idx403, limit404) )))+1) ); }; { word pd405; pd405 = (* (( (ptr) (* (( (ptr) gf_c71820)+173)/* var_c61100 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd405 ))))((word) &var_c0589, var_c0875, char_v20316, pd405); }; }; var_c0876 = var_c0589.f0; { word pd406; word x407; word x408; pd406 = (* (( (ptr) (* (( (ptr) gf_c71820)+174)/* var_c61132 */ ))+20) ); *(float*)(( (ptr) formal_c71852)+27) = ( x407 = (word) ( *( (fPt) ((* (ptr) pd406 ))))((* ((( (ptr) entry_v20260)+2)) ), pd406), *(float*)&x407 ) - ( x408 = var_c0876, *(float*)&x408 ); }; }; SOURCE(35518, 4) goto lab_L100152; }; SOURCE(35527, 47) entry_v20260 = (entry_v20260 + 12); }; goto lab_L100153; lab_L100151: ; lab_L100152: ; SOURCE(35585, 8) (* (( (ptr) formal_c71852)+29) ) = j_v20232; } static void do_P5940(formal_c71884) word formal_c71884; { formal_c71884 = (formal_c71884 - 24); /* do: */ SOURCE(36315, 11) SOURCE(36327, 69) { word pd409; pd409 = (* (ptr) (* (( (ptr) (* (( (ptr) formal_c71884)+23) ))+2) ) ); (void) ( *( (fPt) ((* (ptr) pd409 ))))((* (( (ptr) (* (( (ptr) formal_c71884)+23) ))+2) ), (* (( (ptr) formal_c71884)+5) ), pd409); }; } static void Resolve_P1560(formal_c0600, lineInfo_v45424, x_v45452) word formal_c0600; word lineInfo_v45424; word x_v45452; { W2 loc_v45496; word xmin_v45524; word width_v45552; word rightOfLine_v45580; word class_v20460; /* Resolve: */ SOURCE(37393, 223) SOURCE(37393, 223) loc_v45496.f0 = 0; loc_v45496.f1 = 0; SOURCE(37437, 43) class_v20460 = (* (( (ptr) lineInfo_v45424)+3) ); SOURCE(37482, 134) { W5 var_c68140; if ( ( (class_v20460 != 0) ? ((* (( (ptr) class_v20460)+3) ) != 0) : 0 ) ) { { W5 var_c0598; { word pd410; pd410 = (* (( (ptr) class_v20460)+3) ); (void) ( *( (fPt) ((* (ptr) pd410 ))))((word) &var_c0598, lineInfo_v45424, x_v45452, pd410); }; var_c68140 = var_c0598; }; } else { { W5 var_c0599; (void) NormalResolve_P1620((word) &var_c0599, lineInfo_v45424, x_v45452); var_c68140 = var_c0599; }; }; rightOfLine_v45580 = var_c68140.f4; width_v45552 = var_c68140.f3; xmin_v45524 = var_c68140.f2; loc_v45496 = (* (W2Pt) &var_c68140 ); }; /* removed tail goto */ (* (W2Pt) formal_c0600 ) = loc_v45496; (* (( (ptr) formal_c0600)+2) ) = xmin_v45524; (* (( (ptr) formal_c0600)+3) ) = width_v45552; (* (( (ptr) formal_c0600)+4) ) = rightOfLine_v45580; return; } static void NormalResolve_P1620(formal_c0623, lineInfo_v10508, x_v10536) word formal_c0623; word lineInfo_v10508; word x_v10536; { W2 loc_v10580; word xmin_v10608; word width_v10636; word rightOfLine_v10664; word xOffset_v20504; word xOfi_v20532; word xx_v20560; /* NormalResolve: */ SOURCE(37622, 679) SOURCE(37622, 679) loc_v10580.f0 = 0; loc_v10580.f1 = 0; SOURCE(37765, 45) { word a_v55660; a_v55660 = (* (( (ptr) lineInfo_v10508)+9) ); { word a_v39972; { word i_v40004; i_v40004 = (a_v55660 + 32768); a_v39972 = i_v40004; }; xOffset_v20504 = (word)( (int)a_v39972 >> 16); }; }; SOURCE(37812, 36) { word var_c68332; var_c68332 = (* (( (ptr) lineInfo_v10508)+2) ); { word limit411; xOfi_v20532 = (* ((( (ptr) var_c68332)+1)+( limit411 = (* (ptr) var_c68332 ), BCK(0, limit411) )) ); }; }; SOURCE(37850, 26) xx_v20560 = (x_v10536 - xOffset_v20504); SOURCE(37878, 338) { register word i_v20604 = 0; register word noName_c68364; noName_c68364 = (* (( (ptr) lineInfo_v10508)+14) ); if ((i_v20604 >= noName_c68364)) { goto lab_L100159; }; lab_L100162: ; { word xOfiPlusOne_v20648; SOURCE(37916, 45) { word var_c68396; word var_c68428; var_c68396 = (i_v20604 + 1); var_c68428 = (* (( (ptr) lineInfo_v10508)+2) ); { word limit412; xOfiPlusOne_v20648 = (* ((( (ptr) var_c68428)+1)+( limit412 = (* (ptr) var_c68428 ), BCK(var_c68396, limit412) )) ); }; }; SOURCE(37963, 233) if (( (int)i_v20604 == (int)((* (( (ptr) lineInfo_v10508)+14) ) - 1)) || ( (int)xx_v20560 < (int)xOfiPlusOne_v20648)) { SOURCE(38013, 183) loc_v10580.f0 = (* (( (ptr) lineInfo_v10508)+5) ); loc_v10580.f1 = ((* (( (ptr) lineInfo_v10508)+6) ) + i_v20604); if (( (int)i_v20604 == (int)((* (( (ptr) lineInfo_v10508)+14) ) - 1))) { rightOfLine_v10664 = (unsigned) ( (int)(xOfi_v20532 + xOfiPlusOne_v20648) <= (int)(xx_v20560 + xx_v20560)); } else { rightOfLine_v10664 = (unsigned) 0; }; xmin_v10608 = (xOfi_v20532 + xOffset_v20504); width_v10636 = (xOfiPlusOne_v20648 - xOfi_v20532); goto lab_L100155; }; SOURCE(38198, 18) xOfi_v20532 = xOfiPlusOne_v20648; }; i_v20604 = (i_v20604 + 1); if ((i_v20604 < noName_c68364)) { goto lab_L100162; }; lab_L100159: ; }; SOURCE(38227, 74) loc_v10580 = (* (W2Pt) (( (ptr) lineInfo_v10508)+5) ); xmin_v10608 = xOffset_v20504; width_v10636 = 0; rightOfLine_v10664 = 1; /* removed tail goto */ lab_L100155: ; (* (W2Pt) formal_c0623 ) = loc_v10580; (* (( (ptr) formal_c0623)+2) ) = xmin_v10608; (* (( (ptr) formal_c0623)+3) ) = width_v10636; (* (( (ptr) formal_c0623)+4) ) = rightOfLine_v10664; return; } static void CharPosition_P1680(formal_c0632, lineInfo_v45640, offset_v45668) word formal_c0632; word lineInfo_v45640; word offset_v45668; { word x_v45712; word width_v45740; word class_v20692; /* CharPosition: */ SOURCE(38307, 237) SOURCE(38361, 43) class_v20692 = (* (( (ptr) lineInfo_v45640)+3) ); SOURCE(38406, 138) { W2 var_c68588; if ( ( (class_v20692 != 0) ? ((* (( (ptr) class_v20692)+4) ) != 0) : 0 ) ) { { W2 var_c0630; { word pd413; pd413 = (* (( (ptr) class_v20692)+4) ); (void) ( *( (fPt) ((* (ptr) pd413 ))))((word) &var_c0630, lineInfo_v45640, offset_v45668, pd413); }; var_c68588 = var_c0630; }; } else { { W2 var_c0631; (void) NormalCharPosition_P1740((word) &var_c0631, lineInfo_v45640, offset_v45668); var_c68588 = var_c0631; }; }; width_v45740 = var_c68588.f1; x_v45712 = var_c68588.f0; }; /* removed tail goto */ (* (ptr) formal_c0632 ) = x_v45712; (* (( (ptr) formal_c0632)+1) ) = width_v45740; return; } static void NormalCharPosition_P1740(formal_c0650, lineInfo_v10724, offset_v10752) word formal_c0650; word lineInfo_v10724; word offset_v10752; { word x_v10796; word width_v10824; /* NormalCharPosition: */ SOURCE(38550, 520) SOURCE(38653, 417) if (( (int)offset_v10752 < (int)(* (( (ptr) lineInfo_v10724)+6) ))) { SOURCE(38695, 18) x_v10796 = 2147483648; SOURCE(38715, 9) width_v10824 = 0; } else { SOURCE(38731, 344) { word i_v20736; SOURCE(38733, 57) { word x414; i_v20736 = (x414 = (offset_v10752 - (* (( (ptr) lineInfo_v10724)+6) )), MIN((int)(word), x414, 2147483647)); }; SOURCE(38792, 278) if ((i_v20736 > (* (( (ptr) lineInfo_v10724)+14) ))) { SOURCE(38819, 17) x_v10796 = 2147483647; SOURCE(38838, 9) width_v10824 = 0; } else { SOURCE(38854, 216) if ((i_v20736 == (* (( (ptr) lineInfo_v10724)+14) ))) { SOURCE(38881, 61) { word var_c68620; word var_c0877; word var_c68652; word a_v55524; var_c68620 = (* (( (ptr) lineInfo_v10724)+2) ); { word limit415; var_c0877 = (* ((( (ptr) var_c68620)+1)+( limit415 = (* (ptr) var_c68620 ), BCK(i_v20736, limit415) )) ); }; a_v55524 = (* (( (ptr) lineInfo_v10724)+9) ); { word a_v55572; { word i_v55616; i_v55616 = (a_v55524 + 32768); a_v55572 = i_v55616; }; var_c68652 = (word)( (int)a_v55572 >> 16); }; x_v10796 = (var_c0877 + var_c68652); }; SOURCE(38944, 9) width_v10824 = 0; } else { SOURCE(38962, 28) { word var_c68812; var_c68812 = (* (( (ptr) lineInfo_v10724)+2) ); { word limit416; x_v10796 = (* ((( (ptr) var_c68812)+1)+( limit416 = (* (ptr) var_c68812 ), BCK(i_v20736, limit416) )) ); }; }; SOURCE(38992, 38) { word var_c68844; word var_c68876; word var_c0878; var_c68844 = (i_v20736 + 1); var_c68876 = (* (( (ptr) lineInfo_v10724)+2) ); { word limit417; var_c0878 = (* ((( (ptr) var_c68876)+1)+( limit417 = (* (ptr) var_c68876 ), BCK(var_c68844, limit417) )) ); }; width_v10824 = (var_c0878 - x_v10796); }; SOURCE(39032, 38) { word var_c68908; word a_v55388; a_v55388 = (* (( (ptr) lineInfo_v10724)+9) ); { word a_v55436; { word i_v55480; i_v55480 = (a_v55388 + 32768); a_v55436 = i_v55480; }; var_c68908 = (word)( (int)a_v55436 >> 16); }; x_v10796 = (x_v10796 + var_c68908); }; }; }; }; }; /* removed tail goto */ (* (ptr) formal_c0650 ) = x_v10796; (* (( (ptr) formal_c0650)+1) ) = width_v10824; return; } static void BoundingBox_P1800(formal_c0659, lineInfo_v45800, start_v45828, length_v45856) word formal_c0659; word lineInfo_v45800; word start_v45828; word length_v45856; { W4 var_c45900; word class_v20780; /* BoundingBox: */ SOURCE(39082, 244) SOURCE(39134, 43) class_v20780 = (* (( (ptr) lineInfo_v45800)+3) ); SOURCE(39179, 147) { W4 var_c69100; if ( ( (class_v20780 != 0) ? ((* (( (ptr) class_v20780)+5) ) != 0) : 0 ) ) { { W4 var_c0657; { word pd418; pd418 = (* (( (ptr) class_v20780)+5) ); (void) ( *( (fPt) ((* (ptr) pd418 ))))((word) &var_c0657, lineInfo_v45800, start_v45828, length_v45856, pd418); }; var_c69100 = var_c0657; }; } else { { W4 var_c0658; (void) NormalBoundingBox_P1860((word) &var_c0658, lineInfo_v45800, start_v45828, length_v45856); var_c69100 = var_c0658; }; }; var_c45900 = var_c69100; /* removed tail goto */ }; (* (W4Pt) formal_c0659 ) = var_c45900; return; } static void NormalBoundingBox_P1860(formal_c0692, lineInfo_v10884, start_v10912, length_v10940) word formal_c0692; word lineInfo_v10884; word start_v10912; word length_v10940; { W12 var_c71916; register ptr gf_c71948 = (ptr) &globalframe; W4 var_c10984; /* declaration of var_c69132 skipped */ /* declaration of var_c69164 skipped */ word charInfo_v20824; word formatInfo_v20852; /* declaration of x0_v20880 skipped */ /* declaration of y0_v20908 skipped */ /* declaration of x1_v20936 skipped */ /* declaration of y1_v20964 skipped */ word x_v20992; /* NormalBoundingBox: */ SOURCE(39332, 1559) { word tmpAddr419; tmpAddr419 = (word) (( (ptr) &var_c71916)+4)/* var_c69132 */ ; (* (ptr) tmpAddr419 ) = ( ((word) (fPt) BBox_P6348) ); (* (( (ptr) tmpAddr419) + 1) ) = 1; }; { word tmpAddr420; tmpAddr420 = (word) (( (ptr) &var_c71916)+6)/* var_c69164 */ ; (* (ptr) tmpAddr420 ) = ( ((word) (fPt) BBPoint_P6288) ); (* (( (ptr) tmpAddr420) + 1) ) = 1; }; SOURCE(39435, 50) charInfo_v20824 = (* (ptr) lineInfo_v10884 ); SOURCE(39487, 56) formatInfo_v20852 = (* (( (ptr) lineInfo_v10884)+1) ); SOURCE(39545, 29) (* (( (ptr) &var_c71916)+8)/* x0_v20880 */ ) = 2139095039; SOURCE(39576, 29) (* (( (ptr) &var_c71916)+9)/* y0_v20908 */ ) = 2139095039; SOURCE(39607, 30) { word x421; *(float*)(( (ptr) &var_c71916)+10)/* x1_v20936 */ = - ( x421 = 2139095039, *(float*)&x421 ); }; SOURCE(39639, 30) { word x422; *(float*)(( (ptr) &var_c71916)+11)/* y1_v20964 */ = - ( x422 = 2139095039, *(float*)&x422 ); }; SOURCE(39671, 13) x_v20992 = (* (ptr) &fc125 ); SOURCE(39898, 889) { register word i_v21240 = 0; register word noName_c69196; { word x423; noName_c69196 = (x423 = (* (( (ptr) lineInfo_v10884)+14) ), MIN((int)(word), (start_v10912 + length_v10940), x423)); }; if (( (int)i_v21240 >= (int)noName_c69196)) { goto lab_L100173; }; lab_L100176: ; { W3 c_v21284; W9 f_v21312; word ext_v21340; word w_v21368; word newx_v21396; SOURCE(39955, 42) { word limit424; c_v21284 = (* (( (W3Pt) (( (ptr) charInfo_v20824)+1))+( limit424 = (* (ptr) charInfo_v20824 ), BCK(i_v21240, limit424) )) ); }; SOURCE(39999, 59) { word idx425; word limit426; f_v21312 = (* (( (W9Pt) (( (ptr) formatInfo_v20852)+2))+( idx425 = (word) ((unsigned)(* (( (ptr) &c_v21284)+1) ) >> 2), limit426 = (* (( (ptr) formatInfo_v20852)+1) ), BCK(idx425, limit426) )) ); }; SOURCE(40060, 34) ext_v21340 = (* (( (ptr) &f_v21312)+7) ); SOURCE(40096, 31) { word pd427; pd427 = (* (( (ptr) (* (( (ptr) gf_c71948)+174)/* var_c61132 */ ))+20) ); w_v21368 = (word) ( *( (fPt) ((* (ptr) pd427 ))))(c_v21284.f2, pd427); }; SOURCE(40129, 16) { word x428; word x429; *(float*)&newx_v21396 = ( x428 = x_v20992, *(float*)&x428 ) + ( x429 = w_v21368, *(float*)&x429 ); }; SOURCE(40147, 624) if (( (int)i_v21240 >= (int)start_v10912)) { SOURCE(40166, 610) { word charClass_v21440; word doUnderline_v21468; word doStrikeout_v21496; word y_v21524; W4 extent_v21552; SOURCE(40168, 66) { word limit430; charClass_v21440 = (word) CharClass_P1320((* (( (W3Pt) (( (ptr) charInfo_v20824)+1))+( limit430 = (* (ptr) charInfo_v20824 ), BCK(i_v21240, limit430) )) ).f0); }; SOURCE(40236, 46) doUnderline_v21468 = (unsigned) ((* (( (ptr) &f_v21312)+6) ) >= charClass_v21440); SOURCE(40284, 44) doStrikeout_v21496 = (unsigned) ((* (( (ptr) &f_v21312)+5) ) >= charClass_v21440); SOURCE(40330, 18) y_v21524 = (* (( (ptr) &f_v21312)+4) ); SOURCE(40350, 136) if (((* (( (ptr) ext_v21340)+2) ) != 0)) { extent_v21552 = (* (W4Pt) (( (ptr) (* (( (ptr) ext_v21340)+2) ))+1) ); } else { { W4 var_c0685; { word pd431; pd431 = (* (( (ptr) (* (( (ptr) gf_c71948)+173)/* var_c61100 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd431 ))))((word) &var_c0685, (* (( (ptr) &f_v21312)+1) ), c_v21284.f0, pd431); }; extent_v21552 = var_c0685; }; }; SOURCE(40488, 86) { W2 var_c69228; W2 var_c69260; { word x432; word x433; *(float*)&var_c69228.f0 = ( x432 = x_v20992, *(float*)&x432 ) - ( x433 = extent_v21552.f0, *(float*)&x433 ); }; { word x434; word x435; *(float*)&var_c69228.f1 = ( x434 = y_v21524, *(float*)&x434 ) - ( x435 = extent_v21552.f2, *(float*)&x435 ); }; { word x436; word x437; *(float*)&var_c69260.f0 = ( x436 = x_v20992, *(float*)&x436 ) + ( x437 = extent_v21552.f1, *(float*)&x437 ); }; { word x438; word x439; *(float*)&var_c69260.f1 = ( x438 = y_v21524, *(float*)&x438 ) + ( x439 = extent_v21552.f3, *(float*)&x439 ); }; (void) BBox_P6348(var_c69228, var_c69260, (word) (( (bPt) &var_c71916)+16)/* var_c69132 */ ); }; SOURCE(40576, 95) if ((0 != doUnderline_v21468)) { SOURCE(40598, 73) { W2 var_c69292; W2 var_c69324; var_c69292.f0 = x_v20992; { word x440; *(float*)&var_c69292.f1 = - ( x440 = (* (( (ptr) ext_v21340)+3) ), *(float*)&x440 ); }; var_c69324.f0 = newx_v21396; { word x441; word x442; *(float*)&var_c69324.f1 = ( - ( x441 = (* (( (ptr) ext_v21340)+3) ), *(float*)&x441 )) - ( x442 = (* (( (ptr) ext_v21340)+4) ), *(float*)&x442 ); }; (void) BBox_P6348(var_c69292, var_c69324, (word) (( (bPt) &var_c71916)+16)/* var_c69132 */ ); }; }; SOURCE(40676, 95) if ((0 != doStrikeout_v21496)) { SOURCE(40698, 73) { W2 var_c69356; W2 var_c69388; var_c69356.f0 = x_v20992; { word x443; *(float*)&var_c69356.f1 = - ( x443 = (* (( (ptr) ext_v21340)+6) ), *(float*)&x443 ); }; var_c69388.f0 = newx_v21396; { word x444; word x445; *(float*)&var_c69388.f1 = ( - ( x444 = (* (( (ptr) ext_v21340)+6) ), *(float*)&x444 )) - ( x445 = (* (( (ptr) ext_v21340)+7) ), *(float*)&x445 ); }; (void) BBox_P6348(var_c69356, var_c69388, (word) (( (bPt) &var_c71916)+16)/* var_c69132 */ ); }; }; }; }; SOURCE(40779, 8) x_v20992 = newx_v21396; }; i_v21240 = (i_v21240 + 1); if (( (int)i_v21240 < (int)noName_c69196)) { goto lab_L100176; }; lab_L100173: ; }; SOURCE(40798, 93) { word x446; word x447; if ((( x446 = (* (( (ptr) &var_c71916)+8)/* x0_v20880 */ ), *(float*)&x446 ) >= ( x447 = (* (( (ptr) &var_c71916)+10)/* x1_v20936 */ ), *(float*)&x447 ))) { SOURCE(40815, 27) var_c10984.f0 = (* (ptr) &fc125 ); var_c10984.f1 = (* (ptr) &fc125 ); var_c10984.f2 = (* (ptr) &fc125 ); var_c10984.f3 = (* (ptr) &fc125 ); /* removed tail goto */ } else { SOURCE(40842, 49) var_c10984.f0 = (* (( (ptr) &var_c71916)+8)/* x0_v20880 */ ); var_c10984.f1 = (* (( (ptr) &var_c71916)+9)/* y0_v20908 */ ); var_c10984.f2 = (* (( (ptr) &var_c71916)+10)/* x1_v20936 */ ); var_c10984.f3 = (* (( (ptr) &var_c71916)+11)/* y1_v20964 */ ); /* removed tail goto */ }; }; (* (W4Pt) formal_c0692 ) = var_c10984; return; } static void BBPoint_P6288(p_v21124, formal_c71980) W2 p_v21124; word formal_c71980; { formal_c71980 = (formal_c71980 - 24); /* BBPoint: */ SOURCE(39686, 141) SOURCE(39721, 25) { word x448; word x449; if ((( x448 = p_v21124.f0, *(float*)&x448 ) < ( x449 = (* (( (ptr) formal_c71980)+8) ), *(float*)&x449 ))) { SOURCE(39738, 8) (* (( (ptr) formal_c71980)+8) ) = p_v21124.f0; }; }; SOURCE(39748, 25) { word x450; word x451; if ((( x450 = p_v21124.f0, *(float*)&x450 ) > ( x451 = (* (( (ptr) formal_c71980)+10) ), *(float*)&x451 ))) { SOURCE(39765, 8) (* (( (ptr) formal_c71980)+10) ) = p_v21124.f0; }; }; SOURCE(39775, 25) { word x452; word x453; if ((( x452 = p_v21124.f1, *(float*)&x452 ) < ( x453 = (* (( (ptr) formal_c71980)+9) ), *(float*)&x453 ))) { SOURCE(39792, 8) (* (( (ptr) formal_c71980)+9) ) = p_v21124.f1; }; }; SOURCE(39802, 25) { word x454; word x455; if ((( x454 = p_v21124.f1, *(float*)&x454 ) > ( x455 = (* (( (ptr) formal_c71980)+11) ), *(float*)&x455 ))) { SOURCE(39819, 8) (* (( (ptr) formal_c71980)+11) ) = p_v21124.f1; }; }; } static void BBox_P6348(p0_v21184, p1_v21212, formal_c72012) W2 p0_v21184; W2 p1_v21212; word formal_c72012; { formal_c72012 = (formal_c72012 - 16); /* BBox: */ SOURCE(39832, 61) SOURCE(39869, 11) (void) BBPoint_P6288(p0_v21184, (word) (( (bPt) formal_c72012)+24)); SOURCE(39882, 11) (void) BBPoint_P6288(p1_v21212, (word) (( (bPt) formal_c72012)+24)); } static void RegisterCharacterArtwork_P1920(class_v11044) word class_v11044; { register ptr gf_c72044 = (ptr) &globalframe; /* RegisterCharacterArtwork: */ SOURCE(40896, 135) SOURCE(40969, 62) { word var_c69484; word pd456; pd456 = (* (( (ptr) (* (( (ptr) gf_c72044)+167)/* var_c59948 */ ))+9) ); var_c69484 = (word) ( *( (fPt) ((* (ptr) pd456 ))))((* (( (ptr) gf_c72044)+35)/* characterArtworkRegistry_v6276 */ ), (* (ptr) class_v11044 ), class_v11044, pd456) ; }; } static void UnregisterCharacterArtwork_P1980(name_v11104) word name_v11104; { register ptr gf_c72076 = (ptr) &globalframe; /* UnregisterCharacterArtwork: */ SOURCE(41037, 107) SOURCE(41094, 50) { word var_c69516; word pd457; pd457 = (* (( (ptr) (* (( (ptr) gf_c72076)+167)/* var_c59948 */ ))+11) ); var_c69516 = (word) ( *( (fPt) ((* (ptr) pd457 ))))((* (( (ptr) gf_c72076)+35)/* characterArtworkRegistry_v6276 */ ), name_v11104, pd457) ; }; } static word GetCharacterArtworkClass_P2040(name_v11164) word name_v11164; { register ptr gf_c72108 = (ptr) &globalframe; word var_c11208; /* GetCharacterArtworkClass: */ SOURCE(41150, 217) SOURCE(41237, 63) if ( ( (name_v11164 != (* (( (ptr) gf_c72108)+75) )) ? (0 == (* (( (ptr) gf_c72108)+40)/* artworkEnabled_v6696 */ )) : 0 ) ) { SOURCE(41288, 12) return(0); }; SOURCE(41302, 65) { word var_c0880; { W2 var_c0702; word var_c0879; { word pd458; pd458 = (* (( (ptr) (* (( (ptr) gf_c72108)+167)/* var_c59948 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd458 ))))((word) &var_c0702, (* (( (ptr) gf_c72108)+35)/* characterArtworkRegistry_v6276 */ ), name_v11164, pd458) ; }; var_c0879 = var_c0702.f1; var_c0880 = XR_Narrow(var_c0879, (* (( (ptr) gf_c72108)+43) )); }; return(var_c0880); }; } static void VRulePaint_P2100(self_v11424, context_v11452) word self_v11424; word context_v11452; { register ptr gf_c72140 = (ptr) &globalframe; word data_v21596; /* VRulePaint: */ SOURCE(41552, 285) SOURCE(41623, 42) data_v21596 = XR_Narrow((* (( (ptr) self_v11424)+8) ), (* (( (ptr) gf_c72140)+50) )); SOURCE(41667, 20) { word pd459; pd459 = (* (( (ptr) (* (( (ptr) gf_c72140)+183)/* var_c63436 */ ))+19) ); (void) ( *( (fPt) ((* (ptr) pd459 ))))(context_v11452, pd459); }; SOURCE(41689, 36) { word pd460; pd460 = (* (( (ptr) (* (( (ptr) gf_c72140)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd460 ))))(context_v11452, (* (ptr) data_v21596 ), pd460); }; SOURCE(41727, 110) { W4 var_c69580; var_c69580.f0 = (* (( (ptr) data_v21596)+4) ); { word x461; *(float*)&var_c69580.f1 = - ( x461 = (* (( (ptr) data_v21596)+2) ), *(float*)&x461 ); }; var_c69580.f2 = (* (( (ptr) data_v21596)+3) ); { word x462; word x463; *(float*)&var_c69580.f3 = ( x462 = (* (( (ptr) data_v21596)+1) ), *(float*)&x462 ) + ( x463 = (* (( (ptr) data_v21596)+2) ), *(float*)&x463 ); }; { word pd464; pd464 = (* (( (ptr) (* (( (ptr) gf_c72140)+183)/* var_c63436 */ ))+65) ); (void) ( *( (fPt) ((* (ptr) pd464 ))))(context_v11452, var_c69580, pd464); }; }; } static word VRuleFormat_P2160(class_v45960, loc_v45988, style_v46016) word class_v45960; W2 loc_v45988; word style_v46016; { register ptr gf_c72172 = (ptr) &globalframe; word var_c46060; word letter_v21652; /* VRuleFormat: */ SOURCE(41843, 1128) SOURCE(41892, 55) { word pd465; pd465 = (* (( (ptr) (* (( (ptr) gf_c72172)+184)/* var_c64812 */ ))+4) ); letter_v21652 = (word) ( *( (fPt) ((* (ptr) pd465 ))))(loc_v45988.f0, loc_v45988.f1, pd465); }; SOURCE(41949, 1004) if ((letter_v21652 == 124)) { SOURCE(41981, 975) { word ascent_v21696; word descent_v21724; word width_v21752; word bearoff_v21780; SOURCE(41983, 57) { word pd466; pd466 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+12) ); ascent_v21696 = (word) ( *( (fPt) ((* (ptr) pd466 ))))(style_v46016, 72, pd466); }; SOURCE(42042, 59) { word pd467; pd467 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+12) ); descent_v21724 = (word) ( *( (fPt) ((* (ptr) pd467 ))))(style_v46016, 73, pd467); }; SOURCE(42103, 59) { word pd468; pd468 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+12) ); width_v21752 = (word) ( *( (fPt) ((* (ptr) pd468 ))))(style_v46016, 67, pd468); }; SOURCE(42164, 59) { word pd469; pd469 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+12) ); bearoff_v21780 = (word) ( *( (fPt) ((* (ptr) pd469 ))))(style_v46016, 68, pd469); }; SOURCE(42225, 240) { word x470; word x471; word x472; if ((( x470 = ascent_v21696, *(float*)&x470 ) + ( x471 = descent_v21724, *(float*)&x471 ) <= ( x472 = (* (ptr) &fc125 ), *(float*)&x472 ))) { SOURCE(42255, 212) { word font_v21824; W4 fontBoundingBox_v21852; SOURCE(42257, 48) { word pd473; pd473 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+41) ); font_v21824 = (word) ( *( (fPt) ((* (ptr) pd473 ))))(style_v46016, pd473); }; SOURCE(42307, 70) { word pd474; pd474 = (* (( (ptr) (* (( (ptr) gf_c72172)+173)/* var_c61100 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd474 ))))((word) &fontBoundingBox_v21852, font_v21824, pd474); }; SOURCE(42379, 41) { word x475; word x476; *(float*)&ascent_v21696 = ( x475 = fontBoundingBox_v21852.f3, *(float*)&x475 ) + ( x476 = bearoff_v21780, *(float*)&x476 ); }; SOURCE(42422, 43) { word x477; word x478; *(float*)&descent_v21724 = ( x477 = fontBoundingBox_v21852.f2, *(float*)&x477 ) - ( x478 = bearoff_v21780, *(float*)&x478 ); }; }; }; }; SOURCE(42470, 483) { word x479; word x480; if ((( x479 = width_v21752, *(float*)&x479 ) > ( x480 = (* (ptr) &fc125 ), *(float*)&x480 ))) { SOURCE(42490, 463) { word data_v21896; W4 extents_v21924; SOURCE(42492, 159) { word var_c69612; word var_c69644; { word pd481; pd481 = (* (( (ptr) (* (( (ptr) gf_c72172)+175)/* var_c61260 */ ))+43) ); var_c69612 = (word) ( *( (fPt) ((* (ptr) pd481 ))))(style_v46016, 3, pd481); }; var_c69644 = XR_NewObject(20, (* (( (ptr) gf_c72172)+50) )); (* (ptr) var_c69644 ) = var_c69612; (* (( (ptr) var_c69644)+1) ) = ascent_v21696; (* (( (ptr) var_c69644)+2) ) = descent_v21724; (* (( (ptr) var_c69644)+3) ) = width_v21752; (* (( (ptr) var_c69644)+4) ) = bearoff_v21780; data_v21896 = var_c69644; }; SOURCE(42653, 139) { word x482; *(float*)&extents_v21924.f0 = - ( x482 = (* (( (ptr) data_v21896)+4) ), *(float*)&x482 ); }; { word x483; word x484; *(float*)&extents_v21924.f1 = ( x483 = (* (( (ptr) data_v21896)+4) ), *(float*)&x483 ) + ( x484 = (* (( (ptr) data_v21896)+3) ), *(float*)&x484 ); }; extents_v21924.f2 = (* (( (ptr) data_v21896)+2) ); extents_v21924.f3 = (* (( (ptr) data_v21896)+1) ); SOURCE(42794, 159) { word var_c69740; var_c69740 = XR_NewObject(36, (* (( (ptr) gf_c72172)+47) )); (* (ptr) var_c69740 ) = (word) (( (bPt) gf_c72172)+388)/* var_c58828 */ ; (* (W4Pt) (( (ptr) var_c69740)+1) ) = extents_v21924; { word x485; word x487; word x488; *(float*)(( (ptr) var_c69740)+5) = ( x485 = (* (( (ptr) data_v21896)+3) ), *(float*)&x485 ) + (( x487 = (* (ptr) &fc486 ), *(float*)&x487 ) * ( x488 = (* (( (ptr) data_v21896)+4) ), *(float*)&x488 )); }; (* (( (ptr) var_c69740)+6) ) = (* (ptr) &fc125 ); (* (( (ptr) var_c69740)+7) ) = 1; (* (( (ptr) var_c69740)+8) ) = data_v21896; return(var_c69740); }; }; }; }; }; }; SOURCE(42959, 12) return(0); } static void PlaceholderPaint_P2220(self_v11684, context_v11712) word self_v11684; word context_v11712; { W7 var_c72204; register ptr gf_c72236 = (ptr) &globalframe; /* declaration of var_c69772 skipped */ /* declaration of data_v21980 skipped */ /* PlaceholderPaint: */ SOURCE(43240, 485) { word tmpAddr489; tmpAddr489 = (word) (( (ptr) &var_c72204)+4)/* var_c69772 */ ; (* (ptr) tmpAddr489 ) = ( ((word) (fPt) path_P6696) ); (* (( (ptr) tmpAddr489) + 1) ) = 1; }; SOURCE(43317, 48) var_c72204.f6/* data_v21980 */ = XR_Narrow((* (( (ptr) self_v11684)+8) ), (* (( (ptr) gf_c72236)+45) )); SOURCE(43493, 159) if (((* (( (ptr) var_c72204.f6/* data_v21980 */ )+2) ) == 0)) { SOURCE(43521, 21) { word pd490; pd490 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+20) ); (void) ( *( (fPt) ((* (ptr) pd490 ))))(context_v11712, pd490); }; } else { SOURCE(43553, 42) { word pd491; pd491 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd491 ))))(context_v11712, (* (( (ptr) self_v11684)+5) ), pd491); }; SOURCE(43597, 21) { word pd492; pd492 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+20) ); (void) ( *( (fPt) ((* (ptr) pd492 ))))(context_v11712, pd492); }; SOURCE(43620, 32) { W2 var_c69804; var_c69804.f0 = (* (ptr) &fc493 ); var_c69804.f1 = (* (ptr) &fc100 ); { word pd494; pd494 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd494 ))))(context_v11712, var_c69804, pd494); }; }; }; SOURCE(43657, 36) { word pd495; pd495 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+52) ); (void) ( *( (fPt) ((* (ptr) pd495 ))))(context_v11712, (* (ptr) var_c72204.f6/* data_v21980 */ ), pd495); }; SOURCE(43695, 30) { word pd496; pd496 = (* (( (ptr) (* (( (ptr) gf_c72236)+183)/* var_c63436 */ ))+62) ); (void) ( *( (fPt) ((* (ptr) pd496 ))))(context_v11712, (word) (( (bPt) &var_c72204)+16)/* var_c69772 */ , 0, pd496); }; } static void path_P6696(moveTo_v54608, lineTo_v54636, curveTo_v54664, conicTo_v54692, arcTo_v54720, formal_c72268) word moveTo_v54608; word lineTo_v54636; word curveTo_v54664; word conicTo_v54692; word arcTo_v54720; word formal_c72268; { word u_v22064; formal_c72268 = (formal_c72268 - 16); /* path: */ SOURCE(43367, 121) SOURCE(43397, 23) { word x497; word x499; *(float*)&u_v22064 = ( x497 = (* (( (ptr) (* (( (ptr) formal_c72268)+6) ))+1) ), *(float*)&x497 ) * ( x499 = (* (ptr) &fc498 ), *(float*)&x499 ); }; SOURCE(43422, 20) { W2 var_c69836; var_c69836.f0 = u_v22064; { word x501; word x502; *(float*)&var_c69836.f1 = ( x501 = (* (ptr) &fc500 ), *(float*)&x501 ) * ( x502 = u_v22064, *(float*)&x502 ); }; (void) ( *( (fPt) ((* (ptr) moveTo_v54608 ))))(var_c69836, moveTo_v54608); }; SOURCE(43444, 19) { W2 var_c69868; var_c69868.f0 = u_v22064; { word x504; word x505; *(float*)&var_c69868.f1 = ( x504 = (* (ptr) &fc503 ), *(float*)&x504 ) * ( x505 = u_v22064, *(float*)&x505 ); }; (void) ( *( (fPt) ((* (ptr) lineTo_v54636 ))))(var_c69868, lineTo_v54636); }; SOURCE(43465, 23) { W2 var_c69900; { word x507; word x508; *(float*)&var_c69900.f0 = ( x507 = (* (ptr) &fc506 ), *(float*)&x507 ) * ( x508 = u_v22064, *(float*)&x508 ); }; { word x510; word x511; *(float*)&var_c69900.f1 = ( x510 = (* (ptr) &fc509 ), *(float*)&x510 ) * ( x511 = u_v22064, *(float*)&x511 ); }; (void) ( *( (fPt) ((* (ptr) lineTo_v54636 ))))(var_c69900, lineTo_v54636); }; } static word PlaceholderFormat_P2280(class_v46228, loc_v46256, style_v46284) word class_v46228; W2 loc_v46256; word style_v46284; { register ptr gf_c72300 = (ptr) &globalframe; word var_c46328; word char_v22108; word color_v22136; word size_v22164; W4 extents_v22192; word data_v22220 = 0; /* PlaceholderFormat: */ SOURCE(43731, 683) SOURCE(43786, 53) { word pd512; pd512 = (* (( (ptr) (* (( (ptr) gf_c72300)+184)/* var_c64812 */ ))+4) ); char_v22108 = (word) ( *( (fPt) ((* (ptr) pd512 ))))(loc_v46256.f0, loc_v46256.f1, pd512); }; SOURCE(43841, 64) { word pd513; pd513 = (* (( (ptr) (* (( (ptr) gf_c72300)+175)/* var_c61260 */ ))+43) ); color_v22136 = (word) ( *( (fPt) ((* (ptr) pd513 ))))(style_v46284, 3, pd513); }; SOURCE(43907, 47) { word pd514; pd514 = (* (( (ptr) (* (( (ptr) gf_c72300)+175)/* var_c61260 */ ))+12) ); size_v22164 = (word) ( *( (fPt) ((* (ptr) pd514 ))))(style_v46284, 1, pd514); }; SOURCE(43956, 107) extents_v22192.f0 = (* (ptr) &fc125 ); { word x515; word x517; *(float*)&extents_v22192.f1 = ( x515 = size_v22164, *(float*)&x515 ) * ( x517 = (* (ptr) &fc516 ), *(float*)&x517 ); }; { word x518; word x520; *(float*)&extents_v22192.f2 = ( x518 = size_v22164, *(float*)&x518 ) * ( x520 = (* (ptr) &fc519 ), *(float*)&x520 ); }; { word x521; word x523; *(float*)&extents_v22192.f3 = ( x521 = size_v22164, *(float*)&x521 ) * ( x523 = (* (ptr) &fc522 ), *(float*)&x523 ); }; SOURCE(44076, 188) { word var_c69964; var_c69964 = char_v22108; if ((var_c69964 == 1)) { SOURCE(44112, 52) { word var_c69996; var_c69996 = XR_NewObject(12, (* (( (ptr) gf_c72300)+45) )); (* (ptr) var_c69996 ) = color_v22136; (* (( (ptr) var_c69996)+1) ) = size_v22164; data_v22220 = var_c69996; }; } else { if ((var_c69964 == 2)) { SOURCE(44186, 53) { word var_c70028; var_c70028 = XR_NewObject(12, (* (( (ptr) gf_c72300)+45) )); (* (ptr) var_c70028 ) = color_v22136; (* (( (ptr) var_c70028)+1) ) = size_v22164; (* (( (ptr) var_c70028)+2) ) = 1; data_v22220 = var_c70028; }; } else { SOURCE(44252, 12) return(0); }; }; }; SOURCE(44266, 148) { word var_c70092; var_c70092 = XR_NewObject(36, (* (( (ptr) gf_c72300)+47) )); (* (ptr) var_c70092 ) = (word) (( (bPt) gf_c72300)+372)/* var_c58764 */ ; (* (W4Pt) (( (ptr) var_c70092)+1) ) = extents_v22192; { word x524; word x526; *(float*)(( (ptr) var_c70092)+5) = ( x524 = size_v22164, *(float*)&x524 ) * ( x526 = (* (ptr) &fc525 ), *(float*)&x526 ); }; (* (( (ptr) var_c70092)+6) ) = (* (ptr) &fc125 ); (* (( (ptr) var_c70092)+8) ) = data_v22220; return(var_c70092); }; } static void RegisterArtwork_P2340(a_v11772) word a_v11772; { register ptr gf_c72332 = (ptr) &globalframe; /* RegisterArtwork: */ SOURCE(44569, 96) SOURCE(44620, 45) { word var_c70124; word pd527; pd527 = (* (( (ptr) (* (( (ptr) gf_c72332)+167)/* var_c59948 */ ))+9) ); var_c70124 = (word) ( *( (fPt) ((* (ptr) pd527 ))))((* (( (ptr) gf_c72332)+38)/* artworkRegistry_v6640 */ ), (* (ptr) a_v11772 ), a_v11772, pd527) ; }; } static void UnRegisterArtwork_P2400(a_v11832) word a_v11832; { register ptr gf_c72364 = (ptr) &globalframe; /* UnRegisterArtwork: */ SOURCE(44671, 83) SOURCE(44716, 38) { word var_c70156; word pd528; pd528 = (* (( (ptr) (* (( (ptr) gf_c72364)+167)/* var_c59948 */ ))+11) ); var_c70156 = (word) ( *( (fPt) ((* (ptr) pd528 ))))((* (( (ptr) gf_c72364)+38)/* artworkRegistry_v6640 */ ), a_v11832, pd528) ; }; } static word GetArtworkClass_P2460(a_v11892) word a_v11892; { register ptr gf_c72396 = (ptr) &globalframe; word var_c11936; /* GetArtworkClass: */ SOURCE(44760, 119) SOURCE(44826, 53) { word var_c0882; { W2 var_c0757; word var_c0881; { word pd529; pd529 = (* (( (ptr) (* (( (ptr) gf_c72396)+167)/* var_c59948 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd529 ))))((word) &var_c0757, (* (( (ptr) gf_c72396)+38)/* artworkRegistry_v6640 */ ), a_v11892, pd529) ; }; var_c0881 = var_c0757.f1; var_c0882 = XR_Narrow(var_c0881, (* (( (ptr) gf_c72396)+48) )); }; return(var_c0882); }; } static word GetArtworkClassForNode_P2520(node_v11996) word node_v11996; { register ptr gf_c72428 = (ptr) &globalframe; word var_c12040; word className_v22276 = 0; word prop_v22304; /* GetArtworkClassForNode: */ SOURCE(44885, 426) SOURCE(44983, 44) { word pd530; pd530 = (* (( (ptr) (* (( (ptr) gf_c72428)+184)/* var_c64812 */ ))+24) ); prop_v22304 = (word) ( *( (fPt) ((* (ptr) pd530 ))))(node_v11996, (* (( (ptr) gf_c72428)+70) ), pd530); }; SOURCE(45029, 87) { word var_c70220; word var_c70252; var_c70220 = prop_v22304; if ((var_c70220 == 0)) { goto lab_L100177; }; var_c70252 = XR_GetReferentType(var_c70220); { word tc531; if (((* (( (ptr) gf_c72428)+46) ) == var_c70252)) { { word a_v22360; a_v22360 = var_c70220; SOURCE(45062, 13) className_v22276 = a_v22360; }; } else { if (((* (( (ptr) gf_c72428)+63) ) == var_c70252)) { tc531 = (word) ( (unsigned) (*(int*)var_c70220<0) == 0); } else { tc531 = (word) 0; }; if (tc531) { { word r_v22404; r_v22404 = var_c70220; SOURCE(45088, 28) { word pd532; pd532 = (* (( (ptr) (* (( (ptr) gf_c72428)+181)/* var_c63052 */ ))+5) ); className_v22276 = (word) ( *( (fPt) ((* (ptr) pd532 ))))(r_v22404, 0, 2147483647, pd532); }; }; } else { lab_L100177: ; }; }; }; }; SOURCE(45135, 145) if ((className_v22276 != 0)) { SOURCE(45157, 123) { word var_c70284; W2 var_c0767; { word pd533; pd533 = (* (( (ptr) (* (( (ptr) gf_c72428)+167)/* var_c59948 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd533 ))))((word) &var_c0767, (* (( (ptr) gf_c72428)+38)/* artworkRegistry_v6640 */ ), className_v22276, pd533) ; }; var_c70284 = var_c0767.f1; if ((var_c70284 == 0)) { goto lab_L100178; }; if (((* (( (ptr) gf_c72428)+48) ) == XR_GetReferentType(var_c70284))) { { word a_v22448; a_v22448 = var_c70284; SOURCE(45238, 42) if ((0 != (* (( (ptr) gf_c72428)+40)/* artworkEnabled_v6696 */ ))) { return(a_v22448); } else { return(0); }; }; } else { lab_L100178: ; }; }; }; SOURCE(45299, 12) return(0); } static word ArtworkEnabled_P2580() { register ptr gf_c72460 = (ptr) &globalframe; word var_c12100; /* ArtworkEnabled: */ SOURCE(45608, 75) (void) (XR_MonitorEntry((word) (( (bPt) gf_c72460)+16)/* LOCK_v3728 */ )); SOURCE(45660, 23) { word var_c70316; var_c70316 = (* (( (ptr) gf_c72460)+40)/* artworkEnabled_v6696 */ ); (void) (XR_MonitorExit((word) (( (bPt) gf_c72460)+16)/* LOCK_v3728 */ )); return(var_c70316); }; } static word SetArtworkEnabled_P2640(enabled_v12160) word enabled_v12160; { register ptr gf_c72492 = (ptr) &globalframe; word was_v12204; /* SetArtworkEnabled: */ SOURCE(45686, 122) (void) (XR_MonitorEntry((word) (( (bPt) gf_c72492)+16)/* LOCK_v3728 */ )); SOURCE(45762, 20) was_v12204 = (* (( (ptr) gf_c72492)+40)/* artworkEnabled_v6696 */ ); SOURCE(45784, 24) (* (( (ptr) gf_c72492)+40)/* artworkEnabled_v6696 */ ) = enabled_v12160; SOURCE(45686, 122) (void) (XR_MonitorExit((word) (( (bPt) gf_c72492)+16)/* LOCK_v3728 */ )); return(was_v12204); } static void Silly_P2700(formal_c0779, node_v46580, start_v46608, len_v46636, hyphData_v46664) word formal_c0779; word node_v46580; word start_v46608; word len_v46636; word hyphData_v46664; { W4 var_c46708; W4 h_v22492; /* Silly: */ SOURCE(45812, 95) SOURCE(45832, 63) h_v22492.f0 = 50727180; h_v22492.f1 = 252843264; h_v22492.f2 = 0; h_v22492.f3 = 0; SOURCE(45897, 10) var_c46708 = h_v22492; /* removed tail goto */ (* (W4Pt) formal_c0779 ) = var_c46708; return; } static void NoName_Q12192(formal_c0786, formal_c200008, formal_c200009, formal_c200010, formal_c200011) word formal_c0786; word formal_c200008; word formal_c200009; word formal_c200010; word formal_c200011; { register ptr gf_c0863 = (ptr) &globalframe; if ((formal_c200009 == (* (( (ptr) (* (( (ptr) gf_c0863)+182)/* var_c63116 */ ))+22) ))) { { word signal_v54224; word parameters_v54252; signal_v54224 = (* (ptr) formal_c200011 ); parameters_v54252 = (* (( (ptr) formal_c200011)+1) ); SOURCE(36506, 76) if ((0 == (* (( (ptr) gf_c0863)+10)/* debug_v4092 */ ))) { SOURCE(36526, 56) (void) Complain_P1080((* ((( (ptr) gf_c0863)+73)) )); SOURCE(36584, 8) (* (ptr) formal_c0786 ) = 2; (* (( (ptr) formal_c0786)+1) ) = 3; return; }; }; }; (* (ptr) formal_c0786 ) = 0; (* (( (ptr) formal_c0786)+1) ) = 0; return; } static void NoName_Q12252(formal_c0793, formal_c200004, formal_c200005, formal_c200006, formal_c200007) word formal_c0793; word formal_c200004; word formal_c200005; word formal_c200006; word formal_c200007; { register ptr gf_c0864 = (ptr) &globalframe; if ((formal_c200005 == (* (( (ptr) (* (( (ptr) gf_c0864)+182)/* var_c63116 */ ))+22) ))) { { word signal_v51712; word parameters_v51740; signal_v51712 = (* (ptr) formal_c200007 ); parameters_v51740 = (* (( (ptr) formal_c200007)+1) ); SOURCE(18502, 77) if ((0 == (* (( (ptr) gf_c0864)+10)/* debug_v4092 */ ))) { SOURCE(18522, 57) (void) Complain_P1080((* ((( (ptr) gf_c0864)+71)) )); SOURCE(18581, 8) (* (ptr) formal_c0793 ) = 2; (* (( (ptr) formal_c0793)+1) ) = 2; return; }; }; }; (* (ptr) formal_c0793 ) = 0; (* (( (ptr) formal_c0793)+1) ) = 0; return; } static void NoName_Q12312(formal_c0801, formal_c200000, formal_c200001, formal_c200002, formal_c200003) word formal_c0801; word formal_c200000; word formal_c200001; word formal_c200002; word formal_c200003; { register ptr gf_c0865 = (ptr) &globalframe; if ((formal_c200001 == (* (( (ptr) (* (( (ptr) gf_c0865)+178)/* var_c62828 */ ))+25) ))) { { word var_c51652; var_c51652 = 0; SOURCE(17942, 637) { word var_c62892; { W2 var_c62924; var_c62924.f0 = (* (( (ptr) formal_c200000)+5) ); var_c62924.f1 = (* (( (ptr) formal_c200000)+24) ); { word pd534; pd534 = (* (( (ptr) (* (( (ptr) gf_c0865)+179)/* var_c62956 */ ))+23) ); var_c62892 = (word) ( *( (fPt) ((* (ptr) pd534 ))))(var_c62924, 1, 0, pd534); }; }; { word pd535; pd535 = (* (( (ptr) (* (( (ptr) gf_c0865)+180)/* var_c62988 */ ))+27) ); (* (ptr) formal_c200002 ) = (word) ( *( (fPt) ((* (ptr) pd535 ))))(var_c62892, 8, 1, pd535); }; }; (* (ptr) formal_c0801 ) = 1; (* (( (ptr) formal_c0801)+1) ) = 0; return; }; }; (* (ptr) formal_c0801 ) = 0; (* (( (ptr) formal_c0801)+1) ) = 0; return; } /* file: TEditFormatImpl, module: TEditFormatImpl, compiled at: October 19, 1993 1:11:36 pm PDT */ extern void XR_install_TEditFormatImpl() { NoName_Q11952(); } extern void XR_run_TEditFormatImpl() { XR_Start(&globalframe); }