(script 993)

(string
    string_00fe "gamefile.sh"
)

(said
)

(local
)

// 00c4
(class gamefile.sh of Obj
    (properties
        handle $0
    )
    (method (open) // method_0004
  0004:8f 00              lsp paramTotal 
  0006:3c                 dup 
  0007:35 00              ldi 0 
  0009:1a                 eq? 
  000a:31 09              bnt code_0015 
  000c:7a               push2 
  000d:67 06             pTos name 
  000f:76               push0 
  0010:43 29 04         callk FOpen 4 

  0013:33 12              jmp code_0027 

        code_0015
  0015:3c                 dup 
  0016:35 01              ldi 1 
  0018:1a                 eq? 
  0019:31 0a              bnt code_0025 
  001b:7a               push2 
  001c:67 06             pTos name 
  001e:8f 01              lsp param1 
  0020:43 29 04         callk FOpen 4 

  0023:33 02              jmp code_0027 

        code_0025
  0025:35 00              ldi 0 

        code_0027
  0027:3a                toss 
  0028:65 08             aTop handle 
  002a:67 08             pTos handle 
  002c:35 ff              ldi ff 
  002e:1a                 eq? 
  002f:31 04              bnt code_0035 
  0031:35 00              ldi 0 
  0033:65 08             aTop handle 

        code_0035
  0035:63 08             pToa handle 
  0037:31 03              bnt code_003c 
  0039:5c              selfID 
  003a:33 02              jmp code_003e 

        code_003c
  003c:35 00              ldi 0 

        code_003e
  003e:48                 ret 
    )

    (method (write) // method_003f
  003f:3f 01             link 1 // (var $1)
  0041:63 08             pToa handle 
  0043:18                 not 
  0044:31 06              bnt code_004c 
  0046:38 0097          pushi 97 // $97 open
  0049:76               push0 
  004a:54 04             self 4 


        code_004c
  004c:63 08             pToa handle 
  004e:31 19              bnt code_0069 
  0050:35 00              ldi 0 
  0052:a5 00              sat temp0 

        code_0054
  0054:8d 00              lst temp0 
  0056:87 00              lap paramTotal 
  0058:22                 lt? 
  0059:31 0e              bnt code_0069 
  005b:7a               push2 
  005c:67 08             pTos handle 
  005e:85 00              lat temp0 
  0060:9f 01             lspi param1 
  0062:43 2a 04         callk FPuts 4 

  0065:c5 00              +at temp0 
  0067:33 eb              jmp code_0054 

        code_0069
  0069:48                 ret 
    )

    (method (read) // method_006a
  006a:8f 00              lsp paramTotal 
  006c:35 02              ldi 2 
  006e:1c                 ne? 
  006f:31 03              bnt code_0074 
  0071:35 00              ldi 0 
  0073:48                 ret 

        code_0074
  0074:63 08             pToa handle 
  0076:18                 not 
  0077:31 07              bnt code_0080 
  0079:38 0097          pushi 97 // $97 open
  007c:78               push1 
  007d:78               push1 
  007e:54 06             self 6 


        code_0080
  0080:63 08             pToa handle 
  0082:31 0d              bnt code_0091 
  0084:39 03            pushi 3 // $3 y
  0086:8f 01              lsp param1 
  0088:8f 02              lsp param2 
  008a:67 08             pTos handle 
  008c:43 2b 06         callk FGets 6 

  008f:33 02              jmp code_0093 

        code_0091
  0091:35 00              ldi 0 

        code_0093
  0093:48                 ret 
    )

    (method (close) // method_0094
  0094:63 08             pToa handle 
  0096:31 0a              bnt code_00a2 
  0098:78               push1 
  0099:67 08             pTos handle 
  009b:43 2c 02         callk FClose 2 

  009e:35 00              ldi 0 
  00a0:65 08             aTop handle 

        code_00a2
  00a2:48                 ret 
    )

    (method (dispose) // method_00a3
  00a3:38 00f3          pushi f3 // $f3 close
  00a6:76               push0 
  00a7:54 04             self 4 

  00a9:39 58            pushi 58 // $58 dispose
  00ab:76               push0 
  00ac:57 00 04         super Obj 4 

  00af:48                 ret 
    )

    (method (showStr) // method_00b0
  00b0:39 04            pushi 4 // $4 x
  00b2:8f 01              lsp param1 
  00b4:38 03e1          pushi 3e1 // $3e1 sel_993
  00b7:76               push0 
  00b8:67 06             pTos name 
  00ba:43 4c 08         callk Format 8 

  00bd:48                 ret 
    )

)



