Files
garminApp/bin/mir/source/appDelegate.mir
T
2026-10-05 20:55:29 +01:00

527 lines
28 KiB
YAML

[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Lang,1,14,18]; ]
import Toybox.Lang;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [System,2,14,20]; ]
import Toybox.System;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ]
import Toybox.WatchUi;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; @symbol_classdef = [mainDelegate,5,6,18]; @symbol_extends<0> = [WatchUi,5,27,34]; @symbol_extends<1> = [BehaviorDelegate,5,35,51]; ]
class mainDelegate extends WatchUi.BehaviorDelegate {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 5; ]
static
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ]
function initialize() as Void {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_6_26_32_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 7 8 ]
symbol [ BehaviorDelegate %tmp.2 7 8 24 ];
%tmp.2 = getv ? :BehaviorDelegate;
symbol [ initialize %tmp.3 7 25 35 ];
%tmp.3 = getv function %tmp.2 :initialize;
invoke %tmp.2 %tmp.3();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 9 8 ]
symbol [ WatchUi %tmp.6 9 25 32 ];
%tmp.6 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.7 9 33 38 ];
%tmp.7 = getv function ? %tmp.6 :Menu2;
%tmp.8 = newd 1;
%tmp.10 = const :title;
symbol [ title %tmp.10 9 41 46 const ];
%tmp.11 = "Select Team";
%tmp.12 = dup %tmp.8;
%tmp.13 = aputv %tmp.12 %tmp.10 %tmp.11;
%tmp.4 = newc %tmp.7 (%tmp.13);
symbol [ gMenuTeams ? 9 8 18 ];
putv self :gMenuTeams %tmp.4;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 10 8 ]
symbol [ gMenuTeams %tmp.15 10 8 18 ];
%tmp.15 = getv ? :gMenuTeams;
symbol [ addItem %tmp.16 10 19 26 ];
%tmp.16 = getv function %tmp.15 :addItem;
symbol [ WatchUi %tmp.19 10 31 38 ];
%tmp.19 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.20 10 39 47 ];
%tmp.20 = getv function ? %tmp.19 :MenuItem;
symbol [ HOME %tmp.22 10 48 52 ];
%tmp.22 = getv ? :HOME;
symbol [ toString %tmp.23 10 53 61 ];
%tmp.23 = getv function %tmp.22 :toString;
%tmp.24 = invoke %tmp.22 %tmp.23();
%tmp.25 = null;
symbol [ HOME %tmp.27 10 71 75 ];
%tmp.27 = getv ? :HOME;
%tmp.28 = null;
%tmp.17 = newc %tmp.20 (%tmp.24, %tmp.25, %tmp.27, %tmp.28);
invoke %tmp.15 %tmp.16(%tmp.17);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 11 8 ]
symbol [ gMenuTeams %tmp.30 11 8 18 ];
%tmp.30 = getv ? :gMenuTeams;
symbol [ addItem %tmp.31 11 19 26 ];
%tmp.31 = getv function %tmp.30 :addItem;
symbol [ WatchUi %tmp.34 11 31 38 ];
%tmp.34 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.35 11 39 47 ];
%tmp.35 = getv function ? %tmp.34 :MenuItem;
symbol [ AWAY %tmp.37 11 48 52 ];
%tmp.37 = getv ? :AWAY;
symbol [ toString %tmp.38 11 53 61 ];
%tmp.38 = getv function %tmp.37 :toString;
%tmp.39 = invoke %tmp.37 %tmp.38();
%tmp.40 = null;
symbol [ AWAY %tmp.42 11 71 75 ];
%tmp.42 = getv ? :AWAY;
%tmp.43 = null;
%tmp.32 = newc %tmp.35 (%tmp.39, %tmp.40, %tmp.42, %tmp.43);
invoke %tmp.30 %tmp.31(%tmp.32);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 13 8 ]
symbol [ WatchUi %tmp.46 13 27 34 ];
%tmp.46 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.47 13 35 40 ];
%tmp.47 = getv function ? %tmp.46 :Menu2;
%tmp.48 = newd 1;
%tmp.50 = const :title;
symbol [ title %tmp.50 13 43 48 const ];
%tmp.51 = "Select Action";
%tmp.52 = dup %tmp.48;
%tmp.53 = aputv %tmp.52 %tmp.50 %tmp.51;
%tmp.44 = newc %tmp.47 (%tmp.53);
symbol [ gMenuActions ? 13 8 20 ];
putv self :gMenuActions %tmp.44;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 14 8 ]
symbol [ gMenuActions %tmp.55 14 8 20 ];
%tmp.55 = getv ? :gMenuActions;
symbol [ addItem %tmp.56 14 21 28 ];
%tmp.56 = getv function %tmp.55 :addItem;
symbol [ WatchUi %tmp.59 14 33 40 ];
%tmp.59 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.60 14 41 49 ];
%tmp.60 = getv function ? %tmp.59 :MenuItem;
%tmp.61 = "Record Goal";
%tmp.62 = "FG, PC, or PS";
symbol [ GOAL %tmp.64 14 82 86 ];
%tmp.64 = getv ? :GOAL;
%tmp.65 = null;
%tmp.57 = newc %tmp.60 (%tmp.61, %tmp.62, %tmp.64, %tmp.65);
invoke %tmp.55 %tmp.56(%tmp.57);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 15 8 ]
symbol [ gMenuActions %tmp.67 15 8 20 ];
%tmp.67 = getv ? :gMenuActions;
symbol [ addItem %tmp.68 15 21 28 ];
%tmp.68 = getv function %tmp.67 :addItem;
symbol [ WatchUi %tmp.71 15 33 40 ];
%tmp.71 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.72 15 41 49 ];
%tmp.72 = getv function ? %tmp.71 :MenuItem;
%tmp.73 = "Record Card";
%tmp.74 = "Green, Yellow, Red";
symbol [ CARD %tmp.76 15 87 91 ];
%tmp.76 = getv ? :CARD;
%tmp.77 = null;
%tmp.69 = newc %tmp.72 (%tmp.73, %tmp.74, %tmp.76, %tmp.77);
invoke %tmp.67 %tmp.68(%tmp.69);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 16 8 ]
symbol [ gMenuActions %tmp.79 16 8 20 ];
%tmp.79 = getv ? :gMenuActions;
symbol [ addItem %tmp.80 16 21 28 ];
%tmp.80 = getv function %tmp.79 :addItem;
symbol [ WatchUi %tmp.83 16 33 40 ];
%tmp.83 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.84 16 41 49 ];
%tmp.84 = getv function ? %tmp.83 :MenuItem;
%tmp.85 = "Quit";
%tmp.86 = "TODO:";
symbol [ QUIT %tmp.88 16 67 71 ];
%tmp.88 = getv ? :QUIT;
%tmp.89 = null;
%tmp.81 = newc %tmp.84 (%tmp.85, %tmp.86, %tmp.88, %tmp.89);
invoke %tmp.79 %tmp.80(%tmp.81);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 18 8 ]
symbol [ WatchUi %tmp.92 18 25 32 ];
%tmp.92 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.93 18 33 38 ];
%tmp.93 = getv function ? %tmp.92 :Menu2;
%tmp.94 = newd 1;
%tmp.96 = const :title;
symbol [ title %tmp.96 18 41 46 const ];
%tmp.97 = "Select Goal";
%tmp.98 = dup %tmp.94;
%tmp.99 = aputv %tmp.98 %tmp.96 %tmp.97;
%tmp.90 = newc %tmp.93 (%tmp.99);
symbol [ gMenuGoals ? 18 8 18 ];
putv self :gMenuGoals %tmp.90;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 19 8 ]
symbol [ gMenuGoals %tmp.101 19 8 18 ];
%tmp.101 = getv ? :gMenuGoals;
symbol [ addItem %tmp.102 19 19 26 ];
%tmp.102 = getv function %tmp.101 :addItem;
symbol [ WatchUi %tmp.105 19 31 38 ];
%tmp.105 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.106 19 39 47 ];
%tmp.106 = getv function ? %tmp.105 :MenuItem;
%tmp.107 = "Field Goal";
%tmp.108 = null;
symbol [ FG %tmp.110 19 72 74 ];
%tmp.110 = getv ? :FG;
%tmp.111 = null;
%tmp.103 = newc %tmp.106 (%tmp.107, %tmp.108, %tmp.110, %tmp.111);
invoke %tmp.101 %tmp.102(%tmp.103);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 20 8 ]
symbol [ gMenuGoals %tmp.113 20 8 18 ];
%tmp.113 = getv ? :gMenuGoals;
symbol [ addItem %tmp.114 20 19 26 ];
%tmp.114 = getv function %tmp.113 :addItem;
symbol [ WatchUi %tmp.117 20 31 38 ];
%tmp.117 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.118 20 39 47 ];
%tmp.118 = getv function ? %tmp.117 :MenuItem;
%tmp.119 = "Penaly Corner";
%tmp.120 = null;
symbol [ PC %tmp.122 20 72 74 ];
%tmp.122 = getv ? :PC;
%tmp.123 = null;
%tmp.115 = newc %tmp.118 (%tmp.119, %tmp.120, %tmp.122, %tmp.123);
invoke %tmp.113 %tmp.114(%tmp.115);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 21 8 ]
symbol [ gMenuGoals %tmp.125 21 8 18 ];
%tmp.125 = getv ? :gMenuGoals;
symbol [ addItem %tmp.126 21 19 26 ];
%tmp.126 = getv function %tmp.125 :addItem;
symbol [ WatchUi %tmp.129 21 31 38 ];
%tmp.129 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.130 21 39 47 ];
%tmp.130 = getv function ? %tmp.129 :MenuItem;
%tmp.131 = "Penalty Stroke";
%tmp.132 = null;
symbol [ PS %tmp.134 21 72 74 ];
%tmp.134 = getv ? :PS;
%tmp.135 = null;
%tmp.127 = newc %tmp.130 (%tmp.131, %tmp.132, %tmp.134, %tmp.135);
invoke %tmp.125 %tmp.126(%tmp.127);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 23 8 ]
symbol [ WatchUi %tmp.138 23 25 32 ];
%tmp.138 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.139 23 33 38 ];
%tmp.139 = getv function ? %tmp.138 :Menu2;
%tmp.140 = newd 1;
%tmp.142 = const :title;
symbol [ title %tmp.142 23 41 46 const ];
%tmp.143 = "Select Card";
%tmp.144 = dup %tmp.140;
%tmp.145 = aputv %tmp.144 %tmp.142 %tmp.143;
%tmp.136 = newc %tmp.139 (%tmp.145);
symbol [ gMenuCards ? 23 8 18 ];
putv self :gMenuCards %tmp.136;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 24 8 ]
symbol [ gMenuCards %tmp.147 24 8 18 ];
%tmp.147 = getv ? :gMenuCards;
symbol [ addItem %tmp.148 24 19 26 ];
%tmp.148 = getv function %tmp.147 :addItem;
symbol [ WatchUi %tmp.151 24 31 38 ];
%tmp.151 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.152 24 39 47 ];
%tmp.152 = getv function ? %tmp.151 :MenuItem;
%tmp.153 = "Green Card";
%tmp.154 = null;
symbol [ GREEN %tmp.156 24 71 76 ];
%tmp.156 = getv ? :GREEN;
%tmp.157 = newd 1;
%tmp.159 = const :icon;
symbol [ icon %tmp.159 24 81 85 const ];
symbol [ $ %tmp.160 24 89 90 ];
%tmp.160 = getm $;
symbol [ gIconGreen %tmp.161 24 91 101 ];
%tmp.161 = getv %tmp.160 :gIconGreen;
%tmp.162 = dup %tmp.157;
%tmp.163 = aputv %tmp.162 %tmp.159 %tmp.161;
%tmp.149 = newc %tmp.152 (%tmp.153, %tmp.154, %tmp.156, %tmp.163);
invoke %tmp.147 %tmp.148(%tmp.149);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 25 8 ]
symbol [ gMenuCards %tmp.165 25 8 18 ];
%tmp.165 = getv ? :gMenuCards;
symbol [ addItem %tmp.166 25 19 26 ];
%tmp.166 = getv function %tmp.165 :addItem;
symbol [ WatchUi %tmp.169 25 31 38 ];
%tmp.169 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.170 25 39 47 ];
%tmp.170 = getv function ? %tmp.169 :MenuItem;
%tmp.171 = "Yellow Card";
%tmp.172 = null;
symbol [ YELLOW %tmp.174 25 71 77 ];
%tmp.174 = getv ? :YELLOW;
%tmp.175 = newd 1;
%tmp.177 = const :icon;
symbol [ icon %tmp.177 25 81 85 const ];
symbol [ $ %tmp.178 25 89 90 ];
%tmp.178 = getm $;
symbol [ gIconYellow %tmp.179 25 91 102 ];
%tmp.179 = getv %tmp.178 :gIconYellow;
%tmp.180 = dup %tmp.175;
%tmp.181 = aputv %tmp.180 %tmp.177 %tmp.179;
%tmp.167 = newc %tmp.170 (%tmp.171, %tmp.172, %tmp.174, %tmp.181);
invoke %tmp.165 %tmp.166(%tmp.167);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 26 8 ]
symbol [ gMenuCards %tmp.183 26 8 18 ];
%tmp.183 = getv ? :gMenuCards;
symbol [ addItem %tmp.184 26 19 26 ];
%tmp.184 = getv function %tmp.183 :addItem;
symbol [ WatchUi %tmp.187 26 31 38 ];
%tmp.187 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.188 26 39 47 ];
%tmp.188 = getv function ? %tmp.187 :MenuItem;
%tmp.189 = "Red Card";
%tmp.190 = null;
symbol [ RED %tmp.192 26 71 74 ];
%tmp.192 = getv ? :RED;
%tmp.193 = newd 1;
%tmp.195 = const :icon;
symbol [ icon %tmp.195 26 81 85 const ];
symbol [ $ %tmp.196 26 89 90 ];
%tmp.196 = getm $;
symbol [ gIconRed %tmp.197 26 91 99 ];
%tmp.197 = getv %tmp.196 :gIconRed;
%tmp.198 = dup %tmp.193;
%tmp.199 = aputv %tmp.198 %tmp.195 %tmp.197;
%tmp.185 = newc %tmp.188 (%tmp.189, %tmp.190, %tmp.192, %tmp.199);
invoke %tmp.183 %tmp.184(%tmp.185);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 28 8 ]
symbol [ WatchUi %tmp.202 28 23 30 ];
%tmp.202 = getm $.Toybox.WatchUi;
symbol [ Menu2 %tmp.203 28 31 36 ];
%tmp.203 = getv function ? %tmp.202 :Menu2;
%tmp.204 = newd 1;
%tmp.206 = const :title;
symbol [ title %tmp.206 28 39 44 const ];
%tmp.207 = "Select Action";
%tmp.208 = dup %tmp.204;
%tmp.209 = aputv %tmp.208 %tmp.206 %tmp.207;
%tmp.200 = newc %tmp.203 (%tmp.209);
symbol [ gMenuApp ? 28 8 16 ];
putv self :gMenuApp %tmp.200;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 29 8 ]
symbol [ gMenuApp %tmp.211 29 8 16 ];
%tmp.211 = getv ? :gMenuApp;
symbol [ addItem %tmp.212 29 17 24 ];
%tmp.212 = getv function %tmp.211 :addItem;
symbol [ WatchUi %tmp.215 29 29 36 ];
%tmp.215 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.216 29 37 45 ];
%tmp.216 = getv function ? %tmp.215 :MenuItem;
%tmp.217 = "New Game";
%tmp.218 = null;
%tmp.219 = 0;
%tmp.220 = null;
%tmp.213 = newc %tmp.216 (%tmp.217, %tmp.218, %tmp.219, %tmp.220);
invoke %tmp.211 %tmp.212(%tmp.213);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 30 8 ]
symbol [ gMenuApp %tmp.222 30 8 16 ];
%tmp.222 = getv ? :gMenuApp;
symbol [ addItem %tmp.223 30 17 24 ];
%tmp.223 = getv function %tmp.222 :addItem;
symbol [ WatchUi %tmp.226 30 29 36 ];
%tmp.226 = getm $.Toybox.WatchUi;
symbol [ MenuItem %tmp.227 30 37 45 ];
%tmp.227 = getv function ? %tmp.226 :MenuItem;
%tmp.228 = "Exit";
%tmp.229 = null;
%tmp.230 = 1;
%tmp.231 = null;
%tmp.224 = newc %tmp.227 (%tmp.228, %tmp.229, %tmp.230, %tmp.231);
invoke %tmp.222 %tmp.223(%tmp.224);
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_6_26_32_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 34; @symbol_functiondef = [onKey,34,13,18]; @symbol_param<0> = [keyEvent,34,19,27]; @symbol_param<0>_type<0> = [WatchUi,34,31,38]; @symbol_param<0>_type<1> = [KeyEvent,34,39,47]; @symbol_return<0> = [Boolean,34,52,59]; ]
function onKey(keyEvent as WatchUi.KeyEvent) as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_68_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 35 8 ]
%tmp.1 = lgetv %keyEvent;
symbol [ keyEvent %tmp.1 35 15 23 ];
symbol [ getKey %tmp.2 35 24 30 ];
%tmp.2 = getv function %tmp.1 :getKey;
%tmp.3 = invoke %tmp.1 %tmp.2();
push %tmp.3;
switch %tmp.3 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 36 12 ]
%tmp.4 = dup %tmp.3;
symbol [ WatchUi %tmp.5 36 17 24 ];
%tmp.5 = getm $.Toybox.WatchUi;
symbol [ KEY_ENTER %tmp.6 36 25 34 ];
%tmp.6 = getv %tmp.5 :KEY_ENTER;
%tmp.7 = getv function %tmp.4 :equals;
%tmp.8 = invoke %tmp.4 %tmp.7 (%tmp.6);
bt %tmp.8 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_36_12_48_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 50 12 ]
%tmp.9 = dup %tmp.3;
symbol [ WatchUi %tmp.10 50 17 24 ];
%tmp.10 = getm $.Toybox.WatchUi;
symbol [ KEY_ESC %tmp.11 50 25 32 ];
%tmp.11 = getv %tmp.10 :KEY_ESC;
%tmp.12 = getv function %tmp.9 :equals;
%tmp.13 = invoke %tmp.9 %tmp.12 (%tmp.11);
bt %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_57_16_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 59 12 ]
%tmp.14 = dup %tmp.3;
symbol [ WatchUi %tmp.15 59 17 24 ];
%tmp.15 = getm $.Toybox.WatchUi;
symbol [ KEY_DOWN %tmp.16 59 25 33 ];
%tmp.16 = getv %tmp.15 :KEY_DOWN;
%tmp.17 = getv function %tmp.14 :equals;
%tmp.18 = invoke %tmp.14 %tmp.17 (%tmp.16);
bt %tmp.18 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_59_12_60_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 62 12 ]
%tmp.19 = dup %tmp.3;
symbol [ WatchUi %tmp.20 62 17 24 ];
%tmp.20 = getm $.Toybox.WatchUi;
symbol [ KEY_UP %tmp.21 62 25 31 ];
%tmp.21 = getv %tmp.20 :KEY_UP;
%tmp.22 = getv function %tmp.19 :equals;
%tmp.23 = invoke %tmp.19 %tmp.22 (%tmp.21);
bt %tmp.23 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_62_12_63_27_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 65 12 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_36_12_48_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 37 16 ]
symbol [ $ %tmp.24 37 23 24 ];
%tmp.24 = getm $;
symbol [ gMatch %tmp.25 37 25 31 ];
%tmp.25 = getv %tmp.24 :gMatch;
symbol [ state %tmp.26 37 32 37 ];
%tmp.26 = getv %tmp.25 :state;
push %tmp.26;
switch %tmp.26 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 38 20 ]
%tmp.27 = dup %tmp.26;
symbol [ PREGAME %tmp.29 38 25 32 ];
%tmp.29 = getv ? :PREGAME;
%tmp.30 = getv function %tmp.27 :equals;
%tmp.31 = invoke %tmp.27 %tmp.30 (%tmp.29);
bt %tmp.31 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_38_20_39_47_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 41 20 ]
%tmp.32 = dup %tmp.26;
symbol [ INGAME %tmp.34 41 25 31 ];
%tmp.34 = getv ? :INGAME;
%tmp.35 = getv function %tmp.32 :equals;
%tmp.36 = invoke %tmp.32 %tmp.35 (%tmp.34);
bt %tmp.36 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_41_20_43_29_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 45 20 ]
%tmp.37 = dup %tmp.26;
symbol [ POSTGAME %tmp.39 45 25 33 ];
%tmp.39 = getv ? :POSTGAME;
%tmp.40 = getv function %tmp.37 :equals;
%tmp.41 = invoke %tmp.37 %tmp.40 (%tmp.39);
bt %tmp.41 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_45_20_46_29_switchCase;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_38_20_39_47_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 39 24 ]
symbol [ $ %tmp.42 39 24 25 ];
%tmp.42 = getm $;
symbol [ gMatch %tmp.43 39 26 32 ];
%tmp.43 = getv %tmp.42 :gMatch;
symbol [ INGAME %tmp.45 39 41 47 ];
%tmp.45 = getv ? :INGAME;
symbol [ state ? 39 33 38 ];
putv %tmp.43 :state %tmp.45;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_41_20_43_29_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 42 24 ]
symbol [ $ %tmp.46 42 24 25 ];
%tmp.46 = getm $;
symbol [ gMatch %tmp.47 42 26 32 ];
%tmp.47 = getv %tmp.46 :gMatch;
symbol [ period %tmp.48 42 33 39 ];
%tmp.48 = getv %tmp.47 :period;
symbol [ playPause %tmp.49 42 40 49 ];
%tmp.49 = getv function %tmp.48 :playPause;
invoke %tmp.48 %tmp.49();
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 43 24 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_45_20_46_29_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 46 24 ]
goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_defaultCodeBegin:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_37_16_47_16_switchStmtEnd:
pop;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 48 16 ]
%tmp.50 = true;
ret %tmp.50;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_50_12_57_16_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 51 16 ]
symbol [ $ %tmp.51 51 23 24 ];
%tmp.51 = getm $;
symbol [ gMatch %tmp.52 51 25 31 ];
%tmp.52 = getv %tmp.51 :gMatch;
symbol [ state %tmp.53 51 32 37 ];
%tmp.53 = getv %tmp.52 :state;
push %tmp.53;
switch %tmp.53 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtEnd;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 52 20 ]
%tmp.54 = dup %tmp.53;
symbol [ POSTGAME %tmp.56 52 25 33 ];
%tmp.56 = getv ? :POSTGAME;
%tmp.57 = getv function %tmp.54 :equals;
%tmp.58 = invoke %tmp.54 %tmp.57 (%tmp.56);
bt %tmp.58 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_52_33_switchCase;
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 54 20 ]
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtDefault:
goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_defaultCodeBegin;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_52_20_52_33_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_54_20_56_35_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 55 24 ]
symbol [ WatchUi %tmp.59 55 24 31 ];
%tmp.59 = getm $.Toybox.WatchUi;
symbol [ pushView %tmp.60 55 32 40 ];
%tmp.60 = getv function %tmp.59 :pushView;
symbol [ $ %tmp.61 55 41 42 ];
%tmp.61 = getm $;
symbol [ gMenuActions %tmp.62 55 43 55 ];
%tmp.62 = getv %tmp.61 :gMenuActions;
symbol [ menuActionsDelegate %tmp.66 55 61 80 ];
%tmp.66 = getv ? :menuActionsDelegate;
%tmp.63 = newc %tmp.66 ();
symbol [ WatchUi %tmp.67 55 84 91 ];
%tmp.67 = getm $.Toybox.WatchUi;
symbol [ SLIDE_UP %tmp.68 55 92 100 ];
%tmp.68 = getv %tmp.67 :SLIDE_UP;
invoke %tmp.59 %tmp.60(%tmp.62, %tmp.63, %tmp.68);
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 56 24 ]
%tmp.69 = true;
ret %tmp.69;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_51_16_57_16_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_59_12_60_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 60 16 ]
%tmp.70 = true;
ret %tmp.70;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_62_12_63_27_switchCase:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 63 16 ]
%tmp.71 = true;
ret %tmp.71;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_65_12_66_28_switchCase:
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_defaultCodeBegin:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 66 16 ]
%tmp.72 = false;
ret %tmp.72;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_35_8_67_8_switchStmtEnd:
pop;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_34_60_68_4_stop:
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 70; @symbol_functiondef = [onMenu,70,13,19]; @symbol_return<0> = [Boolean,70,25,32]; ]
function onMenu() as Boolean {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_70_33_72_4_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc" 71 8 ]
%tmp.1 = false;
ret %tmp.1;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_appDelegate_mc_70_33_72_4_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/appDelegate.mc"; @line = 1; ]
<init> {
}