/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: June 7, 1992 11:36:22 am PDT */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: VoiceRecordImpl, module: VoiceRecordImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [2000087933,1528061937] VoiceRecordImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; W8 r;} W16; typedef struct {W16 f; word r;} W17; typedef struct {word f0, f1;} W2; typedef W2 *W2Pt; typedef struct {word f0, f1, f2;} W3; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef struct {W8 f; W5 r;} W13; typedef W3 *W3Pt; typedef struct {W8 f; word r;} W9; #define SOURCE(p, l) /* source p, l */ #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) #define IOP2(op, x, y) ( (word) ((x) op (y)) ) static void NoName_Q1920(); static void VoiceRecordImpl_P0(); static word RecordingInProgress_P60(); static void CancelProc_P120(); static void AddVoiceProc_P180(); static word PrepareSelection_P240(); static word NoName_Q1980(); static void DoIt_P1140(); static void BlinkMessageWindow_P300(); static void StartRecording_P360(); static void RecordNewRope_P420(); static void BroadcastRecordingDone_P1248(); static void RecordingTimer_P480(); static word IncrementRecordTimer_P540(); static void NewRecordingMarker_P600(); static void DoIt_P1356(); static void StopRecording_P660(); static word NoName_Q2040(); static void AddVoice_P1512(); static void NewDictationWindow_P720(); static void DictationMachine_P780(); static void ChangeVoiceInputFocus_P840(); static void AddVoiceWindowMarker_P1812(); static void RecordInPlaceOfSelection_P900(); static void ForkStopRecording_P960(); static void ConversationReport_P1020(); static word RequestReport_P1080(); static void NoName_Q2100(); static void NoName_Q2160(); static word NoName_Q2220(); static word NoName_Q2280(); static word NoName_Q2340(); static struct {unsigned f; char r[4];} string1 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string2 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\312\131\110\115\300\370\314\351\125\101\050\000\000"}; static struct {unsigned f; char r[4];} string4 = {65540, "\251\000\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\312\131\110\115\300\370\314\351\125\100\310\000\000"}; static struct {unsigned f; char r[4];} string6 = {131074, "\004'\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\312\131\110\115\300\370\314\351\125\101\064\000\000"}; static struct {unsigned f; char r[16];} string8 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\312\131\110\115\300\370\314\351\125\100\324\000\000"}; static struct {unsigned f; char r[4];} string10 = {131074, "\0049\000"}; static struct {unsigned f; char r[56];} string11 = {3407928, "Previous voice editing operation has yet to complete\000\000\000"}; static struct {unsigned f; char r[44];} string12 = {2621484, "Cannot add sound on top of another sound\000\000\000"}; static struct {unsigned f; char r[8];} string13 = {262152, "Text\000\000\000"}; static struct {unsigned f; char r[16];} string14 = {983056, "voiceViewerInfo"}; static struct {unsigned f; char r[8];} string15 = {327688, "voice\000\000"}; static struct {unsigned f; char r[16];} string16 = {851984, "recordingMark\000\000"}; static struct {unsigned f; char r[12];} string17 = {524300, "noLength\000\000\000"}; static struct {unsigned f; char r[4];} string18 = {65540, ">\000\000"}; static struct {unsigned f; char r[4];} string19 = {65540, "v\000\000"}; static struct {unsigned f; char r[44];} string20 = {2687020, "Zero length voice annotation - discarding\000\000"}; static struct {unsigned f; char r[76];} string21 = {4915276, "No character to add voice to; new voice viewer contains voice just recorded"}; static struct {unsigned f; char r[8];} string22 = {458760, "Artwork"}; static struct {unsigned f; char r[12];} string23 = {720908, "TalksBubble"}; static struct {unsigned f; char r[44];} string24 = {2621484, "Make a selection in a Tioga viewer first\000\000\000"}; static struct {unsigned f; char r[48];} string25 = {3080240, "Zero length voice dictation - destroying window"}; static struct {unsigned f; char r[56];} string26 = {3539000, "Zero length voice addition - viewer contents unchanged\000"}; static struct {unsigned f; char r[40];} string27 = {2555944, "Cancel playback before trying to record"}; static struct {unsigned f; char r[20];} string28 = {1114132, "Already recording\000\000"}; static struct {unsigned f; char r[16];} string29 = {786448, "ButtonParams\000\000\000"}; static struct {unsigned f; char r[8];} string30 = {458760, "success"}; static struct {unsigned f; char r[12];} string31 = {589836, "VoiceRope\000\000"}; static struct {unsigned f; char r[44];} string32 = {2621484, "You're already using a dictation viewer.\000\000\000"}; static struct {unsigned f; char r[44];} string33 = {2687020, "Marker set where you were inserting voice\000\000"}; static struct {unsigned f; char r[4];} string34 = {65540, " \000\000"}; static struct {unsigned f; char r[12];} string35 = {720908, "voiceWindow"}; static struct {unsigned f; char r[12];} string36 = {655372, "TiogaVoice\000"}; static struct {unsigned f; char r[16];} string37 = {917520, "Sound Viewer #\000"}; static struct {unsigned f; char r[12];} string38 = {589836, "recording\000\000"}; static struct {unsigned f; char r[12];} string39 = {589836, "scheduled\000\000"}; static struct {unsigned f; char r[8];} string40 = {458760, "started"}; static struct {unsigned f; char r[12];} string41 = {524300, "finished\000\000\000"}; static struct {unsigned f; char r[8];} string42 = {458760, "flushed"}; static struct {unsigned f; char r[12];} string43 = {524300, "playback\000\000\000"}; static struct {unsigned f; char r[8];} string44 = {393224, "paused\000"}; static struct {unsigned f; char r[8];} string45 = {458760, "resumed"}; static struct {unsigned f; char r[16];} string46 = {851984, "\257\300\167\066\353\175\300\133\024\137\361\100\164\000\000"}; static struct {unsigned f; char r[16];} string47 = {851981, "\006\002\040\004\111\034\100\270\010\000\004\043\001\000\000"}; static struct {unsigned f; char r[16];} string48 = {851984, "\257\300\212\174\364\337\300\361\376\000\156\100\150\000\000"}; static struct {unsigned f; char r[16];} string49 = {851984, "\257\300\255\053\300\023\300\142\135\315\105\100\150\000\000"}; static struct {unsigned f; char r[16];} string50 = {851984, "\257\300\212\257\247\124\300\163\005\217\077\100\150\000\000"}; static struct {unsigned f; char r[16];} string51 = {851984, "\257\300\074\270\063\045\300\023\342\016\224\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\363\223\326\161\300\017\164\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string54 = {851984, "\257\300\261\010\310\246\300\337\340\027\051\100\150\000\000"}; static struct {unsigned f; char r[16];} string55 = {851984, "\257\300\115\337\006\176\300\345\373\131\011\100\164\000\000"}; static struct {unsigned f; char r[16];} string56 = {851984, "\257\300hqQB\300Vy\362\001@h\000\000"}; static struct {unsigned f; char r[16];} string57 = {851984, "\257\300\136\253\306\024\300\100\114\357\174\100\150\000\000"}; static struct {unsigned f; char r[16];} string58 = {1416195943, "aVoicePrivate"}; static struct {unsigned f; char r[16];} string59 = {851984, "\257\300\312\131\110\115\300\370\314\351\125\100\150\000\000"}; static struct {unsigned f; char r[16];} string60 = {851984, "\257\300\354\332\367\333\300\361\203\205\173\100\150\000\000"}; static struct {unsigned f; char r[16];} string61 = {851984, "\257\300\244\340\135\243\300\261\211\021\257\100\150\000\000"}; static struct { word f0[81]; word f81; word f82; word f83; word f84; word f85; word f86; word f87; word f88; word f89; word f90; word f91; word f92; word f93; word f94; word f95; word f96; word f97; word f98; word f99; word f100; word f101; word f102; word f103; word f104; word f105; word f106; word f107; word f108; word f109; word f110; word f111; word f112; word f113; word f114; word f115; word f116; word f117; word f118[15]; } globalframe = { {0}, (word) RequestReport_P1080, 0, (word) ConversationReport_P1020, 0, (word) ForkStopRecording_P960, 0, (word) RecordInPlaceOfSelection_P900, 0, (word) ChangeVoiceInputFocus_P840, 0, (word) DictationMachine_P780, 0, (word) NewDictationWindow_P720, 0, (word) StopRecording_P660, 0, (word) NewRecordingMarker_P600, 0, (word) IncrementRecordTimer_P540, 0, (word) RecordingTimer_P480, 0, (word) RecordNewRope_P420, 0, (word) StartRecording_P360, 0, (word) BlinkMessageWindow_P300, 0, (word) PrepareSelection_P240, 0, (word) AddVoiceProc_P180, 0, (word) CancelProc_P120, 0, (word) RecordingInProgress_P60, 0, (word) VoiceRecordImpl_P0, {0} }; static void NoName_Q1920() { register ptr gf_c0179 = (ptr) &globalframe; word var_c27216; (* (( (ptr) gf_c0179)+34) ) = (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf_c0179)+35) ) = (word) XR_GetTypeIndex((word) &string3, 0, (word) &string2); (* (( (ptr) gf_c0179)+36) ) = (word) XR_GetTypeIndexS((word) (&string4)); (* (( (ptr) gf_c0179)+37) ) = (word) XR_GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf_c0179)+40) ) = (word) XR_GetTypeIndexS((word) (&string7)); (* (( (ptr) gf_c0179)+42) ) = (word) XR_GetTypeIndex((word) &string8, 0, (word) &string2); (* (( (ptr) gf_c0179)+44) ) = (word) XR_GetTypeIndex((word) &string9, 0, (word) &string10); (* (ptr) (( (bPt) gf_c0179)+184) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string11); (* (ptr) (( (bPt) gf_c0179)+188) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string12); (* (ptr) (( (bPt) gf_c0179)+192) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string13); (* (ptr) (( (bPt) gf_c0179)+196) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string14); (* (ptr) (( (bPt) gf_c0179)+200) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string15); (* (ptr) (( (bPt) gf_c0179)+204) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string16); (* (ptr) (( (bPt) gf_c0179)+208) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string17); (* (ptr) (( (bPt) gf_c0179)+212) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string18); (* (ptr) (( (bPt) gf_c0179)+216) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string19); (* (ptr) (( (bPt) gf_c0179)+220) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string20); (* (ptr) (( (bPt) gf_c0179)+224) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string21); (* (ptr) (( (bPt) gf_c0179)+228) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string22); (* (ptr) (( (bPt) gf_c0179)+232) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string23); (* (ptr) (( (bPt) gf_c0179)+236) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string24); (* (ptr) (( (bPt) gf_c0179)+240) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string25); (* (ptr) (( (bPt) gf_c0179)+244) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string26); (* (ptr) (( (bPt) gf_c0179)+248) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string27); (* (ptr) (( (bPt) gf_c0179)+252) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string28); (* (ptr) (( (bPt) gf_c0179)+256) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string29); (* (ptr) (( (bPt) gf_c0179)+260) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string30); (* (ptr) (( (bPt) gf_c0179)+264) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string31); (* (ptr) (( (bPt) gf_c0179)+268) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string32); (* (ptr) (( (bPt) gf_c0179)+272) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string33); (* (ptr) (( (bPt) gf_c0179)+276) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string34); (* (ptr) (( (bPt) gf_c0179)+280) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string35); (* (ptr) (( (bPt) gf_c0179)+284) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string36); (* (ptr) (( (bPt) gf_c0179)+288) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+42) ), (word) &string37); (* (ptr) (( (bPt) gf_c0179)+292) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string38); (* (ptr) (( (bPt) gf_c0179)+296) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string39); (* (ptr) (( (bPt) gf_c0179)+300) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string40); (* (ptr) (( (bPt) gf_c0179)+304) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string41); (* (ptr) (( (bPt) gf_c0179)+308) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string42); (* (ptr) (( (bPt) gf_c0179)+312) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string43); (* (ptr) (( (bPt) gf_c0179)+316) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string44); (* (ptr) (( (bPt) gf_c0179)+320) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c0179)+34) ), (word) &string45); (void) XR_DeclareGlobalFrame((word) "VoiceRecordImpl", &globalframe, (word) XR_GetTypeIndex((word) &string46, 0, (word) &string47) , (word) (( (bPt) gf_c0179)+468)/* var_c25520 */ ); var_c27216 = (word) XR_ImportInterface((word) "BasicTime", (word) XR_GetTypeIndexS((word) (&string48)), 24); (* (( (ptr) gf_c0179)+128)/* var_c26096 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67372033); (void) XR_ImportProcS(var_c27216, 67109632); (void) XR_ImportProcS(var_c27216, 67372545); var_c27216 = (word) XR_ImportInterface((word) "Convert", (word) XR_GetTypeIndexS((word) (&string49)), 73); (* (( (ptr) gf_c0179)+131)/* var_c26960 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67901187); var_c27216 = (word) XR_ImportInterface((word) "FinchSmarts", (word) XR_GetTypeIndexS((word) (&string50)), 27); (* (( (ptr) gf_c0179)+119)/* var_c25552 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 1579014); var_c27216 = (word) XR_ImportInterface((word) "MessageWindow", (word) XR_GetTypeIndexS((word) (&string51)), 7); (* (( (ptr) gf_c0179)+126)/* var_c25904 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 512); (void) XR_ImportProcS(var_c27216, 524546); var_c27216 = (word) XR_ImportInterface((word) "Process", (word) XR_GetTypeIndexS((word) (&string52)), 22); (* (( (ptr) gf_c0179)+127)/* var_c25968 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67371521); (void) XR_ImportProcS(var_c27216, 266497); (void) XR_ImportProcS(var_c27216, 264449); (void) XR_ImportProcS(var_c27216, 526081); var_c27216 = (word) XR_ImportInterface((word) "Rope", (word) XR_GetTypeIndexS((word) (&string53)), 43); (* (( (ptr) gf_c0179)+130)/* var_c26800 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67633666); var_c27216 = (word) XR_ImportInterface((word) "TextEdit", (word) XR_GetTypeIndexS((word) (&string54)), 39); (* (( (ptr) gf_c0179)+124)/* var_c25808 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 1838343); (void) XR_ImportProcS(var_c27216, 136585481); (void) XR_ImportProcS(var_c27216, 67898371); (void) XR_ImportProcS(var_c27216, 67371521); var_c27216 = (word) XR_ImportInterface((word) "TextLooks", (word) XR_GetTypeIndexS((word) (&string55)), 8); (* (( (ptr) gf_c0179)+129)/* var_c26320 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67372801); var_c27216 = (word) XR_ImportInterface((word) "TiogaExtraOps", (word) XR_GetTypeIndexS((word) (&string56)), 18); (* (( (ptr) gf_c0179)+125)/* var_c25840 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 527362); (void) XR_ImportProcS(var_c27216, 134744578); (void) XR_ImportProcS(var_c27216, 788739); var_c27216 = (word) XR_ImportInterface((word) "TiogaOps", (word) XR_GetTypeIndexS((word) (&string57)), 128); (* (( (ptr) gf_c0179)+123)/* var_c25744 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67391233); (void) XR_ImportProcS(var_c27216, 67393281); (void) XR_ImportProcS(var_c27216, 67393793); (void) XR_ImportProcS(var_c27216, 2374919); (void) XR_ImportProcS(var_c27216, 537148161); (void) XR_ImportProcS(var_c27216, 553474); var_c27216 = (word) XR_ImportInterface((word) &string58, (word) XR_GetTypeIndexS((word) (&string59)), 84); (* (( (ptr) gf_c0179)+120)/* var_c25584 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 531458); (void) XR_ImportProcS(var_c27216, 1051139); (void) XR_ImportProcS(var_c27216, 539394); (void) XR_ImportProcS(var_c27216, 67642626); (void) XR_ImportProcS(var_c27216, 265473); (void) XR_ImportProcS(var_c27216, 69213704); (void) XR_ImportProcS(var_c27216, 134752258); (void) XR_ImportProcS(var_c27216, 1312517); (void) XR_ImportProcS(var_c27216, 202114563); (void) XR_ImportProcS(var_c27216, 265217); (void) XR_ImportProcS(var_c27216, 202386436); (void) XR_ImportProcS(var_c27216, 202386180); (void) XR_ImportProcS(var_c27216, 544769); (void) XR_ImportProcS(var_c27216, 281857); (void) XR_ImportProcS(var_c27216, 67115264); (void) XR_ImportProcS(var_c27216, 6656); var_c27216 = (word) XR_ImportInterface((word) "ViewerOps", (word) XR_GetTypeIndexS((word) (&string60)), 43); (* (( (ptr) gf_c0179)+122)/* var_c25648 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 527106); (void) XR_ImportProcS(var_c27216, 67639554); var_c27216 = (word) XR_ImportInterface((word) "VoiceRope", (word) XR_GetTypeIndexS((word) (&string61)), 20); (* (( (ptr) gf_c0179)+121)/* var_c25616 */ ) = var_c27216; (void) XR_ImportProcS(var_c27216, 67635970); (void) XR_ImportProcS(var_c27216, 67900163); (void) XR_ImportProcS(var_c27216, 202638853); (void) XR_ImportProcS(var_c27216, 67110144); (void) XR_ImportProcS(var_c27216, 67635202); var_c27216 = (word) XR_ExportInterface((word) &string58, (word) XR_GetTypeIndexS((word) (&string59)), 84); (* (( (ptr) gf_c0179)+132)/* var_c27248 */ ) = var_c27216; (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+444)/* var_c25424 */ , 134487809); (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+452)/* var_c25456 */ , 134488065); (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+364)/* var_c25104 */ , 134488321); (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+460)/* var_c25488 */ , 67117568); (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+380)/* var_c25168 */ , 8960); (void) XR_ExportProcS(var_c27216, (word) (( (bPt) gf_c0179)+348)/* var_c25040 */ , 271361); } static void VoiceRecordImpl_P0(formal_c047, formal_c046) word formal_c047; word formal_c046; { register ptr gf_c27280 = (ptr) &globalframe; /* VoiceRecordImpl: */ SOURCE(1498, 16113) SOURCE(17488, 123) { word pd62; pd62 = (* (( (ptr) (* (( (ptr) gf_c27280)+119)/* var_c25552 */ ))+28) ); (void) ( *( (fPt) ((* (ptr) pd62 ))))((* (( (ptr) gf_c27280)+71) ), 0, (word) (( (bPt) gf_c27280)+332)/* var_c24976 */ , (word) ( ( (bPt) gf_c27280)+324)/* var_c24944 */ , (* (( (ptr) gf_c27280)+66) ), 0, pd62); }; } static word RecordingInProgress_P60() { register ptr gf_c27312 = (ptr) &globalframe; word var_c4316; /* RecordingInProgress: */ SOURCE(2206, 100) SOURCE(2262, 44) return((* (( (ptr) gf_c27312)+8) )); } static void CancelProc_P120(formal_c052, viewer_v19688) word formal_c052; word viewer_v19688; { register ptr gf_c27344 = (ptr) &globalframe; word recordAtom_v19732; word quit_v19760; /* CancelProc: */ SOURCE(2309, 7165) SOURCE(2309, 7165) recordAtom_v19732 = 1; SOURCE(2309, 7165) quit_v19760 = 0; SOURCE(2354, 7120) { word pd63; pd63 = (* (( (ptr) (* (( (ptr) gf_c27344)+121)/* var_c25616 */ ))+12) ); if (((word) ( *( (fPt) ((* (ptr) pd63 ))))((* (ptr) (* (( (ptr) (* (( (ptr) gf_c27344)+120)/* var_c25584 */ ))+6) ) ), 0, pd63) != (* (( (ptr) gf_c27344)+65) ))) { SOURCE(2424, 15) (void) StopRecording_P660(); SOURCE(2441, 34) { word pd64; pd64 = (* (( (ptr) (* (( (ptr) gf_c27344)+120)/* var_c25584 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd64 ))))(pd64); }; }; }; /* removed tail goto */ (* (ptr) formal_c052 ) = recordAtom_v19732; (* (( (ptr) formal_c052)+1) ) = quit_v19760; return; } static void AddVoiceProc_P180(formal_c058, viewer_v19820) word formal_c058; word viewer_v19820; { register ptr gf_c27376 = (ptr) &globalframe; word recordAtom_v19864; word quit_v19892; word buttonParams_v4872; word mouseButton_v4900; /* AddVoiceProc: */ SOURCE(2484, 6990) (void) (XR_MonitorEntry((word) (( (bPt) gf_c27376)+16)/* LOCK_v3196 */ )); SOURCE(2484, 6990) recordAtom_v19864 = 1; SOURCE(2484, 6990) quit_v19892 = 0; SOURCE(2536, 97) { word pd65; pd65 = (* (( (ptr) (* (( (ptr) gf_c27376)+122)/* var_c25648 */ ))+29) ); buttonParams_v4872 = XR_Narrow((word) ( *( (fPt) ((* (ptr) pd65 ))))(viewer_v19820, (* (( (ptr) gf_c27376)+64) ), pd65), (* ( ( (ptr) gf_c27376)+40) )); }; SOURCE(2635, 100) mouseButton_v4900 = ( (buttonParams_v4872 != 0) ? (* (ptr) buttonParams_v4872 ) : 0 ) ; SOURCE(2737, 92) if ((0 != (* (( (ptr) gf_c27376)+8) ))) { SOURCE(2782, 39) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27376)+63)) )); SOURCE(2823, 6) goto lab_L100002; }; SOURCE(2835, 6639) { word pd66; pd66 = (* (( (ptr) (* (( (ptr) gf_c27376)+120)/* var_c25584 */ ))+29) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd66 ))))(pd66))) { SOURCE(2884, 61) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27376)+62)) )); SOURCE(2947, 6) goto lab_L100002; }; }; SOURCE(3050, 34) { word pd67; pd67 = (* (( (ptr) (* (( (ptr) gf_c27376)+120)/* var_c25584 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd67 ))))(pd67); }; SOURCE(3087, 6387) if ((0 == (word) PrepareSelection_P240())) { SOURCE(3115, 6) goto lab_L100002; }; SOURCE(3124, 34) (void) StartRecording_P360((mouseButton_v4900 == 0)); /* removed tail goto */ lab_L100002: ; (void) (XR_MonitorExit((word) (( (bPt) gf_c27376)+16)/* LOCK_v3196 */ )); (* (ptr) formal_c058 ) = recordAtom_v19864; (* (( (ptr) formal_c058)+1) ) = quit_v19892; return; } static word PrepareSelection_P240() { W17 var_c27408; register ptr gf_c27440 = (ptr) &globalframe; word succeeded_v4376; /* declaration of var_c25680 skipped */ /* declaration of targetViewer_v4944 skipped */ /* declaration of targetStart_v4972 skipped */ /* declaration of targetEnd_v5000 skipped */ /* declaration of targetCaretBefore_v5028 skipped */ /* declaration of targetPendingDelete_v5056 skipped */ /* declaration of alreadyBeingEdited_v5084 skipped */ /* declaration of alreadyVoiceThere_v5112 skipped */ /* declaration of suitableViewer_v5140 skipped */ /* PrepareSelection: */ SOURCE(3163, 6311) { word tmpAddr68; tmpAddr68 = (word) (( (ptr) &var_c27408)+4)/* var_c25680 */ ; (* (ptr) tmpAddr68 ) = ( ((word) (fPt) DoIt_P1140) ); (* (( (ptr) tmpAddr68) + 1) ) = 1; }; SOURCE(3163, 6311) succeeded_v4376 = 0; SOURCE(3236, 34) (* (( (ptr) &var_c27408)+6)/* targetViewer_v4944 */ ) = 0; SOURCE(3272, 45) (* (( (ptr) &var_c27408)+7) ) = 0; (* (( (ptr) &var_c27408)+8) ) = 0; (* (W2Pt) (( (ptr) &var_c27408)+9)/* targetEnd_v5000 */ ) = (* (W2Pt) (( (ptr) &var_c27408)+7)/* targetStart_v4972 */ ); SOURCE(3369, 35) (* (( (ptr) &var_c27408)+13)/* alreadyBeingEdited_v5084 */ ) = 0; SOURCE(3406, 34) (* (( (ptr) &var_c27408)+14)/* alreadyVoiceThere_v5112 */ ) = 0; SOURCE(5497, 77) SOURCE(5497, 77) { /* declaration of var_c01 skipped */ (* (( (ptr) &var_c27408)+16)/* var_c01 */ ) = (* (( (ptr) (* (( (ptr) gf_c27440)+123)/* var_c25744 */ ))+118) ); { word var_c02; { word var_c0214; var_c0214 = (word) &var_c27408; var_c02 = (word) XR_Enable(( ((word) (fPt) NoName_Q1980) ), ( ((word) (fPt) NoName_Q2160) ), var_c0214); }; /* removed trivial cond node */ }; }; if ((0 == (* (( (ptr) &var_c27408)+15)/* suitableViewer_v5140 */ ))) { SOURCE(5627, 62) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27440)+59)) )); } else { if ((0 != (* (( (ptr) &var_c27408)+13)/* alreadyBeingEdited_v5084 */ ))) { SOURCE(5713, 74) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27440)+46)) )); } else { if ((0 != (* (( (ptr) &var_c27408)+14)/* alreadyVoiceThere_v5112 */ ))) { SOURCE(5810, 62) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27440)+47)) )); } else { SOURCE(5885, 16) succeeded_v4376 = 1; }; }; }; SOURCE(3163, 6311) return(succeeded_v4376); } static word NoName_Q1980(formal_c0185) word formal_c0185; { SOURCE(5497, 77) { word pd69; pd69 = (* (( (ptr) formal_c0185)+16) ); (void) ( *( (fPt) ((* (ptr) pd69 ))))((word) (( (bPt) formal_c0185)+16), 0, pd69); }; return(0); } static void DoIt_P1140(root_v5244, formal_c27504) word root_v5244; word formal_c27504; { register ptr gf_c27472 = (ptr) &globalframe; word level_v5272 = 1; formal_c27504 = (formal_c27504 - 16); /* DoIt: */ SOURCE(3468, 6006) SOURCE(3550, 5924) { W8 var_c25776; { word pd70; pd70 = (* (( (ptr) (* (( (ptr) gf_c27472)+123)/* var_c25744 */ ))+63) ); (void) ( *( (fPt) ((* (ptr) pd70 ))))((word) &var_c25776, 0, pd70); }; (* (( (ptr) formal_c27504)+12) ) = var_c25776.f7; (* (( (ptr) formal_c27504)+11) ) = var_c25776.f6; level_v5272 = var_c25776.f5; (* (W2Pt) (( (ptr) formal_c27504)+9) ) = (* (W2Pt) (( (ptr) &var_c25776)+3) ); (* (W2Pt) (( (ptr) formal_c27504)+7) ) = (* (W2Pt) (( (ptr) &var_c25776)+1) ); (* (( (ptr) formal_c27504)+6) ) = var_c25776.f0; }; SOURCE(3718, 50) (* (( (ptr) formal_c27504)+15) ) = ((* (ptr) (* (ptr) (* (( (ptr) formal_c27504)+6) ) ) ) == (* (( (ptr) gf_c27472)+48) )); SOURCE(3771, 5703) if ((0 != (* (( (ptr) formal_c27504)+15) ))) { SOURCE(3796, 5678) { word pd71; pd71 = (* (( (ptr) (* (( (ptr) gf_c27472)+122)/* var_c25648 */ ))+29) ); (* (( (ptr) gf_c27472)+9) ) = ((word) ( *( (fPt) ((* (ptr) pd71 ))))((* (( (ptr) formal_c27504)+6) ), (* (( (ptr) gf_c27472)+49) ), pd71) == 0); }; SOURCE(3893, 5581) if ((0 != (* (( (ptr) gf_c27472)+9) ))) { SOURCE(3937, 823) { W2 targetChar_v5316; word node_v5344; SOURCE(3939, 88) { word tcp72; if ((0 != (* (( (ptr) formal_c27504)+11) ))) { tcp72 = (word) (( (ptr) formal_c27504)+7); } else { tcp72 = (word) (( (ptr) formal_c27504)+9); }; targetChar_v5316 = (* (W2Pt) tcp72 ); }; SOURCE(4029, 36) node_v5344 = targetChar_v5316.f0; SOURCE(4092, 306) if ((0 != (* (( (ptr) formal_c27504)+12) ))) { SOURCE(4122, 75) { word pd73; pd73 = (* (( (ptr) (* (( (ptr) gf_c27472)+120)/* var_c25584 */ ))+81) ); (void) ( *( (fPt) ((* (ptr) pd73 ))))((* ((( (ptr) (* (( (ptr) gf_c27472)+120)/* var_c25584 */ ))+84)) ), pd73); }; SOURCE(4199, 199) { word pd74; pd74 = (* (( (ptr) (* (( (ptr) gf_c27472)+123)/* var_c25744 */ ))+65) ); (void) ( *( (fPt) ((* (ptr) pd74 ))))((* (( (ptr) formal_c27504)+6) ), (* (W2Pt) (( (ptr) formal_c27504)+7) ), (* (W2Pt) ( ( (ptr) formal_c27504)+9) ), level_v5272, (* (( (ptr) formal_c27504)+11) ), 0 , 0, pd74); }; }; SOURCE(4401, 5073) { word pd75; pd75 = (* (( (ptr) (* (( (ptr) gf_c27472)+124)/* var_c25808 */ ))+6) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd75 ))))(node_v5344, pd75) <= (int)targetChar_v5316.f1)) { SOURCE(4449, 45) { word x76; targetChar_v5316.f1 = (x76 = (targetChar_v5316.f1 - 1), MAX((int)(word), x76, 0)); }; }; }; SOURCE(4496, 4978) { word pd77; pd77 = (* (( (ptr) (* (( (ptr) gf_c27472)+124)/* var_c25808 */ ))+16) ); (* (( (ptr) formal_c27504)+14) ) = ((word) ( *( (fPt) ((* (ptr) pd77 ))))(node_v5344, targetChar_v5316.f1, (* (( (ptr) gf_c27472)+50) ), pd77) != 0); }; SOURCE(4576, 37) (* (( (ptr) gf_c27472)+10) ) = targetChar_v5316.f0; SOURCE(4615, 40) (* (( (ptr) gf_c27472)+11) ) = (* (( (ptr) formal_c27504)+6) ); SOURCE(4657, 103) if ((0 == (* (( (ptr) formal_c27504)+14) ))) { SOURCE(4684, 76) { word pd78; pd78 = (* (( (ptr) (* (( (ptr) gf_c27472)+125)/* var_c25840 */ ))+13) ); (void) ( *( (fPt) ((* (ptr) pd78 ))))(targetChar_v5316.f0, targetChar_v5316.f1, (* (( (ptr) gf_c27472)+51) ), pd78); }; }; }; } else { { W3 var_c077; word var_c0215; SOURCE(4769, 4705) { W3 var_c25872; { word pd79; pd79 = (* (( (ptr) (* (( (ptr) gf_c27472)+120)/* var_c25584 */ ))+47) ); (void) ( *( (fPt) ((* (ptr) pd79 ))))((word) &var_c25872, 0, 0, 0, 0, pd79); }; (* (( (ptr) gf_c27472)+12) ) = var_c25872.f1; (* (( (ptr) formal_c27504)+13) ) = var_c25872.f0; }; SOURCE(4944, 33) if ((0 != (* (( (ptr) formal_c27504)+13) ))) { SOURCE(4971, 6) return; }; SOURCE(4979, 4495) { word tc80; if (( (int)(* (( (ptr) (* (( (ptr) gf_c27472)+12) ))+4) ) != (int)0)) { { word pd81; pd81 = (* (( (ptr) (* (( (ptr) gf_c27472)+120)/* var_c25584 */ ))+48) ); (void) ( *( (fPt) ((* (ptr) pd81 ))))((word) &var_c077, (* (( (ptr) gf_c27472)+12) ), 0, 0, 1, pd81); }; var_c0215 = var_c077.f0; tc80 = (word) (0 != var_c0215); } else { tc80 = (word) 0; }; if (tc80) { SOURCE(5178, 20) (void) NewDictationWindow_P720(); }; }; SOURCE(5350, 123) (* (( (ptr) gf_c27472)+13) ) = IOP2( / , (int)(* (( (ptr) (* (( (ptr) gf_c27472)+12) ))+3) ), (int)2000); }; }; }; } static void BlinkMessageWindow_P300(r_v4436) word r_v4436; { register ptr gf_c27536 = (ptr) &globalframe; /* BlinkMessageWindow: */ SOURCE(5935, 96) SOURCE(5979, 29) { word pd82; pd82 = (* (( (ptr) (* (( (ptr) gf_c27536)+126)/* var_c25904 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd82 ))))(r_v4436, 1, pd82); }; SOURCE(6010, 21) { word pd83; pd83 = (* (( (ptr) (* (( (ptr) gf_c27536)+126)/* var_c25904 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd83 ))))(pd83); }; } static void StartRecording_P360(selfElseOther_v4496) word selfElseOther_v4496; { register ptr gf_c27568 = (ptr) &globalframe; /* StartRecording: */ SOURCE(6037, 3437) SOURCE(6097, 41) (* (( (ptr) gf_c27568)+8) ) = 1; SOURCE(6140, 31) (* (( (ptr) gf_c27568)+18) ) = 0; SOURCE(6173, 28) (* (( (ptr) gf_c27568)+19) ) = 0; SOURCE(6203, 35) (* (( (ptr) gf_c27568)+14) ) = 0; SOURCE(6240, 3234) { word pd84; pd84 = (* (( (ptr) (* (( (ptr) gf_c27568)+121)/* var_c25616 */ ))+9) ); (* (( (ptr) gf_c27568)+15) ) = (word) ( *( (fPt) ((* (ptr) pd84 ))))(pd84); }; SOURCE(6293, 28) (* (( (ptr) gf_c27568)+16) ) = (* (( (ptr) gf_c27568)+65) ); SOURCE(6331, 3143) SOURCE(6332, 3142) { W2 var_c25936; { W2 var_c082; word var_c081; var_c081 = XR_ExtensionAlloc(5); { word tmpAddr85; tmpAddr85 = (word) var_c081; (* (ptr) tmpAddr85 ) = ( ((word) (fPt) NoName_Q2220) ); (* (( (ptr) tmpAddr85) + 1) ) = 0; (* (( (ptr) tmpAddr85) + 2) ) = (word) (( (bPt) gf_c27568)+412)/* var_c25296 */ ; (* (( (ptr) tmpAddr85) + 3) ) = 0; (* (( (ptr) tmpAddr85) + 4) ) = selfElseOther_v4496; }; (void) XR_Fork((word) &var_c082, var_c081); var_c25936 = var_c082; }; { word pd86; pd86 = (* (( (ptr) (* (( (ptr) gf_c27568)+127)/* var_c25968 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd86 ))))(var_c25936, pd86); }; }; } static void RecordNewRope_P420(selfElseOther_v4556) word selfElseOther_v4556; { W6 var_c27600; register ptr gf_c27632 = (ptr) &globalframe; /* declaration of var_c26000 skipped */ /* RecordNewRope: */ SOURCE(6388, 3086) { word tmpAddr87; tmpAddr87 = (word) (( (ptr) &var_c27600)+4)/* var_c26000 */ ; (* (ptr) tmpAddr87 ) = ( ((word) (fPt) BroadcastRecordingDone_P1248) ); (* (( (ptr) tmpAddr87) + 1) ) = 1; }; SOURCE(6530, 2944) { W3 var_c26032; { word pd88; pd88 = (* (( (ptr) (* (( (ptr) gf_c27632)+121)/* var_c25616 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd88 ))))((word) &var_c26032, (* (ptr) (* (( (ptr) (* (( (ptr) gf_c27632)+120)/* var_c25584 */ ))+6) ) ), (* (( (ptr) gf_c27632)+15) ), 0, (* (( (ptr) gf_c27632)+71) ), selfElseOther_v4556, pd88); }; (* (( (ptr) gf_c27632)+19) ) = var_c26032.f1; (* (( (ptr) gf_c27632)+16) ) = var_c26032.f0; }; SOURCE(6743, 105) { word var_c26064; var_c26064 = (* (( (ptr) gf_c27632)+16) ); if ((var_c26064 == (* (( (ptr) gf_c27632)+65) )) || (var_c26064 == (* (( (ptr) gf_c27632)+52) ))) { SOURCE(6796, 24) (void) BroadcastRecordingDone_P1248((word) ((( (bPt) &var_c27600)+16)/* var_c26000 */ )); } else { SOURCE(6833, 15) (void) StopRecording_P660(); }; }; } static void BroadcastRecordingDone_P1248(formal_c27696) word formal_c27696; { register ptr gf_c27664 = (ptr) &globalframe; formal_c27696 = (formal_c27696 - 16); /* BroadcastRecordingDone: */ SOURCE(6434, 63) (void) (XR_MonitorEntry((word) (( (bPt) gf_c27664)+16)/* LOCK_v3196 */ )); SOURCE(6473, 24) (void) (XR_Broadcast((word) (( (bPt) gf_c27664)+104)/* recordingDone_v3280 */ )); SOURCE(6434, 63) (void) (XR_MonitorExit((word) (( (bPt) gf_c27664)+16)/* LOCK_v3196 */ )); return; } static void RecordingTimer_P480() { register ptr gf_c27728 = (ptr) &globalframe; word aVeryLongTime_v5448; /* RecordingTimer: */ SOURCE(6854, 2620) SOURCE(6880, 75) { word pd89; pd89 = (* (( (ptr) (* (( (ptr) gf_c27728)+128)/* var_c26096 */ ))+10) ); aVeryLongTime_v5448 = (word) ( *( (fPt) ((* (ptr) pd89 ))))(300000000, pd89); }; SOURCE(7015, 32) { word pd90; pd90 = (* (( (ptr) (* (( (ptr) gf_c27728)+127)/* var_c25968 */ ))+13) ); (void) ( *( (fPt) ((* (ptr) pd90 ))))(6, pd90); }; SOURCE(7050, 2424) { word pd91; pd91 = (* (( (ptr) (* (( (ptr) gf_c27728)+128)/* var_c26096 */ ))+7) ); (* (( (ptr) gf_c27728)+17) ) = (word) ( *( (fPt) ((* (ptr) pd91 ))))(pd91); }; SOURCE(7106, 30) (* (( (ptr) gf_c27728)+18) ) = 2; SOURCE(7139, 2335) lab_L100009: ; SOURCE(7139, 2335) { word now_v5520; SOURCE(7142, 50) { word pd92; pd92 = (* (( (ptr) (* (( (ptr) gf_c27728)+128)/* var_c26096 */ ))+7) ); now_v5520 = (word) ( *( (fPt) ((* (ptr) pd92 ))))(pd92); }; SOURCE(7194, 2280) if ((((* (( (ptr) gf_c27728)+17) ) - now_v5520) < aVeryLongTime_v5448)) { SOURCE(7294, 2180) { word var_c26128; { word var_c26160; { word pd93; pd93 = (* (( (ptr) (* (( (ptr) gf_c27728)+128)/* var_c26096 */ ))+8) ); var_c26160 = ((word) ( *( (fPt) ((* (ptr) pd93 ))))(((* (( (ptr) gf_c27728)+17) ) - now_v5520), pd93) / 1000); }; { word pd94; pd94 = (* (( (ptr) (* (( (ptr) gf_c27728)+127)/* var_c25968 */ ))+6) ); var_c26128 = (word) ( *( (fPt) ((* (ptr) pd94 ))))(var_c26160, pd94); }; }; { word pd95; pd95 = (* (( (ptr) (* (( (ptr) gf_c27728)+127)/* var_c25968 */ ))+21) ); (void) ( *( (fPt) ((* (ptr) pd95 ))))(var_c26128, pd95); }; }; }; SOURCE(7399, 2075) if ((0 == (word) IncrementRecordTimer_P540())) { SOURCE(7432, 6) return; }; }; goto lab_L100009; } static word IncrementRecordTimer_P540() { register ptr gf_c27760 = (ptr) &globalframe; word stillRunning_v4632; /* IncrementRecordTimer: */ SOURCE(7453, 2021) (void) (XR_MonitorEntry((word) (( (bPt) gf_c27760)+16)/* LOCK_v3196 */ )); SOURCE(7453, 2021) stillRunning_v4632 = 1; SOURCE(7529, 111) if (((* (( (ptr) gf_c27760)+18) ) != 2)) { SOURCE(7572, 31) (* (( (ptr) gf_c27760)+18) ) = 0; SOURCE(7605, 18) (void) (XR_Broadcast((word) (( (bPt) gf_c27760)+80)/* timerOff_v3252 */ )); SOURCE(7625, 15) (void) (XR_MonitorExit((word) (( (bPt) gf_c27760)+16)/* LOCK_v3196 */ )); return(0); }; SOURCE(7644, 1830) { word pd96; pd96 = (* (( (ptr) (* (( (ptr) gf_c27760)+128)/* var_c26096 */ ))+10) ); (* (( (ptr) gf_c27760)+17) ) = ((* (( (ptr) gf_c27760)+17) ) + (word) ( *( (fPt) ((* (ptr) pd96 ))))(250000, pd96)); }; SOURCE(7784, 69) (* (( (ptr) gf_c27760)+14) ) = ((* (( (ptr) gf_c27760)+14) ) + 1); SOURCE(7856, 173) if ((0 == (* (( (ptr) gf_c27760)+9) ))) { SOURCE(7901, 128) (void) NewRecordingMarker_P600((* (ptr) (* (( (ptr) gf_c27760)+12) ) ), (((* (( (ptr) gf_c27760)+13) ) + (* (( (ptr) gf_c27760)+14) )) - 1)); }; SOURCE(7453, 2021) (void) (XR_MonitorExit((word) (( (bPt) gf_c27760)+16)/* LOCK_v3196 */ )); return(stillRunning_v4632); } static void NewRecordingMarker_P600(formal_c0228, formal_c0229) word formal_c0228; word formal_c0229; { W8 var_c27792; /* declaration of viewer_v4692 skipped */ /* declaration of loc_v4720 skipped */ register ptr gf_c27824 = (ptr) &globalframe; /* declaration of var_c26192 skipped */ var_c27792.f4/* viewer_v4692 */ = formal_c0228; var_c27792.f5/* loc_v4720 */ = formal_c0229; /* NewRecordingMarker: */ SOURCE(8035, 1439) { word tmpAddr97; tmpAddr97 = (word) (( (ptr) &var_c27792)+6)/* var_c26192 */ ; (* (ptr) tmpAddr97 ) = ( ((word) (fPt) DoIt_P1356) ); (* (( (ptr) tmpAddr97) + 1) ) = 1; }; SOURCE(8371, 1103) { word var_c26224; { word pd98; pd98 = (* (( (ptr) (* (( (ptr) gf_c27824)+123)/* var_c25744 */ ))+93) ); var_c26224 = (word) ( *( (fPt) ((* (ptr) pd98 ))))(var_c27792.f4/* viewer_v4692 */ , pd98); }; { word pd99; pd99 = (* (( (ptr) (* (( (ptr) gf_c27824)+123)/* var_c25744 */ ))+118) ); (void) ( *( (fPt) ((* (ptr) pd99 ))))((word) (( (bPt) &var_c27792)+24)/* var_c26192 */ , var_c26224, pd99); }; }; } static void DoIt_P1356(root_v5640, formal_c27888) word root_v5640; word formal_c27888; { register ptr gf_c27856 = (ptr) &globalframe; formal_c27888 = (formal_c27888 - 24); /* DoIt: */ SOURCE(8114, 1360) SOURCE(8154, 71) if ( ! ((* (( (bPt) (* (( (ptr) formal_c27888)+4) ))+76) ) & 04)) { SOURCE(8184, 41) { word pd100; pd100 = (* (( (ptr) (* (( (ptr) gf_c27856)+120)/* var_c25584 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd100 ))))((* ((( (ptr) formal_c27888)+4)) ), pd100); }; }; SOURCE(8227, 1247) { W2 var_c26352; { word var_c26256; word var_c26288; { word pd101; pd101 = (* (( (ptr) (* (( (ptr) gf_c27856)+123)/* var_c25744 */ ))+91) ); var_c26256 = (word) ( *( (fPt) ((* (ptr) pd101 ))))(root_v5640, pd101); }; { word pd102; pd102 = (* (( (ptr) (* (( (ptr) gf_c27856)+129)/* var_c26320 */ ))+11) ); var_c26288 = (word) ( *( (fPt) ((* (ptr) pd102 ))))((* ((( (ptr) gf_c27856)+54)) ), pd102); }; { W2 var_c0104; { word pd103; pd103 = (* (( (ptr) (* (( (ptr) gf_c27856)+124)/* var_c25808 */ ))+37) ); (void) ( *( (fPt) ((* (ptr) pd103 ))))((word) &var_c0104, root_v5640, var_c26256, (* (( (ptr) formal_c27888)+5) ), 0, (* ( ( (ptr) gf_c27856)+53) ) , var_c26288, 0, 0, 0, pd103); }; var_c26352 = var_c0104; }; }; }; } static void StopRecording_P660() { W13 var_c27920; register ptr gf_c27952 = (ptr) &globalframe; /* declaration of var_c26384 skipped */ /* StopRecording: */ SOURCE(8433, 3555) { word tmpAddr104; tmpAddr104 = (word) (( (ptr) &var_c27920)+4)/* var_c26384 */ ; (* (ptr) tmpAddr104 ) = ( ((word) (fPt) AddVoice_P1512) ); (* (( (ptr) tmpAddr104) + 1) ) = 1; }; (void) (XR_MonitorEntry((word) (( (bPt) gf_c27952)+16)/* LOCK_v3196 */ )); SOURCE(8470, 50) if ((0 == (* (( (ptr) gf_c27952)+8) ))) { SOURCE(8514, 6) (void) (XR_MonitorExit((word) (( (bPt) gf_c27952)+16)/* LOCK_v3196 */ )); return; }; SOURCE(8522, 71) if (((* (( (ptr) gf_c27952)+18) ) == 2)) { SOURCE(8561, 32) (* (( (ptr) gf_c27952)+18) ) = 1; }; SOURCE(8595, 97) lab_L100012: ; if ( ( ((* (( (ptr) gf_c27952)+19) ) == 0) ? ((* (( (ptr) gf_c27952)+16) ) == (* (( (ptr) gf_c27952)+65) )) : 0 ) ) { } else { goto lab_L100010; }; SOURCE(8666, 26) (void) (XR_Wait((word) (( (bPt) gf_c27952)+16)/* LOCK_v3196 */ , (word) (( (bPt) gf_c27952)+104)/* recordingDone_v3280 */ ) ); goto lab_L100012; lab_L100010: ; SOURCE(8694, 62) lab_L100015: ; if (((* (( (ptr) gf_c27952)+18) ) != 0)) { } else { goto lab_L100013; }; SOURCE(8735, 21) (void) (XR_Wait((word) (( (bPt) gf_c27952)+16)/* LOCK_v3196 */ , (word) (( (bPt) gf_c27952)+80)/* timerOff_v3252 */ )); goto lab_L100015; lab_L100013: ; SOURCE(8759, 42) (* (( (ptr) gf_c27952)+8) ) = 0; SOURCE(8803, 3185) if ((0 != (* (( (ptr) gf_c27952)+9) ))) { SOURCE(8847, 1246) { /* declaration of badTarget_v5668 skipped */ SOURCE(8849, 26) (* (( (ptr) &var_c27920)+6)/* badTarget_v5668 */ ) = 0; SOURCE(8877, 1210) if (((* (( (ptr) gf_c27952)+19) ) == 0) || ( (int)(* (( (ptr) (* (( (ptr) gf_c27952)+19) ))+2) ) == (int)0)) { SOURCE(8951, 69) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27952)+55)) )); } else { SOURCE(9020, 1071) { /* declaration of targetChar_v5740 skipped */ /* declaration of node_v5768 skipped */ SOURCE(9293, 33) (* (( (ptr) &var_c27920)+7) ) = 0; (* (( (ptr) &var_c27920)+8) ) = 0; SOURCE(9328, 18) (* (( (ptr) &var_c27920)+9)/* node_v5768 */ ) = 0; SOURCE(9348, 126) SOURCE(9348, 126) { /* declaration of var_c03 skipped */ (* (( (ptr) &var_c27920)+10)/* var_c03 */ ) = (* (( (ptr) (* (( (ptr) gf_c27952)+125)/* var_c25840 */ ))+14) ); { /* declaration of var_c04 skipped */ { word var_c05; { word var_c0216; var_c0216 = (word) &var_c27920; var_c05 = (word) XR_Enable(( ((word) (fPt) NoName_Q2040) ), ( ((word) (fPt) NoName_Q2100) ), var_c0216); }; if ((var_c05 == 3)) { goto lab_L100017; }; }; (* (W2Pt) (( (ptr) &var_c27920)+7)/* targetChar_v5740 */ ) = (* (W2Pt) (( (ptr) &var_c27920)+11)/* var_c04 */ ); }; }; lab_L100017: ; SOURCE(9488, 22) (* (( (ptr) &var_c27920)+9)/* node_v5768 */ ) = (* (( (ptr) &var_c27920)+7) ); SOURCE(9537, 550) { word pd105; word pd107; pd105 = (* (( (ptr) (* (( (ptr) gf_c27952)+124)/* var_c25808 */ ))+6) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd105 ))))((* ((( (ptr) &var_c27920)+9)/* node_v5768 */ ) ), pd105) <= (int)(* ( ( (ptr) &var_c27920)+8) ))) { goto then0106;}; if ((0 != (* (( (ptr) &var_c27920)+6)/* badTarget_v5668 */ ))) { goto then0106;}; pd107 = (* (( (ptr) (* (( (ptr) gf_c27952)+124)/* var_c25808 */ ))+16) ); if (((word) ( *( (fPt) ((* (ptr) pd107 ))))((* (( (ptr) &var_c27920)+9)/* node_v5768 */ ), (* (( (ptr) &var_c27920)+8) ), (* ( ( (ptr) gf_c27952)+50) ), pd107) != 0)) { then0106: ; SOURCE(9661, 287) { word voiceViewer_v5872 = 0; SOURCE(9699, 100) { W3 var_c26448; { /*1*/ word pd108; /*1*/ pd108 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+10) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd108 ))))((word) &var_c26448, (* (ptr) (* (( (ptr) gf_c27952)+19) ) ), 0, 1, pd108); /*1*/ }; voiceViewer_v5872 = var_c26448.f0; }; SOURCE(9801, 46) { word pd109; pd109 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd109 ))))(voiceViewer_v5872, pd109); }; SOURCE(9849, 97) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27952)+56)) )); }; } else { SOURCE(9957, 64) { word pd110; pd110 = (* (( (ptr) (* (( (ptr) gf_c27952)+125)/* var_c25840 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd110 ))))((* (( (ptr) gf_c27952)+10) ), (* (( (ptr) gf_c27952)+51) ), pd110); }; SOURCE(10023, 64) { word var_c26480; { word pd111; pd111 = (* (( (ptr) (* (( (ptr) gf_c27952)+123)/* var_c25744 */ ))+83) ); var_c26480 = (word) ( *( (fPt) ((* (ptr) pd111 ))))((* ((( (ptr) &var_c27920)+7)) ), pd111); }; { word pd112; pd112 = (* (( (ptr) (* (( (ptr) gf_c27952)+123)/* var_c25744 */ ))+118) ); (void) ( *( (fPt) ((* (ptr) pd112 ))))((word) (( (bPt) &var_c27920)+16)/* var_c26384 */ , var_c26480, pd112); }; }; }; }; }; }; }; } else { SOURCE(10100, 1888) if (((* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ))+2) ) == 0)) { SOURCE(10182, 531) if (((* (( (ptr) gf_c27952)+19) ) == 0) || ( (int)(* (( (ptr) (* (( (ptr) gf_c27952)+19) ))+2) ) == (int)0)) { SOURCE(10258, 69) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c27952)+60)) )); SOURCE(10329, 68) (* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ))+12) ) = 0; SOURCE(10399, 69) { word pd113; pd113 = (* (( (ptr) (* (( (ptr) gf_c27952)+122)/* var_c25648 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd113 ))))((* (( (ptr) (* (ptr) (* (( (ptr) gf_c27952)+12) ) ))+22) ), 1, pd113); }; } else { SOURCE(10477, 71) { word pd114; pd114 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd114 ))))((* (ptr) ((* (( (ptr) gf_c27952)+12) )) ), pd114); }; SOURCE(10550, 163) { word pd115; pd115 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd115 ))))((* (ptr) (* (( (ptr) gf_c27952)+12) ) ), (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ), (* (ptr) (* (( (ptr) gf_c27952)+19) ) ), 0, 1, pd115); }; }; } else { SOURCE(10723, 1265) if (((* (( (ptr) gf_c27952)+19) ) == 0) || ( (int)(* (( (ptr) (* (( (ptr) gf_c27952)+19) ))+2) ) == (int)0)) { SOURCE(10797, 524) { word trueContents_v5916; W2 var_c0114; SOURCE(10799, 111) { word pd116; pd116 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+44) ); (void) ( *( (fPt) ((* (ptr) pd116 ))))((word) &var_c0114, (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ), 0, pd116); }; trueContents_v5916 = var_c0114.f0; SOURCE(10912, 84) { word pd117; pd117 = (* (( (ptr) (* (( (ptr) gf_c27952)+126)/* var_c25904 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd117 ))))((* (( (ptr) gf_c27952)+61) ), 1, pd117); }; SOURCE(10998, 170) { word var_c26512; word pd118; pd118 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+34) ); var_c26512 = (word) ( *( (fPt) ((* (ptr) pd118 ))))((* (ptr) (* (( (ptr) gf_c27952)+12) ) ), trueContents_v5916, 0, 0, 0, (* ( ( (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ))+6) ) , 0, 1, pd118); }; SOURCE(11170, 80) { word pd119; pd119 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd119 ))))((* (ptr) ((* (( (ptr) gf_c27952)+12) )) ), pd119); }; SOURCE(11252, 69) (* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ))+12) ) = 0; }; } else { SOURCE(11328, 660) { word newSoundList_v5960; word newSound_v5988; SOURCE(11330, 200) { word var_c26544; { word pd120; pd120 = (* (( (ptr) (* (( (ptr) gf_c27952)+121)/* var_c25616 */ ))+23) ); var_c26544 = (word) ( *( (fPt) ((* (ptr) pd120 ))))((* (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+6) ) ), (* (( (ptr) gf_c27952)+19) ), (word) -1, pd120); }; { word pd121; pd121 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+41) ); newSoundList_v5960 = (word) ( *( (fPt) ((* (ptr) pd121 ))))(var_c26544, (* (( (ptr) (* (( (ptr) gf_c27952)+19) ))+2) ), pd121) ; }; }; SOURCE(11532, 151) newSound_v5988 = XR_NewObject(24, (* (( (ptr) gf_c27952)+44) )); (* (W3Pt) newSound_v5988 ) = (* (W3Pt) (* (( (ptr) gf_c27952)+19) ) ); (* (( (ptr) newSound_v5988)+3) ) = newSoundList_v5960; SOURCE(11686, 53) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+4) ) = 0; SOURCE(11741, 71) { word pd122; pd122 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd122 ))))((* (ptr) ((* (( (ptr) gf_c27952)+12) )) ), pd122); }; SOURCE(11814, 103) { W3 var_c26608; { word pd123; pd123 = (* (( (ptr) (* (( (ptr) gf_c27952)+120)/* var_c25584 */ ))+48) ); (void) ( *( (fPt) ((* (ptr) pd123 ))))((word) &var_c26608, (* (( (ptr) gf_c27952)+12) ), newSound_v5988, 1, 1, pd123); }; }; SOURCE(11919, 69) (* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c27952)+12) ))+1) ))+12) ) = 0; }; }; }; }; SOURCE(8433, 3555) (void) (XR_MonitorExit((word) (( (bPt) gf_c27952)+16)/* LOCK_v3196 */ )); return; } static word NoName_Q2040(formal_c0200) word formal_c0200; { register ptr gf_c0199 = (ptr) &globalframe; SOURCE(9348, 126) { word pd124; pd124 = (* (( (ptr) formal_c0200)+10) ); (void) ( *( (fPt) ((* (ptr) pd124 ))))((word) (( (bPt) formal_c0200)+44), (* (( (ptr) gf_c0199)+10) ), (* (( (ptr) gf_c0199)+51) ), pd124); }; return(0); } static void AddVoice_P1512(root_v5844, formal_c28016) word root_v5844; word formal_c28016; { register ptr gf_c27984 = (ptr) &globalframe; formal_c28016 = (formal_c28016 - 16); /* AddVoice: */ SOURCE(9022, 16) SOURCE(9066, 83) { word pd125; pd125 = (* (( (ptr) (* (( (ptr) gf_c27984)+124)/* var_c25808 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd125 ))))((* (( (ptr) formal_c28016)+9) ), (* (( (ptr) formal_c28016)+8) ), (* (( (ptr) gf_c27984)+50) ), (* (ptr) (* (( (ptr) gf_c27984)+19) ) ), 1, 0 , 0, pd125); }; SOURCE(9151, 88) { word pd126; pd126 = (* (( (ptr) (* (( (ptr) gf_c27984)+124)/* var_c25808 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd126 ))))((* (( (ptr) formal_c28016)+9) ), (* (( (ptr) formal_c28016)+8) ), (* (( (ptr) gf_c27984)+57) ), (* (( (ptr) gf_c27984)+58) ), 1, 0 , 0, pd126); }; } static void NewDictationWindow_P720() { register ptr gf_c28048 = (ptr) &globalframe; /* NewDictationWindow: */ SOURCE(11994, 351) SOURCE(12033, 43) (* (( (ptr) gf_c28048)+9) ) = 0; SOURCE(12078, 68) (* (( (ptr) gf_c28048)+12) ) = XR_NewObject(24, (* (( (ptr) gf_c28048)+37) )); SOURCE(12148, 158) { W3 var_c26672; { word pd127; pd127 = (* (( (ptr) (* (( (ptr) gf_c28048)+120)/* var_c25584 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd127 ))))((word) &var_c26672, 0, 0, 1, pd127); }; (* (( (ptr) (* (( (ptr) gf_c28048)+12) ))+1) ) = var_c26672.f1; (* (ptr) (* (( (ptr) gf_c28048)+12) ) ) = var_c26672.f0; }; SOURCE(12308, 37) (* (( (ptr) gf_c28048)+13) ) = 1; } static void DictationMachine_P780(formal_c0128, viewer_v19952) word formal_c0128; word viewer_v19952; { register ptr gf_c28080 = (ptr) &globalframe; word recordAtom_v19996; word quit_v20024; /* DictationMachine: */ SOURCE(12350, 477) (void) (XR_MonitorEntry((word) (( (bPt) gf_c28080)+16)/* LOCK_v3196 */ )); SOURCE(12350, 477) recordAtom_v19996 = 1; SOURCE(12350, 477) quit_v20024 = 0; SOURCE(12407, 127) if ((0 != (* (( (ptr) gf_c28080)+8) ))) { SOURCE(12454, 23) (void) ChangeVoiceInputFocus_P840(); SOURCE(12527, 7) goto lab_L100021; }; SOURCE(12538, 119) { word pd128; pd128 = (* (( (ptr) (* (( (ptr) gf_c28080)+120)/* var_c25584 */ ))+29) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd128 ))))(pd128))) { SOURCE(12587, 61) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c28080)+62)) )); SOURCE(12650, 7) goto lab_L100021; }; }; SOURCE(12752, 34) { word pd129; pd129 = (* (( (ptr) (* (( (ptr) gf_c28080)+120)/* var_c25584 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd129 ))))(pd129); }; SOURCE(12789, 20) (void) NewDictationWindow_P720(); SOURCE(12811, 16) (void) StartRecording_P360(1); /* removed tail goto */ lab_L100021: ; (void) (XR_MonitorExit((word) (( (bPt) gf_c28080)+16)/* LOCK_v3196 */ )); (* (ptr) formal_c0128 ) = recordAtom_v19996; (* (( (ptr) formal_c0128)+1) ) = quit_v20024; return; } static void ChangeVoiceInputFocus_P840() { W9 var_c28112; register ptr gf_c28144 = (ptr) &globalframe; /* declaration of var_c26704 skipped */ /* ChangeVoiceInputFocus: */ SOURCE(12833, 2488) { word tmpAddr130; tmpAddr130 = (word) (( (ptr) &var_c28112)+4)/* var_c26704 */ ; (* (ptr) tmpAddr130 ) = ( ((word) (fPt) AddVoiceWindowMarker_P1812) ); (* (( (ptr) tmpAddr130) + 1) ) = 1; }; SOURCE(12874, 522) if ((0 == (* (( (ptr) gf_c28144)+9) ))) { SOURCE(12922, 154) if (((* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c28144)+12) ))+1) ))+2) ) == 0)) { SOURCE(13005, 62) (void) BlinkMessageWindow_P300((* ((( (ptr) gf_c28144)+67)) )); SOURCE(13069, 7) return; }; SOURCE(13080, 172) { word pd131; word x132; pd131 = (* (( (ptr) (* (( (ptr) gf_c28144)+120)/* var_c25584 */ ))+63) ); (void) ( *( (fPt) ((* (ptr) pd131 ))))((* (ptr) (* (( (ptr) gf_c28144)+12) ) ), (x132 = (IOP2( / , (int)(* (( (ptr) (* ( ( (ptr) gf_c28144)+12) ))+3) ), (int)2000) - 1), MAX((int)(word), x132, 0)), pd131); }; SOURCE(13254, 71) { word pd133; pd133 = (* (( (ptr) (* (( (ptr) gf_c28144)+126)/* var_c25904 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd133 ))))((* (( (ptr) gf_c28144)+68) ), 1, pd133); }; SOURCE(13327, 69) (* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c28144)+12) ))+1) ))+12) ) = 0; }; SOURCE(13400, 1921) { word currentContents_v6032; word wasIntoText_v6060; SOURCE(13403, 32) currentContents_v6032 = (* (( (ptr) gf_c28144)+69) ); SOURCE(13437, 58) wasIntoText_v6060 = (* (( (ptr) gf_c28144)+9) ); SOURCE(13536, 20) (void) NewDictationWindow_P720(); SOURCE(13639, 1400) if ((0 != wasIntoText_v6060)) { SOURCE(13659, 1380) { /* declaration of targetChar_v6132 skipped */ /* declaration of node_v6160 skipped */ SOURCE(14265, 97) { word pd134; pd134 = (* (( (ptr) (* (( (ptr) gf_c28144)+125)/* var_c25840 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd134 ))))((word) (( (bPt) &var_c28112)+24)/* targetChar_v6132 */ , (* (( (ptr) gf_c28144)+10) ), (* (( (ptr) gf_c28144)+51) ), pd134); }; SOURCE(14364, 36) (* (( (ptr) &var_c28112)+8)/* node_v6160 */ ) = (* (( (ptr) &var_c28112)+6) ); SOURCE(14427, 46) if (((* (( (ptr) gf_c28144)+10) ) != (* (( (ptr) &var_c28112)+6) ))) { SOURCE(14473, 5) (void) XR_RaiseUnnamedError(); }; SOURCE(14524, 64) { word pd135; pd135 = (* (( (ptr) (* (( (ptr) gf_c28144)+125)/* var_c25840 */ ))+16) ); (void) ( *( (fPt) ((* (ptr) pd135 ))))((* (( (ptr) gf_c28144)+10) ), (* (( (ptr) gf_c28144)+51) ), pd135); }; SOURCE(14590, 73) { word pd136; pd136 = (* (( (ptr) (* (( (ptr) gf_c28144)+124)/* var_c25808 */ ))+16) ); if (((word) ( *( (fPt) ((* (ptr) pd136 ))))((* (( (ptr) &var_c28112)+8)/* node_v6160 */ ), (* (( (ptr) &var_c28112)+7) ), (* ( ( (ptr) gf_c28144)+50) ), pd136) != 0)) { SOURCE(14657, 6) return; }; }; SOURCE(14739, 79) { word pd137; pd137 = (* (( (ptr) (* (( (ptr) gf_c28144)+124)/* var_c25808 */ ))+16) ); if (((word) ( *( (fPt) ((* (ptr) pd137 ))))((* (( (ptr) &var_c28112)+8)/* node_v6160 */ ), (* (( (ptr) &var_c28112)+7) ), (* ( ( (ptr) gf_c28144)+70) ), pd137) != 0)) { SOURCE(14812, 6) return; }; }; SOURCE(14821, 218) { word var_c26736; { word pd138; pd138 = (* (( (ptr) (* (( (ptr) gf_c28144)+123)/* var_c25744 */ ))+83) ); var_c26736 = (word) ( *( (fPt) ((* (ptr) pd138 ))))((* ((( (ptr) &var_c28112)+6)) ), pd138); }; { word pd139; pd139 = (* (( (ptr) (* (( (ptr) gf_c28144)+123)/* var_c25744 */ ))+118) ); (void) ( *( (fPt) ((* (ptr) pd139 ))))((word) (( (bPt) &var_c28112)+16)/* var_c26704 */ , var_c26736, pd139); }; }; }; }; SOURCE(15043, 107) { register word i_v6308 = 1; register word noName_c26768; noName_c26768 = (* (( (ptr) gf_c28144)+14) ); if (( (int)i_v6308 > (int)noName_c26768)) { goto lab_L100022; }; lab_L100025: ; SOURCE(15097, 53) { word pd140; pd140 = (* (( (ptr) (* (( (ptr) gf_c28144)+130)/* var_c26800 */ ))+6) ); currentContents_v6032 = (word) ( *( (fPt) ((* (ptr) pd140 ))))(currentContents_v6032, (* (( (ptr) gf_c28144)+53) ), pd140) ; }; if (( (int)i_v6308 >= (int)noName_c26768)) { goto lab_L100022; }; i_v6308 = (i_v6308 + 1); goto lab_L100025; lab_L100022: ; }; SOURCE(15152, 45) { word pd141; pd141 = (* (( (ptr) (* (( (ptr) gf_c28144)+130)/* var_c26800 */ ))+6) ); currentContents_v6032 = (word) ( *( (fPt) ((* (ptr) pd141 ))))(currentContents_v6032, (* (( (ptr) gf_c28144)+69) ), pd141) ; }; SOURCE(15199, 122) { word var_c26832; word pd142; pd142 = (* (( (ptr) (* (( (ptr) gf_c28144)+120)/* var_c25584 */ ))+34) ); var_c26832 = (word) ( *( (fPt) ((* (ptr) pd142 ))))((* (ptr) (* (( (ptr) gf_c28144)+12) ) ), currentContents_v6032, 0, 0, 0, 0 , 0, 1, pd142); }; }; } static void AddVoiceWindowMarker_P1812(root_v6236, formal_c28208) word root_v6236; word formal_c28208; { register ptr gf_c28176 = (ptr) &globalframe; word alreadyEdited_v6264; formal_c28208 = (formal_c28208 - 16); /* AddVoiceWindowMarker: */ SOURCE(13661, 28) SOURCE(13717, 61) alreadyEdited_v6264 = (((unsigned)(* (( (bPt) (* (( (ptr) gf_c28176)+11) ))+76) ) << 29) >> 31); SOURCE(13780, 88) { word pd143; pd143 = (* (( (ptr) (* (( (ptr) gf_c28176)+124)/* var_c25808 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd143 ))))((* (( (ptr) formal_c28208)+8) ), (* (( (ptr) formal_c28208)+7) ), (* (( (ptr) gf_c28176)+57) ), (* (( (ptr) gf_c28176)+58) ), 1, 0 , 0, pd143); }; SOURCE(13918, 219) { word var_c26864; { word var_c26896; word var_c26992; { word var_c26928; { word pd144; pd144 = (* (( (ptr) (* (( (ptr) gf_c28176)+131)/* var_c26960 */ ))+27) ); var_c26928 = (word) ( *( (fPt) ((* (ptr) pd144 ))))((* (( (ptr) (* (( (ptr) (* (( (ptr) gf_c28176)+12) ))+1) ))+1) ), 8, 1, pd144) ; }; { word pd145; pd145 = (* (( (ptr) (* (( (ptr) gf_c28176)+130)/* var_c26800 */ ))+6) ); var_c26896 = (word) ( *( (fPt) ((* (ptr) pd145 ))))((* (( (ptr) gf_c28176)+72) ), var_c26928, pd145); }; }; var_c26992 = XR_NewObject(4, (* (( (ptr) gf_c28176)+35) )); (* (ptr) var_c26992 ) = var_c26896; var_c26864 = var_c26992; }; { word pd146; pd146 = (* (( (ptr) (* (( (ptr) gf_c28176)+124)/* var_c25808 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd146 ))))((* (( (ptr) formal_c28208)+8) ), (* (( (ptr) formal_c28208)+7) ), (* (( (ptr) gf_c28176)+70) ), var_c26864, 1, 0 , 0, pd146); }; }; SOURCE(14139, 119) { word pd147; pd147 = (* (( (ptr) (* (( (ptr) gf_c28176)+120)/* var_c25584 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd147 ))))((* (( (ptr) (* (( (ptr) gf_c28176)+12) ))+1) ), (* (( (ptr) gf_c28176)+11) ), (* (W2Pt) ( ( (ptr) formal_c28208)+6) ), pd147); }; } static void RecordInPlaceOfSelection_P900(selection_v4828) word selection_v4828; { register ptr gf_c28240 = (ptr) &globalframe; /* RecordInPlaceOfSelection: */ SOURCE(15327, 693) (void) (XR_MonitorEntry((word) (( (bPt) gf_c28240)+16)/* LOCK_v3196 */ )); { W3 var_c0146; word var_c0217; SOURCE(15416, 41) (* (( (ptr) gf_c28240)+12) ) = selection_v4828; SOURCE(15459, 43) (* (( (ptr) gf_c28240)+9) ) = 0; SOURCE(15505, 223) if (( (int)(* (( (ptr) (* (( (ptr) gf_c28240)+12) ))+4) ) != (int)0)) { SOURCE(15590, 138) { word pd148; pd148 = (* (( (ptr) (* (( (ptr) gf_c28240)+120)/* var_c25584 */ ))+48) ); (void) ( *( (fPt) ((* (ptr) pd148 ))))((word) &var_c0146, (* (( (ptr) gf_c28240)+12) ), 0, 0, 1, pd148); }; var_c0217 = var_c0146.f0; if ((0 != var_c0217)) { SOURCE(15708, 20) (void) NewDictationWindow_P720(); }; }; SOURCE(15881, 121) (* (( (ptr) gf_c28240)+13) ) = IOP2( / , (int)(* (( (ptr) (* (( (ptr) gf_c28240)+12) ))+3) ), (int)2000); SOURCE(16004, 16) (void) StartRecording_P360(1); }; SOURCE(15327, 693) (void) (XR_MonitorExit((word) (( (bPt) gf_c28240)+16)/* LOCK_v3196 */ )); return; } static void ForkStopRecording_P960() { register ptr gf_c28272 = (ptr) &globalframe; /* ForkStopRecording: */ SOURCE(16026, 72) SOURCE(16061, 37) SOURCE(16062, 36) { W2 var_c27024; { W2 var_c0149; word var_c0148; var_c0148 = XR_ExtensionAlloc(4); { word tmpAddr149; tmpAddr149 = (word) var_c0148; (* (ptr) tmpAddr149 ) = ( ((word) (fPt) NoName_Q2280) ); (* (( (ptr) tmpAddr149) + 1) ) = 0; (* (( (ptr) tmpAddr149) + 2) ) = (word) (( (bPt) gf_c28272)+380)/* var_c25168 */ ; (* (( (ptr) tmpAddr149) + 3) ) = 0; }; (void) XR_Fork((word) &var_c0149, var_c0148); var_c27024 = var_c0149; }; { word pd150; pd150 = (* (( (ptr) (* (( (ptr) gf_c28272)+127)/* var_c25968 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd150 ))))(var_c27024, pd150); }; }; } static void ConversationReport_P1020(nb_v20084, cDesc_v20112, remark_v20140) word nb_v20084; word cDesc_v20112; word remark_v20140; { register ptr gf_c28304 = (ptr) &globalframe; /* ConversationReport: */ SOURCE(16103, 350) SOURCE(16167, 286) if ((cDesc_v20112 == 0)) { SOURCE(16197, 256) { word pd151; pd151 = (* (( (ptr) (* (( (ptr) gf_c28304)+121)/* var_c25616 */ ))+15) ); if ((XR_Narrow((word) ( *( (fPt) ((* (ptr) pd151 ))))((* (ptr) (* (( (ptr) (* (( (ptr) gf_c28304)+120)/* var_c25584 */ ))+6) ) ), cDesc_v20112, pd151), (* (( (ptr) gf_c28304)+36) )) == (* (( (ptr) gf_c28304)+71) ))) { SOURCE(16311, 142) { word var_c27056; var_c27056 = (* (( (ptr) cDesc_v20112)+3) ); switch (var_c27056) { case 10: break; case 1: case 0: case 2: SOURCE(16398, 34) { word pd152; pd152 = (* (( (ptr) (* (( (ptr) gf_c28304)+120)/* var_c25584 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd152 ))))(pd152); }; SOURCE(16434, 19) (void) ForkStopRecording_P960(); break; }; }; }; }; }; } static word RequestReport_P1080(formal_c0159) word formal_c0159; { register ptr gf_c28336 = (ptr) &globalframe; word betterActionRequest_v20300; /* RequestReport: */ SOURCE(16471, 974) SOURCE(16471, 974) betterActionRequest_v20300 = 0; SOURCE(16525, 35) betterActionRequest_v20300 = (* (( (ptr) formal_c0159)+16)/* actionRequest_v20256 */ ); SOURCE(16562, 26) if (((* (ptr) formal_c0159/* cDesc_v20200 */ ) == 0)) { SOURCE(16582, 6) return(betterActionRequest_v20300); }; SOURCE(16590, 797) { word pd153; pd153 = (* (( (ptr) (* (( (ptr) gf_c28336)+121)/* var_c25616 */ ))+15) ); if ((XR_Narrow((word) ( *( (fPt) ((* (ptr) pd153 ))))((* (ptr) (* (( (ptr) (* (( (ptr) gf_c28336)+120)/* var_c25584 */ ))+6) ) ), (* (ptr) formal_c0159/* cDesc_v20200 */ ), pd153), (* (( (ptr) gf_c28336)+36) )) == (* (( (ptr) gf_c28336)+71) ))) { SOURCE(16704, 683) { word var_c27088; var_c27088 = (* (( (ptr) formal_c0159)+13) ); if ((var_c27088 == (* (( (ptr) gf_c28336)+73) ))) { SOURCE(16758, 217) if (((* (( (ptr) formal_c0159)+12) ) == (* (( (ptr) gf_c28336)+15) ))) { SOURCE(16816, 159) { word var_c27120; var_c27120 = (* (( (ptr) formal_c0159)+14) ); if ((var_c27120 == (* (( (ptr) gf_c28336)+74) ))) { } else { if ((var_c27120 == (* (( (ptr) gf_c28336)+75) ))) { SOURCE(16892, 38) SOURCE(16893, 37) { /*1*/ W2 var_c27152; /*1*/ { /*1*/ W2 var_c0165; /*1*/ word var_c0164; /*1*/ var_c0164 = XR_ExtensionAlloc(4); /*1*/ { /*1*/ word tmpAddr154; /*1*/ tmpAddr154 = (word) var_c0164; /*1*/ (* (ptr) tmpAddr154 ) = ( ((word) (fPt) NoName_Q2340) ); /*1*/ (* (( (ptr) tmpAddr154) + 1) ) = 0; /*1*/ (* (( (ptr) tmpAddr154) + 2) ) = (word) (( (bPt) gf_c28336)+404)/* var_c25264 */ ; /*1*/ (* (( (ptr) tmpAddr154) + 3) ) = 0; /*1*/ }; /*1*/ (void) XR_Fork((word) &var_c0165, var_c0164); /*1*/ var_c27152 = var_c0165; /*1*/ }; /*1*/ { /*1*/ word pd155; /*1*/ pd155 = (* (( (ptr) (* (( (ptr) gf_c28336)+127)/* var_c25968 */ ))+11) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd155 ))))(var_c27152, pd155); /*1*/ }; /*1*/ }; } else { if ((var_c27120 == (* (( (ptr) gf_c28336)+76) )) || (var_c27120 == (* (( (ptr) gf_c28336)+77) ))) { SOURCE(16956, 19) /*1*/ (void) ForkStopRecording_P960(); /*1*/ }; }; }; }; }; } else { if ((var_c27088 == (* (( (ptr) gf_c28336)+78) ))) { SOURCE(17006, 381) { word var_c27184; var_c27184 = (* (( (ptr) formal_c0159)+14) ); if ((var_c27184 == (* (( (ptr) gf_c28336)+74) ))) { SOURCE(17056, 6) return(betterActionRequest_v20300); }; if ((var_c27184 == (* (( (ptr) gf_c28336)+75) ))) { SOURCE(17076, 63) { word pd157; pd157 = (* (( (ptr) (* (( (ptr) gf_c28336)+120)/* var_c25584 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd157 ))))((* (( (ptr) formal_c0159)+12) ), 1, pd157); }; goto endif0156; }; if ((var_c27184 == (* (( (ptr) gf_c28336)+76) )) || (var_c27184 == (* (( (ptr) gf_c28336)+77) ))) { SOURCE(17164, 63) { word pd158; pd158 = (* (( (ptr) (* (( (ptr) gf_c28336)+120)/* var_c25584 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd158 ))))((* (( (ptr) formal_c0159)+12) ), 2, pd158); }; goto endif0156; }; if ((var_c27184 == (* (( (ptr) gf_c28336)+79) ))) { SOURCE(17241, 65) { word pd159; pd159 = (* (( (ptr) (* (( (ptr) gf_c28336)+120)/* var_c25584 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd159 ))))((* (( (ptr) formal_c0159)+12) ), 3, pd159); }; goto endif0156; }; if ((var_c27184 == (* (( (ptr) gf_c28336)+80) ))) { SOURCE(17320, 67) { word pd160; pd160 = (* (( (ptr) (* (( (ptr) gf_c28336)+120)/* var_c25584 */ ))+32) ); (void) ( *( (fPt) ((* (ptr) pd160 ))))((* (( (ptr) formal_c0159)+12) ), 4, pd160); }; goto endif0156; }; endif0156: ; }; }; }; }; }; }; SOURCE(17410, 35) betterActionRequest_v20300 = (* (( (ptr) formal_c0159)+16)/* actionRequest_v20256 */ ); SOURCE(16471, 974) return(betterActionRequest_v20300); } static void NoName_Q2100(formal_c0173, formal_c200004, formal_c200005, formal_c200006, formal_c200007) word formal_c0173; word formal_c200004; word formal_c200005; word formal_c200006; word formal_c200007; { register ptr gf_c0212 = (ptr) &globalframe; if ((formal_c200005 == (* (( (ptr) (* (( (ptr) gf_c0212)+125)/* var_c25840 */ ))+15) ))) { SOURCE(9458, 16) (* (( (ptr) formal_c200004)+6) ) = 1; SOURCE(9476, 8) (* (ptr) formal_c0173 ) = 2; (* (( (ptr) formal_c0173)+1) ) = 3; return; }; (* (ptr) formal_c0173 ) = 0; (* (( (ptr) formal_c0173)+1) ) = 0; return; } static void NoName_Q2160(formal_c0178, formal_c200000, formal_c200001, formal_c200002, formal_c200003) word formal_c0178; word formal_c200000; word formal_c200001; word formal_c200002; word formal_c200003; { register ptr gf_c0213 = (ptr) &globalframe; if ((formal_c200001 == (* (( (ptr) (* (( (ptr) gf_c0213)+123)/* var_c25744 */ ))+119) ))) { SOURCE(5552, 22) (* (( (ptr) formal_c200000)+15) ) = 0; SOURCE(5576, 8) (* (ptr) formal_c0178 ) = 2; (* (( (ptr) formal_c0178)+1) ) = 2; return; }; (* (ptr) formal_c0178 ) = 0; (* (( (ptr) formal_c0178)+1) ) = 0; return; } static word NoName_Q2220(formal_c083) word formal_c083; { word var_c085; word var_c084; /* intermediary proc for a FORK, nArgs: 1, nRets: 0 */ var_c085 = (* (( (ptr) formal_c083)+4) ); var_c084 = (* (( (ptr) formal_c083)+2) ); formal_c083 = XR_ExtensionFree(formal_c083); (void) ( *( (fPt) ((* (ptr) var_c084 ))))(var_c085, var_c084); return(0); } static word NoName_Q2280(formal_c0150) word formal_c0150; { word var_c0151; /* intermediary proc for a FORK, nArgs: 0, nRets: 0 */ var_c0151 = (* (( (ptr) formal_c0150)+2) ); formal_c0150 = XR_ExtensionFree(formal_c0150); (void) ( *( (fPt) ((* (ptr) var_c0151 ))))(var_c0151); return(0); } static word NoName_Q2340(formal_c0166) word formal_c0166; { word var_c0167; /* intermediary proc for a FORK, nArgs: 0, nRets: 0 */ var_c0167 = (* (( (ptr) formal_c0166)+2) ); formal_c0166 = XR_ExtensionFree(formal_c0166); (void) ( *( (fPt) ((* (ptr) var_c0167 ))))(var_c0167); return(0); } /* file: VoiceRecordImpl, module: VoiceRecordImpl, compiled at: June 7, 1992 11:36:21 am PDT */ extern void XR_install_VoiceRecordImpl() { NoName_Q1920(); } extern void XR_run_VoiceRecordImpl() { XR_Start(&globalframe); }