home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacPlaymate
/
MacPlaymate.img
/
MacPlaymate™_MacPlaymate™.adf
/
24ss_lle_7z.rsrc_CODE_1.txt
< prev
next >
Wrap
Text File
|
1994-03-26
|
695KB
|
12,547 lines
# near model CODE resource
# jump table entries: 0-0 (1 of them)
fn00000000:
00000000 4E56 FFF0 link A6, -0x0010
00000004 206E 000C movea.l A0, [A6 + 0xC]
00000008 43EE FFF8 lea.l A1, [A6 - 0x8]
0000000C 22D8 move.l [A1]+, [A0]+
0000000E 22D8 move.l [A1]+, [A0]+
00000010 206E 0008 movea.l A0, [A6 + 0x8]
00000014 43EE FFF0 lea.l A1, [A6 - 0x10]
00000018 22D8 move.l [A1]+, [A0]+
0000001A 22D8 move.l [A1]+, [A0]+
0000001C 4267 clr.w -[A7]
0000001E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000022 486E FFF0 pea.l [A6 - 0x10]
00000026 A8AD syscall PtInRect
00000028 101F move.b D0, [A7]+
0000002A 6714 beq +0x16 /* 00000040 */
0000002C 2F00 move.l -[A7], D0
0000002E 4267 clr.w -[A7]
00000030 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000034 486E FFF0 pea.l [A6 - 0x10]
00000038 A8AD syscall PtInRect
0000003A 121F move.b D1, [A7]+
0000003C 201F move.l D0, [A7]+
0000003E C001 and.b D0, D1
label00000040:
00000040 1D40 0010 move.b [A6 + 0x10], D0
00000044 4E5E unlink A6
00000046 205F movea.l A0, [A7]+
00000048 504F addq.w A7, 8
0000004A 4ED0 jmp [A0]
0000004C D245 add.w D1, D5
0000004E 4354 chk.w D1, [A4]
00000050 494E chk.w D4, A6
00000052 5245 addq.w D5, 1
00000054 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000056-0000005A
fn00000056:
00000056 4E56 FFFC link A6, -0x0004
// end alternate branch 00000056-0000005A
fn00000056: // (misaligned)
00000058 FFFC .extension 0xFFC // unimplemented
0000005A 2F0C move.l -[A7], A4
0000005C 42A7 clr.l -[A7]
0000005E 2F3A 0032 move.l -[A7], [PC + 0x32 /* 00000092, value 0x464B4559 'FKEY' */]
00000062 3F3C 0004 move.w -[A7], 0x4
00000066 A9A0 syscall GetResource
00000068 285F movea.l A4, [A7]+
0000006A 2F0C move.l -[A7], A4
0000006C 4EBA 3174 jsr [PC + 0x3174 /* 000031E2 */]
00000070 2F14 move.l -[A7], [A4]
00000072 4EBA 7E62 jsr [PC + 0x7E62 /* 00007ED6 */]
00000076 2F0C move.l -[A7], A4
00000078 4EBA 3172 jsr [PC + 0x3172 /* 000031EC */]
0000007C 2F0C move.l -[A7], A4
0000007E 4EBA 3176 jsr [PC + 0x3176 /* 000031F6 */]
00000082 285F movea.l A4, [A7]+
00000084 4E5E unlink A6
00000086 4E75 rts
00000088 D052 add.w D0, [A2]
0000008A 494E chk.w D4, A6
0000008C 5453 addq.w [A3], 2
0000008E 4352 chk.w D1, [A2]
00000090 0004 464B ori.b D4, 0x4B /* 'K' */
00000094 4559 chk.w D2, [A1]+
fn00000096:
00000096 4E56 0000 link A6, 0
0000009A 206E 0008 movea.l A0, [A6 + 0x8]
0000009E 4A90 tst.l [A0]
000000A0 6710 beq +0x12 /* 000000B2 */
000000A2 206E 0008 movea.l A0, [A6 + 0x8]
000000A6 2F10 move.l -[A7], [A0]
000000A8 4EBA 310E jsr [PC + 0x310E /* 000031B8 */]
000000AC 206E 0008 movea.l A0, [A6 + 0x8]
000000B0 4290 clr.l [A0]
label000000B2:
000000B2 4E5E unlink A6
000000B4 2E9F move.l [A7], [A7]+
000000B6 4E75 rts
000000B8 D452 add.w D2, [A2]
000000BA 4153 chk.w D0, [A3]
000000BC 4848 pea.l A0
000000BE 444C neg.w A4
000000C0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000C2-000000C6
fn000000C2:
000000C2 4E56 FFFC link A6, -0x0004
// end alternate branch 000000C2-000000C6
fn000000C2: // (misaligned)
000000C4 FFFC .extension 0xFFC // unimplemented
000000C6 48E7 0300 movem.l -[A7], D6,D7
000000CA 206E 0008 movea.l A0, [A6 + 0x8]
000000CE 1010 move.b D0, [A0]
000000D0 0240 00FF andi.w D0, 0xFF
000000D4 3C00 move.w D6, D0
000000D6 4A46 tst.w D6
000000D8 6F00 00AA ble +0xAC /* 00000184 */
000000DC 206E 0008 movea.l A0, [A6 + 0x8]
000000E0 7001 moveq.l D0, 0x01
000000E2 1230 0000 move.b D1, [A0 + D0.w]
000000E6 0241 00FF andi.w D1, 0xFF
000000EA 0C41 0020 cmpi.w D1, 0x20 /* ' ' */
000000EE 6644 bne +0x46 /* 00000134 */
000000F0 7E01 moveq.l D7, 0x01
label000000F2:
000000F2 2007 move.l D0, D7
000000F4 5240 addq.w D0, 1
000000F6 BC40 cmp.w D6, D0
000000F8 5CC0 sge D0
000000FA 6D1E blt +0x20 /* 0000011A */
000000FC 206E 0008 movea.l A0, [A6 + 0x8]
00000100 2207 move.l D1, D7
00000102 5241 addq.w D1, 1
00000104 1430 1000 move.b D2, [A0 + D1.w]
00000108 0242 00FF andi.w D2, 0xFF
0000010C 0C42 0020 cmpi.w D2, 0x20 /* ' ' */
00000110 57C1 seq D1
00000112 C001 and.b D0, D1
00000114 6704 beq +0x6 /* 0000011A */
00000116 5247 addq.w D7, 1
00000118 60D8 bra -0x26 /* 000000F2 */
label0000011A:
0000011A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000011E 3F3C 0001 move.w -[A7], 0x1
00000122 3F07 move.w -[A7], D7
00000124 4EBA 3646 jsr [PC + 0x3646 /* 0000376C */]
00000128 206E 0008 movea.l A0, [A6 + 0x8]
0000012C 1010 move.b D0, [A0]
0000012E 0240 00FF andi.w D0, 0xFF
00000132 3C00 move.w D6, D0
label00000134:
00000134 206E 0008 movea.l A0, [A6 + 0x8]
00000138 1030 6000 move.b D0, [A0 + D6.w]
0000013C 0240 00FF andi.w D0, 0xFF
00000140 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000144 663E bne +0x40 /* 00000184 */
00000146 7E01 moveq.l D7, 0x01
label00000148:
00000148 2006 move.l D0, D6
0000014A 9047 sub.w D0, D7
0000014C 0C40 0001 cmpi.w D0, 0x1
00000150 5CC0 sge D0
00000152 6D1E blt +0x20 /* 00000172 */
00000154 206E 0008 movea.l A0, [A6 + 0x8]
00000158 2206 move.l D1, D6
0000015A 9247 sub.w D1, D7
0000015C 1430 1000 move.b D2, [A0 + D1.w]
00000160 0242 00FF andi.w D2, 0xFF
00000164 0C42 0020 cmpi.w D2, 0x20 /* ' ' */
00000168 57C1 seq D1
0000016A C001 and.b D0, D1
0000016C 6704 beq +0x6 /* 00000172 */
0000016E 5247 addq.w D7, 1
00000170 60D6 bra -0x28 /* 00000148 */
label00000172:
00000172 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000176 2006 move.l D0, D6
00000178 9047 sub.w D0, D7
0000017A 5240 addq.w D0, 1
0000017C 3F00 move.w -[A7], D0
0000017E 3F07 move.w -[A7], D7
00000180 4EBA 35EA jsr [PC + 0x35EA /* 0000376C */]
label00000184:
00000184 4CDF 00C0 movem.l D6,D7, [A7]+
00000188 4E5E unlink A6
0000018A 2E9F move.l [A7], [A7]+
0000018C 4E75 rts
0000018E D354 add.w [A4], D1
00000190 5249 addq.w A1, 1
00000192 5042 addq.w D2, 8
00000194 4C41 0000 movem.l <none>, D1
fn00000198:
00000198 4E56 0000 link A6, 0
0000019C 4E5E unlink A6
0000019E 4E75 rts
000001A0 C143 exg D0, D3
000001A2 5445 addq.w D5, 2
000001A4 5850 addq.w [A0], 4
000001A6 2020 move.l D0, -[A0]
000001A8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000001AA-000001B2
fn000001AA:
000001AA 4E56 0000 link A6, 0
000001AE 2F2D FF58 move.l -[A7], [A5 - 0xA8]
// end alternate branch 000001AA-000001B2
fn000001AA: // (misaligned)
000001AC 0000 2F2D ori.b D0, 0x2D /* '-' */
000001B0 FF58 .extension 0xF58 // unimplemented
000001B2 A922 syscall BeginUpdate
000001B4 102D EFC1 move.b D0, [A5 - 0x103F]
000001B8 6718 beq +0x1A /* 000001D2 */
000001BA 2F00 move.l -[A7], D0
000001BC 4267 clr.w -[A7]
000001BE 4EBA 7CF6 jsr [PC + 0x7CF6 /* 00007EB6 */]
000001C2 321F move.w D1, [A7]+
000001C4 201F move.l D0, [A7]+
000001C6 4A41 tst.w D1
000001C8 56C1 sne D1
000001CA C001 and.b D0, D1
000001CC 6704 beq +0x6 /* 000001D2 */
000001CE 4EBA 71C4 jsr [PC + 0x71C4 /* 00007394 */]
label000001D2:
000001D2 2F2D FF58 move.l -[A7], [A5 - 0xA8]
000001D6 A923 syscall EndUpdate
000001D8 4E5E unlink A6
000001DA 4E75 rts
000001DC D550 add.w [A0], D2
000001DE 4445 neg.w D5
000001E0 5850 addq.w [A0], 4
000001E2 2020 move.l D0, -[A0]
000001E4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000001E6-000001EA
fn000001E6:
000001E6 4E56 FEB0 link A6, -0x0150
// end alternate branch 000001E6-000001EA
fn000001E6: // (misaligned)
000001E8 FEB0 .extension 0xEB0 // unimplemented
000001EA 41EE FF00 lea.l A0, [A6 - 0x100]
000001EE 2D48 FEC2 move.l [A6 - 0x13E], A0
000001F2 3D6E 0010 FECC move.w [A6 - 0x134], [A6 + 0x10]
000001F8 4267 clr.w -[A7]
000001FA 41EE FEB0 lea.l A0, [A6 - 0x150]
000001FE 2F08 move.l -[A7], A0
00000200 4267 clr.w -[A7]
00000202 4EBA 304A jsr [PC + 0x304A /* 0000324E */]
00000206 3D5F 0012 move.w [A6 + 0x12], [A7]+
0000020A 206E 0008 movea.l A0, [A6 + 0x8]
0000020E 30AE FEC6 move.w [A0], [A6 - 0x13A]
00000212 206E 000C movea.l A0, [A6 + 0xC]
00000216 43EE FF00 lea.l A1, [A6 - 0x100]
0000021A 7040 moveq.l D0, 0x40
label0000021C:
0000021C 20D9 move.l [A0]+, [A1]+
0000021E 5340 subq.w D0, 1
00000220 6EFA bgt -0x4 /* 0000021C */
00000222 4E5E unlink A6
00000224 205F movea.l A0, [A7]+
00000226 DEFC 000A add.w A7, 0xA /* '\n' */
0000022A 4ED0 jmp [A0]
0000022C D649 add.w D3, A1
0000022E 4745 chk.w D3, D5
00000230 5456 addq.w [A6], 2
00000232 494E chk.w D4, A6
00000234 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000236-0000023A
fn00000236:
00000236 4E56 FDF8 link A6, -0x0208
// end alternate branch 00000236-0000023A
fn00000236: // (misaligned)
00000238 FDF8 .extension 0xDF8 // unimplemented
0000023A 48E7 0300 movem.l -[A7], D6,D7
0000023E 206E 0010 movea.l A0, [A6 + 0x10]
00000242 43EE FF00 lea.l A1, [A6 - 0x100]
00000246 7040 moveq.l D0, 0x40
label00000248:
00000248 22D8 move.l [A1]+, [A0]+
0000024A 5340 subq.w D0, 1
0000024C 6EFA bgt -0x4 /* 00000248 */
0000024E 486E FF00 pea.l [A6 - 0x100]
00000252 487A 0114 pea.l [PC + 0x114 /* 00000368, value 0x4E56 'NV' */]
00000256 4EBA 36A0 jsr [PC + 0x36A0 /* 000038F8 */]
0000025A 101F move.b D0, [A7]+
0000025C 6700 00D6 beq +0xD8 /* 00000334 */
00000260 206E 0008 movea.l A0, [A6 + 0x8]
00000264 30AD ECC6 move.w [A0], [A5 - 0x133A]
00000268 4267 clr.w -[A7]
0000026A 486E FF00 pea.l [A6 - 0x100]
0000026E 206E 0008 movea.l A0, [A6 + 0x8]
00000272 3F10 move.w -[A7], [A0]
00000274 2F2E 000C move.l -[A7], [A6 + 0xC]
00000278 4EBA 2FE6 jsr [PC + 0x2FE6 /* 00003260 */]
0000027C 3E1F move.w D7, [A7]+
0000027E 4A47 tst.w D7
00000280 6700 00BC beq +0xBE /* 0000033E */
00000284 4267 clr.w -[A7]
00000286 3F3C 0001 move.w -[A7], 0x1
0000028A 41EE FDFE lea.l A0, [A6 - 0x202]
0000028E 2F08 move.l -[A7], A0
00000290 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000294 486E FDF8 pea.l [A6 - 0x208]
00000298 4EBA 3068 jsr [PC + 0x3068 /* 00003302 */]
0000029C 3E1F move.w D7, [A7]+
0000029E 4A47 tst.w D7
000002A0 661C bne +0x1E /* 000002BE */
000002A2 4267 clr.w -[A7]
000002A4 486E FF00 pea.l [A6 - 0x100]
000002A8 206E 0008 movea.l A0, [A6 + 0x8]
000002AC 3F10 move.w -[A7], [A0]
000002AE 2F2E 000C move.l -[A7], [A6 + 0xC]
000002B2 4EBA 2FAC jsr [PC + 0x2FAC /* 00003260 */]
000002B6 3E1F move.w D7, [A7]+
000002B8 4A47 tst.w D7
000002BA 6700 0082 beq +0x84 /* 0000033E */
label000002BE:
000002BE 4267 clr.w -[A7]
000002C0 3F3C 0002 move.w -[A7], 0x2
000002C4 41EE FDFE lea.l A0, [A6 - 0x202]
000002C8 2F08 move.l -[A7], A0
000002CA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000002CE 486E FDF8 pea.l [A6 - 0x208]
000002D2 4EBA 302E jsr [PC + 0x302E /* 00003302 */]
000002D6 3E1F move.w D7, [A7]+
000002D8 4A47 tst.w D7
000002DA 661A bne +0x1C /* 000002F6 */
000002DC 4267 clr.w -[A7]
000002DE 486E FF00 pea.l [A6 - 0x100]
000002E2 206E 0008 movea.l A0, [A6 + 0x8]
000002E6 3F10 move.w -[A7], [A0]
000002E8 2F2E 000C move.l -[A7], [A6 + 0xC]
000002EC 4EBA 2F72 jsr [PC + 0x2F72 /* 00003260 */]
000002F0 3E1F move.w D7, [A7]+
000002F2 4A47 tst.w D7
000002F4 6748 beq +0x4A /* 0000033E */
label000002F6:
000002F6 7C01 moveq.l D6, 0x01
000002F8 6034 bra +0x36 /* 0000032E */
label000002FA:
000002FA 4267 clr.w -[A7]
000002FC 3F06 move.w -[A7], D6
000002FE 41EE FDFE lea.l A0, [A6 - 0x202]
00000302 2F08 move.l -[A7], A0
00000304 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000308 4EBA FEDC jsr [PC - 0x124 /* 000001E6 */]
0000030C 3E1F move.w D7, [A7]+
0000030E 4A47 tst.w D7
00000310 661A bne +0x1C /* 0000032C */
00000312 4267 clr.w -[A7]
00000314 486E FF00 pea.l [A6 - 0x100]
00000318 206E 0008 movea.l A0, [A6 + 0x8]
0000031C 3F10 move.w -[A7], [A0]
0000031E 2F2E 000C move.l -[A7], [A6 + 0xC]
00000322 4EBA 2F3C jsr [PC + 0x2F3C /* 00003260 */]
00000326 3E1F move.w D7, [A7]+
00000328 4A47 tst.w D7
0000032A 6712 beq +0x14 /* 0000033E */
label0000032C:
0000032C 5246 addq.w D6, 1
label0000032E:
0000032E 0C46 0010 cmpi.w D6, 0x10
00000332 6FC6 ble -0x38 /* 000002FA */
label00000334:
00000334 206E 0008 movea.l A0, [A6 + 0x8]
00000338 4250 clr.w [A0]
0000033A 7EFF moveq.l D7, 0xFFFFFFFF
0000033C 600E bra +0x10 /* 0000034C */
label0000033E:
0000033E 4267 clr.w -[A7]
00000340 206E 000C movea.l A0, [A6 + 0xC]
00000344 3F10 move.w -[A7], [A0]
00000346 4EBA 2F52 jsr [PC + 0x2F52 /* 0000329A */]
0000034A 3E1F move.w D7, [A7]+
label0000034C:
0000034C 3D47 0014 move.w [A6 + 0x14], D7
00000350 4CDF 00C0 movem.l D6,D7, [A7]+
00000354 4E5E unlink A6
00000356 205F movea.l A0, [A7]+
00000358 DEFC 000C add.w A7, 0xC
0000035C 4ED0 jmp [A0]
0000035E C649 and.w D3, A1
00000360 4E44 trap 4
00000362 4146 chk.w D0, D6
00000364 494C chk.w D4, A4
00000366 0002 0000 ori.b D2, 0x0
fn0000036A:
0000036A 4E56 FFF8 link A6, -0x0008
0000036E 2F07 move.l -[A7], D7
00000370 4267 clr.w -[A7]
00000372 486D EB36 pea.l [A5 - 0x14CA]
00000376 486E FFFE pea.l [A6 - 0x2]
0000037A 486E FFFA pea.l [A6 - 0x6]
0000037E 4EBA FEB6 jsr [PC - 0x14A /* 00000236 */]
00000382 3E1F move.w D7, [A7]+
00000384 4A47 tst.w D7
00000386 661C bne +0x1E /* 000003A4 */
00000388 4267 clr.w -[A7]
0000038A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000038E 4EBA 2F0A jsr [PC + 0x2F0A /* 0000329A */]
00000392 3E1F move.w D7, [A7]+
00000394 4267 clr.w -[A7]
00000396 486D EB36 pea.l [A5 - 0x14CA]
0000039A 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000039E 4EBA 3092 jsr [PC + 0x3092 /* 00003432 */]
000003A2 3E1F move.w D7, [A7]+
label000003A4:
000003A4 102D EFC1 move.b D0, [A5 - 0x103F]
000003A8 6704 beq +0x6 /* 000003AE */
000003AA 4EBA 79EA jsr [PC + 0x79EA /* 00007D96 */]
label000003AE:
000003AE 422D EFC1 clr.b [A5 - 0x103F]
000003B2 4267 clr.w -[A7]
000003B4 487A 005E pea.l [PC + 0x5E /* 00000414, value 0x646696E, pstring "Finder" */]
000003B8 486E FFF8 pea.l [A6 - 0x8]
000003BC 486E FFFA pea.l [A6 - 0x6]
000003C0 4EBA FE74 jsr [PC - 0x18C /* 00000236 */]
000003C4 3E1F move.w D7, [A7]+
000003C6 4A47 tst.w D7
000003C8 6728 beq +0x2A /* 000003F2 */
000003CA 4267 clr.w -[A7]
000003CC 487A 003A pea.l [PC + 0x3A /* 00000408, value 0xA4D696E '\nMin', pstring "MiniFinder" */]
000003D0 486E FFF8 pea.l [A6 - 0x8]
000003D4 486E FFFA pea.l [A6 - 0x6]
000003D8 4EBA FE5C jsr [PC - 0x1A4 /* 00000236 */]
000003DC 3E1F move.w D7, [A7]+
000003DE 4A47 tst.w D7
000003E0 6710 beq +0x12 /* 000003F2 */
000003E2 4267 clr.w -[A7]
000003E4 42A7 clr.l -[A7]
000003E6 4267 clr.w -[A7]
000003E8 4EBA 2FE2 jsr [PC + 0x2FE2 /* 000033CC */]
000003EC 3E1F move.w D7, [A7]+
000003EE 4EBA 3636 jsr [PC + 0x3636 /* 00003A26 */]
label000003F2:
000003F2 4EBA 36CC jsr [PC + 0x36CC /* 00003AC0 */]
000003F6 A9F4 syscall ExitToShell
000003F8 2E1F move.l D7, [A7]+
000003FA 4E5E unlink A6
000003FC 4E75 rts
000003FE C34C exg A1, A4
00000400 4F53 chk.w D7, [A3]
00000402 4544 chk.w D2, D4
00000404 4F57 chk.w D7, [A7]
00000406 0014 0A4D ori.b [A4], 0x4D /* 'M' */
0000040A 696E bvs +0x70 /* 0000047A */
0000040C 6946 bvs +0x48 /* 00000454 */
0000040E 696E bvs +0x70 /* 0000047E */
00000410 6465 bcc +0x67 /* 00000477 */
00000412 7200 moveq.l D1, 0x00
00000414 0646 696E addi.w D6, 0x696E /* 'in' */
00000418 6465 bcc +0x67 /* 0000047F */
0000041A 7200 moveq.l D1, 0x00
fn0000041C:
0000041C 4E56 FFE4 link A6, -0x001C
00000420 48E7 0018 movem.l -[A7], A3,A4
00000424 486E FFF8 pea.l [A6 - 0x8]
00000428 A874 syscall GetPort
0000042A 287C 0000 09DE movea.l A4, 0x9DE
00000430 2654 movea.l A3, [A4]
00000432 2F0B move.l -[A7], A3
00000434 A873 syscall SetPort
00000436 102D EFDE move.b D0, [A5 - 0x1022]
0000043A 670E beq +0x10 /* 0000044A */
0000043C 41EE FFE8 lea.l A0, [A6 - 0x18]
00000440 43ED E53A lea.l A1, [A5 - 0x1AC6]
00000444 20D9 move.l [A0]+, [A1]+
00000446 20D9 move.l [A0]+, [A1]+
00000448 600C bra +0xE /* 00000456 */
label0000044A:
0000044A 41EE FFE8 lea.l A0, [A6 - 0x18]
0000044E 43ED E542 lea.l A1, [A5 - 0x1ABE]
00000452 20D9 move.l [A0]+, [A1]+
label00000454:
00000454 20D9 move.l [A0]+, [A1]+
label00000456:
00000456 486E FFF0 pea.l [A6 - 0x10]
0000045A 4267 clr.w -[A7]
0000045C 4267 clr.w -[A7]
0000045E 3F3C 0400 move.w -[A7], 0x400
00000462 3F3C 0014 move.w -[A7], 0x14
00000466 A8A7 syscall SetRect
00000468 486E FFF0 pea.l [A6 - 0x10]
0000046C 486E FFE8 pea.l [A6 - 0x18]
00000470 A8A5 syscall FillRect
00000472 2F2D FF54 move.l -[A7], [A5 - 0xAC]
00000476 A873 syscall SetPort
00000478 486E FFF0 pea.l [A6 - 0x10]
// begin alternate branch 0000047A-0000047C
label0000047A:
0000047A FFF0 .extension 0xFF0 // unimplemented
// end alternate branch 0000047A-0000047C
label0000047A: // (misaligned)
0000047C A928 syscall InvalRect
label0000047E:
0000047E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000482 A873 syscall SetPort
00000484 A856 syscall ObscureCursor
00000486 4CDF 1800 movem.l A3,A4, [A7]+
0000048A 4E5E unlink A6
0000048C 4E75 rts
0000048E D34D addx.w -[A1], -[A5]
00000490 4153 chk.w D0, [A3]
00000492 484D pea.l A5
00000494 454E chk.w D2, A6
00000496 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000498-000004A0
fn00000498:
00000498 4E56 0000 link A6, 0
0000049C 486D EF78 pea.l [A5 - 0x1088]
// end alternate branch 00000498-000004A0
fn00000498: // (misaligned)
0000049A 0000 486D ori.b D0, 0x6D /* 'm' */
0000049E EF78 rol D0.w, D7
000004A0 A851 syscall SetCursor
000004A2 4E5E unlink A6
000004A4 4E75 rts
000004A6 D348 addx.w -[A1], -[A0]
000004A8 4F57 chk.w D7, [A7]
000004AA 5741 subq.w D1, 3
000004AC 5443 addq.w D3, 2
000004AE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004B0-000004B8
fn000004B0:
000004B0 4E56 0000 link A6, 0
000004B4 486D E4DE pea.l [A5 - 0x1B22]
// end alternate branch 000004B0-000004B8
fn000004B0: // (misaligned)
000004B2 0000 486D ori.b D0, 0x6D /* 'm' */
000004B6 E4DE roxr .w [A6]+
000004B8 A851 syscall SetCursor
000004BA 4E5E unlink A6
000004BC 4E75 rts
000004BE D348 addx.w -[A1], -[A0]
000004C0 4F57 chk.w D7, [A7]
000004C2 4152 chk.w D0, [A2]
000004C4 524F addq.w A7, 1
000004C6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004C8-000004CC
fn000004C8:
000004C8 4E56 FBF6 link A6, -0x040A
// end alternate branch 000004C8-000004CC
fn000004C8: // (misaligned)
000004CA FBF6 .extension 0xBF6 // unimplemented
000004CC 48E7 0300 movem.l -[A7], D6,D7
000004D0 7C01 moveq.l D6, 0x01
000004D2 206D EFBC movea.l A0, [A5 - 0x1044]
000004D6 2050 movea.l A0, [A0]
000004D8 3D68 005E FCF6 move.w [A6 - 0x30A], [A0 + 0x5E]
000004DE 7E01 moveq.l D7, 0x01
000004E0 6000 0090 bra +0x92 /* 00000572 */
label000004E4:
000004E4 0C46 0010 cmpi.w D6, 0x10
000004E8 6E00 00A6 bgt +0xA8 /* 00000590 */
000004EC 486E FBF6 pea.l [A6 - 0x40A]
000004F0 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000004F4 2007 move.l D0, D7
000004F6 5340 subq.w D0, 1
000004F8 3F00 move.w -[A7], D0
000004FA 4EBA 78DA jsr [PC + 0x78DA /* 00007DD6 */]
000004FE 205F movea.l A0, [A7]+
00000500 43EE FEF8 lea.l A1, [A6 - 0x108]
00000504 7040 moveq.l D0, 0x40
label00000506:
00000506 22D8 move.l [A1]+, [A0]+
00000508 5340 subq.w D0, 1
0000050A 6EFA bgt -0x4 /* 00000506 */
0000050C 486E FEF8 pea.l [A6 - 0x108]
00000510 4267 clr.w -[A7]
00000512 4EBA 2D22 jsr [PC + 0x2D22 /* 00003236 */]
00000516 487A 009A pea.l [PC + 0x9A /* 000005B2, value 0xD555345 '\rUSE', pstring "USER MENUBAR:" */]
0000051A 486E FEF8 pea.l [A6 - 0x108]
0000051E 3F3C 0001 move.w -[A7], 0x1
00000522 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000526 486E FDF8 pea.l [A6 - 0x208]
0000052A 4EBA 31DC jsr [PC + 0x31DC /* 00003708 */]
0000052E 486E FDF8 pea.l [A6 - 0x208]
00000532 4EBA 33CC jsr [PC + 0x33CC /* 00003900 */]
00000536 101F move.b D0, [A7]+
00000538 6702 beq +0x4 /* 0000053C */
0000053A 603E bra +0x40 /* 0000057A */
label0000053C:
0000053C 487A 006E pea.l [PC + 0x6E /* 000005AC, value 0x54D454E, pstring "MENU:" */]
00000540 486E FEF8 pea.l [A6 - 0x108]
00000544 3F3C 0001 move.w -[A7], 0x1
00000548 3F3C 0005 move.w -[A7], 0x5
0000054C 486E FCF8 pea.l [A6 - 0x308]
00000550 4EBA 31B6 jsr [PC + 0x31B6 /* 00003708 */]
00000554 486E FCF8 pea.l [A6 - 0x308]
00000558 4EBA 33A6 jsr [PC + 0x33A6 /* 00003900 */]
0000055C 101F move.b D0, [A7]+
0000055E 670E beq +0x10 /* 0000056E */
00000560 2006 move.l D0, D6
00000562 E340 asl D0.w, 1
00000564 41ED ECA0 lea.l A0, [A5 - 0x1360]
00000568 3187 0000 move.w [A0 + D0.w], D7
0000056C 5246 addq.w D6, 1
label0000056E:
0000056E 5247 addq.w D7, 1
00000570 6908 bvs +0xA /* 0000057A */
label00000572:
00000572 BE6E FCF6 cmp.w D7, [A6 - 0x30A]
00000576 6F00 FF6C ble -0x92 /* 000004E4 */
label0000057A:
0000057A 2006 move.l D0, D6
0000057C 5340 subq.w D0, 1
0000057E 3B40 ECC2 move.w [A5 - 0x133E], D0
00000582 2006 move.l D0, D6
00000584 E340 asl D0.w, 1
00000586 41ED ECA0 lea.l A0, [A5 - 0x1360]
0000058A 3187 0000 move.w [A0 + D0.w], D7
0000058E 6006 bra +0x8 /* 00000596 */
label00000590:
00000590 3B7C 000F ECC2 move.w [A5 - 0x133E], 0xF
label00000596:
00000596 3B47 E87A move.w [A5 - 0x1786], D7
0000059A 4CDF 00C0 movem.l D6,D7, [A7]+
0000059E 4E5E unlink A6
000005A0 4E75 rts
000005A2 C341 exg D1, D1
000005A4 4C4D 454E movem.l D1,D2,D3,D6,A0,A2,A6, A5
000005A8 554C subq.w A4, 2
000005AA 0014 054D ori.b [A4], 0x4D /* 'M' */
000005AE 454E chk.w D2, A6
000005B0 553A 0D55 subq.b [PC + 0xD55 /* 00001307, value 0x6A 'j' */], 2
000005B4 5345 subq.w D5, 1
000005B6 5220 addq.b -[A0], 1
000005B8 4D45 chk.w D6, D5
000005BA 4E55 4241 link A5, -0xFFFFBDBF
000005BE 523A 4E56 addq.b [PC + 0x4E56 /* 00005416, value 0x48 'H' */], 1
// begin alternate branch 000005C0-000005C4
fn000005C0:
000005C0 4E56 F9F6 link A6, -0x060A
// end alternate branch 000005C0-000005C4
fn000005C0: // (misaligned)
000005C2 F9F6 .extension 0x9F6 // unimplemented
000005C4 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000005C8 206E 0008 movea.l A0, [A6 + 0x8]
000005CC 43EE FF00 lea.l A1, [A6 - 0x100]
000005D0 7040 moveq.l D0, 0x40
label000005D2:
000005D2 22D8 move.l [A1]+, [A0]+
000005D4 5340 subq.w D0, 1
000005D6 6EFA bgt -0x4 /* 000005D2 */
000005D8 422E 000C clr.b [A6 + 0xC]
000005DC 3E2D E87A move.w D7, [A5 - 0x1786]
label000005E0:
000005E0 206D EFBC movea.l A0, [A5 - 0x1044]
000005E4 2050 movea.l A0, [A0]
000005E6 BE68 005E cmp.w D7, [A0 + 0x5E]
000005EA 6C7C bge +0x7E /* 00000668 */
000005EC 486E F9F8 pea.l [A6 - 0x608]
000005F0 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000005F4 2007 move.l D0, D7
000005F6 5340 subq.w D0, 1
000005F8 3F00 move.w -[A7], D0
000005FA 4EBA 77DA jsr [PC + 0x77DA /* 00007DD6 */]
000005FE 205F movea.l A0, [A7]+
00000600 43EE FDF8 lea.l A1, [A6 - 0x208]
00000604 7040 moveq.l D0, 0x40
label00000606:
00000606 22D8 move.l [A1]+, [A0]+
00000608 5340 subq.w D0, 1
0000060A 6EFA bgt -0x4 /* 00000606 */
0000060C 486E FDF8 pea.l [A6 - 0x208]
00000610 4267 clr.w -[A7]
00000612 4EBA 2C22 jsr [PC + 0x2C22 /* 00003236 */]
00000616 5247 addq.w D7, 1
00000618 486E FDF8 pea.l [A6 - 0x208]
0000061C 3F3C 0001 move.w -[A7], 0x1
00000620 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000624 486E FCF8 pea.l [A6 - 0x308]
00000628 4EBA 30DE jsr [PC + 0x30DE /* 00003708 */]
0000062C 486E FCF8 pea.l [A6 - 0x308]
00000630 487A 0158 pea.l [PC + 0x158 /* 0000078A, value 0xD555345 '\rUSE', pstring "USER MENUBAR:" */]
00000634 4EBA 32CA jsr [PC + 0x32CA /* 00003900 */]
00000638 101F move.b D0, [A7]+
0000063A 6728 beq +0x2A /* 00000664 */
0000063C 486E FDF8 pea.l [A6 - 0x208]
00000640 3F3C 0001 move.w -[A7], 0x1
00000644 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000648 4EBA 3122 jsr [PC + 0x3122 /* 0000376C */]
0000064C 486E FDF8 pea.l [A6 - 0x208]
00000650 4EBA FA70 jsr [PC - 0x590 /* 000000C2 */]
00000654 486E FDF8 pea.l [A6 - 0x208]
00000658 486E FF00 pea.l [A6 - 0x100]
0000065C 4EBA 32A2 jsr [PC + 0x32A2 /* 00003900 */]
00000660 101F move.b D0, [A7]+
00000662 6608 bne +0xA /* 0000066C */
label00000664:
00000664 6000 FF7A bra -0x84 /* 000005E0 */
label00000668:
00000668 6000 010C bra +0x10E /* 00000776 */
label0000066C:
0000066C 3807 move.w D4, D7
0000066E 7E01 moveq.l D7, 0x01
00000670 6022 bra +0x24 /* 00000694 */
label00000672:
00000672 4246 clr.w D6
00000674 6016 bra +0x18 /* 0000068C */
label00000676:
00000676 2007 move.l D0, D7
00000678 C1FC 002A muls.w D0, 0x2A /* '*' */
0000067C 2206 move.l D1, D6
0000067E E341 asl D1.w, 1
00000680 D041 add.w D0, D1
00000682 41ED E894 lea.l A0, [A5 - 0x176C]
00000686 4270 0000 clr.w [A0 + D0.w]
0000068A 5246 addq.w D6, 1
label0000068C:
0000068C 0C46 0014 cmpi.w D6, 0x14
00000690 6FE4 ble -0x1A /* 00000676 */
00000692 5247 addq.w D7, 1
label00000694:
00000694 0C47 000C cmpi.w D7, 0xC
00000698 6FD8 ble -0x26 /* 00000672 */
0000069A 4246 clr.w D6
0000069C 206D EFBC movea.l A0, [A5 - 0x1044]
000006A0 2050 movea.l A0, [A0]
000006A2 3D68 005E F9F6 move.w [A6 - 0x60A], [A0 + 0x5E]
000006A8 3E04 move.w D7, D4
000006AA 6000 00B8 bra +0xBA /* 00000764 */
label000006AE:
000006AE 486E F9F8 pea.l [A6 - 0x608]
000006B2 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000006B6 2007 move.l D0, D7
000006B8 5340 subq.w D0, 1
000006BA 3F00 move.w -[A7], D0
000006BC 4EBA 7718 jsr [PC + 0x7718 /* 00007DD6 */]
000006C0 205F movea.l A0, [A7]+
000006C2 43EE FDF8 lea.l A1, [A6 - 0x208]
000006C6 7040 moveq.l D0, 0x40
label000006C8:
000006C8 22D8 move.l [A1]+, [A0]+
000006CA 5340 subq.w D0, 1
000006CC 6EFA bgt -0x4 /* 000006C8 */
000006CE 486E FDF8 pea.l [A6 - 0x208]
000006D2 4267 clr.w -[A7]
000006D4 4EBA 2B60 jsr [PC + 0x2B60 /* 00003236 */]
000006D8 487A 00BE pea.l [PC + 0xBE /* 00000798, value 0x9555345 '\tUSE', pstring "USER MENU" */]
000006DC 486E FDF8 pea.l [A6 - 0x208]
000006E0 3F3C 0001 move.w -[A7], 0x1
000006E4 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000006E8 486E FBF8 pea.l [A6 - 0x408]
000006EC 4EBA 301A jsr [PC + 0x301A /* 00003708 */]
000006F0 486E FBF8 pea.l [A6 - 0x408]
000006F4 4EBA 320A jsr [PC + 0x320A /* 00003900 */]
000006F8 101F move.b D0, [A7]+
000006FA 673E beq +0x40 /* 0000073A */
000006FC 700A moveq.l D0, 0x0A
000006FE 41EE FDF8 lea.l A0, [A6 - 0x208]
00000702 1230 0000 move.b D1, [A0 + D0.w]
00000706 0241 00FF andi.w D1, 0xFF
0000070A 0C41 003A cmpi.w D1, 0x3A /* ':' */
0000070E 6606 bne +0x8 /* 00000716 */
00000710 5246 addq.w D6, 1
00000712 4245 clr.w D5
00000714 6024 bra +0x26 /* 0000073A */
label00000716:
00000716 487A 0072 pea.l [PC + 0x72 /* 0000078A, value 0xD555345 '\rUSE', pstring "USER MENUBAR:" */]
0000071A 486E FDF8 pea.l [A6 - 0x208]
0000071E 3F3C 0001 move.w -[A7], 0x1
00000722 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000726 486E FAF8 pea.l [A6 - 0x508]
0000072A 4EBA 2FDC jsr [PC + 0x2FDC /* 00003708 */]
0000072E 486E FAF8 pea.l [A6 - 0x508]
00000732 4EBA 31CC jsr [PC + 0x31CC /* 00003900 */]
00000736 101F move.b D0, [A7]+
00000738 6632 bne +0x34 /* 0000076C */
label0000073A:
0000073A 4A46 tst.w D6
0000073C 5EC0 sgt D0
0000073E 6F20 ble +0x22 /* 00000760 */
00000740 0C45 0014 cmpi.w D5, 0x14
00000744 5FC1 sle D1
00000746 C001 and.b D0, D1
00000748 6716 beq +0x18 /* 00000760 */
0000074A 2006 move.l D0, D6
0000074C C1FC 002A muls.w D0, 0x2A /* '*' */
00000750 2205 move.l D1, D5
00000752 E341 asl D1.w, 1
00000754 D041 add.w D0, D1
00000756 41ED E894 lea.l A0, [A5 - 0x176C]
0000075A 3187 0000 move.w [A0 + D0.w], D7
0000075E 5245 addq.w D5, 1
label00000760:
00000760 5247 addq.w D7, 1
00000762 6908 bvs +0xA /* 0000076C */
label00000764:
00000764 BE6E F9F6 cmp.w D7, [A6 - 0x60A]
00000768 6F00 FF44 ble -0xBA /* 000006AE */
label0000076C:
0000076C 4A46 tst.w D6
0000076E 6F06 ble +0x8 /* 00000776 */
00000770 1D7C 0001 000C move.b [A6 + 0xC], 0x1
label00000776:
00000776 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
0000077A 4E5E unlink A6
0000077C 2E9F move.l [A7], [A7]+
0000077E 4E75 rts
00000780 C341 exg D1, D1
00000782 4C55 5345 movem.l D0,D2,D6,A0,A1,A4,A6, [A5]
00000786 524C addq.w A4, 1
00000788 0018 0D55 ori.b [A0]+, 0x55 /* 'U' */
0000078C 5345 subq.w D5, 1
0000078E 5220 addq.b -[A0], 1
00000790 4D45 chk.w D6, D5
00000792 4E55 4241 link A5, -0xFFFFBDBF
00000796 523A 0955 addq.b [PC + 0x955 /* 000010ED, value 0x6 */], 1
0000079A 5345 subq.w D5, 1
0000079C 5220 addq.b -[A0], 1
0000079E 4D45 chk.w D6, D5
000007A0 4E55 4E56 link A5, -0xFFFFB1AA
// begin alternate branch 000007A2-000007A6
fn000007A2:
000007A2 4E56 FBFE link A6, -0x0402
// end alternate branch 000007A2-000007A6
fn000007A2: // (misaligned)
000007A4 FBFE .extension 0xBFE // unimplemented
000007A6 2F07 move.l -[A7], D7
000007A8 206E 000E movea.l A0, [A6 + 0xE]
000007AC 43EE FF00 lea.l A1, [A6 - 0x100]
000007B0 7040 moveq.l D0, 0x40
label000007B2:
000007B2 22D8 move.l [A1]+, [A0]+
000007B4 5340 subq.w D0, 1
000007B6 6EFA bgt -0x4 /* 000007B2 */
000007B8 206E 000A movea.l A0, [A6 + 0xA]
000007BC 43EE FE00 lea.l A1, [A6 - 0x200]
000007C0 7040 moveq.l D0, 0x40
label000007C2:
000007C2 22D8 move.l [A1]+, [A0]+
000007C4 5340 subq.w D0, 1
000007C6 6EFA bgt -0x4 /* 000007C2 */
000007C8 486E FF00 pea.l [A6 - 0x100]
000007CC 486E FE00 pea.l [A6 - 0x200]
000007D0 4EBA 2EDE jsr [PC + 0x2EDE /* 000036B0 */]
000007D4 3E1F move.w D7, [A7]+
000007D6 4A47 tst.w D7
000007D8 6620 bne +0x22 /* 000007FA */
000007DA 102E 0008 move.b D0, [A6 + 0x8]
000007DE 6712 beq +0x14 /* 000007F2 */
000007E0 206E 0012 movea.l A0, [A6 + 0x12]
000007E4 43EE FE00 lea.l A1, [A6 - 0x200]
000007E8 7040 moveq.l D0, 0x40
label000007EA:
000007EA 20D9 move.l [A0]+, [A1]+
000007EC 5340 subq.w D0, 1
000007EE 6EFA bgt -0x4 /* 000007EA */
000007F0 6074 bra +0x76 /* 00000866 */
label000007F2:
000007F2 206E 0012 movea.l A0, [A6 + 0x12]
000007F6 4210 clr.b [A0]
000007F8 606C bra +0x6E /* 00000866 */
label000007FA:
000007FA 102E 0008 move.b D0, [A6 + 0x8]
000007FE 672C beq +0x2E /* 0000082C */
00000800 206E 0012 movea.l A0, [A6 + 0x12]
00000804 2F08 move.l -[A7], A0
00000806 486E FE00 pea.l [A6 - 0x200]
0000080A 3F3C 0001 move.w -[A7], 0x1
0000080E 2007 move.l D0, D7
00000810 5340 subq.w D0, 1
00000812 3F00 move.w -[A7], D0
00000814 486E FCFE pea.l [A6 - 0x302]
00000818 4EBA 2EEE jsr [PC + 0x2EEE /* 00003708 */]
0000081C 205F movea.l A0, [A7]+
0000081E 43EE FCFE lea.l A1, [A6 - 0x302]
00000822 7040 moveq.l D0, 0x40
label00000824:
00000824 20D9 move.l [A0]+, [A1]+
00000826 5340 subq.w D0, 1
00000828 6EFA bgt -0x4 /* 00000824 */
0000082A 603A bra +0x3C /* 00000866 */
label0000082C:
0000082C 102E FF00 move.b D0, [A6 - 0x100]
00000830 0240 00FF andi.w D0, 0xFF
00000834 DE40 add.w D7, D0
00000836 206E 0012 movea.l A0, [A6 + 0x12]
0000083A 2F08 move.l -[A7], A0
0000083C 486E FE00 pea.l [A6 - 0x200]
00000840 3F07 move.w -[A7], D7
00000842 102E FE00 move.b D0, [A6 - 0x200]
00000846 0240 00FF andi.w D0, 0xFF
0000084A 5240 addq.w D0, 1
0000084C 9047 sub.w D0, D7
0000084E 3F00 move.w -[A7], D0
00000850 486E FBFE pea.l [A6 - 0x402]
00000854 4EBA 2EB2 jsr [PC + 0x2EB2 /* 00003708 */]
00000858 205F movea.l A0, [A7]+
0000085A 43EE FBFE lea.l A1, [A6 - 0x402]
0000085E 7040 moveq.l D0, 0x40
label00000860:
00000860 20D9 move.l [A0]+, [A1]+
00000862 5340 subq.w D0, 1
00000864 6EFA bgt -0x4 /* 00000860 */
label00000866:
00000866 2E1F move.l D7, [A7]+
00000868 4E5E unlink A6
0000086A 205F movea.l A0, [A7]+
0000086C DEFC 000A add.w A7, 0xA /* '\n' */
00000870 4ED0 jmp [A0]
00000872 D354 add.w [A4], D1
00000874 5249 addq.w A1, 1
00000876 5020 addq.b -[A0], 8
00000878 2020 move.l D0, -[A0]
0000087A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000087C-00000880
fn0000087C:
0000087C 4E56 FCF4 link A6, -0x030C
// end alternate branch 0000087C-00000880
fn0000087C: // (misaligned)
0000087E FCF4 .extension 0xCF4 // unimplemented
00000880 48E7 0308 movem.l -[A7], D6,D7,A4
00000884 486E FDF4 pea.l [A6 - 0x20C]
00000888 A874 syscall GetPort
0000088A 2F2D EFD2 move.l -[A7], [A5 - 0x102E]
0000088E A873 syscall SetPort
00000890 486D E888 pea.l [A5 - 0x1778]
00000894 4EBA F800 jsr [PC - 0x800 /* 00000096 */]
00000898 7E01 moveq.l D7, 0x01
0000089A 601E bra +0x20 /* 000008BA */
label0000089C:
0000089C 2007 move.l D0, D7
0000089E E540 asl D0.w, 2
000008A0 41ED E88A lea.l A0, [A5 - 0x1776]
000008A4 4AB0 0000 tst.l [A0 + D0.w]
000008A8 670E beq +0x10 /* 000008B8 */
000008AA 2007 move.l D0, D7
000008AC E540 asl D0.w, 2
000008AE 41ED E88A lea.l A0, [A5 - 0x1776]
000008B2 2F30 0000 move.l -[A7], [A0 + D0.w]
000008B6 A932 syscall DisposeMenu
label000008B8:
000008B8 5247 addq.w D7, 1
label000008BA:
000008BA 0C47 000C cmpi.w D7, 0xC
000008BE 6FDC ble -0x22 /* 0000089C */
000008C0 A934 syscall ClearMenuBar
000008C2 7E01 moveq.l D7, 0x01
000008C4 6000 0110 bra +0x112 /* 000009D6 */
label000008C8:
000008C8 2007 move.l D0, D7
000008CA C1FC 002A muls.w D0, 0x2A /* '*' */
000008CE 41ED E894 lea.l A0, [A5 - 0x176C]
000008D2 4A70 0000 tst.w [A0 + D0.w]
000008D6 6700 00FC beq +0xFE /* 000009D4 */
000008DA 486E FCF4 pea.l [A6 - 0x30C]
000008DE 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000008E2 2007 move.l D0, D7
000008E4 C1FC 002A muls.w D0, 0x2A /* '*' */
000008E8 41ED E894 lea.l A0, [A5 - 0x176C]
000008EC 3230 0000 move.w D1, [A0 + D0.w]
000008F0 5341 subq.w D1, 1
000008F2 3F01 move.w -[A7], D1
000008F4 4EBA 74E0 jsr [PC + 0x74E0 /* 00007DD6 */]
000008F8 205F movea.l A0, [A7]+
000008FA 43EE FEF8 lea.l A1, [A6 - 0x108]
000008FE 7040 moveq.l D0, 0x40
label00000900:
00000900 22D8 move.l [A1]+, [A0]+
00000902 5340 subq.w D0, 1
00000904 6EFA bgt -0x4 /* 00000900 */
00000906 486E FEF8 pea.l [A6 - 0x108]
0000090A 3F3C 0001 move.w -[A7], 0x1
0000090E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000912 4EBA 2E58 jsr [PC + 0x2E58 /* 0000376C */]
00000916 486E FEF8 pea.l [A6 - 0x108]
0000091A 4EBA F7A6 jsr [PC - 0x85A /* 000000C2 */]
0000091E 7001 moveq.l D0, 0x01
00000920 41EE FEF8 lea.l A0, [A6 - 0x108]
00000924 1230 0000 move.b D1, [A0 + D0.w]
00000928 0241 00FF andi.w D1, 0xFF
0000092C 0C41 0040 cmpi.w D1, 0x40 /* '@' */
00000930 660C bne +0xE /* 0000093E */
00000932 7001 moveq.l D0, 0x01
00000934 41EE FEF8 lea.l A0, [A6 - 0x108]
00000938 11BC 0014 0000 move.b [A0 + D0.w], 0x14
label0000093E:
0000093E 42A7 clr.l -[A7]
00000940 2007 move.l D0, D7
00000942 D07C 01F4 add.w D0, 0x1F4
00000946 3F00 move.w -[A7], D0
00000948 486E FEF8 pea.l [A6 - 0x108]
0000094C A931 syscall NewMenu
0000094E 285F movea.l A4, [A7]+
00000950 7C01 moveq.l D6, 0x01
00000952 6074 bra +0x76 /* 000009C8 */
label00000954:
00000954 2007 move.l D0, D7
00000956 C1FC 002A muls.w D0, 0x2A /* '*' */
0000095A 2206 move.l D1, D6
0000095C E341 asl D1.w, 1
0000095E D041 add.w D0, D1
00000960 41ED E894 lea.l A0, [A5 - 0x176C]
00000964 4A70 0000 tst.w [A0 + D0.w]
00000968 675C beq +0x5E /* 000009C6 */
0000096A 486E FCF4 pea.l [A6 - 0x30C]
0000096E 2F2D EFBC move.l -[A7], [A5 - 0x1044]
00000972 2007 move.l D0, D7
00000974 C1FC 002A muls.w D0, 0x2A /* '*' */
00000978 2206 move.l D1, D6
0000097A E341 asl D1.w, 1
0000097C D041 add.w D0, D1
0000097E 41ED E894 lea.l A0, [A5 - 0x176C]
00000982 3230 0000 move.w D1, [A0 + D0.w]
00000986 5341 subq.w D1, 1
00000988 3F01 move.w -[A7], D1
0000098A 4EBA 744A jsr [PC + 0x744A /* 00007DD6 */]
0000098E 205F movea.l A0, [A7]+
00000990 43EE FDF8 lea.l A1, [A6 - 0x208]
00000994 7040 moveq.l D0, 0x40
label00000996:
00000996 22D8 move.l [A1]+, [A0]+
00000998 5340 subq.w D0, 1
0000099A 6EFA bgt -0x4 /* 00000996 */
0000099C 102E FDF8 move.b D0, [A6 - 0x208]
000009A0 0240 00FF andi.w D0, 0xFF
000009A4 4A40 tst.w D0
000009A6 6606 bne +0x8 /* 000009AE */
000009A8 3D7C 0120 FDF8 move.w [A6 - 0x208], 0x120
label000009AE:
000009AE 2F0C move.l -[A7], A4
000009B0 486E FCF4 pea.l [A6 - 0x30C]
000009B4 487A 0050 pea.l [PC + 0x50 /* 00000A06, value 0x13D4E56 */]
000009B8 486E FDF8 pea.l [A6 - 0x208]
000009BC 1F3C 0001 move.b -[A7], 0x1
000009C0 4EBA FDE0 jsr [PC - 0x220 /* 000007A2 */]
000009C4 A933 syscall AppendMenu
label000009C6:
000009C6 5246 addq.w D6, 1
label000009C8:
000009C8 0C46 0014 cmpi.w D6, 0x14
000009CC 6F86 ble -0x78 /* 00000954 */
000009CE 2F0C move.l -[A7], A4
000009D0 4267 clr.w -[A7]
000009D2 A935 syscall InsertMenu
label000009D4:
000009D4 5247 addq.w D7, 1
label000009D6:
000009D6 0C47 000C cmpi.w D7, 0xC
000009DA 6F00 FEEC ble -0x112 /* 000008C8 */
000009DE 42A7 clr.l -[A7]
000009E0 A93B syscall GetMenuBar
000009E2 2B5F E888 move.l [A5 - 0x1778], [A7]+
000009E6 A937 syscall DrawMenuBar
000009E8 1B7C 0001 E887 move.b [A5 - 0x1779], 0x1
000009EE 2F2E FDF4 move.l -[A7], [A6 - 0x20C]
000009F2 A873 syscall SetPort
000009F4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000009F8 4E5E unlink A6
000009FA 4E75 rts
000009FC C255 and.w D1, [A5]
000009FE 5345 subq.w D5, 1
00000A00 524D addq.w A5, 1
00000A02 454E chk.w D2, A6
00000A04 0002 013D ori.b D2, 0x3D /* '=' */
fn00000A08:
00000A08 4E56 FFFC link A6, -0x0004
00000A0C 206D EF6C movea.l A0, [A5 - 0x1094]
00000A10 302E 0008 move.w D0, [A6 + 0x8]
00000A14 E940 asl D0.w, 4
00000A16 41F0 0000 lea.l A0, [A0 + D0.w]
00000A1A 2D48 FFFC move.l [A6 - 0x4], A0
00000A1E 206E FFFC movea.l A0, [A6 - 0x4]
00000A22 4A10 tst.b [A0]
00000A24 56C0 sne D0
00000A26 670C beq +0xE /* 00000A34 */
00000A28 322E 0008 move.w D1, [A6 + 0x8]
00000A2C B26D EC9E cmp.w D1, [A5 - 0x1362]
00000A30 56C1 sne D1
00000A32 C001 and.b D0, D1
label00000A34:
00000A34 4400 neg.b D0
00000A36 1D40 000A move.b [A6 + 0xA], D0
00000A3A 4E5E unlink A6
00000A3C 205F movea.l A0, [A7]+
00000A3E 544F addq.w A7, 2
00000A40 4ED0 jmp [A0]
00000A42 C143 exg D0, D3
00000A44 5449 addq.w A1, 2
00000A46 5645 addq.w D5, 3
00000A48 5350 subq.w [A0], 1
00000A4A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000A4C-00000A50
fn00000A4C:
00000A4C 4E56 FFFE link A6, -0x0002
// end alternate branch 00000A4C-00000A50
fn00000A4C: // (misaligned)
00000A4E FFFE .extension 0xFFE // unimplemented
00000A50 2F07 move.l -[A7], D7
00000A52 42AD EF70 clr.l [A5 - 0x1090]
00000A56 7E01 moveq.l D7, 0x01
00000A58 6032 bra +0x34 /* 00000A8C */
label00000A5A:
00000A5A 4267 clr.w -[A7]
00000A5C 3F07 move.w -[A7], D7
00000A5E 4EBA FFA8 jsr [PC - 0x58 /* 00000A08 */]
00000A62 101F move.b D0, [A7]+
00000A64 6724 beq +0x26 /* 00000A8A */
00000A66 2F2D EF70 move.l -[A7], [A5 - 0x1090]
00000A6A 3F3C 0004 move.w -[A7], 0x4
00000A6E 3F07 move.w -[A7], D7
00000A70 4EBA 2EC4 jsr [PC + 0x2EC4 /* 00003936 */]
00000A74 4EBA 2F02 jsr [PC + 0x2F02 /* 00003978 */]
00000A78 3F3C 0004 move.w -[A7], 0x4
00000A7C 4EBA 2F4A jsr [PC + 0x2F4A /* 000039C8 */]
00000A80 3F3C 0004 move.w -[A7], 0x4
00000A84 548F addq.l A7, 2
00000A86 2B5F EF70 move.l [A5 - 0x1090], [A7]+
label00000A8A:
00000A8A 5247 addq.w D7, 1
label00000A8C:
00000A8C 0C47 0018 cmpi.w D7, 0x18
00000A90 6FC8 ble -0x36 /* 00000A5A */
00000A92 2E1F move.l D7, [A7]+
00000A94 4E5E unlink A6
00000A96 4E75 rts
00000A98 CD41 exg D6, D1
00000A9A 4B45 chk.w D5, D5
00000A9C 4143 chk.w D0, D3
00000A9E 544D addq.w A5, 2
00000AA0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000AA2-00000AA6
fn00000AA2:
00000AA2 4E56 FFEE link A6, -0x0012
// end alternate branch 00000AA2-00000AA6
fn00000AA2: // (misaligned)
00000AA4 FFEE .extension 0xFEE // unimplemented
00000AA6 48E7 0118 movem.l -[A7], D7,A3,A4
00000AAA 3E2E 0008 move.w D7, [A6 + 0x8]
00000AAE 4A47 tst.w D7
00000AB0 6700 0090 beq +0x92 /* 00000B42 */
00000AB4 4267 clr.w -[A7]
00000AB6 3F07 move.w -[A7], D7
00000AB8 4EBA FF4E jsr [PC - 0xB2 /* 00000A08 */]
00000ABC 101F move.b D0, [A7]+
00000ABE 6700 0082 beq +0x84 /* 00000B42 */
00000AC2 206D EF6C movea.l A0, [A5 - 0x1094]
00000AC6 2007 move.l D0, D7
00000AC8 E940 asl D0.w, 4
00000ACA 49F0 0000 lea.l A4, [A0 + D0.w]
00000ACE 0C2C 0008 0005 cmpi.b [A4 + 0x5], 0x8
00000AD4 666C bne +0x6E /* 00000B42 */
00000AD6 42A7 clr.l -[A7]
00000AD8 3F2C 0006 move.w -[A7], [A4 + 0x6]
00000ADC 4EBA 4140 jsr [PC + 0x4140 /* 00004C1E */]
00000AE0 265F movea.l A3, [A7]+
00000AE2 200B move.l D0, A3
00000AE4 675C beq +0x5E /* 00000B42 */
00000AE6 206D F0EE movea.l A0, [A5 - 0xF12]
00000AEA 2050 movea.l A0, [A0]
00000AEC 302C 0006 move.w D0, [A4 + 0x6]
00000AF0 C1FC 0026 muls.w D0, 0x26 /* '&' */
00000AF4 43EE FFEE lea.l A1, [A6 - 0x12]
00000AF8 41F0 000A lea.l A0, [A0 + D0.w + 0xA]
00000AFC 22D8 move.l [A1]+, [A0]+
00000AFE 22D8 move.l [A1]+, [A0]+
00000B00 22D8 move.l [A1]+, [A0]+
00000B02 3290 move.w [A1], [A0]
00000B04 2F0B move.l -[A7], A3
00000B06 4EBA 26DA jsr [PC + 0x26DA /* 000031E2 */]
00000B0A 2D53 FFEE move.l [A6 - 0x12], [A3]
00000B0E 486E FFEE pea.l [A6 - 0x12]
00000B12 206D E54A movea.l A0, [A5 - 0x1AB6]
00000B16 4868 0002 pea.l [A0 + 0x2]
00000B1A 486E FFF4 pea.l [A6 - 0xC]
00000B1E 206D EF6C movea.l A0, [A5 - 0x1094]
00000B22 2007 move.l D0, D7
00000B24 E740 asl D0.w, 3
00000B26 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00000B2A 4870 0000 pea.l [A0 + D0.w]
00000B2E 3F3C 0002 move.w -[A7], 0x2
00000B32 42A7 clr.l -[A7]
00000B34 A8EC syscall CopyBits
00000B36 2F0B move.l -[A7], A3
00000B38 4EBA 26B2 jsr [PC + 0x26B2 /* 000031EC */]
00000B3C 2F0B move.l -[A7], A3
00000B3E 4EBA 26B6 jsr [PC + 0x26B6 /* 000031F6 */]
label00000B42:
00000B42 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000B46 4E5E unlink A6
00000B48 205F movea.l A0, [A7]+
00000B4A 544F addq.w A7, 2
00000B4C 4ED0 jmp [A0]
00000B4E C94E exg A4, A6
00000B50 5645 addq.w D5, 3
00000B52 5254 addq.w [A4], 1
00000B54 5350 subq.w [A0], 1
00000B56 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000B58-00000B5C
fn00000B58:
00000B58 4E56 FEF6 link A6, -0x010A
// end alternate branch 00000B58-00000B5C
fn00000B58: // (misaligned)
00000B5A FEF6 .extension 0xEF6 // unimplemented
00000B5C 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00000B60 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B64 4EBA F55C jsr [PC - 0xAA4 /* 000000C2 */]
00000B68 206E 0008 movea.l A0, [A6 + 0x8]
00000B6C 1010 move.b D0, [A0]
00000B6E 0240 00FF andi.w D0, 0xFF
00000B72 3C00 move.w D6, D0
00000B74 4A46 tst.w D6
00000B76 6700 00F8 beq +0xFA /* 00000C70 */
00000B7A 206E 0008 movea.l A0, [A6 + 0x8]
00000B7E 7001 moveq.l D0, 0x01
00000B80 1230 0000 move.b D1, [A0 + D0.w]
00000B84 0241 00FF andi.w D1, 0xFF
00000B88 0C41 0027 cmpi.w D1, 0x27 /* '\'' */
00000B8C 664A bne +0x4C /* 00000BD8 */
00000B8E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B92 3F3C 0001 move.w -[A7], 0x1
00000B96 3F3C 0001 move.w -[A7], 0x1
00000B9A 4EBA 2BD0 jsr [PC + 0x2BD0 /* 0000376C */]
00000B9E 206E 0008 movea.l A0, [A6 + 0x8]
00000BA2 1010 move.b D0, [A0]
00000BA4 0240 00FF andi.w D0, 0xFF
00000BA8 3C00 move.w D6, D0
00000BAA 4A46 tst.w D6
00000BAC 6700 00C2 beq +0xC4 /* 00000C70 */
00000BB0 487A 00D8 pea.l [PC + 0xD8 /* 00000C8A, value 0x1270120 */]
00000BB4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BB8 4EBA 2AF6 jsr [PC + 0x2AF6 /* 000036B0 */]
00000BBC 3E1F move.w D7, [A7]+
00000BBE 4A47 tst.w D7
00000BC0 6710 beq +0x12 /* 00000BD2 */
00000BC2 206E 0008 movea.l A0, [A6 + 0x8]
00000BC6 2007 move.l D0, D7
00000BC8 11BC 0020 0000 move.b [A0 + D0.w], 0x20 /* ' ' */
00000BCE 5347 subq.w D7, 1
00000BD0 6002 bra +0x4 /* 00000BD4 */
label00000BD2:
00000BD2 3E06 move.w D7, D6
label00000BD4:
00000BD4 3A07 move.w D5, D7
00000BD6 603A bra +0x3C /* 00000C12 */
label00000BD8:
00000BD8 487A 00B2 pea.l [PC + 0xB2 /* 00000C8C, value 0x1204E56 */]
00000BDC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BE0 4EBA 2ACE jsr [PC + 0x2ACE /* 000036B0 */]
00000BE4 381F move.w D4, [A7]+
00000BE6 4A44 tst.w D4
00000BE8 6604 bne +0x6 /* 00000BEE */
00000BEA 3806 move.w D4, D6
00000BEC 6002 bra +0x4 /* 00000BF0 */
label00000BEE:
00000BEE 5344 subq.w D4, 1
label00000BF0:
00000BF0 487A 0098 pea.l [PC + 0x98 /* 00000C8A, value 0x1270120 */]
00000BF4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BF8 4EBA 2AB6 jsr [PC + 0x2AB6 /* 000036B0 */]
00000BFC 3E1F move.w D7, [A7]+
00000BFE 4A47 tst.w D7
00000C00 6604 bne +0x6 /* 00000C06 */
00000C02 3E06 move.w D7, D6
00000C04 6002 bra +0x4 /* 00000C08 */
label00000C06:
00000C06 5347 subq.w D7, 1
label00000C08:
00000C08 BE44 cmp.w D7, D4
00000C0A 6D04 blt +0x6 /* 00000C10 */
00000C0C 3A04 move.w D5, D4
00000C0E 6002 bra +0x4 /* 00000C12 */
label00000C10:
00000C10 3A07 move.w D5, D7
label00000C12:
00000C12 206E 000C movea.l A0, [A6 + 0xC]
00000C16 2F08 move.l -[A7], A0
00000C18 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C1C 3F3C 0001 move.w -[A7], 0x1
00000C20 3F05 move.w -[A7], D5
00000C22 486E FEF6 pea.l [A6 - 0x10A]
00000C26 4EBA 2AE0 jsr [PC + 0x2AE0 /* 00003708 */]
00000C2A 205F movea.l A0, [A7]+
00000C2C 43EE FEF6 lea.l A1, [A6 - 0x10A]
00000C30 7040 moveq.l D0, 0x40
label00000C32:
00000C32 20D9 move.l [A0]+, [A1]+
00000C34 5340 subq.w D0, 1
00000C36 6EFA bgt -0x4 /* 00000C32 */
label00000C38:
00000C38 2005 move.l D0, D5
00000C3A 5240 addq.w D0, 1
00000C3C BC40 cmp.w D6, D0
00000C3E 5CC0 sge D0
00000C40 6D1E blt +0x20 /* 00000C60 */
00000C42 206E 0008 movea.l A0, [A6 + 0x8]
00000C46 2205 move.l D1, D5
00000C48 5241 addq.w D1, 1
00000C4A 1430 1000 move.b D2, [A0 + D1.w]
00000C4E 0242 00FF andi.w D2, 0xFF
00000C52 0C42 0020 cmpi.w D2, 0x20 /* ' ' */
00000C56 57C1 seq D1
00000C58 C001 and.b D0, D1
00000C5A 6704 beq +0x6 /* 00000C60 */
00000C5C 5245 addq.w D5, 1
00000C5E 60D8 bra -0x26 /* 00000C38 */
label00000C60:
00000C60 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C64 3F3C 0001 move.w -[A7], 0x1
00000C68 3F05 move.w -[A7], D5
00000C6A 4EBA 2B00 jsr [PC + 0x2B00 /* 0000376C */]
00000C6E 6006 bra +0x8 /* 00000C76 */
label00000C70:
00000C70 206E 000C movea.l A0, [A6 + 0xC]
00000C74 4210 clr.b [A0]
label00000C76:
00000C76 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00000C7A 4E5E unlink A6
00000C7C 2E9F move.l [A7], [A7]+
00000C7E 4E75 rts
00000C80 D041 add.w D0, D1
00000C82 5253 addq.w [A3], 1
00000C84 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
00000C86 2020 move.l D0, -[A0]
00000C88 0004 0127 ori.b D4, 0x27 /* '\'' */
00000C8C 0120 btst -[A0], D0
fn00000C8E:
00000C8E 4E56 FFFC link A6, -0x0004
00000C92 48E7 0308 movem.l -[A7], D6,D7,A4
00000C96 4267 clr.w -[A7]
00000C98 486D EB36 pea.l [A5 - 0x14CA]
00000C9C A997 syscall OpenResFile
00000C9E 3C1F move.w D6, [A7]+
00000CA0 3F06 move.w -[A7], D6
00000CA2 A998 syscall UseResFile
00000CA4 7E01 moveq.l D7, 0x01
00000CA6 602C bra +0x2E /* 00000CD4 */
label00000CA8:
00000CA8 2007 move.l D0, D7
00000CAA C1FC 0006 muls.w D0, 0x6
00000CAE 41ED EC30 lea.l A0, [A5 - 0x13D0]
00000CB2 49F0 0000 lea.l A4, [A0 + D0.w]
00000CB6 4AAC 0002 tst.l [A4 + 0x2]
00000CBA 6716 beq +0x18 /* 00000CD2 */
00000CBC 2F2C 0002 move.l -[A7], [A4 + 0x2]
00000CC0 2F3A 0030 move.l -[A7], [PC + 0x30 /* 00000CF2, value 0x4544558, pstring "TEXT" */]
00000CC4 2007 move.l D0, D7
00000CC6 D07C 03E8 add.w D0, 0x3E8
00000CCA 3F00 move.w -[A7], D0
00000CCC 487A 0022 pea.l [PC + 0x22 /* 00000CF0, value 0x454 */]
00000CD0 A9AB syscall AddResource
label00000CD2:
00000CD2 5247 addq.w D7, 1
label00000CD4:
00000CD4 0C47 0010 cmpi.w D7, 0x10
00000CD8 6FCE ble -0x30 /* 00000CA8 */
00000CDA 3F06 move.w -[A7], D6
00000CDC A99A syscall CloseResFile
00000CDE 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000CE2 4E5E unlink A6
00000CE4 4E75 rts
00000CE6 D341 addx.w D1, D1
00000CE8 5645 addq.w D5, 3
00000CEA 5445 addq.w D5, 2
00000CEC 5854 addq.w [A4], 4
00000CEE 0008 0000 ori.b A0, 0x0
00000CF2 0454 4558 subi.w [A4], 0x4558 /* 'EX' */
00000CF6 5400 addq.b D0, 2
fn00000CF8:
00000CF8 4E56 FEAA link A6, -0x0156
00000CFC 41EE FF00 lea.l A0, [A6 - 0x100]
00000D00 2D48 FEC2 move.l [A6 - 0x13E], A0
00000D04 426E FECC clr.w [A6 - 0x134]
00000D08 426E FEC6 clr.w [A6 - 0x13A]
00000D0C 4267 clr.w -[A7]
00000D0E 41EE FEB0 lea.l A0, [A6 - 0x150]
00000D12 2F08 move.l -[A7], A0
00000D14 4267 clr.w -[A7]
00000D16 4EBA 2536 jsr [PC + 0x2536 /* 0000324E */]
00000D1A 3D5F FEAE move.w [A6 - 0x152], [A7]+
00000D1E 302E FEEE move.w D0, [A6 - 0x112]
00000D22 48C0 ext.l D0
00000D24 2F00 move.l -[A7], D0
00000D26 2F2E FEE0 move.l -[A7], [A6 - 0x120]
00000D2A 4EBA 2AEC jsr [PC + 0x2AEC /* 00003818 */]
00000D2E 2D5F 0008 move.l [A6 + 0x8], [A7]+
00000D32 4E5E unlink A6
00000D34 4E75 rts
00000D36 C652 and.w D3, [A2]
00000D38 4545 chk.w D2, D5
00000D3A 4245 clr.w D5
00000D3C 4553 chk.w D2, [A3]
00000D3E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000D40-00000D44
fn00000D40:
00000D40 4E56 FEF6 link A6, -0x010A
// end alternate branch 00000D40-00000D44
fn00000D40: // (misaligned)
00000D42 FEF6 .extension 0xEF6 // unimplemented
00000D44 48E7 0300 movem.l -[A7], D6,D7
00000D48 3B6D EF6A EF68 move.w [A5 - 0x1098], [A5 - 0x1096]
00000D4E 41ED EF28 lea.l A0, [A5 - 0x10D8]
00000D52 43ED ECC8 lea.l A1, [A5 - 0x1338]
00000D56 7010 moveq.l D0, 0x10
label00000D58:
00000D58 20D9 move.l [A0]+, [A1]+
00000D5A 5340 subq.w D0, 1
00000D5C 6EFA bgt -0x4 /* 00000D58 */
00000D5E 41EE FF00 lea.l A0, [A6 - 0x100]
00000D62 43ED EB36 lea.l A1, [A5 - 0x14CA]
00000D66 7040 moveq.l D0, 0x40
label00000D68:
00000D68 20D9 move.l [A0]+, [A1]+
00000D6A 5340 subq.w D0, 1
00000D6C 6EFA bgt -0x4 /* 00000D68 */
00000D6E 4246 clr.w D6
00000D70 4267 clr.w -[A7]
00000D72 486E FF00 pea.l [A6 - 0x100]
00000D76 3F06 move.w -[A7], D6
00000D78 2F3A 0110 move.l -[A7], [PC + 0x110 /* 00000E8A, value 0x544F5552 'TOUR' */]
00000D7C 2F3A 0108 move.l -[A7], [PC + 0x108 /* 00000E86, value 0x54454D50 'TEMP' */]
00000D80 4EBA 266C jsr [PC + 0x266C /* 000033EE */]
00000D84 3E1F move.w D7, [A7]+
00000D86 0C47 FFD0 cmpi.w D7, 0xFFD0
00000D8A 6624 bne +0x26 /* 00000DB0 */
00000D8C 4267 clr.w -[A7]
00000D8E 486E FF00 pea.l [A6 - 0x100]
00000D92 3F06 move.w -[A7], D6
00000D94 4EBA 269C jsr [PC + 0x269C /* 00003432 */]
00000D98 3E1F move.w D7, [A7]+
00000D9A 4267 clr.w -[A7]
00000D9C 486E FF00 pea.l [A6 - 0x100]
00000DA0 3F06 move.w -[A7], D6
00000DA2 2F3A 00E6 move.l -[A7], [PC + 0xE6 /* 00000E8A, value 0x544F5552 'TOUR' */]
00000DA6 2F3A 00DE move.l -[A7], [PC + 0xDE /* 00000E86, value 0x54454D50 'TEMP' */]
00000DAA 4EBA 2642 jsr [PC + 0x2642 /* 000033EE */]
00000DAE 3E1F move.w D7, [A7]+
label00000DB0:
00000DB0 42A7 clr.l -[A7]
00000DB2 4EBA FF44 jsr [PC - 0xBC /* 00000CF8 */]
00000DB6 0C9F 0000 07D0 cmpi.l [A7]+, 0x7D0
00000DBC 6E06 bgt +0x8 /* 00000DC4 */
00000DBE 7EDE moveq.l D7, 0xFFFFFFDE
00000DC0 6000 008C bra +0x8E /* 00000E4E */
label00000DC4:
00000DC4 486D EB36 pea.l [A5 - 0x14CA]
00000DC8 A9B1 syscall CreateResFile
00000DCA 4267 clr.w -[A7]
00000DCC 486E FF00 pea.l [A6 - 0x100]
00000DD0 3F06 move.w -[A7], D6
00000DD2 486E FEFE pea.l [A6 - 0x102]
00000DD6 4EBA 2488 jsr [PC + 0x2488 /* 00003260 */]
00000DDA 3E1F move.w D7, [A7]+
00000DDC 4A47 tst.w D7
00000DDE 666E bne +0x70 /* 00000E4E */
00000DE0 4267 clr.w -[A7]
00000DE2 3F2E FEFE move.w -[A7], [A6 - 0x102]
00000DE6 3F3C 0001 move.w -[A7], 0x1
00000DEA 42A7 clr.l -[A7]
00000DEC 4EBA 2690 jsr [PC + 0x2690 /* 0000347E */]
00000DF0 3E1F move.w D7, [A7]+
00000DF2 4A47 tst.w D7
00000DF4 6658 bne +0x5A /* 00000E4E */
00000DF6 2D7C 0000 0252 FEF8 move.l [A6 - 0x108], 0x252
00000DFE 4267 clr.w -[A7]
00000E00 3F2E FEFE move.w -[A7], [A6 - 0x102]
00000E04 486E FEF8 pea.l [A6 - 0x108]
00000E08 41ED ED18 lea.l A0, [A5 - 0x12E8]
00000E0C 2F08 move.l -[A7], A0
00000E0E 4EBA 24AA jsr [PC + 0x24AA /* 000032BA */]
00000E12 3E1F move.w D7, [A7]+
00000E14 4A47 tst.w D7
00000E16 6636 bne +0x38 /* 00000E4E */
00000E18 7060 moveq.l D0, 0x60
00000E1A 2D40 FEF8 move.l [A6 - 0x108], D0
00000E1E 4267 clr.w -[A7]
00000E20 3F2E FEFE move.w -[A7], [A6 - 0x102]
00000E24 486E FEF8 pea.l [A6 - 0x108]
00000E28 41ED EC36 lea.l A0, [A5 - 0x13CA]
00000E2C 2F08 move.l -[A7], A0
00000E2E 4EBA 248A jsr [PC + 0x248A /* 000032BA */]
00000E32 3E1F move.w D7, [A7]+
00000E34 4A47 tst.w D7
00000E36 6616 bne +0x18 /* 00000E4E */
00000E38 4267 clr.w -[A7]
00000E3A 3F2E FEFE move.w -[A7], [A6 - 0x102]
00000E3E 4EBA 245A jsr [PC + 0x245A /* 0000329A */]
00000E42 3E1F move.w D7, [A7]+
00000E44 4A47 tst.w D7
00000E46 6606 bne +0x8 /* 00000E4E */
00000E48 4EBA FE44 jsr [PC - 0x1BC /* 00000C8E */]
00000E4C 6022 bra +0x24 /* 00000E70 */
label00000E4E:
00000E4E 0C47 FFDE cmpi.w D7, 0xFFDE
00000E52 661C bne +0x1E /* 00000E70 */
00000E54 4267 clr.w -[A7]
00000E56 486E FF00 pea.l [A6 - 0x100]
00000E5A 3F06 move.w -[A7], D6
00000E5C 4EBA 25FA jsr [PC + 0x25FA /* 00003458 */]
00000E60 3E1F move.w D7, [A7]+
00000E62 4267 clr.w -[A7]
00000E64 486E FF00 pea.l [A6 - 0x100]
00000E68 3F06 move.w -[A7], D6
00000E6A 4EBA 25C6 jsr [PC + 0x25C6 /* 00003432 */]
00000E6E 3E1F move.w D7, [A7]+
label00000E70:
00000E70 3D47 0008 move.w [A6 + 0x8], D7
00000E74 4CDF 00C0 movem.l D6,D7, [A7]+
00000E78 4E5E unlink A6
00000E7A 4E75 rts
00000E7C D341 addx.w D1, D1
00000E7E 5645 addq.w D5, 3
00000E80 5354 subq.w [A4], 1
00000E82 4143 chk.w D0, D3
00000E84 0008 5445 ori.b A0, 0x45 /* 'E' */
00000E88 4D50 chk.w D6, [A0]
00000E8A 544F addq.w A7, 2
00000E8C 5552 subq.w [A2], 2
fn00000E8E:
00000E8E 4E56 FFFC link A6, -0x0004
00000E92 48E7 0308 movem.l -[A7], D6,D7,A4
00000E96 4267 clr.w -[A7]
00000E98 486D EB36 pea.l [A5 - 0x14CA]
00000E9C A997 syscall OpenResFile
00000E9E 3C1F move.w D6, [A7]+
00000EA0 3F06 move.w -[A7], D6
00000EA2 A998 syscall UseResFile
00000EA4 7E10 moveq.l D7, 0x10
00000EA6 603E bra +0x40 /* 00000EE6 */
label00000EA8:
00000EA8 2007 move.l D0, D7
00000EAA C1FC 0006 muls.w D0, 0x6
00000EAE 41ED EC30 lea.l A0, [A5 - 0x13D0]
00000EB2 49F0 0000 lea.l A4, [A0 + D0.w]
00000EB6 4A54 tst.w [A4]
00000EB8 672A beq +0x2C /* 00000EE4 */
00000EBA 42A7 clr.l -[A7]
00000EBC 2F3A 0044 move.l -[A7], [PC + 0x44 /* 00000F02, value 0x4544558, pstring "TEXT" */]
00000EC0 2007 move.l D0, D7
00000EC2 D07C 03E8 add.w D0, 0x3E8
00000EC6 3F00 move.w -[A7], D0
00000EC8 A9A0 syscall GetResource
00000ECA 295F 0002 move.l [A4 + 0x2], [A7]+
00000ECE 4267 clr.w -[A7]
00000ED0 A9AF syscall ResError
00000ED2 4A5F tst.w [A7]+
00000ED4 660E bne +0x10 /* 00000EE4 */
00000ED6 2F2C 0002 move.l -[A7], [A4 + 0x2]
00000EDA A992 syscall DetachResource
00000EDC 2F2C 0002 move.l -[A7], [A4 + 0x2]
00000EE0 4EBA 231E jsr [PC + 0x231E /* 00003200 */]
label00000EE4:
00000EE4 5347 subq.w D7, 1
label00000EE6:
00000EE6 0C47 0001 cmpi.w D7, 0x1
00000EEA 6CBC bge -0x42 /* 00000EA8 */
00000EEC 3F06 move.w -[A7], D6
00000EEE A99A syscall CloseResFile
00000EF0 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000EF4 4E5E unlink A6
00000EF6 4E75 rts
00000EF8 C645 and.w D3, D5
00000EFA 5443 addq.w D3, 2
00000EFC 4854 pea.l [A4]
00000EFE 4558 chk.w D2, [A0]+
00000F00 0006 0454 ori.b D6, 0x54 /* 'T' */
00000F04 4558 chk.w D2, [A0]+
00000F06 5400 addq.b D0, 2
fn00000F08:
00000F08 4E56 FFF6 link A6, -0x000A
00000F0C 2F07 move.l -[A7], D7
00000F0E 4267 clr.w -[A7]
00000F10 486D EB36 pea.l [A5 - 0x14CA]
00000F14 486E FFF6 pea.l [A6 - 0xA]
00000F18 486E FFF8 pea.l [A6 - 0x8]
00000F1C 4EBA F318 jsr [PC - 0xCE8 /* 00000236 */]
00000F20 3E1F move.w D7, [A7]+
00000F22 4A47 tst.w D7
00000F24 57C0 seq D0
00000F26 4400 neg.b D0
00000F28 1D40 0008 move.b [A6 + 0x8], D0
00000F2C 4A47 tst.w D7
00000F2E 6704 beq +0x6 /* 00000F34 */
00000F30 6000 008C bra +0x8E /* 00000FBE */
label00000F34:
00000F34 4267 clr.w -[A7]
00000F36 486D EB36 pea.l [A5 - 0x14CA]
00000F3A 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000F3E 486E FFF6 pea.l [A6 - 0xA]
00000F42 4EBA 231C jsr [PC + 0x231C /* 00003260 */]
00000F46 3E1F move.w D7, [A7]+
00000F48 4A47 tst.w D7
00000F4A 6702 beq +0x4 /* 00000F4E */
00000F4C 6070 bra +0x72 /* 00000FBE */
label00000F4E:
00000F4E 2D7C 0000 0252 FFFC move.l [A6 - 0x4], 0x252
00000F56 4267 clr.w -[A7]
00000F58 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000F5C 486E FFFC pea.l [A6 - 0x4]
00000F60 41ED ED18 lea.l A0, [A5 - 0x12E8]
00000F64 2F08 move.l -[A7], A0
00000F66 4EBA 234E jsr [PC + 0x234E /* 000032B6 */]
00000F6A 3E1F move.w D7, [A7]+
00000F6C 3B6D EF68 EF6A move.w [A5 - 0x1096], [A5 - 0x1098]
00000F72 41ED ECC8 lea.l A0, [A5 - 0x1338]
00000F76 43ED EF28 lea.l A1, [A5 - 0x10D8]
00000F7A 7010 moveq.l D0, 0x10
label00000F7C:
00000F7C 20D9 move.l [A0]+, [A1]+
00000F7E 5340 subq.w D0, 1
00000F80 6EFA bgt -0x4 /* 00000F7C */
00000F82 7060 moveq.l D0, 0x60
00000F84 2D40 FFFC move.l [A6 - 0x4], D0
00000F88 4267 clr.w -[A7]
00000F8A 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000F8E 486E FFFC pea.l [A6 - 0x4]
00000F92 41ED EC36 lea.l A0, [A5 - 0x13CA]
00000F96 2F08 move.l -[A7], A0
00000F98 4EBA 231C jsr [PC + 0x231C /* 000032B6 */]
00000F9C 3E1F move.w D7, [A7]+
00000F9E 4267 clr.w -[A7]
00000FA0 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000FA4 4EBA 22F4 jsr [PC + 0x22F4 /* 0000329A */]
00000FA8 3E1F move.w D7, [A7]+
00000FAA 4EBA FEE2 jsr [PC - 0x11E /* 00000E8E */]
00000FAE 4267 clr.w -[A7]
00000FB0 486D EB36 pea.l [A5 - 0x14CA]
00000FB4 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000FB8 4EBA 2478 jsr [PC + 0x2478 /* 00003432 */]
00000FBC 3E1F move.w D7, [A7]+
label00000FBE:
00000FBE 2E1F move.l D7, [A7]+
00000FC0 4E5E unlink A6
00000FC2 4E75 rts
00000FC4 C645 and.w D3, D5
00000FC6 5443 addq.w D3, 2
00000FC8 4853 pea.l [A3]
00000FCA 5441 addq.w D1, 2
00000FCC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000FCE-00000FD2
fn00000FCE:
00000FCE 4E56 FFFA link A6, -0x0006
// end alternate branch 00000FCE-00000FD2
fn00000FCE: // (misaligned)
00000FD0 FFFA .extension 0xFFA // unimplemented
00000FD2 48E7 0700 movem.l -[A7], D5,D6,D7
00000FD6 102D ECA1 move.b D0, [A5 - 0x135F]
00000FDA 6700 014E beq +0x150 /* 0000112A */
00000FDE 0C6D FFFF EC9E cmpi.w [A5 - 0x1362], 0xFFFF
00000FE4 671E beq +0x20 /* 00001004 */
00000FE6 2F2D EF6C move.l -[A7], [A5 - 0x1094]
00000FEA 3F2D EC9E move.w -[A7], [A5 - 0x1362]
00000FEE 4EBA 2946 jsr [PC + 0x2946 /* 00003936 */]
00000FF2 3F3C 0004 move.w -[A7], 0x4
00000FF6 4EBA 29D0 jsr [PC + 0x29D0 /* 000039C8 */]
00000FFA 3F3C 0004 move.w -[A7], 0x4
00000FFE 548F addq.l A7, 2
00001000 4EBA 4FAE jsr [PC + 0x4FAE /* 00005FB0 */]
label00001004:
00001004 102E 0008 move.b D0, [A6 + 0x8]
00001008 6648 bne +0x4A /* 00001052 */
0000100A 206D EF6C movea.l A0, [A5 - 0x1094]
0000100E 322D EC9E move.w D1, [A5 - 0x1362]
00001012 E941 asl D1.w, 4
00001014 0C30 0007 1000 cmpi.b [A0 + D1.w], 0x7
0000101A 56C1 sne D1
0000101C 8001 or.b D0, D1
0000101E 0240 0001 andi.w D0, 0x1
00001022 662E bne +0x30 /* 00001052 */
00001024 2F00 move.l -[A7], D0
00001026 4267 clr.w -[A7]
00001028 206D EF6C movea.l A0, [A5 - 0x1094]
0000102C 322D EC9E move.w D1, [A5 - 0x1362]
00001030 E741 asl D1.w, 3
00001032 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00001036 4870 1000 pea.l [A0 + D1.w]
0000103A 206D EB30 movea.l A0, [A5 - 0x14D0]
0000103E 2050 movea.l A0, [A0]
00001040 2F08 move.l -[A7], A0
00001042 A8A6 syscall EqualRect
00001044 121F move.b D1, [A7]+
00001046 201F move.l D0, [A7]+
00001048 0A01 0001 xori.b D1, 0x1
0000104C 8001 or.b D0, D1
0000104E 6700 00DA beq +0xDC /* 0000112A */
label00001052:
00001052 7E01 moveq.l D7, 0x01
00001054 206D EF6C movea.l A0, [A5 - 0x1094]
00001058 302D EC9E move.w D0, [A5 - 0x1362]
0000105C E940 asl D0.w, 4
0000105E 3C30 0006 move.w D6, [A0 + D0.w + 0x6]
label00001062:
00001062 0C47 0010 cmpi.w D7, 0x10
00001066 6E34 bgt +0x36 /* 0000109C */
00001068 2007 move.l D0, D7
0000106A C1FC 0006 muls.w D0, 0x6
0000106E 41ED EC30 lea.l A0, [A5 - 0x13D0]
00001072 BC70 0000 cmp.w D6, [A0 + D0.w]
00001076 6726 beq +0x28 /* 0000109E */
00001078 2007 move.l D0, D7
0000107A C1FC 0006 muls.w D0, 0x6
0000107E 41ED EC30 lea.l A0, [A5 - 0x13D0]
00001082 4A70 0000 tst.w [A0 + D0.w]
00001086 6610 bne +0x12 /* 00001098 */
00001088 2007 move.l D0, D7
0000108A C1FC 0006 muls.w D0, 0x6
0000108E 41ED EC30 lea.l A0, [A5 - 0x13D0]
00001092 3186 0000 move.w [A0 + D0.w], D6
00001096 6006 bra +0x8 /* 0000109E */
label00001098:
00001098 5247 addq.w D7, 1
0000109A 60C6 bra -0x38 /* 00001062 */
label0000109C:
0000109C 6066 bra +0x68 /* 00001104 */
label0000109E:
0000109E 206D F0EE movea.l A0, [A5 - 0xF12]
000010A2 2050 movea.l A0, [A0]
000010A4 2006 move.l D0, D6
000010A6 C1FC 0026 muls.w D0, 0x26 /* '&' */
000010AA 0C30 0003 0000 cmpi.b [A0 + D0.w], 0x3
000010B0 6652 bne +0x54 /* 00001104 */
000010B2 206D F0EE movea.l A0, [A5 - 0xF12]
000010B6 2050 movea.l A0, [A0]
000010B8 2006 move.l D0, D6
000010BA C1FC 0026 muls.w D0, 0x26 /* '&' */
000010BE 2207 move.l D1, D7
000010C0 C3FC 0006 muls.w D1, 0x6
000010C4 43ED EC32 lea.l A1, [A5 - 0x13CE]
000010C8 23B0 0006 1000 move.l [A1 + D1.w], [A0 + D0.w + 0x6]
000010CE 4267 clr.w -[A7]
000010D0 2007 move.l D0, D7
000010D2 C1FC 0006 muls.w D0, 0x6
000010D6 41ED EC32 lea.l A0, [A5 - 0x13CE]
000010DA 4870 0000 pea.l [A0 + D0.w]
000010DE 4EBA 2006 jsr [PC + 0x2006 /* 000030E6 */]
000010E2 3A1F move.w D5, [A7]+
000010E4 4A45 tst.w D5
000010E6 671C beq +0x1E /* 00001104 */
000010E8 2007 move.l D0, D7
000010EA C1FC 0006 muls.w D0, 0x6
000010EE 41ED EC30 lea.l A0, [A5 - 0x13D0]
000010F2 4270 0000 clr.w [A0 + D0.w]
000010F6 2007 move.l D0, D7
000010F8 C1FC 0006 muls.w D0, 0x6
000010FC 41ED EC32 lea.l A0, [A5 - 0x13CE]
00001100 42B0 0000 clr.l [A0 + D0.w]
label00001104:
00001104 302D EC9E move.w D0, [A5 - 0x1362]
00001108 E740 asl D0.w, 3
0000110A 43ED F794 lea.l A1, [A5 - 0x86C]
0000110E 41F1 0000 lea.l A0, [A1 + D0.w]
00001112 43ED EC96 lea.l A1, [A5 - 0x136A]
00001116 20D9 move.l [A0]+, [A1]+
00001118 20D9 move.l [A0]+, [A1]+
0000111A 422D ECA1 clr.b [A5 - 0x135F]
0000111E 3B7C FFFF EC9E move.w [A5 - 0x1362], 0xFFFF
00001124 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
00001128 A9D9 syscall TEDeactivate
label0000112A:
0000112A 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000112E 4E5E unlink A6
00001130 205F movea.l A0, [A7]+
00001132 544F addq.w A7, 2
00001134 4ED0 jmp [A0]
00001136 D354 add.w [A4], D1
00001138 4F50 chk.w D7, [A0]
0000113A 4544 chk.w D2, D4
0000113C 4954 chk.w D4, [A4]
0000113E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001140-00001144
fn00001140:
00001140 4E56 FEB0 link A6, -0x0150
// end alternate branch 00001140-00001144
fn00001140: // (misaligned)
00001142 FEB0 .extension 0xEB0 // unimplemented
00001144 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001148 206E 0008 movea.l A0, [A6 + 0x8]
0000114C 43EE FFBE lea.l A1, [A6 - 0x42]
00001150 7010 moveq.l D0, 0x10
label00001152:
00001152 22D8 move.l [A1]+, [A0]+
00001154 5340 subq.w D0, 1
00001156 6EFA bgt -0x4 /* 00001152 */
00001158 3290 move.w [A1], [A0]
0000115A 486D FE3A pea.l [A5 - 0x1C6]
0000115E 486E FFBE pea.l [A6 - 0x42]
00001162 4EBA 2794 jsr [PC + 0x2794 /* 000038F8 */]
00001166 101F move.b D0, [A7]+
00001168 6700 010E beq +0x110 /* 00001278 */
0000116C 4EBA F32A jsr [PC - 0xCD6 /* 00000498 */]
00001170 41EE FEBE lea.l A0, [A6 - 0x142]
00001174 43EE FFBE lea.l A1, [A6 - 0x42]
00001178 7010 moveq.l D0, 0x10
label0000117A:
0000117A 20D9 move.l [A0]+, [A1]+
0000117C 5340 subq.w D0, 1
0000117E 6EFA bgt -0x4 /* 0000117A */
00001180 4267 clr.w -[A7]
00001182 486E FEBE pea.l [A6 - 0x142]
00001186 486E FEB4 pea.l [A6 - 0x14C]
0000118A 486E FEB6 pea.l [A6 - 0x14A]
0000118E 4EBA F0A6 jsr [PC - 0xF5A /* 00000236 */]
00001192 4A5F tst.w [A7]+
00001194 6600 0124 bne +0x126 /* 000012BA */
00001198 1F3C 0001 move.b -[A7], 0x1
0000119C 4EBA FE30 jsr [PC - 0x1D0 /* 00000FCE */]
000011A0 486E FEBE pea.l [A6 - 0x142]
000011A4 3F2E FEB6 move.w -[A7], [A6 - 0x14A]
000011A8 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000011AC 4EBA 68CC jsr [PC + 0x68CC /* 00007A7A */]
000011B0 4EBA F316 jsr [PC - 0xCEA /* 000004C8 */]
000011B4 4A6D EFD6 tst.w [A5 - 0x102A]
000011B8 6600 0100 bne +0x102 /* 000012BA */
000011BC 422D E886 clr.b [A5 - 0x177A]
000011C0 1B7C 0001 E881 move.b [A5 - 0x177F], 0x1
000011C6 1B7C 0001 E880 move.b [A5 - 0x1780], 0x1
000011CC 426D E87E clr.w [A5 - 0x1782]
000011D0 3B7C 7FFF E87C move.w [A5 - 0x1784], 0x7FFF
000011D6 422D E887 clr.b [A5 - 0x1779]
000011DA 41ED FE3A lea.l A0, [A5 - 0x1C6]
000011DE 43EE FEBE lea.l A1, [A6 - 0x142]
000011E2 7040 moveq.l D0, 0x40
label000011E4:
000011E4 20D9 move.l [A0]+, [A1]+
000011E6 5340 subq.w D0, 1
000011E8 6EFA bgt -0x4 /* 000011E4 */
000011EA 202D FE32 move.l D0, [A5 - 0x1CE]
000011EE 7200 moveq.l D1, 0x00
000011F0 B081 cmp.l D0, D1
000011F2 56C0 sne D0
000011F4 4400 neg.b D0
000011F6 1B40 EAB7 move.b [A5 - 0x1549], D0
000011FA 7E01 moveq.l D7, 0x01
000011FC 6070 bra +0x72 /* 0000126E */
label000011FE:
000011FE 2007 move.l D0, D7
00001200 C1FC 0006 muls.w D0, 0x6
00001204 41ED EC30 lea.l A0, [A5 - 0x13D0]
00001208 3C30 0000 move.w D6, [A0 + D0.w]
0000120C 4A46 tst.w D6
0000120E 675C beq +0x5E /* 0000126C */
00001210 2007 move.l D0, D7
00001212 C1FC 0006 muls.w D0, 0x6
00001216 41ED EC32 lea.l A0, [A5 - 0x13CE]
0000121A 4AB0 0000 tst.l [A0 + D0.w]
0000121E 674C beq +0x4E /* 0000126C */
00001220 206D F0EE movea.l A0, [A5 - 0xF12]
00001224 2050 movea.l A0, [A0]
00001226 2006 move.l D0, D6
00001228 C1FC 0026 muls.w D0, 0x26 /* '&' */
0000122C 49F0 0000 lea.l A4, [A0 + D0.w]
00001230 0C14 0003 cmpi.b [A4], 0x3
00001234 6636 bne +0x38 /* 0000126C */
00001236 266C 0006 movea.l A3, [A4 + 0x6]
0000123A 2007 move.l D0, D7
0000123C C1FC 0006 muls.w D0, 0x6
00001240 41ED EC32 lea.l A0, [A5 - 0x13CE]
00001244 2970 0000 0006 move.l [A4 + 0x6], [A0 + D0.w]
0000124A 4267 clr.w -[A7]
0000124C 486C 0006 pea.l [A4 + 0x6]
00001250 4EBA 1E94 jsr [PC + 0x1E94 /* 000030E6 */]
00001254 3A1F move.w D5, [A7]+
00001256 4A45 tst.w D5
00001258 6706 beq +0x8 /* 00001260 */
0000125A 294B 0006 move.l [A4 + 0x6], A3
0000125E 600C bra +0xE /* 0000126C */
label00001260:
00001260 200B move.l D0, A3
00001262 6708 beq +0xA /* 0000126C */
00001264 2F0B move.l -[A7], A3
00001266 4EBA 1F50 jsr [PC + 0x1F50 /* 000031B8 */]
0000126A 97CB sub.l A3, A3
label0000126C:
0000126C 5247 addq.w D7, 1
label0000126E:
0000126E 0C47 0010 cmpi.w D7, 0x10
00001272 6F8A ble -0x74 /* 000011FE */
00001274 4EBA F23A jsr [PC - 0xDC6 /* 000004B0 */]
label00001278:
00001278 4EBA 6092 jsr [PC + 0x6092 /* 0000730C */]
0000127C 4A6E FFFE tst.w [A6 - 0x2]
00001280 671C beq +0x1E /* 0000129E */
00001282 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001286 4EBA 5DC0 jsr [PC + 0x5DC0 /* 00007048 */]
0000128A 4267 clr.w -[A7]
0000128C 4EBA FD40 jsr [PC - 0x2C0 /* 00000FCE */]
00001290 102D EAB7 move.b D0, [A5 - 0x1549]
00001294 6704 beq +0x6 /* 0000129A */
00001296 4EBA 148E jsr [PC + 0x148E /* 00002726 */]
label0000129A:
0000129A 4EBA 5FB2 jsr [PC + 0x5FB2 /* 0000724E */]
label0000129E:
0000129E 426D ED14 clr.w [A5 - 0x12EC]
000012A2 422D ECC5 clr.b [A5 - 0x133B]
000012A6 422D EFDC clr.b [A5 - 0x1024]
000012AA 42A7 clr.l -[A7]
000012AC A975 syscall TickCount
000012AE 2B5F EFE2 move.l [A5 - 0x101E], [A7]+
000012B2 1D7C 0001 000C move.b [A6 + 0xC], 0x1
000012B8 6024 bra +0x26 /* 000012DE */
label000012BA:
000012BA 422E 000C clr.b [A6 + 0xC]
000012BE 4EBA F1F0 jsr [PC - 0xE10 /* 000004B0 */]
000012C2 3F3C 0008 move.w -[A7], 0x8
000012C6 A9C8 syscall SysBeep
000012C8 7E01 moveq.l D7, 0x01
000012CA 6006 bra +0x8 /* 000012D2 */
label000012CC:
000012CC 426E FEB4 clr.w [A6 - 0x14C]
000012D0 5247 addq.w D7, 1
label000012D2:
000012D2 0C47 1388 cmpi.w D7, 0x1388
000012D6 6FF4 ble -0xA /* 000012CC */
000012D8 3F3C 0008 move.w -[A7], 0x8
000012DC A9C8 syscall SysBeep
label000012DE:
000012DE 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000012E2 4E5E unlink A6
000012E4 2E9F move.l [A7], [A7]+
000012E6 4E75 rts
000012E8 C745 exg D3, D5
000012EA 5441 addq.w D1, 2
000012EC 4649 not.w A1
000012EE 4C45 0000 movem.l <none>, D5
fn000012F2:
000012F2 4E56 FFFE link A6, -0x0002
000012F6 48E7 0108 movem.l -[A7], D7,A4
000012FA 0C6D 0001 EF6A cmpi.w [A5 - 0x1096], 0x1
00001300 6C1C bge +0x1E /* 0000131E */
00001302 3B7C 0001 EF6A move.w [A5 - 0x1096], 0x1
00001308 41ED ED18 lea.l A0, [A5 - 0x12E8]
0000130C 43ED ECC8 lea.l A1, [A5 - 0x1338]
00001310 7010 moveq.l D0, 0x10
label00001312:
00001312 20D9 move.l [A0]+, [A1]+
00001314 5340 subq.w D0, 1
00001316 6EFA bgt -0x4 /* 00001312 */
00001318 3B7C 0001 ED58 move.w [A5 - 0x12A8], 0x1
label0000131E:
0000131E 536D EF6A subq.w [A5 - 0x1096], 1
00001322 302D EF6A move.w D0, [A5 - 0x1096]
00001326 C1FC 0042 muls.w D0, 0x42 /* 'B' */
0000132A 41ED ED18 lea.l A0, [A5 - 0x12E8]
0000132E 49F0 0000 lea.l A4, [A0 + D0.w]
00001332 302E 0008 move.w D0, [A6 + 0x8]
00001336 D06C 0040 add.w D0, [A4 + 0x40]
0000133A 3940 0040 move.w [A4 + 0x40], D0
0000133E 4267 clr.w -[A7]
00001340 302D EF6A move.w D0, [A5 - 0x1096]
00001344 C1FC 0042 muls.w D0, 0x42 /* 'B' */
00001348 41ED ED18 lea.l A0, [A5 - 0x12E8]
0000134C 4870 0000 pea.l [A0 + D0.w]
00001350 4EBA FDEE jsr [PC - 0x212 /* 00001140 */]
00001354 1E1F move.b D7, [A7]+
00001356 4CDF 1080 movem.l D7,A4, [A7]+
0000135A 4E5E unlink A6
0000135C 205F movea.l A0, [A7]+
0000135E 544F addq.w A7, 2
00001360 4ED0 jmp [A0]
00001362 D04F add.w D0, A7
00001364 5053 addq.w [A3], 8
00001366 5441 addq.w D1, 2
00001368 434B chk.w D1, A3
0000136A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000136C-00001370
fn0000136C:
0000136C 4E56 FEBE link A6, -0x0142
// end alternate branch 0000136C-00001370
fn0000136C: // (misaligned)
0000136E FEBE .extension 0xEBE // unimplemented
00001370 2F0A move.l -[A7], A2
00001372 206E 000A movea.l A0, [A6 + 0xA]
00001376 43EE FF00 lea.l A1, [A6 - 0x100]
0000137A 7040 moveq.l D0, 0x40
label0000137C:
0000137C 22D8 move.l [A1]+, [A0]+
0000137E 5340 subq.w D0, 1
00001380 6EFA bgt -0x4 /* 0000137C */
00001382 0C6D 0007 EF6A cmpi.w [A5 - 0x1096], 0x7
00001388 6C00 0098 bge +0x9A /* 00001422 */
0000138C 486E FF00 pea.l [A6 - 0x100]
00001390 487A 00A4 pea.l [PC + 0xA4 /* 00001436, value 0x4E56 'NV' */]
00001394 4EBA 2562 jsr [PC + 0x2562 /* 000038F8 */]
00001398 101F move.b D0, [A7]+
0000139A 6712 beq +0x14 /* 000013AE */
0000139C 41EE FEBE lea.l A0, [A6 - 0x142]
000013A0 43EE FF00 lea.l A1, [A6 - 0x100]
000013A4 7010 moveq.l D0, 0x10
label000013A6:
000013A6 20D9 move.l [A0]+, [A1]+
000013A8 5340 subq.w D0, 1
000013AA 6EFA bgt -0x4 /* 000013A6 */
000013AC 601C bra +0x1E /* 000013CA */
label000013AE:
000013AE 302D EF6A move.w D0, [A5 - 0x1096]
000013B2 C1FC 0042 muls.w D0, 0x42 /* 'B' */
000013B6 41EE FEBE lea.l A0, [A6 - 0x142]
000013BA 45ED ED18 lea.l A2, [A5 - 0x12E8]
000013BE 43F2 0000 lea.l A1, [A2 + D0.w]
000013C2 7010 moveq.l D0, 0x10
label000013C4:
000013C4 20D9 move.l [A0]+, [A1]+
000013C6 5340 subq.w D0, 1
000013C8 6EFA bgt -0x4 /* 000013C4 */
label000013CA:
000013CA 3D6E 0008 FEFE move.w [A6 - 0x102], [A6 + 0x8]
000013D0 4A6D EF6A tst.w [A5 - 0x1096]
000013D4 6D1C blt +0x1E /* 000013F2 */
000013D6 302D EF6A move.w D0, [A5 - 0x1096]
000013DA C1FC 0042 muls.w D0, 0x42 /* 'B' */
000013DE 2F00 move.l -[A7], D0
000013E0 4267 clr.w -[A7]
000013E2 4EBA 6AD2 jsr [PC + 0x6AD2 /* 00007EB6 */]
000013E6 321F move.w D1, [A7]+
000013E8 201F move.l D0, [A7]+
000013EA 41ED ED58 lea.l A0, [A5 - 0x12A8]
000013EE 3181 0000 move.w [A0 + D0.w], D1
label000013F2:
000013F2 4267 clr.w -[A7]
000013F4 486E FEBE pea.l [A6 - 0x142]
000013F8 4EBA FD46 jsr [PC - 0x2BA /* 00001140 */]
000013FC 101F move.b D0, [A7]+
000013FE 6722 beq +0x24 /* 00001422 */
00001400 526D EF6A addq.w [A5 - 0x1096], 1
00001404 302D EF6A move.w D0, [A5 - 0x1096]
00001408 C1FC 0042 muls.w D0, 0x42 /* 'B' */
0000140C 43ED ED18 lea.l A1, [A5 - 0x12E8]
00001410 41F1 0000 lea.l A0, [A1 + D0.w]
00001414 43EE FEBE lea.l A1, [A6 - 0x142]
00001418 7010 moveq.l D0, 0x10
label0000141A:
0000141A 20D9 move.l [A0]+, [A1]+
0000141C 5340 subq.w D0, 1
0000141E 6EFA bgt -0x4 /* 0000141A */
00001420 3091 move.w [A0], [A1]
label00001422:
00001422 245F movea.l A2, [A7]+
00001424 4E5E unlink A6
00001426 205F movea.l A0, [A7]+
00001428 5C4F addq.w A7, 6
0000142A 4ED0 jmp [A0]
0000142C D055 add.w D0, [A5]
0000142E 5348 subq.w A0, 1
00001430 5354 subq.w [A4], 1
00001432 4143 chk.w D0, D3
00001434 0002 0000 ori.b D2, 0x0
fn00001438:
00001438 4E56 FEBC link A6, -0x0144
0000143C 2F0A move.l -[A7], A2
0000143E 206E 000A movea.l A0, [A6 + 0xA]
00001442 43EE FF00 lea.l A1, [A6 - 0x100]
00001446 7040 moveq.l D0, 0x40
label00001448:
00001448 22D8 move.l [A1]+, [A0]+
0000144A 5340 subq.w D0, 1
0000144C 6EFA bgt -0x4 /* 00001448 */
0000144E 486E FF00 pea.l [A6 - 0x100]
00001452 487A 007E pea.l [PC + 0x7E /* 000014D2, value 0x4E56 'NV' */]
00001456 4EBA 24A0 jsr [PC + 0x24A0 /* 000038F8 */]
0000145A 101F move.b D0, [A7]+
0000145C 6712 beq +0x14 /* 00001470 */
0000145E 41EE FEBC lea.l A0, [A6 - 0x144]
00001462 43EE FF00 lea.l A1, [A6 - 0x100]
00001466 7010 moveq.l D0, 0x10
label00001468:
00001468 20D9 move.l [A0]+, [A1]+
0000146A 5340 subq.w D0, 1
0000146C 6EFA bgt -0x4 /* 00001468 */
0000146E 601C bra +0x1E /* 0000148C */
label00001470:
00001470 302D EF6A move.w D0, [A5 - 0x1096]
00001474 C1FC 0042 muls.w D0, 0x42 /* 'B' */
00001478 41EE FEBC lea.l A0, [A6 - 0x144]
0000147C 45ED ED18 lea.l A2, [A5 - 0x12E8]
00001480 43F2 0000 lea.l A1, [A2 + D0.w]
00001484 7010 moveq.l D0, 0x10
label00001486:
00001486 20D9 move.l [A0]+, [A1]+
00001488 5340 subq.w D0, 1
0000148A 6EFA bgt -0x4 /* 00001486 */
label0000148C:
0000148C 3D6E 0008 FEFC move.w [A6 - 0x104], [A6 + 0x8]
00001492 4267 clr.w -[A7]
00001494 486E FEBC pea.l [A6 - 0x144]
00001498 4EBA FCA6 jsr [PC - 0x35A /* 00001140 */]
0000149C 101F move.b D0, [A7]+
0000149E 671E beq +0x20 /* 000014BE */
000014A0 302D EF6A move.w D0, [A5 - 0x1096]
000014A4 C1FC 0042 muls.w D0, 0x42 /* 'B' */
000014A8 43ED ED18 lea.l A1, [A5 - 0x12E8]
000014AC 41F1 0000 lea.l A0, [A1 + D0.w]
000014B0 43EE FEBC lea.l A1, [A6 - 0x144]
000014B4 7010 moveq.l D0, 0x10
label000014B6:
000014B6 20D9 move.l [A0]+, [A1]+
000014B8 5340 subq.w D0, 1
000014BA 6EFA bgt -0x4 /* 000014B6 */
000014BC 3091 move.w [A0], [A1]
label000014BE:
000014BE 245F movea.l A2, [A7]+
000014C0 4E5E unlink A6
000014C2 205F movea.l A0, [A7]+
000014C4 5C4F addq.w A7, 6
000014C6 4ED0 jmp [A0]
000014C8 CA55 and.w D5, [A5]
000014CA 4D50 chk.w D6, [A0]
000014CC 544F addq.w A7, 2
000014CE 2020 move.l D0, -[A0]
000014D0 0002 0000 ori.b D2, 0x0
fn000014D4:
000014D4 4E56 DEBA link A6, -0x2146
000014D8 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000014DC 206E 0008 movea.l A0, [A6 + 0x8]
000014E0 43EE FF00 lea.l A1, [A6 - 0x100]
000014E4 7040 moveq.l D0, 0x40
label000014E6:
000014E6 22D8 move.l [A1]+, [A0]+
000014E8 5340 subq.w D0, 1
000014EA 6EFA bgt -0x4 /* 000014E6 */
000014EC 3C2E 000C move.w D6, [A6 + 0xC]
label000014F0:
000014F0 3006 move.w D0, D6
000014F2 5340 subq.w D0, 1
000014F4 6B00 0086 bmi +0x88 /* 0000157C */
000014F8 0C40 0005 cmpi.w D0, 0x5
000014FC 6E7E bgt +0x80 /* 0000157C */
000014FE E348 lsl D0.w, 1
00001500 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001504 4EFB 0000 jmp [PC + D0.w]
00001508 0018 000E ori.b [A0]+, 0xE
0000150C 0030 003A 004E ori.b [A0 + D0.w + 0x4E], 0x3A /* ':' */
00001512 0046 4267 ori.w D6, 0x4267 /* 'Bg' */
00001516 4EBA FDDA jsr [PC - 0x226 /* 000012F2 */]
0000151A 6000 0F1A bra +0xF1C /* 00002436 */
0000151E 102D EFDC move.b D0, [A5 - 0x1024]
00001522 670A beq +0xC /* 0000152E */
00001524 3F3C 0001 move.w -[A7], 0x1
00001528 4EBA FDC8 jsr [PC - 0x238 /* 000012F2 */]
0000152C 6004 bra +0x6 /* 00001532 */
label0000152E:
0000152E 4EBA 5DDC jsr [PC + 0x5DDC /* 0000730C */]
label00001532:
00001532 6000 0F02 bra +0xF04 /* 00002436 */
00001536 1B7C 0001 FF74 move.b [A5 - 0x8C], 0x1
0000153C 6000 0EF8 bra +0xEFA /* 00002436 */
00001540 3F3C 0001 move.w -[A7], 0x1
00001544 4EBA FDAC jsr [PC - 0x254 /* 000012F2 */]
00001548 6000 0EEC bra +0xEEE /* 00002436 */
0000154C 4EBA EB08 jsr [PC - 0x14F8 /* 00000056 */]
00001550 6000 0EE4 bra +0xEE6 /* 00002436 */
00001554 4267 clr.w -[A7]
00001556 42A7 clr.l -[A7]
00001558 3F3C 0001 move.w -[A7], 0x1
0000155C 4EBA 1E6E jsr [PC + 0x1E6E /* 000033CC */]
00001560 3D5F FBEC move.w [A6 - 0x414], [A7]+
00001564 4267 clr.w -[A7]
00001566 42A7 clr.l -[A7]
00001568 3F3C 0002 move.w -[A7], 0x2
0000156C 4EBA 1E5E jsr [PC + 0x1E5E /* 000033CC */]
00001570 3D5F FBEC move.w [A6 - 0x414], [A7]+
00001574 4EBA 24B0 jsr [PC + 0x24B0 /* 00003A26 */]
00001578 6000 0EBC bra +0xEBE /* 00002436 */
label0000157C:
0000157C 0C46 03E7 cmpi.w D6, 0x3E7
00001580 675C beq +0x5E /* 000015DE */
00001582 4A46 tst.w D6
00001584 6C0C bge +0xE /* 00001592 */
00001586 2006 move.l D0, D6
00001588 D07C 0100 add.w D0, 0x100
0000158C 3D40 FBD8 move.w [A6 - 0x428], D0
00001590 6004 bra +0x6 /* 00001596 */
label00001592:
00001592 3D46 FBD8 move.w [A6 - 0x428], D6
label00001596:
00001596 0C6E 0010 FBD8 cmpi.w [A6 - 0x428], 0x10
0000159C 6D00 0E98 blt +0xE9A /* 00002436 */
000015A0 486E DEBA pea.l [A6 - 0x2146]
000015A4 2F2D EFBC move.l -[A7], [A5 - 0x1044]
000015A8 302E FBD8 move.w D0, [A6 - 0x428]
000015AC 48C0 ext.l D0
000015AE 81FC 0010 divs.w D0, 0x10
000015B2 E340 asl D0.w, 1
000015B4 322E FBD8 move.w D1, [A6 - 0x428]
000015B8 48C1 ext.l D1
000015BA 83FC 0010 divs.w D1, 0x10
000015BE 4841 swap.w D1
000015C0 4A41 tst.w D1
000015C2 41ED ECA0 lea.l A0, [A5 - 0x1360]
000015C6 D270 0000 add.w D1, [A0 + D0.w]
000015CA 3F01 move.w -[A7], D1
000015CC 4EBA 6808 jsr [PC + 0x6808 /* 00007DD6 */]
000015D0 205F movea.l A0, [A7]+
000015D2 43EE FF00 lea.l A1, [A6 - 0x100]
000015D6 7040 moveq.l D0, 0x40
label000015D8:
000015D8 22D8 move.l [A1]+, [A0]+
000015DA 5340 subq.w D0, 1
000015DC 6EFA bgt -0x4 /* 000015D8 */
label000015DE:
000015DE 486E FF00 pea.l [A6 - 0x100]
000015E2 4EBA EADE jsr [PC - 0x1522 /* 000000C2 */]
000015E6 486E FF00 pea.l [A6 - 0x100]
000015EA 4267 clr.w -[A7]
000015EC 4EBA 1C48 jsr [PC + 0x1C48 /* 00003236 */]
000015F0 102E FF00 move.b D0, [A6 - 0x100]
000015F4 0240 00FF andi.w D0, 0xFF
000015F8 4A40 tst.w D0
000015FA 6700 0E3A beq +0xE3C /* 00002436 */
000015FE 0C46 03E7 cmpi.w D6, 0x3E7
00001602 6600 00D4 bne +0xD6 /* 000016D8 */
00001606 487A 0ECE pea.l [PC + 0xECE /* 000024D6, value 0x6524554, pstring "RETURN" */]
0000160A 486E FF00 pea.l [A6 - 0x100]
0000160E 3F3C 0001 move.w -[A7], 0x1
00001612 3F3C 0006 move.w -[A7], 0x6
00001616 486E FABA pea.l [A6 - 0x546]
0000161A 4EBA 20EC jsr [PC + 0x20EC /* 00003708 */]
0000161E 486E FABA pea.l [A6 - 0x546]
00001622 4EBA 22DC jsr [PC + 0x22DC /* 00003900 */]
00001626 101F move.b D0, [A7]+
00001628 6706 beq +0x8 /* 00001630 */
0000162A 7C02 moveq.l D6, 0x02
0000162C 6000 FEC2 bra -0x13C /* 000014F0 */
label00001630:
00001630 487A 0E9E pea.l [PC + 0xE9E /* 000024D0, value 0x5504155, pstring "PAUSE" */]
00001634 486E FF00 pea.l [A6 - 0x100]
00001638 3F3C 0001 move.w -[A7], 0x1
0000163C 3F3C 0005 move.w -[A7], 0x5
00001640 486E F9BA pea.l [A6 - 0x646]
00001644 4EBA 20C2 jsr [PC + 0x20C2 /* 00003708 */]
00001648 486E F9BA pea.l [A6 - 0x646]
0000164C 4EBA 22B2 jsr [PC + 0x22B2 /* 00003900 */]
00001650 101F move.b D0, [A7]+
00001652 6706 beq +0x8 /* 0000165A */
00001654 7C01 moveq.l D6, 0x01
00001656 6000 FE98 bra -0x166 /* 000014F0 */
label0000165A:
0000165A 487A 0E6A pea.l [PC + 0xE6A /* 000024C6, value 0x8524554, pstring "RETURN+1" */]
0000165E 486E FF00 pea.l [A6 - 0x100]
00001662 3F3C 0001 move.w -[A7], 0x1
00001666 3F3C 0008 move.w -[A7], 0x8
0000166A 486E F8BA pea.l [A6 - 0x746]
0000166E 4EBA 2098 jsr [PC + 0x2098 /* 00003708 */]
00001672 486E F8BA pea.l [A6 - 0x746]
00001676 4EBA 2288 jsr [PC + 0x2288 /* 00003900 */]
0000167A 101F move.b D0, [A7]+
0000167C 6706 beq +0x8 /* 00001684 */
0000167E 7C04 moveq.l D6, 0x04
00001680 6000 FE6E bra -0x190 /* 000014F0 */
label00001684:
00001684 487A 0E3A pea.l [PC + 0xE3A /* 000024C0, value 0x5505249, pstring "PRINT" */]
00001688 486E FF00 pea.l [A6 - 0x100]
0000168C 3F3C 0001 move.w -[A7], 0x1
00001690 3F3C 0005 move.w -[A7], 0x5
00001694 486E F7BA pea.l [A6 - 0x846]
00001698 4EBA 206E jsr [PC + 0x206E /* 00003708 */]
0000169C 486E F7BA pea.l [A6 - 0x846]
000016A0 4EBA 225E jsr [PC + 0x225E /* 00003900 */]
000016A4 101F move.b D0, [A7]+
000016A6 6706 beq +0x8 /* 000016AE */
000016A8 7C06 moveq.l D6, 0x06
000016AA 6000 FE44 bra -0x1BA /* 000014F0 */
label000016AE:
000016AE 487A 0E06 pea.l [PC + 0xE06 /* 000024B6, value 0x8534855, pstring "SHUTDOWN" */]
000016B2 486E FF00 pea.l [A6 - 0x100]
000016B6 3F3C 0001 move.w -[A7], 0x1
000016BA 3F3C 0005 move.w -[A7], 0x5
000016BE 486E F6BA pea.l [A6 - 0x946]
000016C2 4EBA 2044 jsr [PC + 0x2044 /* 00003708 */]
000016C6 486E F6BA pea.l [A6 - 0x946]
000016CA 4EBA 2234 jsr [PC + 0x2234 /* 00003900 */]
000016CE 101F move.b D0, [A7]+
000016D0 6706 beq +0x8 /* 000016D8 */
000016D2 7C05 moveq.l D6, 0x05
000016D4 6000 FE1A bra -0x1E4 /* 000014F0 */
label000016D8:
000016D8 486E FF00 pea.l [A6 - 0x100]
000016DC 3F3C 0001 move.w -[A7], 0x1
000016E0 3F3C 0002 move.w -[A7], 0x2
000016E4 486E F5BA pea.l [A6 - 0xA46]
000016E8 4EBA 201E jsr [PC + 0x201E /* 00003708 */]
000016EC 486E F5BA pea.l [A6 - 0xA46]
000016F0 487A 0E40 pea.l [PC + 0xE40 /* 00002532, value 0x2494600, pstring "IF" */]
000016F4 4EBA 220A jsr [PC + 0x220A /* 00003900 */]
000016F8 101F move.b D0, [A7]+
000016FA 6700 076A beq +0x76C /* 00001E66 */
000016FE 486E DEBA pea.l [A6 - 0x2146]
00001702 486E FF00 pea.l [A6 - 0x100]
00001706 4EBA F450 jsr [PC - 0xBB0 /* 00000B58 */]
0000170A 205F movea.l A0, [A7]+
0000170C 43EE FE00 lea.l A1, [A6 - 0x200]
00001710 7040 moveq.l D0, 0x40
label00001712:
00001712 22D8 move.l [A1]+, [A0]+
00001714 5340 subq.w D0, 1
00001716 6EFA bgt -0x4 /* 00001712 */
00001718 486E FF00 pea.l [A6 - 0x100]
0000171C 3F3C 0001 move.w -[A7], 0x1
00001720 3F3C 0007 move.w -[A7], 0x7
00001724 486E F4BA pea.l [A6 - 0xB46]
00001728 4EBA 1FDE jsr [PC + 0x1FDE /* 00003708 */]
0000172C 486E F4BA pea.l [A6 - 0xB46]
00001730 487A 0DF8 pea.l [PC + 0xDF8 /* 0000252A, value 0x74C4153, pstring "LASTKEY" */]
00001734 4EBA 21CA jsr [PC + 0x21CA /* 00003900 */]
00001738 101F move.b D0, [A7]+
0000173A 673A beq +0x3C /* 00001776 */
0000173C 486E DEBA pea.l [A6 - 0x2146]
00001740 486E FF00 pea.l [A6 - 0x100]
00001744 4EBA F412 jsr [PC - 0xBEE /* 00000B58 */]
00001748 205F movea.l A0, [A7]+
0000174A 43EE FE00 lea.l A1, [A6 - 0x200]
0000174E 7040 moveq.l D0, 0x40
label00001750:
00001750 22D8 move.l [A1]+, [A0]+
00001752 5340 subq.w D0, 1
00001754 6EFA bgt -0x4 /* 00001750 */
00001756 7000 moveq.l D0, 0x00
00001758 41EE FC00 lea.l A0, [A6 - 0x400]
0000175C 11BC 0001 0000 move.b [A0 + D0.w], 0x1
00001762 7001 moveq.l D0, 0x01
00001764 41EE FC00 lea.l A0, [A6 - 0x400]
00001768 11AD FF4B 0000 move.b [A0 + D0.w], [A5 - 0xB5]
0000176E 426D FF4A clr.w [A5 - 0xB6]
00001772 6000 00D0 bra +0xD2 /* 00001844 */
label00001776:
00001776 486E FF00 pea.l [A6 - 0x100]
0000177A 3F3C 0001 move.w -[A7], 0x1
0000177E 3F3C 0004 move.w -[A7], 0x4
00001782 486E F3BA pea.l [A6 - 0xC46]
00001786 4EBA 1F80 jsr [PC + 0x1F80 /* 00003708 */]
0000178A 486E F3BA pea.l [A6 - 0xC46]
0000178E 487A 0D94 pea.l [PC + 0xD94 /* 00002524, value 0x4434153, pstring "CAST" */]
00001792 4EBA 216C jsr [PC + 0x216C /* 00003900 */]
00001796 101F move.b D0, [A7]+
00001798 6700 0278 beq +0x27A /* 00001A12 */
0000179C 486E DEBA pea.l [A6 - 0x2146]
000017A0 486E FF00 pea.l [A6 - 0x100]
000017A4 4EBA F3B2 jsr [PC - 0xC4E /* 00000B58 */]
000017A8 205F movea.l A0, [A7]+
000017AA 43EE FE00 lea.l A1, [A6 - 0x200]
000017AE 7040 moveq.l D0, 0x40
label000017B0:
000017B0 22D8 move.l [A1]+, [A0]+
000017B2 5340 subq.w D0, 1
000017B4 6EFA bgt -0x4 /* 000017B0 */
000017B6 102E FE00 move.b D0, [A6 - 0x200]
000017BA 0240 00FF andi.w D0, 0xFF
000017BE 0C40 0006 cmpi.w D0, 0x6
000017C2 6D00 0C72 blt +0xC74 /* 00002436 */
000017C6 7005 moveq.l D0, 0x05
000017C8 41EE FE00 lea.l A0, [A6 - 0x200]
000017CC 1230 0000 move.b D1, [A0 + D0.w]
000017D0 0241 00FF andi.w D1, 0xFF
000017D4 927C 0031 sub.w D1, 0x31 /* '1' */
000017D8 E741 asl D1.w, 3
000017DA 3D41 FBEA move.w [A6 - 0x416], D1
000017DE 7006 moveq.l D0, 0x06
000017E0 41EE FE00 lea.l A0, [A6 - 0x200]
000017E4 1230 0000 move.b D1, [A0 + D0.w]
000017E8 0241 00FF andi.w D1, 0xFF
000017EC 927C 0030 sub.w D1, 0x30 /* '0' */
000017F0 D36E FBEA add.w [A6 - 0x416], D1
000017F4 0C6E 0001 FBEA cmpi.w [A6 - 0x416], 0x1
000017FA 5DC0 slt D0
000017FC 6D00 0C38 blt +0xC3A /* 00002436 */
00001800 0C6E 0100 FBEA cmpi.w [A6 - 0x416], 0x100
00001806 5EC1 sgt D1
00001808 8001 or.b D0, D1
0000180A 6600 0C2A bne +0xC2C /* 00002436 */
0000180E 206D F0EE movea.l A0, [A5 - 0xF12]
00001812 2050 movea.l A0, [A0]
00001814 302E FBEA move.w D0, [A6 - 0x416]
00001818 C1FC 0026 muls.w D0, 0x26 /* '&' */
0000181C 49F0 0000 lea.l A4, [A0 + D0.w]
00001820 0C14 0003 cmpi.b [A4], 0x3
00001824 6600 0C10 bne +0xC12 /* 00002436 */
00001828 2F2C 0006 move.l -[A7], [A4 + 0x6]
0000182C 486E FC00 pea.l [A6 - 0x400]
00001830 A990 syscall GetDialogItemText/GetIText
00001832 486E FC00 pea.l [A6 - 0x400]
00001836 4EBA E88A jsr [PC - 0x1776 /* 000000C2 */]
0000183A 486E FC00 pea.l [A6 - 0x400]
0000183E 4267 clr.w -[A7]
00001840 4EBA 19F4 jsr [PC + 0x19F4 /* 00003236 */]
label00001844:
00001844 486E DEBA pea.l [A6 - 0x2146]
00001848 486E FF00 pea.l [A6 - 0x100]
0000184C 4EBA F30A jsr [PC - 0xCF6 /* 00000B58 */]
00001850 205F movea.l A0, [A7]+
00001852 43EE FD00 lea.l A1, [A6 - 0x300]
00001856 7040 moveq.l D0, 0x40
label00001858:
00001858 22D8 move.l [A1]+, [A0]+
0000185A 5340 subq.w D0, 1
0000185C 6EFA bgt -0x4 /* 00001858 */
0000185E 102E FD00 move.b D0, [A6 - 0x300]
00001862 0240 00FF andi.w D0, 0xFF
00001866 0C40 0002 cmpi.w D0, 0x2
0000186A 6D00 0BCA blt +0xBCC /* 00002436 */
0000186E 422E FBFE clr.b [A6 - 0x402]
00001872 486E FD00 pea.l [A6 - 0x300]
00001876 3F3C 0001 move.w -[A7], 0x1
0000187A 3F3C 0002 move.w -[A7], 0x2
0000187E 486E F2BA pea.l [A6 - 0xD46]
00001882 4EBA 1E84 jsr [PC + 0x1E84 /* 00003708 */]
00001886 486E F2BA pea.l [A6 - 0xD46]
0000188A 487A 0C94 pea.l [PC + 0xC94 /* 00002520, value 0x24E4F00, pstring "NO" */]
0000188E 4EBA 2070 jsr [PC + 0x2070 /* 00003900 */]
00001892 101F move.b D0, [A7]+
00001894 6730 beq +0x32 /* 000018C6 */
00001896 1D7C 0001 FBFE move.b [A6 - 0x402], 0x1
0000189C 486E DEBA pea.l [A6 - 0x2146]
000018A0 486E FF00 pea.l [A6 - 0x100]
000018A4 4EBA F2B2 jsr [PC - 0xD4E /* 00000B58 */]
000018A8 205F movea.l A0, [A7]+
000018AA 43EE FD00 lea.l A1, [A6 - 0x300]
000018AE 7040 moveq.l D0, 0x40
label000018B0:
000018B0 22D8 move.l [A1]+, [A0]+
000018B2 5340 subq.w D0, 1
000018B4 6EFA bgt -0x4 /* 000018B0 */
000018B6 102E FD00 move.b D0, [A6 - 0x300]
000018BA 0240 00FF andi.w D0, 0xFF
000018BE 0C40 0002 cmpi.w D0, 0x2
000018C2 6D00 0B72 blt +0xB74 /* 00002436 */
label000018C6:
000018C6 486E FD00 pea.l [A6 - 0x300]
000018CA 3F3C 0001 move.w -[A7], 0x1
000018CE 3F3C 0002 move.w -[A7], 0x2
000018D2 486E F1BA pea.l [A6 - 0xE46]
000018D6 4EBA 1E30 jsr [PC + 0x1E30 /* 00003708 */]
000018DA 41EE FD00 lea.l A0, [A6 - 0x300]
000018DE 43EE F1BA lea.l A1, [A6 - 0xE46]
000018E2 7040 moveq.l D0, 0x40
label000018E4:
000018E4 20D9 move.l [A0]+, [A1]+
000018E6 5340 subq.w D0, 1
000018E8 6EFA bgt -0x4 /* 000018E4 */
000018EA 486E DEBA pea.l [A6 - 0x2146]
000018EE 486E FF00 pea.l [A6 - 0x100]
000018F2 4EBA F264 jsr [PC - 0xD9C /* 00000B58 */]
000018F6 205F movea.l A0, [A7]+
000018F8 43EE FE00 lea.l A1, [A6 - 0x200]
000018FC 7040 moveq.l D0, 0x40
label000018FE:
000018FE 22D8 move.l [A1]+, [A0]+
00001900 5340 subq.w D0, 1
00001902 6EFA bgt -0x4 /* 000018FE */
00001904 486E FE00 pea.l [A6 - 0x200]
00001908 487A 0BCC pea.l [PC + 0xBCC /* 000024D6, value 0x6524554, pstring "RETURN" */]
0000190C 4EBA 1FF2 jsr [PC + 0x1FF2 /* 00003900 */]
00001910 101F move.b D0, [A7]+
00001912 6708 beq +0xA /* 0000191C */
00001914 3D7C 010D FE00 move.w [A6 - 0x200], 0x10D
0000191A 602E bra +0x30 /* 0000194A */
label0000191C:
0000191C 486E FE00 pea.l [A6 - 0x200]
00001920 487A 0BFA pea.l [PC + 0xBFA /* 0000251C, value 0x3544142, pstring "TAB" */]
00001924 4EBA 1FDA jsr [PC + 0x1FDA /* 00003900 */]
00001928 101F move.b D0, [A7]+
0000192A 6708 beq +0xA /* 00001934 */
0000192C 3D7C 0109 FE00 move.w [A6 - 0x200], 0x109
00001932 6016 bra +0x18 /* 0000194A */
label00001934:
00001934 486E FE00 pea.l [A6 - 0x200]
00001938 487A 0BDC pea.l [PC + 0xBDC /* 00002516, value 0x5454E54, pstring "ENTER" */]
0000193C 4EBA 1FC2 jsr [PC + 0x1FC2 /* 00003900 */]
00001940 101F move.b D0, [A7]+
00001942 6706 beq +0x8 /* 0000194A */
00001944 3D7C 0103 FE00 move.w [A6 - 0x200], 0x103
label0000194A:
0000194A 486E FE00 pea.l [A6 - 0x200]
0000194E 487A 0B48 pea.l [PC + 0xB48 /* 00002498, value 0x1200344 */]
00001952 4EBA 1FA4 jsr [PC + 0x1FA4 /* 000038F8 */]
00001956 101F move.b D0, [A7]+
00001958 6708 beq +0xA /* 00001962 */
0000195A 486E FE00 pea.l [A6 - 0x200]
0000195E 4EBA E762 jsr [PC - 0x189E /* 000000C2 */]
label00001962:
00001962 486E FD00 pea.l [A6 - 0x300]
00001966 487A 0BAA pea.l [PC + 0xBAA /* 00002512, value 0x2455100, pstring "EQ" */]
0000196A 4EBA 1F94 jsr [PC + 0x1F94 /* 00003900 */]
0000196E 101F move.b D0, [A7]+
00001970 6710 beq +0x12 /* 00001982 */
00001972 486E FC00 pea.l [A6 - 0x400]
00001976 486E FE00 pea.l [A6 - 0x200]
0000197A 4EBA 1F84 jsr [PC + 0x1F84 /* 00003900 */]
0000197E 1E1F move.b D7, [A7]+
00001980 6050 bra +0x52 /* 000019D2 */
label00001982:
00001982 486E FD00 pea.l [A6 - 0x300]
00001986 487A 0B86 pea.l [PC + 0xB86 /* 0000250E, value 0x2434F00, pstring "CO" */]
0000198A 4EBA 1F74 jsr [PC + 0x1F74 /* 00003900 */]
0000198E 101F move.b D0, [A7]+
00001990 6716 beq +0x18 /* 000019A8 */
00001992 486E FE00 pea.l [A6 - 0x200]
00001996 486E FC00 pea.l [A6 - 0x400]
0000199A 4EBA 1D14 jsr [PC + 0x1D14 /* 000036B0 */]
0000199E 4A5F tst.w [A7]+
000019A0 56C0 sne D0
000019A2 4400 neg.b D0
000019A4 1E00 move.b D7, D0
000019A6 602A bra +0x2C /* 000019D2 */
label000019A8:
000019A8 486E FD00 pea.l [A6 - 0x300]
000019AC 487A 0B5C pea.l [PC + 0xB5C /* 0000250A, value 0x2535400, pstring "ST" */]
000019B0 4EBA 1F4E jsr [PC + 0x1F4E /* 00003900 */]
000019B4 101F move.b D0, [A7]+
000019B6 6718 beq +0x1A /* 000019D0 */
000019B8 486E FE00 pea.l [A6 - 0x200]
000019BC 486E FC00 pea.l [A6 - 0x400]
000019C0 4EBA 1CEE jsr [PC + 0x1CEE /* 000036B0 */]
000019C4 0C5F 0001 cmpi.w [A7]+, 0x1
000019C8 57C0 seq D0
000019CA 4400 neg.b D0
000019CC 1E00 move.b D7, D0
000019CE 6002 bra +0x4 /* 000019D2 */
label000019D0:
000019D0 4207 clr.b D7
label000019D2:
000019D2 102E FBFE move.b D0, [A6 - 0x402]
000019D6 6708 beq +0xA /* 000019E0 */
000019D8 2007 move.l D0, D7
000019DA 0A00 0001 xori.b D0, 0x1
000019DE 1E00 move.b D7, D0
label000019E0:
000019E0 486E DEBA pea.l [A6 - 0x2146]
000019E4 486E FF00 pea.l [A6 - 0x100]
000019E8 4EBA F16E jsr [PC - 0xE92 /* 00000B58 */]
000019EC 205F movea.l A0, [A7]+
000019EE 43EE FE00 lea.l A1, [A6 - 0x200]
000019F2 7040 moveq.l D0, 0x40
label000019F4:
000019F4 22D8 move.l [A1]+, [A0]+
000019F6 5340 subq.w D0, 1
000019F8 6EFA bgt -0x4 /* 000019F4 */
000019FA 2007 move.l D0, D7
000019FC 0A00 0001 xori.b D0, 0x1
00001A00 6600 0A34 bne +0xA36 /* 00002436 */
00001A04 102E FF00 move.b D0, [A6 - 0x100]
00001A08 0240 00FF andi.w D0, 0xFF
00001A0C 4A40 tst.w D0
00001A0E 6700 0A26 beq +0xA28 /* 00002436 */
label00001A12:
00001A12 486E FF00 pea.l [A6 - 0x100]
00001A16 3F3C 0001 move.w -[A7], 0x1
00001A1A 3F3C 0006 move.w -[A7], 0x6
00001A1E 486E F0BA pea.l [A6 - 0xF46]
00001A22 4EBA 1CE4 jsr [PC + 0x1CE4 /* 00003708 */]
00001A26 486E F0BA pea.l [A6 - 0xF46]
00001A2A 487A 0AD6 pea.l [PC + 0xAD6 /* 00002502, value 0x6535052, pstring "SPRITE" */]
00001A2E 4EBA 1ED0 jsr [PC + 0x1ED0 /* 00003900 */]
00001A32 101F move.b D0, [A7]+
00001A34 6700 0194 beq +0x196 /* 00001BCA */
00001A38 4267 clr.w -[A7]
00001A3A A974 syscall Button
00001A3C 101F move.b D0, [A7]+
00001A3E 6600 09F6 bne +0x9F8 /* 00002436 */
00001A42 486E DEBA pea.l [A6 - 0x2146]
00001A46 486E FF00 pea.l [A6 - 0x100]
00001A4A 4EBA F10C jsr [PC - 0xEF4 /* 00000B58 */]
00001A4E 205F movea.l A0, [A7]+
00001A50 43EE FE00 lea.l A1, [A6 - 0x200]
00001A54 7040 moveq.l D0, 0x40
label00001A56:
00001A56 22D8 move.l [A1]+, [A0]+
00001A58 5340 subq.w D0, 1
00001A5A 6EFA bgt -0x4 /* 00001A56 */
00001A5C 486E DEBA pea.l [A6 - 0x2146]
00001A60 486E FF00 pea.l [A6 - 0x100]
00001A64 4EBA F0F2 jsr [PC - 0xF0E /* 00000B58 */]
00001A68 205F movea.l A0, [A7]+
00001A6A 43EE FE00 lea.l A1, [A6 - 0x200]
00001A6E 7040 moveq.l D0, 0x40
label00001A70:
00001A70 22D8 move.l [A1]+, [A0]+
00001A72 5340 subq.w D0, 1
00001A74 6EFA bgt -0x4 /* 00001A70 */
00001A76 7001 moveq.l D0, 0x01
00001A78 41EE FE00 lea.l A0, [A6 - 0x200]
00001A7C 1230 0000 move.b D1, [A0 + D0.w]
00001A80 0241 00FF andi.w D1, 0xFF
00001A84 927C 0040 sub.w D1, 0x40 /* '@' */
00001A88 3801 move.w D4, D1
00001A8A 0C44 0001 cmpi.w D4, 0x1
00001A8E 6D00 09A6 blt +0x9A8 /* 00002436 */
00001A92 0C44 0018 cmpi.w D4, 0x18
00001A96 6E00 099E bgt +0x9A0 /* 00002436 */
00001A9A 486E DEBA pea.l [A6 - 0x2146]
00001A9E 486E FF00 pea.l [A6 - 0x100]
00001AA2 4EBA F0B4 jsr [PC - 0xF4C /* 00000B58 */]
00001AA6 205F movea.l A0, [A7]+
00001AA8 43EE FD00 lea.l A1, [A6 - 0x300]
00001AAC 7040 moveq.l D0, 0x40
label00001AAE:
00001AAE 22D8 move.l [A1]+, [A0]+
00001AB0 5340 subq.w D0, 1
00001AB2 6EFA bgt -0x4 /* 00001AAE */
00001AB4 486E DEBA pea.l [A6 - 0x2146]
00001AB8 486E FF00 pea.l [A6 - 0x100]
00001ABC 4EBA F09A jsr [PC - 0xF66 /* 00000B58 */]
00001AC0 205F movea.l A0, [A7]+
00001AC2 43EE FE00 lea.l A1, [A6 - 0x200]
00001AC6 7040 moveq.l D0, 0x40
label00001AC8:
00001AC8 22D8 move.l [A1]+, [A0]+
00001ACA 5340 subq.w D0, 1
00001ACC 6EFA bgt -0x4 /* 00001AC8 */
00001ACE 7001 moveq.l D0, 0x01
00001AD0 41EE FE00 lea.l A0, [A6 - 0x200]
00001AD4 1230 0000 move.b D1, [A0 + D0.w]
00001AD8 0241 00FF andi.w D1, 0xFF
00001ADC 927C 0040 sub.w D1, 0x40 /* '@' */
00001AE0 3D41 FBD6 move.w [A6 - 0x42A], D1
00001AE4 0C6E 0001 FBD6 cmpi.w [A6 - 0x42A], 0x1
00001AEA 6D00 094A blt +0x94C /* 00002436 */
00001AEE 0C6E 0018 FBD6 cmpi.w [A6 - 0x42A], 0x18
00001AF4 6E00 0940 bgt +0x942 /* 00002436 */
00001AF8 486E FD00 pea.l [A6 - 0x300]
00001AFC 3F3C 0001 move.w -[A7], 0x1
00001B00 3F3C 0002 move.w -[A7], 0x2
00001B04 486E EFBA pea.l [A6 - 0x1046]
00001B08 4EBA 1BFE jsr [PC + 0x1BFE /* 00003708 */]
00001B0C 41EE FD00 lea.l A0, [A6 - 0x300]
00001B10 43EE EFBA lea.l A1, [A6 - 0x1046]
00001B14 7040 moveq.l D0, 0x40
label00001B16:
00001B16 20D9 move.l [A0]+, [A1]+
00001B18 5340 subq.w D0, 1
00001B1A 6EFA bgt -0x4 /* 00001B16 */
00001B1C 486E FD00 pea.l [A6 - 0x300]
00001B20 487A 09DC pea.l [PC + 0x9DC /* 000024FE, value 0x2494E00, pstring "IN" */]
00001B24 4EBA 1DDA jsr [PC + 0x1DDA /* 00003900 */]
00001B28 101F move.b D0, [A7]+
00001B2A 672E beq +0x30 /* 00001B5A */
00001B2C 4267 clr.w -[A7]
00001B2E 206D EF6C movea.l A0, [A5 - 0x1094]
00001B32 2004 move.l D0, D4
00001B34 E740 asl D0.w, 3
00001B36 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00001B3A 4870 0000 pea.l [A0 + D0.w]
00001B3E 206D EF6C movea.l A0, [A5 - 0x1094]
00001B42 302E FBD6 move.w D0, [A6 - 0x42A]
00001B46 E740 asl D0.w, 3
00001B48 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00001B4C 4870 0000 pea.l [A0 + D0.w]
00001B50 486E FBDA pea.l [A6 - 0x426]
00001B54 A8AA syscall SectRect
00001B56 1E1F move.b D7, [A7]+
00001B58 603E bra +0x40 /* 00001B98 */
label00001B5A:
00001B5A 486E FD00 pea.l [A6 - 0x300]
00001B5E 487A 099A pea.l [PC + 0x99A /* 000024FA, value 0x2574900, pstring "WI" */]
00001B62 4EBA 1D9C jsr [PC + 0x1D9C /* 00003900 */]
00001B66 101F move.b D0, [A7]+
00001B68 672C beq +0x2E /* 00001B96 */
00001B6A 4267 clr.w -[A7]
00001B6C 206D EF6C movea.l A0, [A5 - 0x1094]
00001B70 2004 move.l D0, D4
00001B72 E740 asl D0.w, 3
00001B74 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00001B78 4870 0000 pea.l [A0 + D0.w]
00001B7C 206D EF6C movea.l A0, [A5 - 0x1094]
00001B80 302E FBD6 move.w D0, [A6 - 0x42A]
00001B84 E740 asl D0.w, 3
00001B86 41E8 01A0 lea.l A0, [A0 + 0x1A0]
00001B8A 4870 0000 pea.l [A0 + D0.w]
00001B8E 4EBA E470 jsr [PC - 0x1B90 /* 00000000 */]
00001B92 1E1F move.b D7, [A7]+
00001B94 6002 bra +0x4 /* 00001B98 */
label00001B96:
00001B96 4207 clr.b D7
label00001B98:
00001B98 486E DEBA pea.l [A6 - 0x2146]
00001B9C 486E FF00 pea.l [A6 - 0x100]
00001BA0 4EBA EFB6 jsr [PC - 0x104A /* 00000B58 */]
00001BA4 205F movea.l A0, [A7]+
00001BA6 43EE FE00 lea.l A1, [A6 - 0x200]
00001BAA 7040 moveq.l D0, 0x40
label00001BAC:
00001BAC 22D8 move.l [A1]+, [A0]+
00001BAE 5340 subq.w D0, 1
00001BB0 6EFA bgt -0x4 /* 00001BAC */
00001BB2 2007 move.l D0, D7
00001BB4 0A00 0001 xori.b D0, 0x1
00001BB8 6600 087C bne +0x87E /* 00002436 */
00001BBC 102E FF00 move.b D0, [A6 - 0x100]
00001BC0 0240 00FF andi.w D0, 0xFF
00001BC4 4A40 tst.w D0
00001BC6 6700 086E beq +0x870 /* 00002436 */
label00001BCA:
00001BCA 486E FF00 pea.l [A6 - 0x100]
00001BCE 3F3C 0001 move.w -[A7], 0x1
00001BD2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001BD6 486E EEBA pea.l [A6 - 0x1146]
00001BDA 4EBA 1B2C jsr [PC + 0x1B2C /* 00003708 */]
00001BDE 486E EEBA pea.l [A6 - 0x1146]
00001BE2 487A 090C pea.l [PC + 0x90C /* 000024F0, value 0x94C4153 '\tLAS', pstring "LASTCLICK" */]
00001BE6 4EBA 1D18 jsr [PC + 0x1D18 /* 00003900 */]
00001BEA 101F move.b D0, [A7]+
00001BEC 6700 0126 beq +0x128 /* 00001D14 */
00001BF0 486E DEBA pea.l [A6 - 0x2146]
00001BF4 486E FF00 pea.l [A6 - 0x100]
00001BF8 4EBA EF5E jsr [PC - 0x10A2 /* 00000B58 */]
00001BFC 205F movea.l A0, [A7]+
00001BFE 43EE FE00 lea.l A1, [A6 - 0x200]
00001C02 7040 moveq.l D0, 0x40
label00001C04:
00001C04 22D8 move.l [A1]+, [A0]+
00001C06 5340 subq.w D0, 1
00001C08 6EFA bgt -0x4 /* 00001C04 */
00001C0A 486E DEBA pea.l [A6 - 0x2146]
00001C0E 486E FF00 pea.l [A6 - 0x100]
00001C12 4EBA EF44 jsr [PC - 0x10BC /* 00000B58 */]
00001C16 205F movea.l A0, [A7]+
00001C18 43EE FD00 lea.l A1, [A6 - 0x300]
00001C1C 7040 moveq.l D0, 0x40
label00001C1E:
00001C1E 22D8 move.l [A1]+, [A0]+
00001C20 5340 subq.w D0, 1
00001C22 6EFA bgt -0x4 /* 00001C1E */
00001C24 486E FD00 pea.l [A6 - 0x300]
00001C28 3F3C 0001 move.w -[A7], 0x1
00001C2C 3F3C 0001 move.w -[A7], 0x1
00001C30 486E EDBA pea.l [A6 - 0x1246]
00001C34 4EBA 1AD2 jsr [PC + 0x1AD2 /* 00003708 */]
00001C38 41EE FD00 lea.l A0, [A6 - 0x300]
00001C3C 43EE EDBA lea.l A1, [A6 - 0x1246]
00001C40 7040 moveq.l D0, 0x40
label00001C42:
00001C42 20D9 move.l [A0]+, [A1]+
00001C44 5340 subq.w D0, 1
00001C46 6EFA bgt -0x4 /* 00001C42 */
00001C48 486E DEBA pea.l [A6 - 0x2146]
00001C4C 486E FF00 pea.l [A6 - 0x100]
00001C50 4EBA EF06 jsr [PC - 0x10FA /* 00000B58 */]
00001C54 205F movea.l A0, [A7]+
00001C56 43EE FE00 lea.l A1, [A6 - 0x200]
00001C5A 7040 moveq.l D0, 0x40
label00001C5C:
00001C5C 22D8 move.l [A1]+, [A0]+
00001C5E 5340 subq.w D0, 1
00001C60 6EFA bgt -0x4 /* 00001C5C */
00001C62 486E FE00 pea.l [A6 - 0x200]
00001C66 486E FBD0 pea.l [A6 - 0x430]
00001C6A 4EBA 19F6 jsr [PC + 0x19F6 /* 00003662 */]
00001C6E 42A7 clr.l -[A7]
00001C70 A975 syscall TickCount
00001C72 2A1F move.l D5, [A7]+
00001C74 9AAD E76E sub.l D5, [A5 - 0x1892]
00001C78 2F05 move.l -[A7], D5
00001C7A 703C moveq.l D0, 0x3C
00001C7C 2F00 move.l -[A7], D0
00001C7E 4EBA 1BDE jsr [PC + 0x1BDE /* 0000385E */]
00001C82 2A1F move.l D5, [A7]+
00001C84 486E FD00 pea.l [A6 - 0x300]
00001C88 487A 0864 pea.l [PC + 0x864 /* 000024EE, value 0x13E094C */]
00001C8C 4EBA 1C72 jsr [PC + 0x1C72 /* 00003900 */]
00001C90 101F move.b D0, [A7]+
00001C92 670C beq +0xE /* 00001CA0 */
00001C94 BAAE FBD0 cmp.l D5, [A6 - 0x430]
00001C98 5EC0 sgt D0
00001C9A 4400 neg.b D0
00001C9C 1E00 move.b D7, D0
00001C9E 603A bra +0x3C /* 00001CDA */
label00001CA0:
00001CA0 486E FD00 pea.l [A6 - 0x300]
00001CA4 487A 0846 pea.l [PC + 0x846 /* 000024EC, value 0x13C013E */]
00001CA8 4EBA 1C56 jsr [PC + 0x1C56 /* 00003900 */]
00001CAC 101F move.b D0, [A7]+
00001CAE 670C beq +0xE /* 00001CBC */
00001CB0 BAAE FBD0 cmp.l D5, [A6 - 0x430]
00001CB4 5DC0 slt D0
00001CB6 4400 neg.b D0
00001CB8 1E00 move.b D7, D0
00001CBA 601E bra +0x20 /* 00001CDA */
label00001CBC:
00001CBC 486E FD00 pea.l [A6 - 0x300]
00001CC0 487A 0828 pea.l [PC + 0x828 /* 000024EA, value 0x13D013C */]
00001CC4 4EBA 1C3A jsr [PC + 0x1C3A /* 00003900 */]
00001CC8 101F move.b D0, [A7]+
00001CCA 670C beq +0xE /* 00001CD8 */
00001CCC BAAE FBD0 cmp.l D5, [A6 - 0x430]
00001CD0 57C0 seq D0
00001CD2 4400 neg.b D0
00001CD4 1E00 move.b D7, D0
00001CD6 6002 bra +0x4 /* 00001CDA */
label00001CD8:
00001CD8 4207 clr.b D7
label00001CDA:
00001CDA 486E DEBA pea.l [A6 - 0x2146]
00001CDE 486E FF00 pea.l [A6 - 0x100]
00001CE2 4EBA EE74 jsr [PC - 0x118C /* 00000B58 */]
00001CE6 205F movea.l A0, [A7]+
00001CE8 43EE FE00 lea.l A1, [A6 - 0x200]
00001CEC 7040 moveq.l D0, 0x40
label00001CEE:
00001CEE 22D8 move.l [A1]+, [A0]+
00001CF0 5340 subq.w D0, 1
00001CF2 6EFA bgt -0x4 /* 00001CEE */
00001CF4 2007 move.l D0, D7
00001CF6 0A00 0001 xori.b D0, 0x1
00001CFA 6600 073A bne +0x73C /* 00002436 */
00001CFE 102E FF00 move.b D0, [A6 - 0x100]
00001D02 0240 00FF andi.w D0, 0xFF
00001D06 4A40 tst.w D0
00001D08 6700 072C beq +0x72E /* 00002436 */
00001D0C 42A7 clr.l -[A7]
00001D0E A975 syscall TickCount
00001D10 2B5F E76E move.l [A5 - 0x1892], [A7]+
label00001D14:
00001D14 486E FF00 pea.l [A6 - 0x100]
00001D18 3F3C 0001 move.w -[A7], 0x1
00001D1C 3F3C 000B move.w -[A7], 0xB
00001D20 486E ECBA pea.l [A6 - 0x1346]
00001D24 4EBA 19E2 jsr [PC + 0x19E2 /* 00003708 */]
00001D28 486E ECBA pea.l [A6 - 0x1346]
00001D2C 487A 07B0 pea.l [PC + 0x7B0 /* 000024DE, value 0xB444F55, pstring "DOUBLECLICK" */]
00001D30 4EBA 1BCE jsr [PC + 0x1BCE /* 00003900 */]
00001D34 101F move.b D0, [A7]+
00001D36 675C beq +0x5E /* 00001D94 */
00001D38 202D E76E move.l D0, [A5 - 0x1892]
00001D3C 90AD E772 sub.l D0, [A5 - 0x188E]
00001D40 2F00 move.l -[A7], D0
00001D42 42A7 clr.l -[A7]
00001D44 2EB8 02F0 move.l [A7], [0x000002F0 /* DoubleTime */]
00001D48 221F move.l D1, [A7]+
00001D4A 201F move.l D0, [A7]+
00001D4C B280 cmp.l D1, D0
00001D4E 6D00 06E6 blt +0x6E8 /* 00002436 */
00001D52 486E DEBA pea.l [A6 - 0x2146]
00001D56 486E FF00 pea.l [A6 - 0x100]
00001D5A 4EBA EDFC jsr [PC - 0x1204 /* 00000B58 */]
00001D5E 205F movea.l A0, [A7]+
00001D60 43EE FE00 lea.l A1, [A6 - 0x200]
00001D64 7040 moveq.l D0, 0x40
label00001D66:
00001D66 22D8 move.l [A1]+, [A0]+
00001D68 5340 subq.w D0, 1
00001D6A 6EFA bgt -0x4 /* 00001D66 */
00001D6C 486E DEBA pea.l [A6 - 0x2146]
00001D70 486E FF00 pea.l [A6 - 0x100]
00001D74 4EBA EDE2 jsr [PC - 0x121E /* 00000B58 */]
00001D78 205F movea.l A0, [A7]+
00001D7A 43EE FE00 lea.l A1, [A6 - 0x200]
00001D7E 7040 moveq.l D0, 0x40
label00001D80:
00001D80 22D8 move.l [A1]+, [A0]+
00001D82 5340 subq.w D0, 1
00001D84 6EFA bgt -0x4 /* 00001D80 */
00001D86 102E FF00 move.b D0, [A6 - 0x100]
00001D8A 0240 00FF andi.w D0, 0xFF
00001D8E 4A40 tst.w D0
00001D90 6700 06A4 beq +0x6A6 /* 00002436 */
label00001D94:
00001D94 487A 0740 pea.l [PC + 0x740 /* 000024D6, value 0x6524554, pstring "RETURN" */]
00001D98 486E FF00 pea.l [A6 - 0x100]
00001D9C 3F3C 0001 move.w -[A7], 0x1
00001DA0 3F3C 0006 move.w -[A7], 0x6
00001DA4 486E EBBA pea.l [A6 - 0x1446]
00001DA8 4EBA 195E jsr [PC + 0x195E /* 00003708 */]
00001DAC 486E EBBA pea.l [A6 - 0x1446]
00001DB0 4EBA 1B4E jsr [PC + 0x1B4E /* 00003900 */]
00001DB4 101F move.b D0, [A7]+
00001DB6 6706 beq +0x8 /* 00001DBE */
00001DB8 7C02 moveq.l D6, 0x02
00001DBA 6000 F734 bra -0x8CA /* 000014F0 */
label00001DBE:
00001DBE 487A 0710 pea.l [PC + 0x710 /* 000024D0, value 0x5504155, pstring "PAUSE" */]
00001DC2 486E FF00 pea.l [A6 - 0x100]
00001DC6 3F3C 0001 move.w -[A7], 0x1
00001DCA 3F3C 0005 move.w -[A7], 0x5
00001DCE 486E EABA pea.l [A6 - 0x1546]
00001DD2 4EBA 1934 jsr [PC + 0x1934 /* 00003708 */]
00001DD6 486E EABA pea.l [A6 - 0x1546]
00001DDA 4EBA 1B24 jsr [PC + 0x1B24 /* 00003900 */]
00001DDE 101F move.b D0, [A7]+
00001DE0 6706 beq +0x8 /* 00001DE8 */
00001DE2 7C01 moveq.l D6, 0x01
00001DE4 6000 F70A bra -0x8F4 /* 000014F0 */
label00001DE8:
00001DE8 487A 06DC pea.l [PC + 0x6DC /* 000024C6, value 0x8524554, pstring "RETURN+1" */]
00001DEC 486E FF00 pea.l [A6 - 0x100]
00001DF0 3F3C 0001 move.w -[A7], 0x1
00001DF4 3F3C 0008 move.w -[A7], 0x8
00001DF8 486E E9BA pea.l [A6 - 0x1646]
00001DFC 4EBA 190A jsr [PC + 0x190A /* 00003708 */]
00001E00 486E E9BA pea.l [A6 - 0x1646]
00001E04 4EBA 1AFA jsr [PC + 0x1AFA /* 00003900 */]
00001E08 101F move.b D0, [A7]+
00001E0A 6706 beq +0x8 /* 00001E12 */
00001E0C 7C04 moveq.l D6, 0x04
00001E0E 6000 F6E0 bra -0x91E /* 000014F0 */
label00001E12:
00001E12 487A 06AC pea.l [PC + 0x6AC /* 000024C0, value 0x5505249, pstring "PRINT" */]
00001E16 486E FF00 pea.l [A6 - 0x100]
00001E1A 3F3C 0001 move.w -[A7], 0x1
00001E1E 3F3C 0005 move.w -[A7], 0x5
00001E22 486E E8BA pea.l [A6 - 0x1746]
00001E26 4EBA 18E0 jsr [PC + 0x18E0 /* 00003708 */]
00001E2A 486E E8BA pea.l [A6 - 0x1746]
00001E2E 4EBA 1AD0 jsr [PC + 0x1AD0 /* 00003900 */]
00001E32 101F move.b D0, [A7]+
00001E34 6706 beq +0x8 /* 00001E3C */
00001E36 7C06 moveq.l D6, 0x06
00001E38 6000 F6B6 bra -0x948 /* 000014F0 */
label00001E3C:
00001E3C 487A 0678 pea.l [PC + 0x678 /* 000024B6, value 0x8534855, pstring "SHUTDOWN" */]
00001E40 486E FF00 pea.l [A6 - 0x100]
00001E44 3F3C 0001 move.w -[A7], 0x1
00001E48 3F3C 0005 move.w -[A7], 0x5
00001E4C 486E E7BA pea.l [A6 - 0x1846]
00001E50 4EBA 18B6 jsr [PC + 0x18B6 /* 00003708 */]
00001E54 486E E7BA pea.l [A6 - 0x1846]
00001E58 4EBA 1AA6 jsr [PC + 0x1AA6 /* 00003900 */]
00001E5C 101F move.b D0, [A7]+
00001E5E 6706 beq +0x8 /* 00001E66 */
00001E60 7C05 moveq.l D6, 0x05
00001E62 6000 F68C bra -0x972 /* 000014F0 */
label00001E66:
00001E66 7001 moveq.l D0, 0x01
00001E68 41EE FF00 lea.l A0, [A6 - 0x100]
00001E6C 1230 0000 move.b D1, [A0 + D0.w]
00001E70 0241 00FF andi.w D1, 0xFF
00001E74 0C41 0024 cmpi.w D1, 0x24 /* '$' */
00001E78 57C0 seq D0
00001E7A 4400 neg.b D0
00001E7C 1D40 FBFB move.b [A6 - 0x405], D0
00001E80 102E FBFB move.b D0, [A6 - 0x405]
00001E84 6710 beq +0x12 /* 00001E96 */
00001E86 486E FF00 pea.l [A6 - 0x100]
00001E8A 3F3C 0001 move.w -[A7], 0x1
00001E8E 3F3C 0001 move.w -[A7], 0x1
00001E92 4EBA 18D8 jsr [PC + 0x18D8 /* 0000376C */]
label00001E96:
00001E96 486E FF00 pea.l [A6 - 0x100]
00001E9A 3F3C 0001 move.w -[A7], 0x1
00001E9E 3F3C 0007 move.w -[A7], 0x7
00001EA2 486E E6BA pea.l [A6 - 0x1946]
00001EA6 4EBA 1860 jsr [PC + 0x1860 /* 00003708 */]
00001EAA 486E E6BA pea.l [A6 - 0x1946]
00001EAE 487A 05FE pea.l [PC + 0x5FE /* 000024AE, value 0x74C4155, pstring "LAUNCH:" */]
00001EB2 4EBA 1A4C jsr [PC + 0x1A4C /* 00003900 */]
00001EB6 101F move.b D0, [A7]+
00001EB8 6700 0094 beq +0x96 /* 00001F4E */
00001EBC 4EBA E5DA jsr [PC - 0x1A26 /* 00000498 */]
00001EC0 486E FF00 pea.l [A6 - 0x100]
00001EC4 3F3C 0001 move.w -[A7], 0x1
00001EC8 3F3C 0007 move.w -[A7], 0x7
00001ECC 4EBA 189E jsr [PC + 0x189E /* 0000376C */]
00001ED0 486E FF00 pea.l [A6 - 0x100]
00001ED4 4EBA E1EC jsr [PC - 0x1E14 /* 000000C2 */]
00001ED8 4267 clr.w -[A7]
00001EDA 486E FF00 pea.l [A6 - 0x100]
00001EDE 486E FBE4 pea.l [A6 - 0x41C]
00001EE2 486E FBE2 pea.l [A6 - 0x41E]
00001EE6 4EBA E34E jsr [PC - 0x1CB2 /* 00000236 */]
00001EEA 4A5F tst.w [A7]+
00001EEC 6600 0548 bne +0x54A /* 00002436 */
00001EF0 4267 clr.w -[A7]
00001EF2 3F2E FBE4 move.w -[A7], [A6 - 0x41C]
00001EF6 4EBA 13A2 jsr [PC + 0x13A2 /* 0000329A */]
00001EFA 3D5F FBEC move.w [A6 - 0x414], [A7]+
00001EFE 41EE FF00 lea.l A0, [A6 - 0x100]
00001F02 2B48 FFFA move.l [A5 - 0x6], A0
00001F06 426D FFFE clr.w [A5 - 0x2]
00001F0A 102E FBFB move.b D0, [A6 - 0x405]
00001F0E 6726 beq +0x28 /* 00001F36 */
00001F10 302D EF6A move.w D0, [A5 - 0x1096]
00001F14 C1FC 0042 muls.w D0, 0x42 /* 'B' */
00001F18 2F00 move.l -[A7], D0
00001F1A 4267 clr.w -[A7]
00001F1C 4EBA 5F98 jsr [PC + 0x5F98 /* 00007EB6 */]
00001F20 321F move.w D1, [A7]+
00001F22 201F move.l D0, [A7]+
00001F24 41ED ED58 lea.l A0, [A5 - 0x12A8]
00001F28 3181 0000 move.w [A0 + D0.w], D1
00001F2C 4267 clr.w -[A7]
00001F2E 4EBA EE10 jsr [PC - 0x11F0 /* 00000D40 */]
00001F32 3D5F FBEC move.w [A6 - 0x414], [A7]+
label00001F36:
00001F36 102D EFC1 move.b D0, [A5 - 0x103F]
00001F3A 6704 beq +0x6 /* 00001F40 */
00001F3C 4EBA 5E58 jsr [PC + 0x5E58 /* 00007D96 */]
label00001F40:
00001F40 41ED FFFA lea.l A0, [A5 - 0x6]
00001F44 2F08 move.l -[A7], A0
00001F46 4EBA 1B12 jsr [PC + 0x1B12 /* 00003A5A */]
00001F4A 6000 04EA bra +0x4EC /* 00002436 */
label00001F4E:
00001F4E 486E FF00 pea.l [A6 - 0x100]
00001F52 3F3C 0001 move.w -[A7], 0x1
00001F56 3F3C 000C move.w -[A7], 0xC
00001F5A 486E E5BA pea.l [A6 - 0x1A46]
00001F5E 4EBA 17A8 jsr [PC + 0x17A8 /* 00003708 */]
00001F62 486E E5BA pea.l [A6 - 0x1A46]
00001F66 487A 0538 pea.l [PC + 0x538 /* 000024A0, value 0xC494E53, pstring "INSTALLMENU:" */]
00001F6A 4EBA 1994 jsr [PC + 0x1994 /* 00003900 */]
00001F6E 101F move.b D0, [A7]+
00001F70 675C beq +0x5E /* 00001FCE */
00001F72 486E FF00 pea.l [A6 - 0x100]
00001F76 3F3C 0001 move.w -[A7], 0x1
00001F7A 3F3C 000C move.w -[A7], 0xC
00001F7E 4EBA 17EC jsr [PC + 0x17EC /* 0000376C */]
00001F82 486E FF00 pea.l [A6 - 0x100]
00001F86 4EBA E13A jsr [PC - 0x1EC6 /* 000000C2 */]
00001F8A 486E FF00 pea.l [A6 - 0x100]
00001F8E 487A 050E pea.l [PC + 0x50E /* 0000249E, value 0xC49 */]
00001F92 4EBA 196C jsr [PC + 0x196C /* 00003900 */]
00001F96 101F move.b D0, [A7]+
00001F98 6624 bne +0x26 /* 00001FBE */
00001F9A 4A2D E887 tst.b [A5 - 0x1779]
00001F9E 6608 bne +0xA /* 00001FA8 */
00001FA0 42A7 clr.l -[A7]
00001FA2 A93B syscall GetMenuBar
00001FA4 2B5F E882 move.l [A5 - 0x177E], [A7]+
label00001FA8:
00001FA8 4267 clr.w -[A7]
00001FAA 486E FF00 pea.l [A6 - 0x100]
00001FAE 4EBA E610 jsr [PC - 0x19F0 /* 000005C0 */]
00001FB2 0C1F 0001 cmpi.b [A7]+, 0x1
00001FB6 6606 bne +0x8 /* 00001FBE */
00001FB8 4EBA E8C2 jsr [PC - 0x173E /* 0000087C */]
00001FBC 600C bra +0xE /* 00001FCA */
label00001FBE:
00001FBE 42AD E888 clr.l [A5 - 0x1778]
00001FC2 422D E887 clr.b [A5 - 0x1779]
00001FC6 4EBA E454 jsr [PC - 0x1BAC /* 0000041C */]
label00001FCA:
00001FCA 6000 046A bra +0x46C /* 00002436 */
label00001FCE:
00001FCE 486E FF00 pea.l [A6 - 0x100]
00001FD2 3F3C 0001 move.w -[A7], 0x1
00001FD6 3F3C 0003 move.w -[A7], 0x3
00001FDA 486E E4BA pea.l [A6 - 0x1B46]
00001FDE 4EBA 1728 jsr [PC + 0x1728 /* 00003708 */]
00001FE2 486E E4BA pea.l [A6 - 0x1B46]
00001FE6 487A 04B2 pea.l [PC + 0x4B2 /* 0000249A, value 0x344413A, pstring "DA:" */]
00001FEA 4EBA 1914 jsr [PC + 0x1914 /* 00003900 */]
00001FEE 101F move.b D0, [A7]+
00001FF0 677A beq +0x7C /* 0000206C */
00001FF2 486E FF00 pea.l [A6 - 0x100]
00001FF6 3F3C 0001 move.w -[A7], 0x1
00001FFA 3F3C 0003 move.w -[A7], 0x3
00001FFE 4EBA 176C jsr [PC + 0x176C /* 0000376C */]
00002002 486E FF00 pea.l [A6 - 0x100]
00002006 4EBA E0BA jsr [PC - 0x1F46 /* 000000C2 */]
0000200A 487A 048C pea.l [PC + 0x48C /* 00002498, value 0x1200344 */]
0000200E 486E FF00 pea.l [A6 - 0x100]
00002012 3F3C 0001 move.w -[A7], 0x1
00002016 4EBA 17AC jsr [PC + 0x17AC /* 000037C4 */]
0000201A 7001 moveq.l D0, 0x01
0000201C 41EE FF00 lea.l A0, [A6 - 0x100]
00002020 4230 0000 clr.b [A0 + D0.w]
00002024 4EBA E472 jsr [PC - 0x1B8E /* 00000498 */]
00002028 102D EFD9 move.b D0, [A5 - 0x1027]
0000202C 671E beq +0x20 /* 0000204C */
0000202E 49ED EFC2 lea.l A4, [A5 - 0x103E]
00002032 296D FF54 0010 move.l [A4 + 0x10], [A5 - 0xAC]
00002038 422C 0017 clr.b [A4 + 0x17]
0000203C 206D FF54 movea.l A0, [A5 - 0xAC]
00002040 224C movea.l A1, A4
00002042 5089 addq.l A1, 8
00002044 41E8 0010 lea.l A0, [A0 + 0x10]
00002048 22D8 move.l [A1]+, [A0]+
0000204A 22D8 move.l [A1]+, [A0]+
label0000204C:
0000204C 486E FBF2 pea.l [A6 - 0x40E]
00002050 A874 syscall GetPort
00002052 4267 clr.w -[A7]
00002054 486E FF00 pea.l [A6 - 0x100]
00002058 A9B6 syscall OpenDeskAcc
0000205A 3D5F FBE4 move.w [A6 - 0x41C], [A7]+
0000205E 2F2E FBF2 move.l -[A7], [A6 - 0x40E]
00002062 A873 syscall SetPort
00002064 4EBA E44A jsr [PC - 0x1BB6 /* 000004B0 */]
00002068 6000 03CC bra +0x3CE /* 00002436 */
label0000206C:
0000206C 486E FF00 pea.l [A6 - 0x100]
00002070 487A 041C pea.l [PC + 0x41C /* 0000248E, value 0x8434C4F, pstring "CLOSE DA" */]
00002074 4EBA 188A jsr [PC + 0x188A /* 00003900 */]
00002078 101F move.b D0, [A7]+
0000207A 6720 beq +0x22 /* 0000209C */
0000207C 42A7 clr.l -[A7]
0000207E A924 syscall FrontWindow
00002080 265F movea.l A3, [A7]+
label00002082:
00002082 0C6B 0008 006C cmpi.w [A3 + 0x6C], 0x8
00002088 6706 beq +0x8 /* 00002090 */
0000208A 3F2B 006C move.w -[A7], [A3 + 0x6C]
0000208E A9B7 syscall CloseDeskAcc
label00002090:
00002090 266B 0090 movea.l A3, [A3 + 0x90]
00002094 200B move.l D0, A3
00002096 66EA bne -0x14 /* 00002082 */
00002098 6000 039C bra +0x39E /* 00002436 */
label0000209C:
0000209C 486E FF00 pea.l [A6 - 0x100]
000020A0 3F3C 0001 move.w -[A7], 0x1
000020A4 3F3C 0007 move.w -[A7], 0x7
000020A8 486E E3BA pea.l [A6 - 0x1C46]
000020AC 4EBA 165A jsr [PC + 0x165A /* 00003708 */]
000020B0 486E E3BA pea.l [A6 - 0x1C46]
000020B4 487A 03D0 pea.l [PC + 0x3D0 /* 00002486, value 0x7535953, pstring "SYSBEEP" */]
000020B8 4EBA 1846 jsr [PC + 0x1846 /* 00003900 */]
000020BC 101F move.b D0, [A7]+
000020BE 6752 beq +0x54 /* 00002112 */
000020C0 486E DEBA pea.l [A6 - 0x2146]
000020C4 486E FF00 pea.l [A6 - 0x100]
000020C8 4EBA EA8E jsr [PC - 0x1572 /* 00000B58 */]
000020CC 205F movea.l A0, [A7]+
000020CE 43EE FE00 lea.l A1, [A6 - 0x200]
000020D2 7040 moveq.l D0, 0x40
label000020D4:
000020D4 22D8 move.l [A1]+, [A0]+
000020D6 5340 subq.w D0, 1
000020D8 6EFA bgt -0x4 /* 000020D4 */
000020DA 486E FF00 pea.l [A6 - 0x100]
000020DE 487A 03A2 pea.l [PC + 0x3A2 /* 00002482, value 0x24F4E00, pstring "ON" */]
000020E2 4EBA 181C jsr [PC + 0x181C /* 00003900 */]
000020E6 101F move.b D0, [A7]+
000020E8 6708 beq +0xA /* 000020F2 */
000020EA 1B7C 0001 E886 move.b [A5 - 0x177A], 0x1
000020F0 601C bra +0x1E /* 0000210E */
label000020F2:
000020F2 486E FF00 pea.l [A6 - 0x100]
000020F6 487A 0386 pea.l [PC + 0x386 /* 0000247E, value 0x34F4646, pstring "OFF" */]
000020FA 4EBA 1804 jsr [PC + 0x1804 /* 00003900 */]
000020FE 101F move.b D0, [A7]+
00002100 6706 beq +0x8 /* 00002108 */
00002102 422D E886 clr.b [A5 - 0x177A]
00002106 6006 bra +0x8 /* 0000210E */
label00002108:
00002108 3F3C 001E move.w -[A7], 0x1E
0000210C A9C8 syscall SysBeep
label0000210E:
0000210E 6000 0326 bra +0x328 /* 00002436 */
label00002112:
00002112 486E FF00 pea.l [A6 - 0x100]
00002116 487A 035C pea.l [PC + 0x35C /* 00002474, value 0x9414C41 '\tALA', pstring "ALARM OFF" */]
0000211A 4EBA 17E4 jsr [PC + 0x17E4 /* 00003900 */]
0000211E 101F move.b D0, [A7]+
00002120 670A beq +0xC /* 0000212C */
00002122 1B7C 0001 EB35 move.b [A5 - 0x14CB], 0x1
00002128 6000 030C bra +0x30E /* 00002436 */
label0000212C:
0000212C 486E FF00 pea.l [A6 - 0x100]
00002130 3F3C 0001 move.w -[A7], 0x1
00002134 3F3C 0006 move.w -[A7], 0x6
00002138 486E E2BA pea.l [A6 - 0x1D46]
0000213C 4EBA 15CA jsr [PC + 0x15CA /* 00003708 */]
00002140 486E E2BA pea.l [A6 - 0x1D46]
00002144 487A 0326 pea.l [PC + 0x326 /* 0000246C, value 0x654454D, pstring "TEMPO:" */]
00002148 4EBA 17B6 jsr [PC + 0x17B6 /* 00003900 */]
0000214C 101F move.b D0, [A7]+
0000214E 6776 beq +0x78 /* 000021C6 */
00002150 486E FF00 pea.l [A6 - 0x100]
00002154 3F3C 0001 move.w -[A7], 0x1
00002158 3F3C 0006 move.w -[A7], 0x6
0000215C 4EBA 160E jsr [PC + 0x160E /* 0000376C */]
00002160 486E FF00 pea.l [A6 - 0x100]
00002164 4EBA DF5C jsr [PC - 0x20A4 /* 000000C2 */]
00002168 7001 moveq.l D0, 0x01
0000216A 41EE FF00 lea.l A0, [A6 - 0x100]
0000216E 1230 0000 move.b D1, [A0 + D0.w]
00002172 0241 00FF andi.w D1, 0xFF
00002176 0C41 0030 cmpi.w D1, 0x30 /* '0' */
0000217A 5CC0 sge D0
0000217C 6D44 blt +0x46 /* 000021C2 */
0000217E 7201 moveq.l D1, 0x01
00002180 41EE FF00 lea.l A0, [A6 - 0x100]
00002184 1430 1000 move.b D2, [A0 + D1.w]
00002188 0242 00FF andi.w D2, 0xFF
0000218C 0C42 0039 cmpi.w D2, 0x39 /* '9' */
00002190 5FC1 sle D1
00002192 C001 and.b D0, D1
00002194 672C beq +0x2E /* 000021C2 */
00002196 486E FF00 pea.l [A6 - 0x100]
0000219A 486E FBE6 pea.l [A6 - 0x41A]
0000219E 4EBA 14C2 jsr [PC + 0x14C2 /* 00003662 */]
000021A2 4AAE FBE6 tst.l [A6 - 0x41A]
000021A6 6E08 bgt +0xA /* 000021B0 */
000021A8 3B7C 0001 EFE0 move.w [A5 - 0x1020], 0x1
000021AE 6012 bra +0x14 /* 000021C2 */
label000021B0:
000021B0 703C moveq.l D0, 0x3C
000021B2 2F00 move.l -[A7], D0
000021B4 2F2E FBE6 move.l -[A7], [A6 - 0x41A]
000021B8 4EBA 16A4 jsr [PC + 0x16A4 /* 0000385E */]
000021BC 201F move.l D0, [A7]+
000021BE 3B40 EFE0 move.w [A5 - 0x1020], D0
label000021C2:
000021C2 6000 0272 bra +0x274 /* 00002436 */
label000021C6:
000021C6 486E FF00 pea.l [A6 - 0x100]
000021CA 3F3C 0001 move.w -[A7], 0x1
000021CE 3F3C 000A move.w -[A7], 0xA /* '\n' */
000021D2 486E E1BA pea.l [A6 - 0x1E46]
000021D6 4EBA 1530 jsr [PC + 0x1530 /* 00003708 */]
000021DA 486E E1BA pea.l [A6 - 0x1E46]
000021DE 487A 0280 pea.l [PC + 0x280 /* 00002460, value 0xA534554 '\nSET', pstring "SETDIALOG:" */]
000021E2 4EBA 171C jsr [PC + 0x171C /* 00003900 */]
000021E6 101F move.b D0, [A7]+
000021E8 6700 00E2 beq +0xE4 /* 000022CC */
000021EC 486E FF00 pea.l [A6 - 0x100]
000021F0 3F3C 0001 move.w -[A7], 0x1
000021F4 3F3C 000A move.w -[A7], 0xA /* '\n' */
000021F8 4EBA 1572 jsr [PC + 0x1572 /* 0000376C */]
000021FC 486E DEBA pea.l [A6 - 0x2146]
00002200 486E FF00 pea.l [A6 - 0x100]
00002204 4EBA E952 jsr [PC - 0x16AE /* 00000B58 */]
00002208 205F movea.l A0, [A7]+
0000220A 43EE FE00 lea.l A1, [A6 - 0x200]
0000220E 7040 moveq.l D0, 0x40
label00002210:
00002210 22D8 move.l [A1]+, [A0]+
00002212 5340 subq.w D0, 1
00002214 6EFA bgt -0x4 /* 00002210 */
00002216 7001 moveq.l D0, 0x01
00002218 41EE FE00 lea.l A0, [A6 - 0x200]
0000221C 1230 0000 move.b D1, [A0 + D0.w]
00002220 0241 00FF andi.w D1, 0xFF
00002224 0C41 0059 cmpi.w D1, 0x59 /* 'Y' */
00002228 6608 bne +0xA /* 00002232 */
0000222A 1B7C 0001 E881 move.b [A5 - 0x177F], 0x1
00002230 6004 bra +0x6 /* 00002236 */
label00002232:
00002232 422D E881 clr.b [A5 - 0x177F]
label00002236:
00002236 486E DEBA pea.l [A6 - 0x2146]
0000223A 486E FF00 pea.l [A6 - 0x100]
0000223E 4EBA E918 jsr [PC - 0x16E8 /* 00000B58 */]
00002242 205F movea.l A0, [A7]+
00002244 43EE FE00 lea.l A1, [A6 - 0x200]
00002248 7040 moveq.l D0, 0x40
label0000224A:
0000224A 22D8 move.l [A1]+, [A0]+
0000224C 5340 subq.w D0, 1
0000224E 6EFA bgt -0x4 /* 0000224A */
00002250 7001 moveq.l D0, 0x01
00002252 41EE FE00 lea.l A0, [A6 - 0x200]
00002256 1230 0000 move.b D1, [A0 + D0.w]
0000225A 0241 00FF andi.w D1, 0xFF
0000225E 0C41 0059 cmpi.w D1, 0x59 /* 'Y' */
00002262 6608 bne +0xA /* 0000226C */
00002264 1B7C 0001 E880 move.b [A5 - 0x1780], 0x1
0000226A 6004 bra +0x6 /* 00002270 */
label0000226C:
0000226C 422D E880 clr.b [A5 - 0x1780]
label00002270:
00002270 486E DEBA pea.l [A6 - 0x2146]
00002274 486E FF00 pea.l [A6 - 0x100]
00002278 4EBA E8DE jsr [PC - 0x1722 /* 00000B58 */]
0000227C 205F movea.l A0, [A7]+
0000227E 43EE FE00 lea.l A1, [A6 - 0x200]
00002282 7040 moveq.l D0, 0x40
label00002284:
00002284 22D8 move.l [A1]+, [A0]+
00002286 5340 subq.w D0, 1
00002288 6EFA bgt -0x4 /* 00002284 */
0000228A 486E FE00 pea.l [A6 - 0x200]
0000228E 486E FBE6 pea.l [A6 - 0x41A]
00002292 4EBA 13CE jsr [PC + 0x13CE /* 00003662 */]
00002296 3B6E FBE8 E87E move.w [A5 - 0x1782], [A6 - 0x418]
0000229C 486E DEBA pea.l [A6 - 0x2146]
000022A0 486E FF00 pea.l [A6 - 0x100]
000022A4 4EBA E8B2 jsr [PC - 0x174E /* 00000B58 */]
000022A8 205F movea.l A0, [A7]+
000022AA 43EE FE00 lea.l A1, [A6 - 0x200]
000022AE 7040 moveq.l D0, 0x40
label000022B0:
000022B0 22D8 move.l [A1]+, [A0]+
000022B2 5340 subq.w D0, 1
000022B4 6EFA bgt -0x4 /* 000022B0 */
000022B6 486E FE00 pea.l [A6 - 0x200]
000022BA 486E FBE6 pea.l [A6 - 0x41A]
000022BE 4EBA 13A2 jsr [PC + 0x13A2 /* 00003662 */]
000022C2 3B6E FBE8 E87C move.w [A5 - 0x1784], [A6 - 0x418]
000022C8 6000 016C bra +0x16E /* 00002436 */
label000022CC:
000022CC 486E FF00 pea.l [A6 - 0x100]
000022D0 3F3C 0001 move.w -[A7], 0x1
000022D4 3F3C 000B move.w -[A7], 0xB
000022D8 486E E0BA pea.l [A6 - 0x1F46]
000022DC 4EBA 142A jsr [PC + 0x142A /* 00003708 */]
000022E0 486E E0BA pea.l [A6 - 0x1F46]
000022E4 487A 016E pea.l [PC + 0x16E /* 00002454, value 0xB535441, pstring "START TIMER" */]
000022E8 4EBA 1616 jsr [PC + 0x1616 /* 00003900 */]
000022EC 101F move.b D0, [A7]+
000022EE 6710 beq +0x12 /* 00002300 */
000022F0 42A7 clr.l -[A7]
000022F2 A975 syscall TickCount
000022F4 2B5F E76E move.l [A5 - 0x1892], [A7]+
000022F8 426D FF4A clr.w [A5 - 0xB6]
000022FC 6000 0138 bra +0x13A /* 00002436 */
label00002300:
00002300 486E FF00 pea.l [A6 - 0x100]
00002304 3F3C 0001 move.w -[A7], 0x1
00002308 3F3C 0006 move.w -[A7], 0x6
0000230C 486E DFBA pea.l [A6 - 0x2046]
00002310 4EBA 13F6 jsr [PC + 0x13F6 /* 00003708 */]
00002314 486E DFBA pea.l [A6 - 0x2046]
00002318 487A 0132 pea.l [PC + 0x132 /* 0000244C, value 0x644454C, pstring "DELAY:" */]
0000231C 4EBA 15E2 jsr [PC + 0x15E2 /* 00003900 */]
00002320 101F move.b D0, [A7]+
00002322 6772 beq +0x74 /* 00002396 */
00002324 486E FF00 pea.l [A6 - 0x100]
00002328 3F3C 0001 move.w -[A7], 0x1
0000232C 3F3C 0006 move.w -[A7], 0x6
00002330 4EBA 143A jsr [PC + 0x143A /* 0000376C */]
00002334 486E DEBA pea.l [A6 - 0x2146]
00002338 486E FF00 pea.l [A6 - 0x100]
0000233C 4EBA E81A jsr [PC - 0x17E6 /* 00000B58 */]
00002340 205F movea.l A0, [A7]+
00002342 43EE FE00 lea.l A1, [A6 - 0x200]
00002346 7040 moveq.l D0, 0x40
label00002348:
00002348 22D8 move.l [A1]+, [A0]+
0000234A 5340 subq.w D0, 1
0000234C 6EFA bgt -0x4 /* 00002348 */
0000234E 486E FE00 pea.l [A6 - 0x200]
00002352 486E FBD0 pea.l [A6 - 0x430]
00002356 4EBA 130A jsr [PC + 0x130A /* 00003662 */]
0000235A 42A7 clr.l -[A7]
0000235C A975 syscall TickCount
0000235E 2A1F move.l D5, [A7]+
00002360 3D7C 000A FBBA move.w [A6 - 0x446], 0xA /* '\n' */
label00002366:
00002366 42A7 clr.l -[A7]
00002368 A975 syscall TickCount
0000236A 2F2E FBD0 move.l -[A7], [A6 - 0x430]
0000236E 703C moveq.l D0, 0x3C
00002370 2F00 move.l -[A7], D0
00002372 4EBA 14A4 jsr [PC + 0x14A4 /* 00003818 */]
00002376 201F move.l D0, [A7]+
00002378 D085 add.l D0, D5
0000237A B09F cmp.l D0, [A7]+
0000237C 6F14 ble +0x16 /* 00002392 */
0000237E 4267 clr.w -[A7]
00002380 3F2E FBBA move.w -[A7], [A6 - 0x446]
00002384 486E FBBC pea.l [A6 - 0x444]
00002388 A970 syscall GetNextEvent
0000238A 101F move.b D0, [A7]+
0000238C 6702 beq +0x4 /* 00002390 */
0000238E 6002 bra +0x4 /* 00002392 */
label00002390:
00002390 60D4 bra -0x2A /* 00002366 */
label00002392:
00002392 6000 00A2 bra +0xA4 /* 00002436 */
label00002396:
00002396 41EE FC00 lea.l A0, [A6 - 0x400]
0000239A 43EE FF00 lea.l A1, [A6 - 0x100]
0000239E 7040 moveq.l D0, 0x40
label000023A0:
000023A0 20D9 move.l [A0]+, [A1]+
000023A2 5340 subq.w D0, 1
000023A4 6EFA bgt -0x4 /* 000023A0 */
000023A6 486E DEBA pea.l [A6 - 0x2146]
000023AA 486E FC00 pea.l [A6 - 0x400]
000023AE 4EBA E7A8 jsr [PC - 0x1858 /* 00000B58 */]
000023B2 205F movea.l A0, [A7]+
000023B4 43EE FE00 lea.l A1, [A6 - 0x200]
000023B8 7040 moveq.l D0, 0x40
label000023BA:
000023BA 22D8 move.l [A1]+, [A0]+
000023BC 5340 subq.w D0, 1
000023BE 6EFA bgt -0x4 /* 000023BA */
000023C0 7001 moveq.l D0, 0x01
000023C2 41EE FE00 lea.l A0, [A6 - 0x200]
000023C6 1230 0000 move.b D1, [A0 + D0.w]
000023CA 0241 00FF andi.w D1, 0xFF
000023CE 0C41 0030 cmpi.w D1, 0x30 /* '0' */
000023D2 5CC0 sge D0
000023D4 6D3C blt +0x3E /* 00002412 */
000023D6 7201 moveq.l D1, 0x01
000023D8 41EE FE00 lea.l A0, [A6 - 0x200]
000023DC 1430 1000 move.b D2, [A0 + D1.w]
000023E0 0242 00FF andi.w D2, 0xFF
000023E4 0C42 0039 cmpi.w D2, 0x39 /* '9' */
000023E8 5FC1 sle D1
000023EA C001 and.b D0, D1
000023EC 6724 beq +0x26 /* 00002412 */
000023EE 486E FE00 pea.l [A6 - 0x200]
000023F2 486E FBE6 pea.l [A6 - 0x41A]
000023F6 4EBA 126A jsr [PC + 0x126A /* 00003662 */]
000023FA 3D6E FBE8 FBFC move.w [A6 - 0x404], [A6 - 0x418]
00002400 41EE FF00 lea.l A0, [A6 - 0x100]
00002404 43EE FC00 lea.l A1, [A6 - 0x400]
00002408 7040 moveq.l D0, 0x40
label0000240A:
0000240A 20D9 move.l [A0]+, [A1]+
0000240C 5340 subq.w D0, 1
0000240E 6EFA bgt -0x4 /* 0000240A */
00002410 6004 bra +0x6 /* 00002416 */
label00002412:
00002412 426E FBFC clr.w [A6 - 0x404]
label00002416:
00002416 102E FBFB move.b D0, [A6 - 0x405]
0000241A 670E beq +0x10 /* 0000242A */
0000241C 486E FF00 pea.l [A6 - 0x100]
00002420 3F2E FBFC move.w -[A7], [A6 - 0x404]
00002424 4EBA EF46 jsr [PC - 0x10BA /* 0000136C */]
00002428 600C bra +0xE /* 00002436 */
label0000242A:
0000242A 486E FF00 pea.l [A6 - 0x100]
0000242E 3F2E FBFC move.w -[A7], [A6 - 0x404]
00002432 4EBA F004 jsr [PC - 0xFFC /* 00001438 */]
label00002436:
00002436 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
0000243A 4E5E unlink A6
0000243C 205F movea.l A0, [A7]+
0000243E 5C4F addq.w A7, 6
00002440 4ED0 jmp [A0]
00002442 C44F and.w D2, A7
00002444 4143 chk.w D0, D3
00002446 5449 addq.w A1, 2
00002448 4F4E chk.w D7, A6
0000244A 00EA 0644 ori.? [A2 + 0x644], 0xFFFFFFFFFFFFFFFF
0000244E 454C chk.w D2, A4
00002450 4159 chk.w D0, [A1]+
00002452 3A00 move.w D5, D0
00002454 0B53 bchg [A3], D5
00002456 5441 addq.w D1, 2
00002458 5254 addq.w [A4], 1
0000245A 2054 movea.l A0, [A4]
0000245C 494D chk.w D4, A5
0000245E 4552 chk.w D2, [A2]
00002460 0A53 4554 xori.w [A3], 0x4554 /* 'ET' */
00002464 4449 neg.w A1
00002466 414C chk.w D0, A4
00002468 4F47 chk.w D7, D7
0000246A 3A00 move.w D5, D0
0000246C 0654 454D addi.w [A4], 0x454D /* 'EM' */
00002470 504F addq.w A7, 8
00002472 3A00 move.w D5, D0
00002474 0941 bchg D1, D4
00002476 4C41 524D movem.l D0,D2,D3,D6,A1,A4,A6, D1
0000247A 204F movea.l A0, A7
0000247C 4646 not.w D6
0000247E 034F bchg A7, D1
00002480 4646 not.w D6
00002482 024F 4E00 andi.w A7, 0x4E00 /* 'N\0' */
00002486 0753 bchg [A3], D3
00002488 5953 subq.w [A3], 4
0000248A 4245 clr.w D5
0000248C 4550 chk.w D2, [A0]
0000248E 0843 4C4F bchg.b D3, 0x4F /* 'O' */
00002492 5345 subq.w D5, 1
00002494 2044 movea.l A0, D4
00002496 4100 .invalid 0, D0 // invalid opcode 4 with b == 4
00002498 0120 btst -[A0], D0
0000249A 0344 bchg D4, D1
0000249C 413A 0000 .invalid 0, [PC /* 0000249E */] // invalid opcode 4 with b == 4
000024A0 0C49 4E53 cmpi.w A1, 0x4E53 /* 'NS' */
000024A4 5441 addq.w D1, 2
000024A6 4C4C 4D45 movem.l D0,D2,D6,A0,A2,A3,A6, A4
000024AA 4E55 3A00 link A5, -0xFFFFC600
000024AE 074C bchg A4, D3
000024B0 4155 chk.w D0, [A5]
000024B2 4E43 trap 3
000024B4 483A 0853 nbcd.b [PC + 0x853 /* 00002D09, value 0x7C '|' */]
000024B8 4855 pea.l [A5]
000024BA 5444 addq.w D4, 2
000024BC 4F57 chk.w D7, [A7]
000024BE 4E00 .invalid // invalid opcode 4
000024C0 0550 bchg [A0], D2
000024C2 5249 addq.w A1, 1
000024C4 4E54 0852 link A4, -0xFFFFF7AE
000024C8 4554 chk.w D2, [A4]
000024CA 5552 subq.w [A2], 2
000024CC 4E2B .invalid // invalid opcode 4
000024CE 3100 move.w -[A0], D0
000024D0 0550 bchg [A0], D2
000024D2 4155 chk.w D0, [A5]
000024D4 5345 subq.w D5, 1
000024D6 0652 4554 addi.w [A2], 0x4554 /* 'ET' */
000024DA 5552 subq.w [A2], 2
000024DC 4E00 .invalid // invalid opcode 4
000024DE 0B44 bchg D4, D5
000024E0 4F55 chk.w D7, [A5]
000024E2 424C clr.w A4
000024E4 4543 chk.w D2, D3
000024E6 4C49 434B movem.l D0,D1,D3,D6,A0,A1,A6, A1
000024EA 013D btst <<invalid special address>>, D0
000024EC 013C 013E btst 0x3E /* '>' */, D0
000024F0 094C bchg A4, D4
000024F2 4153 chk.w D0, [A3]
000024F4 5443 addq.w D3, 2
000024F6 4C49 434B movem.l D0,D1,D3,D6,A0,A1,A6, A1
000024FA 0257 4900 andi.w [A7], 0x4900 /* 'I\0' */
000024FE 0249 4E00 andi.w A1, 0x4E00 /* 'N\0' */
00002502 0653 5052 addi.w [A3], 0x5052 /* 'PR' */
00002506 4954 chk.w D4, [A4]
00002508 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
0000250A 0253 5400 andi.w [A3], 0x5400 /* 'T\0' */
0000250E 0243 4F00 andi.w D3, 0x4F00 /* 'O\0' */
00002512 0245 5100 andi.w D5, 0x5100 /* 'Q\0' */
00002516 0545 bchg D5, D2
00002518 4E54 4552 link A4, -0xFFFFBAAE
0000251C 0354 bchg [A4], D1
0000251E 4142 chk.w D0, D2
00002520 024E 4F00 andi.w A6, 0x4F00 /* 'O\0' */
00002524 0443 4153 subi.w D3, 0x4153 /* 'AS' */
00002528 5400 addq.b D0, 2
0000252A 074C bchg A4, D3
0000252C 4153 chk.w D0, [A3]
0000252E 544B addq.w A3, 2
00002530 4559 chk.w D2, [A1]+
00002532 0249 4600 andi.w A1, 0x4600 /* 'F\0' */
fn00002536:
00002536 4E56 FFEE link A6, -0x0012
0000253A 48E7 0700 movem.l -[A7], D5,D6,D7
0000253E 102D ECA1 move.b D0, [A5 - 0x135F]
00002542 674E beq +0x50 /* 00002592 */
00002544 2F00 move.l -[A7], D0
00002546 4267 clr.w -[A7]
00002548 2F2D FF6C move.l -[A7], [A5 - 0x94]
0000254C 206D EB30 movea.l A0, [A5 - 0x14D0]
00002550 2050 movea.l A0, [A0]
00002552 4868 0008 pea.l [A0 + 0x8]
00002556 A8AD syscall PtInRect
00002558 121F move.b D1, [A7]+
0000255A 201F move.l D0, [A7]+
0000255C C001 and.b D0, D1
0000255E 6732 beq +0x34 /* 00002592 */
00002560 486E FFEE pea.l [A6 - 0x12]
00002564 A874 syscall GetPort
00002566 2F2D EFD2 move.l -[A7], [A5 - 0x102E]
0000256A A873 syscall SetPort
0000256C 4280 clr.l D0
0000256E 302D FF70 move.w D0, [A5 - 0x90]
00002572 0800 0009 btst.b D0, 0x9 /* '\t' */
00002576 56C0 sne D0
00002578 4400 neg.b D0
0000257A 1A00 move.b D5, D0
0000257C 2F2D FF6C move.l -[A7], [A5 - 0x94]
00002580 1F05 move.b -[A7], D5
00002582 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
00002586 A9D4 syscall TEClick
00002588 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000258C A873 syscall SetPort
0000258E 6000 012A bra +0x12C /* 000026BA */
label00002592:
00002592 2D6D FF6C FFF8 move.l [A6 - 0x8], [A5 - 0x94]
00002598 4EBA E4B2 jsr [PC - 0x1B4E /* 00000A4C */]
0000259C 4267 clr.w -[A7]
0000259E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000025A2 2F2D EF70 move.l -[A7], [A5 - 0x1090]
000025A6 3F3C 0004 move.w -[A7], 0x4
000025AA 3F3C 0004 move.w -[A7], 0x4
000025AE 4EBA 1418 jsr [PC + 0x1418 /* 000039C8 */]
000025B2 3F3C 0004 move.w -[A7], 0x4
000025B6 548F addq.l A7, 2
000025B8 4EBA 3A5E jsr [PC + 0x3A5E /* 00006018 */]
000025BC 3E1F move.w D7, [A7]+
000025BE 102D EAB7 move.b D0, [A5 - 0x1549]
000025C2 6774 beq +0x76 /* 00002638 */
000025C4 206D EF6C movea.l A0, [A5 - 0x1094]
000025C8 2207 move.l D1, D7
000025CA E941 asl D1.w, 4
000025CC 0C30 0008 1000 cmpi.b [A0 + D1.w], 0x8
000025D2 57C1 seq D1
000025D4 C001 and.b D0, D1
000025D6 6760 beq +0x62 /* 00002638 */
label000025D8:
000025D8 2D6E FFF8 FFFC move.l [A6 - 0x4], [A6 - 0x8]
000025DE 486E FFF8 pea.l [A6 - 0x8]
000025E2 A972 syscall GetMouse
000025E4 2007 move.l D0, D7
000025E6 E540 asl D0.w, 2
000025E8 322E FFFA move.w D1, [A6 - 0x6]
000025EC 41ED EAB6 lea.l A0, [A5 - 0x154A]
000025F0 D270 0000 add.w D1, [A0 + D0.w]
000025F4 926E FFFE sub.w D1, [A6 - 0x2]
000025F8 2007 move.l D0, D7
000025FA E540 asl D0.w, 2
000025FC 41ED EAB6 lea.l A0, [A5 - 0x154A]
00002600 3181 0000 move.w [A0 + D0.w], D1
00002604 2007 move.l D0, D7
00002606 E540 asl D0.w, 2
00002608 322E FFF8 move.w D1, [A6 - 0x8]
0000260C 41ED EAB4 lea.l A0, [A5 - 0x154C]
00002610 D270 0000 add.w D1, [A0 + D0.w]
00002614 926E FFFC sub.w D1, [A6 - 0x4]
00002618 2007 move.l D0, D7
0000261A E540 asl D0.w, 2
0000261C 41ED EAB4 lea.l A0, [A5 - 0x154C]
00002620 3181 0000 move.w [A0 + D0.w], D1
00002624 4EBA 0300 jsr [PC + 0x300 /* 00002926 */]
00002628 4267 clr.w -[A7]
0000262A A973 syscall StillDown
0000262C 101F move.b D0, [A7]+
0000262E 0A00 0001 xori.b D0, 0x1
00002632 67A4 beq -0x5A /* 000025D8 */
00002634 6000 0084 bra +0x86 /* 000026BA */
label00002638:
00002638 4246 clr.w D6
0000263A 6022 bra +0x24 /* 0000265E */
label0000263C:
0000263C 4267 clr.w -[A7]
0000263E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002642 2F2D EF70 move.l -[A7], [A5 - 0x1090]
00002646 3F3C 0004 move.w -[A7], 0x4
0000264A 3F3C 0004 move.w -[A7], 0x4
0000264E 4EBA 1378 jsr [PC + 0x1378 /* 000039C8 */]
00002652 3F3C 0004 move.w -[A7], 0x4
00002656 548F addq.l A7, 2
00002658 4EBA 39BE jsr [PC + 0x39BE /* 00006018 */]
0000265C 3E1F move.w D7, [A7]+
label0000265E:
0000265E BE46 cmp.w D7, D6
00002660 670E beq +0x10 /* 00002670 */
00002662 3F06 move.w -[A7], D6
00002664 4EBA E43C jsr [PC - 0x1BC4 /* 00000AA2 */]
00002668 3F07 move.w -[A7], D7
0000266A 4EBA E436 jsr [PC - 0x1BCA /* 00000AA2 */]
0000266E 3C07 move.w D6, D7
label00002670:
00002670 4EBA 02B4 jsr [PC + 0x2B4 /* 00002926 */]
00002674 486E FFF8 pea.l [A6 - 0x8]
00002678 A972 syscall GetMouse
0000267A 4267 clr.w -[A7]
0000267C A973 syscall StillDown
0000267E 101F move.b D0, [A7]+
00002680 0A00 0001 xori.b D0, 0x1
00002684 67B6 beq -0x48 /* 0000263C */
00002686 4A47 tst.w D7
00002688 6720 beq +0x22 /* 000026AA */
0000268A 3F07 move.w -[A7], D7
0000268C 4EBA E414 jsr [PC - 0x1BEC /* 00000AA2 */]
00002690 206D EF6C movea.l A0, [A5 - 0x1094]
00002694 2007 move.l D0, D7
00002696 E940 asl D0.w, 4
00002698 1230 0000 move.b D1, [A0 + D0.w]
0000269C 4881 ext.w D1
0000269E 3F01 move.w -[A7], D1
000026A0 487A 002A pea.l [PC + 0x2A /* 000026CC, value 0x4E56 'NV' */]
000026A4 4EBA EE2E jsr [PC - 0x11D2 /* 000014D4 */]
000026A8 6010 bra +0x12 /* 000026BA */
label000026AA:
000026AA 102D E886 move.b D0, [A5 - 0x177A]
000026AE 670A beq +0xC /* 000026BA */
000026B0 3F3C 000A move.w -[A7], 0xA /* '\n' */
000026B4 A9C8 syscall SysBeep
000026B6 4EBA 0EF8 jsr [PC + 0xEF8 /* 000035B0 */]
label000026BA:
000026BA 4CDF 00E0 movem.l D5,D6,D7, [A7]+
000026BE 4E5E unlink A6
000026C0 4E75 rts
000026C2 CD44 exg D6, D4
000026C4 4558 chk.w D2, [A0]+
000026C6 5020 addq.b -[A0], 8
000026C8 2020 move.l D0, -[A0]
000026CA 0002 0000 ori.b D2, 0x0
fn000026CE:
000026CE 4E56 FFFC link A6, -0x0004
000026D2 0C2D 0001 FF73 cmpi.b [A5 - 0x8D], 0x1
000026D8 57C0 seq D0
000026DA 6614 bne +0x16 /* 000026F0 */
000026DC 0C6D 002E FF4A cmpi.w [A5 - 0xB6], 0x2E /* '.' */
000026E2 57C1 seq D1
000026E4 C001 and.b D0, D1
000026E6 6708 beq +0xA /* 000026F0 */
000026E8 1B7C 0001 FF74 move.b [A5 - 0x8C], 0x1
000026EE 6028 bra +0x2A /* 00002718 */
label000026F0:
000026F0 486E FFFC pea.l [A6 - 0x4]
000026F4 A874 syscall GetPort
000026F6 2F2D EFD2 move.l -[A7], [A5 - 0x102E]
000026FA A873 syscall SetPort
000026FC 102D ECA1 move.b D0, [A5 - 0x135F]
00002700 6710 beq +0x12 /* 00002712 */
00002702 C02D E881 and.b D0, [A5 - 0x177F]
00002706 670A beq +0xC /* 00002712 */
00002708 3F2D FF4A move.w -[A7], [A5 - 0xB6]
0000270C 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
00002710 A9DC syscall TEKey
label00002712:
00002712 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002716 A873 syscall SetPort
label00002718:
00002718 4E5E unlink A6
0000271A 4E75 rts
0000271C CB44 exg D5, D4
0000271E 4558 chk.w D2, [A0]+
00002720 5020 addq.b -[A0], 8
00002722 2020 move.l D0, -[A0]
00002724 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002726-0000272A
fn00002726:
00002726 4E56 FEFE link A6, -0x0102
// end alternate branch 00002726-0000272A
fn00002726: // (misaligned)
00002728 FEFE .extension 0xEFE // unimplemented
0000272A 48E7 0108 movem.l -[A7], D7,A4
0000272E 7E01 moveq.l D7, 0x01
00002730 606C bra +0x6E /* 0000279E */
label00002732:
00002732 3007 move.w D0, D7
00002734 6B18 bmi +0x1A /* 0000274E */
00002736 B07C 001F cmp.w D0, 0x1F
0000273A 6E12 bgt +0x14 /* 0000274E */
0000273C 41ED FE36 lea.l A0, [A5 - 0x1CA]
00002740 3200 move.w D1, D0
00002742 E649 lsr D1.w, 3
00002744 4441 neg.w D1
00002746 0130 10FF btst [A0 + D1.w - 0x1], D0
0000274A 0A3C 0004 xori.b ccr, 4
label0000274E:
0000274E 664C bne +0x4E /* 0000279C */
00002750 206D EF6C movea.l A0, [A5 - 0x1094]
00002754 2007 move.l D0, D7
00002756 E940 asl D0.w, 4
00002758 49F0 0000 lea.l A4, [A0 + D0.w]
0000275C 0C14 0008 cmpi.b [A4], 0x8
00002760 6632 bne +0x34 /* 00002794 */
00002762 41ED EB17 lea.l A0, [A5 - 0x14E9]
00002766 4A30 7000 tst.b [A0 + D7.w]
0000276A 6618 bne +0x1A /* 00002784 */
0000276C 41ED EB17 lea.l A0, [A5 - 0x14E9]
00002770 11BC 0001 7000 move.b [A0 + D7.w], 0x1
00002776 2007 move.l D0, D7
00002778 E540 asl D0.w, 2
0000277A 41ED EAB4 lea.l A0, [A5 - 0x154C]
0000277E 21AC 0008 0000 move.l [A0 + D0.w], [A4 + 0x8]
label00002784:
00002784 2007 move.l D0, D7
00002786 E540 asl D0.w, 2
00002788 41ED EAB4 lea.l A0, [A5 - 0x154C]
0000278C 2970 0000 0008 move.l [A4 + 0x8], [A0 + D0.w]
00002792 6008 bra +0xA /* 0000279C */
label00002794:
00002794 41ED EB17 lea.l A0, [A5 - 0x14E9]
00002798 4230 7000 clr.b [A0 + D7.w]
label0000279C:
0000279C 5247 addq.w D7, 1
label0000279E:
0000279E 0C47 0018 cmpi.w D7, 0x18
000027A2 6F8E ble -0x70 /* 00002732 */
000027A4 4CDF 1080 movem.l D7,A4, [A7]+
000027A8 4E5E unlink A6
000027AA 4E75 rts
000027AC CD4F exg A6, A7
000027AE 5645 addq.w D5, 3
000027B0 4348 chk.w D1, A0
000027B2 4543 chk.w D2, D3
000027B4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000027B6-000027BA
fn000027B6:
000027B6 4E56 FFE2 link A6, -0x001E
// end alternate branch 000027B6-000027BA
fn000027B6: // (misaligned)
000027B8 FFE2 .extension 0xFE2 // unimplemented
000027BA 48E7 0128 movem.l -[A7], D7,A2,A4
000027BE 422E 0008 clr.b [A6 + 0x8]
000027C2 4247 clr.w D7
000027C4 6000 0146 bra +0x148 /* 0000290C */
label000027C8:
000027C8 206D EF6C movea.l A0, [A5 - 0x1094]
000027CC 2007 move.l D0, D7
000027CE E940 asl D0.w, 4
000027D0 49F0 0000 lea.l A4, [A0 + D0.w]
000027D4 1014 move.b D0, [A4]
000027D6 4880 ext.w D0
000027D8 5340 subq.w D0, 1
000027DA 6708 beq +0xA /* 000027E4 */
000027DC 5D40 subq.w D0, 6
000027DE 673A beq +0x3C /* 0000281A */
000027E0 6000 0128 bra +0x12A /* 0000290A */
label000027E4:
000027E4 4A47 tst.w D7
000027E6 57C0 seq D0
000027E8 6726 beq +0x28 /* 00002810 */
000027EA 2F00 move.l -[A7], D0
000027EC 4267 clr.w -[A7]
000027EE 206D EF6C movea.l A0, [A5 - 0x1094]
000027F2 2207 move.l D1, D7
000027F4 E741 asl D1.w, 3
000027F6 41E8 01A0 lea.l A0, [A0 + 0x1A0]
000027FA 4870 1000 pea.l [A0 + D1.w]
000027FE A8AE syscall EmptyRect
00002800 121F move.b D1, [A7]+
00002802 201F move.l D0, [A7]+
00002804 0A01 0001 xori.b D1, 0x1
00002808 8001 or.b D0, D1
0000280A 0240 0001 andi.w D0, 0x1
0000280E 6706 beq +0x8 /* 00002816 */
label00002810:
00002810 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
label00002816:
00002816 6000 00F2 bra +0xF4 /* 0000290A */
label0000281A:
0000281A 4A2D ECA1 tst.b [A5 - 0x135F]
0000281E 57C0 seq D0
00002820 6600 00E8 bne +0xEA /* 0000290A */
00002824 0C2C 0007 0001 cmpi.b [A4 + 0x1], 0x7
0000282A 57C1 seq D1
0000282C C001 and.b D0, D1
0000282E 6700 00DA beq +0xDC /* 0000290A */
00002832 486E FFE2 pea.l [A6 - 0x1E]
00002836 A874 syscall GetPort
00002838 2F2D EFD2 move.l -[A7], [A5 - 0x102E]
0000283C A873 syscall SetPort
0000283E 1B7C 0001 ECA1 move.b [A5 - 0x135F], 0x1
00002844 3B47 EC9E move.w [A5 - 0x1362], D7
00002848 3F07 move.w -[A7], D7
0000284A 4EBA 10EA jsr [PC + 0x10EA /* 00003936 */]
0000284E 3F3C 0004 move.w -[A7], 0x4
00002852 4EBA 1174 jsr [PC + 0x1174 /* 000039C8 */]
00002856 3F3C 0004 move.w -[A7], 0x4
0000285A 548F addq.l A7, 2
0000285C 2D5F FFE6 move.l [A6 - 0x1A], [A7]+
00002860 2F2D EF6C move.l -[A7], [A5 - 0x1094]
00002864 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00002868 3F3C 0004 move.w -[A7], 0x4
0000286C 3F3C 0004 move.w -[A7], 0x4
00002870 4EBA 1156 jsr [PC + 0x1156 /* 000039C8 */]
00002874 3F3C 0004 move.w -[A7], 0x4
00002878 548F addq.l A7, 2
0000287A 4EBA 3734 jsr [PC + 0x3734 /* 00005FB0 */]
0000287E 206D EF6C movea.l A0, [A5 - 0x1094]
00002882 2007 move.l D0, D7
00002884 E940 asl D0.w, 4
00002886 41F0 0000 lea.l A0, [A0 + D0.w]
0000288A 2D48 FFF0 move.l [A6 - 0x10], A0
0000288E 206D EF6C movea.l A0, [A5 - 0x1094]
00002892 2007 move.l D0, D7
00002894 E740 asl D0.w, 3
00002896 43E8 01A0 lea.l A1, [A0 + 0x1A0]
0000289A 41F1 0000 lea.l A0, [A1 + D0.w]
0000289E 2D48 FFFA move.l [A6 - 0x6], A0
000028A2 2F2D FF54 move.l -[A7], [A5 - 0xAC]
000028A6 A873 syscall SetPort
000028A8 41EE FFEA lea.l A0, [A6 - 0x16]
000028AC 2F08 move.l -[A7], A0
000028AE 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
000028B2 4EBA 2CFC jsr [PC + 0x2CFC /* 000055B0 */]
000028B6 302D E87E move.w D0, [A5 - 0x1782]
000028BA 48C0 ext.l D0
000028BC 2F00 move.l -[A7], D0
000028BE 302D E87C move.w D0, [A5 - 0x1784]
000028C2 48C0 ext.l D0
000028C4 2F00 move.l -[A7], D0
000028C6 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
000028CA A9D1 syscall TESetSelect
000028CC 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
000028D0 A9D8 syscall TEActivate
000028D2 206D EF6C movea.l A0, [A5 - 0x1094]
000028D6 2007 move.l D0, D7
000028D8 E740 asl D0.w, 3
000028DA 43ED EC96 lea.l A1, [A5 - 0x136A]
000028DE 45E8 01A0 lea.l A2, [A0 + 0x1A0]
000028E2 41F2 0000 lea.l A0, [A2 + D0.w]
000028E6 22D8 move.l [A1]+, [A0]+
000028E8 22D8 move.l [A1]+, [A0]+
000028EA 486D EC96 pea.l [A5 - 0x136A]
000028EE 3F3C FFFC move.w -[A7], 0xFFFC
000028F2 3F3C FFFE move.w -[A7], 0xFFFE
000028F6 A8A9 syscall InsetRect
000028F8 102D E880 move.b D0, [A5 - 0x1780]
000028FC 6706 beq +0x8 /* 00002904 */
000028FE 486D EC96 pea.l [A5 - 0x136A]
00002902 A8A1 syscall FrameRect
label00002904:
00002904 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00002908 A873 syscall SetPort
label0000290A:
0000290A 5247 addq.w D7, 1
label0000290C:
0000290C 0C47 0018 cmpi.w D7, 0x18
00002910 6F00 FEB6 ble -0x148 /* 000027C8 */
00002914 4CDF 1480 movem.l D7,A2,A4, [A7]+
00002918 4E5E unlink A6
0000291A 4E75 rts
0000291C C841 and.w D4, D1
0000291E 4C54 4348 movem.l D3,D6,A0,A1,A6, [A4]
00002922 4543 chk.w D2, D3
00002924 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002926-0000292A
fn00002926:
00002926 4E56 FFF4 link A6, -0x000C
// end alternate branch 00002926-0000292A
fn00002926: // (misaligned)
00002928 FFF4 .extension 0xFF4 // unimplemented
0000292A 102D EFC1 move.b D0, [A5 - 0x103F]
0000292E 6700 0170 beq +0x172 /* 00002AA0 */
00002932 102D ECA1 move.b D0, [A5 - 0x135F]
00002936 6706 beq +0x8 /* 0000293E */
00002938 2F2D EB30 move.l -[A7], [A5 - 0x14D0]
0000293C A9DA syscall TEIdle
label0000293E:
0000293E 102D EB35 move.b D0, [A5 - 0x14CB]
00002942 670A beq +0xC /* 0000294E */
00002944 4267 clr.w -[A7]
00002946 4EBA 5596 jsr [PC + 0x5596 /* 00007EDE */]
0000294A 1B5F EB35 move.b [A5 - 0x14CB], [A7]+
label0000294E:
0000294E 102D EFD9 move.b D0, [A5 - 0x1027]
00002952 0A00 0001 xori.b D0, 0x1
00002956 673A beq +0x3C /* 00002992 */
00002958 2F00 move.l -[A7], D0
0000295A 42A7 clr.l -[A7]
0000295C A924 syscall FrontWindow
0000295E 221F move.l D1, [A7]+
00002960 201F move.l D0, [A7]+
00002962 B2AD FF54 cmp.l D1, [A5 - 0xAC]
00002966 57C1 seq D1
00002968 C001 and.b D0, D1
0000296A 6726 beq +0x28 /* 00002992 */
0000296C 4A2D E887 tst.b [A5 - 0x1779]
00002970 57C1 seq D1
00002972 C001 and.b D0, D1
00002974 671C beq +0x1E /* 00002992 */
00002976 486D EFD2 pea.l [A5 - 0x102E]
0000297A A910 syscall GetWMgrPort
0000297C 1B7C 0001 EFD9 move.b [A5 - 0x1027], 0x1
00002982 206D EFD2 movea.l A0, [A5 - 0x102E]
00002986 43ED EFCA lea.l A1, [A5 - 0x1036]
0000298A 41E8 0010 lea.l A0, [A0 + 0x10]
0000298E 22D8 move.l [A1]+, [A0]+
00002990 22D8 move.l [A1]+, [A0]+
label00002992:
00002992 4EBA E0B8 jsr [PC - 0x1F48 /* 00000A4C */]
00002996 4A2D FE37 tst.b [A5 - 0x1C9]
0000299A 57C0 seq D0
0000299C 6620 bne +0x22 /* 000029BE */
0000299E 222D EF70 move.l D1, [A5 - 0x1090]
000029A2 7400 moveq.l D2, 0x00
000029A4 B282 cmp.l D1, D2
000029A6 56C1 sne D1
000029A8 0C2D 0001 E887 cmpi.b [A5 - 0x1779], 0x1
000029AE 57C2 seq D2
000029B0 8202 or.b D1, D2
000029B2 C001 and.b D0, D1
000029B4 6708 beq +0xA /* 000029BE */
000029B6 A853 syscall ShowCursor
000029B8 1B7C 0001 FE37 move.b [A5 - 0x1C9], 0x1
label000029BE:
000029BE 102D FE37 move.b D0, [A5 - 0x1C9]
000029C2 671E beq +0x20 /* 000029E2 */
000029C4 222D EF70 move.l D1, [A5 - 0x1090]
000029C8 7400 moveq.l D2, 0x00
000029CA B282 cmp.l D1, D2
000029CC 57C1 seq D1
000029CE C001 and.b D0, D1
000029D0 6710 beq +0x12 /* 000029E2 */
000029D2 4A2D E887 tst.b [A5 - 0x1779]
000029D6 57C1 seq D1
000029D8 C001 and.b D0, D1
000029DA 6706 beq +0x8 /* 000029E2 */
000029DC A852 syscall HideCursor
000029DE 422D FE37 clr.b [A5 - 0x1C9]
label000029E2:
000029E2 42A7 clr.l -[A7]
000029E4 A975 syscall TickCount
000029E6 302D EFE0 move.w D0, [A5 - 0x1020]
000029EA 48C0 ext.l D0
000029EC D0AD EFE2 add.l D0, [A5 - 0x101E]
000029F0 B09F cmp.l D0, [A7]+
000029F2 6E00 00AC bgt +0xAE /* 00002AA0 */
000029F6 1B7C 0001 ECC5 move.b [A5 - 0x133B], 0x1
000029FC 4267 clr.w -[A7]
000029FE 4267 clr.w -[A7]
00002A00 4EBA E006 jsr [PC - 0x1FFA /* 00000A08 */]
00002A04 101F move.b D0, [A7]+
00002A06 6726 beq +0x28 /* 00002A2E */
00002A08 206D EF6C movea.l A0, [A5 - 0x1094]
00002A0C 1010 move.b D0, [A0]
00002A0E 4880 ext.w D0
00002A10 3D40 FFF4 move.w [A6 - 0xC], D0
00002A14 0C6E 0001 FFF4 cmpi.w [A6 - 0xC], 0x1
00002A1A 6712 beq +0x14 /* 00002A2E */
00002A1C 206D EF6C movea.l A0, [A5 - 0x1094]
00002A20 1010 move.b D0, [A0]
00002A22 4880 ext.w D0
00002A24 3F00 move.w -[A7], D0
00002A26 487A 0086 pea.l [PC + 0x86 /* 00002AAE, value 0x4E56 'NV' */]
00002A2A 4EBA EAA8 jsr [PC - 0x1558 /* 000014D4 */]
label00002A2E:
00002A2E 4267 clr.w -[A7]
00002A30 4EBA FD84 jsr [PC - 0x27C /* 000027B6 */]
00002A34 101F move.b D0, [A7]+
00002A36 6720 beq +0x22 /* 00002A58 */
00002A38 4267 clr.w -[A7]
00002A3A 4EBA 547A jsr [PC + 0x547A /* 00007EB6 */]
00002A3E 302D ED14 move.w D0, [A5 - 0x12EC]
00002A42 B05F cmp.w D0, [A7]+
00002A44 6710 beq +0x12 /* 00002A56 */
00002A46 4EBA 492E jsr [PC + 0x492E /* 00007376 */]
00002A4A 4267 clr.w -[A7]
00002A4C 4EBA 5468 jsr [PC + 0x5468 /* 00007EB6 */]
00002A50 3B5F ED14 move.w [A5 - 0x12EC], [A7]+
00002A54 604A bra +0x4C /* 00002AA0 */
label00002A56:
00002A56 6004 bra +0x6 /* 00002A5C */
label00002A58:
00002A58 426D ED14 clr.w [A5 - 0x12EC]
label00002A5C:
00002A5C 4267 clr.w -[A7]
00002A5E 4EBA 5456 jsr [PC + 0x5456 /* 00007EB6 */]
00002A62 302D ED14 move.w D0, [A5 - 0x12EC]
00002A66 B05F cmp.w D0, [A7]+
00002A68 6712 beq +0x14 /* 00002A7C */
00002A6A 4267 clr.w -[A7]
00002A6C 4EBA 5422 jsr [PC + 0x5422 /* 00007E90 */]
00002A70 101F move.b D0, [A7]+
00002A72 6708 beq +0xA /* 00002A7C */
00002A74 3F3C 0001 move.w -[A7], 0x1
00002A78 4EBA E878 jsr [PC - 0x1788 /* 000012F2 */]
label00002A7C:
00002A7C 102D ECC5 move.b D0, [A5 - 0x133B]
00002A80 671E beq +0x20 /* 00002AA0 */
00002A82 4267 clr.w -[A7]
00002A84 4EBA 4648 jsr [PC + 0x4648 /* 000070CE */]
00002A88 101F move.b D0, [A7]+
00002A8A 6714 beq +0x16 /* 00002AA0 */
00002A8C 4267 clr.w -[A7]
00002A8E 4EBA E53E jsr [PC - 0x1AC2 /* 00000FCE */]
00002A92 102D EAB7 move.b D0, [A5 - 0x1549]
00002A96 6704 beq +0x6 /* 00002A9C */
00002A98 4EBA FC8C jsr [PC - 0x374 /* 00002726 */]
label00002A9C:
00002A9C 4EBA 47B0 jsr [PC + 0x47B0 /* 0000724E */]
label00002AA0:
00002AA0 4E5E unlink A6
00002AA2 4E75 rts
00002AA4 C241 and.w D1, D1
00002AA6 434B chk.w D1, A3
00002AA8 4752 chk.w D3, [A2]
00002AAA 4F55 chk.w D7, [A5]
00002AAC 0002 0000 ori.b D2, 0x0
fn00002AB0:
00002AB0 4E56 0000 link A6, 0
00002AB4 302D FF62 move.w D0, [A5 - 0x9E]
00002AB8 5340 subq.w D0, 1
00002ABA 671E beq +0x20 /* 00002ADA */
00002ABC 5540 subq.w D0, 2
00002ABE 6720 beq +0x22 /* 00002AE0 */
00002AC0 5540 subq.w D0, 2
00002AC2 671C beq +0x1E /* 00002AE0 */
00002AC4 5340 subq.w D0, 1
00002AC6 670C beq +0xE /* 00002AD4 */
00002AC8 5540 subq.w D0, 2
00002ACA 6702 beq +0x4 /* 00002ACE */
00002ACC 6016 bra +0x18 /* 00002AE4 */
label00002ACE:
00002ACE 4EBA D6C8 jsr [PC - 0x2938 /* 00000198 */]
00002AD2 6010 bra +0x12 /* 00002AE4 */
label00002AD4:
00002AD4 4EBA D6D4 jsr [PC - 0x292C /* 000001AA */]
00002AD8 600A bra +0xC /* 00002AE4 */
label00002ADA:
00002ADA 4EBA FA5A jsr [PC - 0x5A6 /* 00002536 */]
00002ADE 6004 bra +0x6 /* 00002AE4 */
label00002AE0:
00002AE0 4EBA FBEC jsr [PC - 0x414 /* 000026CE */]
label00002AE4:
00002AE4 4E5E unlink A6
00002AE6 4E75 rts
00002AE8 C558 .incomplete
00002AEA 5043 addq.w D3, 8
00002AEC 4F4E chk.w D7, A6
00002AEE 5452 addq.w [A2], 2
00002AF0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002AF2-00002AF6
fn00002AF2:
00002AF2 4E56 FFF8 link A6, -0x0008
// end alternate branch 00002AF2-00002AF6
fn00002AF2: // (misaligned)
00002AF4 FFF8 .extension 0xFF8 // unimplemented
00002AF6 48E7 0018 movem.l -[A7], A3,A4
00002AFA 42A7 clr.l -[A7]
00002AFC 3F2E 0010 move.w -[A7], [A6 + 0x10]
00002B00 2F2E 000C move.l -[A7], [A6 + 0xC]
00002B04 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B08 A9BD syscall GetNewWindow
00002B0A 285F movea.l A4, [A7]+
00002B0C 264C movea.l A3, A4
00002B0E 377C 0008 006C move.w [A3 + 0x6C], 0x8
00002B14 2D4C 0012 move.l [A6 + 0x12], A4
00002B18 4CDF 1800 movem.l A3,A4, [A7]+
00002B1C 4E5E unlink A6
00002B1E 205F movea.l A0, [A7]+
00002B20 DEFC 000A add.w A7, 0xA /* '\n' */
00002B24 4ED0 jmp [A0]
00002B26 C645 and.w D3, D5
00002B28 5443 addq.w D3, 2
00002B2A 4857 pea.l [A7]
00002B2C 494E chk.w D4, A6
00002B2E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002B30-00002B34
fn00002B30:
00002B30 4E56 FFF8 link A6, -0x0008
// end alternate branch 00002B30-00002B34
fn00002B30: // (misaligned)
00002B32 FFF8 .extension 0xFF8 // unimplemented
00002B34 2F0C move.l -[A7], A4
00002B36 A930 syscall InitMenus
00002B38 42A7 clr.l -[A7]
00002B3A 3F3C 0001 move.w -[A7], 0x1
00002B3E A9BF syscall GetRMenu
00002B40 285F movea.l A4, [A7]+
00002B42 2F0C move.l -[A7], A4
00002B44 2F3A 001C move.l -[A7], [PC + 0x1C /* 00002B62, value 0x44525652 'DRVR' */]
00002B48 A94D syscall AppendResMenu/AddResMenu
00002B4A 2F0C move.l -[A7], A4
00002B4C 4267 clr.w -[A7]
00002B4E A935 syscall InsertMenu
00002B50 A937 syscall DrawMenuBar
00002B52 285F movea.l A4, [A7]+
00002B54 4E5E unlink A6
00002B56 4E75 rts
00002B58 D345 addx.w D1, D5
00002B5A 5455 addq.w [A5], 2
00002B5C 504D addq.w A5, 8
00002B5E 454E chk.w D2, A6
00002B60 0004 4452 ori.b D4, 0x52 /* 'R' */
00002B64 5652 addq.w [A2], 3
fn00002B66:
00002B66 4E56 FFFC link A6, -0x0004
00002B6A 486D FF6C pea.l [A5 - 0x94]
00002B6E A871 syscall GlobalToLocal
00002B70 486E FFFC pea.l [A6 - 0x4]
00002B74 A874 syscall GetPort
00002B76 2F2D FF5C move.l -[A7], [A5 - 0xA4]
00002B7A A873 syscall SetPort
00002B7C 2B6D FF5C FF58 move.l [A5 - 0xA8], [A5 - 0xA4]
00002B82 202D FF5C move.l D0, [A5 - 0xA4]
00002B86 B0AD FF54 cmp.l D0, [A5 - 0xAC]
00002B8A 6604 bne +0x6 /* 00002B90 */
00002B8C 4EBA FF22 jsr [PC - 0xDE /* 00002AB0 */]
label00002B90:
00002B90 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002B94 A873 syscall SetPort
00002B96 4E5E unlink A6
00002B98 4E75 rts
00002B9A D345 addx.w D1, D5
00002B9C 4E44 trap 4
00002B9E 4D53 chk.w D6, [A3]
00002BA0 4757 chk.w D3, [A7]
00002BA2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002BA4-00002BA8
fn00002BA4:
00002BA4 4E56 FFFE link A6, -0x0002
// end alternate branch 00002BA4-00002BA8
fn00002BA4: // (misaligned)
00002BA6 FFFE .extension 0xFFE // unimplemented
00002BA8 2F07 move.l -[A7], D7
00002BAA 422E 0010 clr.b [A6 + 0x10]
00002BAE 4247 clr.w D7
00002BB0 6020 bra +0x22 /* 00002BD2 */
label00002BB2:
00002BB2 206E 000C movea.l A0, [A6 + 0xC]
00002BB6 1030 7000 move.b D0, [A0 + D7.w]
00002BBA 0240 00FF andi.w D0, 0xFF
00002BBE 206E 0008 movea.l A0, [A6 + 0x8]
00002BC2 1230 7000 move.b D1, [A0 + D7.w]
00002BC6 0241 00FF andi.w D1, 0xFF
00002BCA B240 cmp.w D1, D0
00002BCC 6702 beq +0x4 /* 00002BD0 */
00002BCE 600E bra +0x10 /* 00002BDE */
label00002BD0:
00002BD0 5247 addq.w D7, 1
label00002BD2:
00002BD2 0C47 0007 cmpi.w D7, 0x7
00002BD6 6FDA ble -0x24 /* 00002BB2 */
00002BD8 1D7C 0001 0010 move.b [A6 + 0x10], 0x1
label00002BDE:
00002BDE 2E1F move.l D7, [A7]+
00002BE0 4E5E unlink A6
00002BE2 205F movea.l A0, [A7]+
00002BE4 504F addq.w A7, 8
00002BE6 4ED0 jmp [A0]
00002BE8 C551 .incomplete
00002BEA 5541 subq.w D1, 2
00002BEC 4C50 4154 movem.l D2,D4,D6,A0,A6, [A0]
00002BF0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002BF2-00002BF6
fn00002BF2:
00002BF2 4E56 FFF8 link A6, -0x0008
// end alternate branch 00002BF2-00002BF6
fn00002BF2: // (misaligned)
00002BF4 FFF8 .extension 0xFF8 // unimplemented
00002BF6 422E 0008 clr.b [A6 + 0x8]
00002BFA 42A7 clr.l -[A7]
00002BFC 3F3C 0010 move.w -[A7], 0x10
00002C00 A9B8 syscall GetPattern
00002C02 2B5F ED10 move.l [A5 - 0x12F0], [A7]+
00002C06 206D ED10 movea.l A0, [A5 - 0x12F0]
00002C0A 2050 movea.l A0, [A0]
00002C0C 43EE FFF8 lea.l A1, [A6 - 0x8]
00002C10 22D8 move.l [A1]+, [A0]+
00002C12 22D8 move.l [A1]+, [A0]+
00002C14 4267 clr.w -[A7]
00002C16 486E FFF8 pea.l [A6 - 0x8]
00002C1A 486D ED08 pea.l [A5 - 0x12F8]
00002C1E 4EBA FF84 jsr [PC - 0x7C /* 00002BA4 */]
00002C22 101F move.b D0, [A7]+
00002C24 0A00 0001 xori.b D0, 0x1
00002C28 6712 beq +0x14 /* 00002C3C */
00002C2A 41ED ED08 lea.l A0, [A5 - 0x12F8]
00002C2E 43EE FFF8 lea.l A1, [A6 - 0x8]
00002C32 20D9 move.l [A0]+, [A1]+
00002C34 20D9 move.l [A0]+, [A1]+
00002C36 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
label00002C3C:
00002C3C 4E5E unlink A6
00002C3E 4E75 rts
00002C40 CE45 and.w D7, D5
00002C42 5742 subq.w D2, 3
00002C44 4143 chk.w D0, D3
00002C46 4B20 .invalid 5, -[A0] // invalid opcode 4 with b == 4
00002C48 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002C4A-00002C4E
fn00002C4A:
00002C4A 4E56 FEA2 link A6, -0x015E
// end alternate branch 00002C4A-00002C4E
fn00002C4A: // (misaligned)
00002C4C FEA2 .extension 0xEA2 // unimplemented
00002C4E 3D7C 0040 FFFE move.w [A6 - 0x2], 0x40 /* '@' */
00002C54 3D7C 0040 FFFC move.w [A6 - 0x4], 0x40 /* '@' */
00002C5A 422E FEFC clr.b [A6 - 0x104]
00002C5E 2D7C 5657 5A50 FEA2 move.l [A6 - 0x15E], 0x56575A50 /* 'VWZP' */
00002C66 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002C6A 486E FEFC pea.l [A6 - 0x104]
00002C6E 42A7 clr.l -[A7]
00002C70 3F3C 0001 move.w -[A7], 0x1
00002C74 486E FEA2 pea.l [A6 - 0x15E]
00002C78 42A7 clr.l -[A7]
00002C7A 486E FEB2 pea.l [A6 - 0x14E]
00002C7E 4EBA 09DC jsr [PC + 0x9DC /* 0000365C */]
00002C82 1D6E FEB2 0008 move.b [A6 + 0x8], [A6 - 0x14E]
00002C88 102E FEB2 move.b D0, [A6 - 0x14E]
00002C8C 6716 beq +0x18 /* 00002CA4 */
00002C8E 41ED ECC8 lea.l A0, [A5 - 0x1338]
00002C92 43EE FEBC lea.l A1, [A6 - 0x144]
00002C96 7010 moveq.l D0, 0x10
label00002C98:
00002C98 20D9 move.l [A0]+, [A1]+
00002C9A 5340 subq.w D0, 1
00002C9C 6EFA bgt -0x4 /* 00002C98 */
00002C9E 3B6E FEB8 ECC6 move.w [A5 - 0x133A], [A6 - 0x148]
label00002CA4:
00002CA4 4E5E unlink A6
00002CA6 4E75 rts
00002CA8 D052 add.w D0, [A2]
00002CAA 4F4D chk.w D7, A5
00002CAC 5054 addq.w [A4], 8
00002CAE 4146 chk.w D0, D6
00002CB0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002CB2-00002CB6
fn00002CB2:
00002CB2 4E56 FDF6 link A6, -0x020A
// end alternate branch 00002CB2-00002CB6
fn00002CB2: // (misaligned)
00002CB4 FDF6 .extension 0xDF6 // unimplemented
00002CB6 2F07 move.l -[A7], D7
00002CB8 41ED E54A lea.l A0, [A5 - 0x1AB6]
00002CBC 2F08 move.l -[A7], A0
00002CBE A86E syscall InitGraf
00002CC0 A8FE syscall InitFonts
00002CC2 3F3C FFFF move.w -[A7], 0xFFFF
00002CC6 4267 clr.w -[A7]
00002CC8 201F move.l D0, [A7]+
00002CCA A032 syscall FlushEvents
00002CCC A912 syscall InitWindows
00002CCE 4EBA FE60 jsr [PC - 0x1A0 /* 00002B30 */]
00002CD2 A9CC syscall TEInit
00002CD4 42A7 clr.l -[A7]
00002CD6 A97B syscall InitDialogs
00002CD8 A850 syscall InitCursor
00002CDA 42A7 clr.l -[A7]
00002CDC 3F3C 0100 move.w -[A7], 0x100
00002CE0 42A7 clr.l -[A7]
00002CE2 70FF moveq.l D0, 0xFFFFFFFF
00002CE4 2F00 move.l -[A7], D0
00002CE6 4EBA FE0A jsr [PC - 0x1F6 /* 00002AF2 */]
00002CEA 2B5F FF54 move.l [A5 - 0xAC], [A7]+
00002CEE 41ED FF76 lea.l A0, [A5 - 0x8A]
00002CF2 43ED E4D6 lea.l A1, [A5 - 0x1B2A]
00002CF6 20D9 move.l [A0]+, [A1]+
00002CF8 20D9 move.l [A0]+, [A1]+
00002CFA 486D FF7E pea.l [A5 - 0x82]
00002CFE 3F3C 0004 move.w -[A7], 0x4
00002D02 3F3C 0018 move.w -[A7], 0x18
00002D06 302D FF7C move.w D0, [A5 - 0x84]
00002D0A 5940 subq.w D0, 4
00002D0C 3F00 move.w -[A7], D0
00002D0E 302D FF7A move.w D0, [A5 - 0x86]
00002D12 5940 subq.w D0, 4
00002D14 3F00 move.w -[A7], D0
00002D16 A8A7 syscall SetRect
00002D18 422D FF74 clr.b [A5 - 0x8C]
00002D1C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002D20 A89C syscall PenMode
00002D22 3D7C 0130 FDFA move.w [A6 - 0x206], 0x130
00002D28 486E FDFA pea.l [A6 - 0x206]
00002D2C 486E FDF6 pea.l [A6 - 0x20A]
00002D30 4EBA 0930 jsr [PC + 0x930 /* 00003662 */]
00002D34 41ED EFC2 lea.l A0, [A5 - 0x103E]
00002D38 2F08 move.l -[A7], A0
00002D3A 4EBA 0D32 jsr [PC + 0xD32 /* 00003A6E */]
00002D3E 41ED F38C lea.l A0, [A5 - 0xC74]
00002D42 2B48 EF6C move.l [A5 - 0x1094], A0
00002D46 42A7 clr.l -[A7]
00002D48 3F3C 0004 move.w -[A7], 0x4
00002D4C A9B9 syscall GetCursor
00002D4E 2B5F EF74 move.l [A5 - 0x108C], [A7]+
00002D52 206D EF74 movea.l A0, [A5 - 0x108C]
00002D56 2050 movea.l A0, [A0]
00002D58 43ED EF78 lea.l A1, [A5 - 0x1088]
00002D5C 7011 moveq.l D0, 0x11
label00002D5E:
00002D5E 22D8 move.l [A1]+, [A0]+
00002D60 5340 subq.w D0, 1
00002D62 6EFA bgt -0x4 /* 00002D5E */
00002D64 422D EFC1 clr.b [A5 - 0x103F]
00002D68 1F3C 0001 move.b -[A7], 0x1
00002D6C 42A7 clr.l -[A7]
00002D6E 2F3C 0000 55F0 move.l -[A7], 0x55F0
00002D74 4EBA 4ECA jsr [PC + 0x4ECA /* 00007C40 */]
00002D78 42A7 clr.l -[A7]
00002D7A 3F3C 0010 move.w -[A7], 0x10
00002D7E A9B8 syscall GetPattern
00002D80 2B5F ED10 move.l [A5 - 0x12F0], [A7]+
00002D84 206D ED10 movea.l A0, [A5 - 0x12F0]
00002D88 2050 movea.l A0, [A0]
00002D8A 43ED ED08 lea.l A1, [A5 - 0x12F8]
00002D8E 22D8 move.l [A1]+, [A0]+
00002D90 22D8 move.l [A1]+, [A0]+
00002D92 1B7C 0001 EFC1 move.b [A5 - 0x103F], 0x1
00002D98 426D ED14 clr.w [A5 - 0x12EC]
00002D9C 3B7C FFFF EF6A move.w [A5 - 0x1096], 0xFFFF
00002DA2 422D FE37 clr.b [A5 - 0x1C9]
00002DA6 486D EFD2 pea.l [A5 - 0x102E]
00002DAA A910 syscall GetWMgrPort
00002DAC 2F2D EFD2 move.l -[A7], [A5 - 0x102E]
00002DB0 A873 syscall SetPort
00002DB2 42A7 clr.l -[A7]
00002DB4 486D FF7E pea.l [A5 - 0x82]
00002DB8 486D FF7E pea.l [A5 - 0x82]
00002DBC A9D2 syscall TENew
00002DBE 2B5F EFBC move.l [A5 - 0x1044], [A7]+
00002DC2 206D EFBC movea.l A0, [A5 - 0x1044]
00002DC6 2050 movea.l A0, [A0]
00002DC8 4268 004A clr.w [A0 + 0x4A]
00002DCC 42A7 clr.l -[A7]
00002DCE A975 syscall TickCount
00002DD0 2B5F E76E move.l [A5 - 0x1892], [A7]+
00002DD4 422D EB35 clr.b [A5 - 0x14CB]
00002DD8 422D ECA1 clr.b [A5 - 0x135F]
00002DDC 3B7C FFFE EC9E move.w [A5 - 0x1362], 0xFFFE
00002DE2 41ED EC96 lea.l A0, [A5 - 0x136A]
00002DE6 43ED FF7E lea.l A1, [A5 - 0x82]
00002DEA 20D9 move.l [A0]+, [A1]+
00002DEC 20D9 move.l [A0]+, [A1]+
00002DEE 42AD E888 clr.l [A5 - 0x1778]
00002DF2 422D E887 clr.b [A5 - 0x1779]
00002DF6 422D E886 clr.b [A5 - 0x177A]
00002DFA 7E01 moveq.l D7, 0x01
00002DFC 600E bra +0x10 /* 00002E0C */
label00002DFE:
00002DFE 2007 move.l D0, D7
00002E00 E540 asl D0.w, 2
00002E02 41ED E88A lea.l A0, [A5 - 0x1776]
00002E06 42B0 0000 clr.l [A0 + D0.w]
00002E0A 5247 addq.w D7, 1
label00002E0C:
00002E0C 0C47 000C cmpi.w D7, 0xC
00002E10 6FEC ble -0x12 /* 00002DFE */
00002E12 1B7C 0001 E881 move.b [A5 - 0x177F], 0x1
00002E18 1B7C 0001 E880 move.b [A5 - 0x1780], 0x1
00002E1E 426D E87E clr.w [A5 - 0x1782]
00002E22 3B7C 7FFF E87C move.w [A5 - 0x1784], 0x7FFF
00002E28 7E01 moveq.l D7, 0x01
00002E2A 600A bra +0xC /* 00002E36 */
label00002E2C:
00002E2C 41ED EB17 lea.l A0, [A5 - 0x14E9]
00002E30 4230 7000 clr.b [A0 + D7.w]
00002E34 5247 addq.w D7, 1
label00002E36:
00002E36 0C47 0018 cmpi.w D7, 0x18
00002E3A 6FF0 ble -0xE /* 00002E2C */
00002E3C 42A7 clr.l -[A7]
00002E3E 486D FF7E pea.l [A5 - 0x82]
00002E42 486D FF7E pea.l [A5 - 0x82]
00002E46 A9D2 syscall TENew
00002E48 2B5F EB30 move.l [A5 - 0x14D0], [A7]+
00002E4C 7E01 moveq.l D7, 0x01
00002E4E 601E bra +0x20 /* 00002E6E */
label00002E50:
00002E50 2007 move.l D0, D7
00002E52 C1FC 0006 muls.w D0, 0x6
00002E56 41ED EC30 lea.l A0, [A5 - 0x13D0]
00002E5A 4270 0000 clr.w [A0 + D0.w]
00002E5E 2007 move.l D0, D7
00002E60 C1FC 0006 muls.w D0, 0x6
00002E64 41ED EC32 lea.l A0, [A5 - 0x13CE]
00002E68 42B0 0000 clr.l [A0 + D0.w]
00002E6C 5247 addq.w D7, 1
label00002E6E:
00002E6E 0C47 0010 cmpi.w D7, 0x10
00002E72 6FDC ble -0x22 /* 00002E50 */
00002E74 41ED EB36 lea.l A0, [A5 - 0x14CA]
00002E78 43FA 00AE lea.l A1, [PC + 0xAE /* 00002F28, value 0x9546F75 '\tTou', pstring "Tour.Temp" */]
00002E7C 20D9 move.l [A0]+, [A1]+
00002E7E 20D9 move.l [A0]+, [A1]+
00002E80 3091 move.w [A0], [A1]
00002E82 4267 clr.w -[A7]
00002E84 4EBA E082 jsr [PC - 0x1F7E /* 00000F08 */]
00002E88 101F move.b D0, [A7]+
00002E8A 6726 beq +0x28 /* 00002EB2 */
00002E8C 302D EF6A move.w D0, [A5 - 0x1096]
00002E90 C1FC 0042 muls.w D0, 0x42 /* 'B' */
00002E94 41ED ED18 lea.l A0, [A5 - 0x12E8]
00002E98 4870 0000 pea.l [A0 + D0.w]
00002E9C 302D EF6A move.w D0, [A5 - 0x1096]
00002EA0 C1FC 0042 muls.w D0, 0x42 /* 'B' */
00002EA4 41ED ED58 lea.l A0, [A5 - 0x12A8]
00002EA8 3F30 0000 move.w -[A7], [A0 + D0.w]
00002EAC 4EBA E58A jsr [PC - 0x1A76 /* 00001438 */]
00002EB0 6062 bra +0x64 /* 00002F14 */
label00002EB2:
00002EB2 426D ECC6 clr.w [A5 - 0x133A]
00002EB6 486E FEFA pea.l [A6 - 0x106]
00002EBA 3F3C 0078 move.w -[A7], 0x78 /* 'x' */
00002EBE 3F3C 0001 move.w -[A7], 0x1
00002EC2 4EBA 0238 jsr [PC + 0x238 /* 000030FC */]
00002EC6 4267 clr.w -[A7]
00002EC8 486E FEFA pea.l [A6 - 0x106]
00002ECC 486E FFFA pea.l [A6 - 0x6]
00002ED0 486E FFFC pea.l [A6 - 0x4]
00002ED4 4EBA D360 jsr [PC - 0x2CA0 /* 00000236 */]
00002ED8 4A5F tst.w [A7]+
00002EDA 6618 bne +0x1A /* 00002EF4 */
00002EDC 41ED ECC8 lea.l A0, [A5 - 0x1338]
00002EE0 43EE FEFA lea.l A1, [A6 - 0x106]
00002EE4 7010 moveq.l D0, 0x10
label00002EE6:
00002EE6 20D9 move.l [A0]+, [A1]+
00002EE8 5340 subq.w D0, 1
00002EEA 6EFA bgt -0x4 /* 00002EE6 */
00002EEC 3B6E FFFC ECC6 move.w [A5 - 0x133A], [A6 - 0x4]
00002EF2 6016 bra +0x18 /* 00002F0A */
label00002EF4:
00002EF4 4267 clr.w -[A7]
00002EF6 4EBA FD52 jsr [PC - 0x2AE /* 00002C4A */]
00002EFA 101F move.b D0, [A7]+
00002EFC 0A00 0001 xori.b D0, 0x1
00002F00 6708 beq +0xA /* 00002F0A */
00002F02 1B7C 0001 FF74 move.b [A5 - 0x8C], 0x1
00002F08 600E bra +0x10 /* 00002F18 */
label00002F0A:
00002F0A 486D ECC8 pea.l [A5 - 0x1338]
00002F0E 4267 clr.w -[A7]
00002F10 4EBA E45A jsr [PC - 0x1BA6 /* 0000136C */]
label00002F14:
00002F14 4EBA 0B96 jsr [PC + 0xB96 /* 00003AAC */]
label00002F18:
00002F18 2E1F move.l D7, [A7]+
00002F1A 4E5E unlink A6
00002F1C 4E75 rts
00002F1E C94E exg A4, A6
00002F20 4954 chk.w D4, [A4]
00002F22 544F addq.w A7, 2
00002F24 5552 subq.w [A2], 2
00002F26 000A 0954 ori.b A2, 0x54 /* 'T' */
00002F2A 6F75 ble +0x77 /* 00002FA1 */
00002F2C 722E moveq.l D1, 0x2E
00002F2E 5465 addq.w -[A5], 2
00002F30 6D70 blt +0x72 /* 00002FA2 */
export_0:
00002F32 4EBA 0754 jsr [PC + 0x754 /* 00003688 */]
00002F36 4E56 0000 link A6, 0
00002F3A 2C5F movea.l A6, [A7]+
00002F3C 4E55 0000 link A5, 0
00002F40 9FED 0010 sub.l A7, [A5 + 0x10]
00002F44 4EBA 0756 jsr [PC + 0x756 /* 0000369C */]
00002F48 4EBA FD68 jsr [PC - 0x298 /* 00002CB2 */]
label00002F4C:
00002F4C A9B4 syscall SystemTask
00002F4E 4267 clr.w -[A7]
00002F50 3F3C FFFF move.w -[A7], 0xFFFF
00002F54 486D FF62 pea.l [A5 - 0x9E]
00002F58 A970 syscall GetNextEvent
00002F5A 1B5F FF75 move.b [A5 - 0x8B], [A7]+
00002F5E 4280 clr.l D0
00002F60 302D FF70 move.w D0, [A5 - 0x90]
00002F64 0800 0008 btst.b D0, 0x8
00002F68 56C0 sne D0
00002F6A 4400 neg.b D0
00002F6C 1B40 FF73 move.b [A5 - 0x8D], D0
00002F70 302D FF62 move.w D0, [A5 - 0x9E]
00002F74 5340 subq.w D0, 1
00002F76 674A beq +0x4C /* 00002FC2 */
00002F78 5540 subq.w D0, 2
00002F7A 6700 0118 beq +0x11A /* 00003094 */
00002F7E 5540 subq.w D0, 2
00002F80 6700 0112 beq +0x114 /* 00003094 */
00002F84 5340 subq.w D0, 1
00002F86 672C beq +0x2E /* 00002FB4 */
00002F88 5540 subq.w D0, 2
00002F8A 671A beq +0x1C /* 00002FA6 */
00002F8C 5D40 subq.w D0, 6
00002F8E 6704 beq +0x6 /* 00002F94 */
00002F90 6000 0120 bra +0x122 /* 000030B2 */
label00002F94:
00002F94 4267 clr.w -[A7]
00002F96 4EBA FC5A jsr [PC - 0x3A6 /* 00002BF2 */]
00002F9A 101F move.b D0, [A7]+
00002F9C 6704 beq +0x6 /* 00002FA2 */
00002F9E 4EBA 4448 jsr [PC + 0x4448 /* 000073E8 */]
label00002FA2:
00002FA2 6000 010E bra +0x110 /* 000030B2 */
label00002FA6:
00002FA6 2B6D FF64 FF5C move.l [A5 - 0xA4], [A5 - 0x9C]
00002FAC 4EBA FBB8 jsr [PC - 0x448 /* 00002B66 */]
00002FB0 6000 0100 bra +0x102 /* 000030B2 */
label00002FB4:
00002FB4 2B6D FF64 FF5C move.l [A5 - 0xA4], [A5 - 0x9C]
00002FBA 4EBA FBAA jsr [PC - 0x456 /* 00002B66 */]
00002FBE 6000 00F2 bra +0xF4 /* 000030B2 */
label00002FC2:
00002FC2 4267 clr.w -[A7]
00002FC4 2F2D FF6C move.l -[A7], [A5 - 0x94]
00002FC8 486D FF5C pea.l [A5 - 0xA4]
00002FCC A92C syscall FindWindow
00002FCE 3B5F FF60 move.w [A5 - 0xA0], [A7]+
00002FD2 2B6D E76E E772 move.l [A5 - 0x188E], [A5 - 0x1892]
00002FD8 2B6D FF68 E76E move.l [A5 - 0x1892], [A5 - 0x98]
00002FDE 302D FF60 move.w D0, [A5 - 0xA0]
00002FE2 5340 subq.w D0, 1
00002FE4 6722 beq +0x24 /* 00003008 */
00002FE6 5340 subq.w D0, 1
00002FE8 6710 beq +0x12 /* 00002FFA */
00002FEA 5340 subq.w D0, 1
00002FEC 6700 00A0 beq +0xA2 /* 0000308E */
00002FF0 5540 subq.w D0, 2
00002FF2 6700 009A beq +0x9C /* 0000308E */
00002FF6 6000 00BA bra +0xBC /* 000030B2 */
label00002FFA:
00002FFA 486D FF62 pea.l [A5 - 0x9E]
00002FFE 2F2D FF5C move.l -[A7], [A5 - 0xA4]
00003002 A9B3 syscall SystemClick
00003004 6000 00AC bra +0xAE /* 000030B2 */
label00003008:
00003008 42A7 clr.l -[A7]
0000300A 2F2D FF6C move.l -[A7], [A5 - 0x94]
0000300E A93D syscall MenuSelect
00003010 2B5F E876 move.l [A5 - 0x178A], [A7]+
00003014 4267 clr.w -[A7]
00003016 2F2D E876 move.l -[A7], [A5 - 0x178A]
0000301A A86A syscall HiWord
0000301C 3B5F FF50 move.w [A5 - 0xB0], [A7]+
00003020 4267 clr.w -[A7]
00003022 2F2D E876 move.l -[A7], [A5 - 0x178A]
00003026 A86B syscall LoWord
00003028 3B5F FF52 move.w [A5 - 0xAE], [A7]+
0000302C 4267 clr.w -[A7]
0000302E A938 syscall HiliteMenu
00003030 0C6D 01F4 FF50 cmpi.w [A5 - 0xB0], 0x1F4
00003036 6F54 ble +0x56 /* 0000308C */
00003038 486D E66E pea.l [A5 - 0x1992]
0000303C 487A 00A6 pea.l [PC + 0xA6 /* 000030E4, value 0x13D206F */]
00003040 486D E56E pea.l [A5 - 0x1A92]
00003044 2F2D EFBC move.l -[A7], [A5 - 0x1044]
00003048 302D FF50 move.w D0, [A5 - 0xB0]
0000304C 907C 01F4 sub.w D0, 0x1F4
00003050 C1FC 002A muls.w D0, 0x2A /* '*' */
00003054 322D FF52 move.w D1, [A5 - 0xAE]
00003058 E341 asl D1.w, 1
0000305A D041 add.w D0, D1
0000305C 41ED E894 lea.l A0, [A5 - 0x176C]
00003060 3230 0000 move.w D1, [A0 + D0.w]
00003064 5341 subq.w D1, 1
00003066 3F01 move.w -[A7], D1
00003068 4EBA 4D6C jsr [PC + 0x4D6C /* 00007DD6 */]
0000306C 4267 clr.w -[A7]
0000306E 4EBA D732 jsr [PC - 0x28CE /* 000007A2 */]
00003072 205F movea.l A0, [A7]+
00003074 43ED E776 lea.l A1, [A5 - 0x188A]
00003078 7040 moveq.l D0, 0x40
label0000307A:
0000307A 22D8 move.l [A1]+, [A0]+
0000307C 5340 subq.w D0, 1
0000307E 6EFA bgt -0x4 /* 0000307A */
00003080 3F3C 03E7 move.w -[A7], 0x3E7
00003084 486D E776 pea.l [A5 - 0x188A]
00003088 4EBA E44A jsr [PC - 0x1BB6 /* 000014D4 */]
label0000308C:
0000308C 6024 bra +0x26 /* 000030B2 */
label0000308E:
0000308E 4EBA FAD6 jsr [PC - 0x52A /* 00002B66 */]
00003092 601E bra +0x20 /* 000030B2 */
label00003094:
00003094 203C 0000 00FF move.l D0, 0xFF
0000309A C0AD FF64 and.l D0, [A5 - 0x9C]
0000309E 3B40 FF4A move.w [A5 - 0xB6], D0
000030A2 2B6D E76E E772 move.l [A5 - 0x188E], [A5 - 0x1892]
000030A8 2B6D FF68 E76E move.l [A5 - 0x1892], [A5 - 0x98]
000030AE 4EBA FAB6 jsr [PC - 0x54A /* 00002B66 */]
label000030B2:
000030B2 4EBA F872 jsr [PC - 0x78E /* 00002926 */]
000030B6 102D FF74 move.b D0, [A5 - 0x8C]
000030BA 6700 FE90 beq -0x16E /* 00002F4C */
000030BE 4EBA D3D8 jsr [PC - 0x2C28 /* 00000498 */]
000030C2 4EBA D2A6 jsr [PC - 0x2D5A /* 0000036A */]
000030C6 4EBA 09F8 jsr [PC + 0x9F8 /* 00003AC0 */]
000030CA 4EBA 05DC jsr [PC + 0x5DC /* 000036A8 */]
000030CE 4E5D unlink A5
000030D0 4EBA 05C8 jsr [PC + 0x5C8 /* 0000369A */]
000030D4 4E75 rts
000030D6 4E5E unlink A6
000030D8 4E75 rts
000030DA D44F add.w D2, A7
000030DC 5552 subq.w [A2], 2
000030DE 2020 move.l D0, -[A0]
000030E0 2020 move.l D0, -[A0]
000030E2 0002 013D ori.b D2, 0x3D /* '=' */
fn000030E6:
000030E6 206F 0004 movea.l A0, [A7 + 0x4]
000030EA 2050 movea.l A0, [A0]
000030EC A9E1 syscall HandToHand
000030EE 226F 0004 movea.l A1, [A7 + 0x4]
000030F2 2288 move.l [A1], A0
000030F4 3F40 0008 move.w [A7 + 0x8], D0
000030F8 2E9F move.l [A7], [A7]+
000030FA 4E75 rts
fn000030FC:
000030FC 4E56 0000 link A6, 0
00003100 594F subq.w A7, 4
00003102 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00003108 3F2E 000A move.w -[A7], [A6 + 0xA]
0000310C A9A0 syscall GetResource
0000310E 226E 000C movea.l A1, [A6 + 0xC]
00003112 4211 clr.b [A1]
00003114 201F move.l D0, [A7]+
00003116 6720 beq +0x22 /* 00003138 */
00003118 2040 movea.l A0, D0
0000311A 2050 movea.l A0, [A0]
0000311C 3018 move.w D0, [A0]+
0000311E 322E 0008 move.w D1, [A6 + 0x8]
00003122 B240 cmp.w D1, D0
00003124 6E12 bgt +0x14 /* 00003138 */
00003126 7000 moveq.l D0, 0x00
label00003128:
00003128 5341 subq.w D1, 1
0000312A 6706 beq +0x8 /* 00003132 */
0000312C 1018 move.b D0, [A0]+
0000312E D1C0 add.l A0, D0
00003130 60F6 bra -0x8 /* 00003128 */
label00003132:
00003132 1010 move.b D0, [A0]
00003134 5240 addq.w D0, 1
00003136 A02E syscall BlockMove/BlockMoveData
label00003138:
00003138 4E5E unlink A6
0000313A 205F movea.l A0, [A7]+
0000313C 508F addq.l A7, 8
0000313E 4ED0 jmp [A0]
fn00003140:
00003140 4E56 0000 link A6, 0
00003144 594F subq.w A7, 4
00003146 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
0000314C 3F2E 000A move.w -[A7], [A6 + 0xA]
00003150 A9A0 syscall GetResource
00003152 226E 000C movea.l A1, [A6 + 0xC]
00003156 201F move.l D0, [A7]+
00003158 671C beq +0x1E /* 00003176 */
0000315A 2040 movea.l A0, D0
0000315C 2050 movea.l A0, [A0]
0000315E 3018 move.w D0, [A0]+
00003160 322E 0008 move.w D1, [A6 + 0x8]
00003164 6F10 ble +0x12 /* 00003176 */
00003166 B240 cmp.w D1, D0
00003168 6E0C bgt +0xE /* 00003176 */
label0000316A:
0000316A 5341 subq.w D1, 1
0000316C 6704 beq +0x6 /* 00003172 */
0000316E 5048 addq.w A0, 8
00003170 60F8 bra -0x6 /* 0000316A */
label00003172:
00003172 7008 moveq.l D0, 0x08
00003174 A02E syscall BlockMove/BlockMoveData
label00003176:
00003176 4E5E unlink A6
00003178 205F movea.l A0, [A7]+
0000317A 508F addq.l A7, 8
0000317C 4ED0 jmp [A0]
0000317E 225F movea.l A1, [A7]+
00003180 201F move.l D0, [A7]+
00003182 A04C syscall CompactMem
00003184 2E80 move.l [A7], D0
00003186 4E71 nop
label00003188:
00003188 7000 moveq.l D0, 0x00
label0000318A:
0000318A 2F09 move.l -[A7], A1
label0000318C:
0000318C 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00003190 4E75 rts
00003192 7000 moveq.l D0, 0x00
00003194 60F6 bra -0x8 /* 0000318C */
fn00003196:
00003196 225F movea.l A1, [A7]+
00003198 201F move.l D0, [A7]+
0000319A A11E syscall NewPtr, flags=1
0000319C 2E88 move.l [A7], A0
0000319E 4EFA FFEA jmp [PC - 0x16 /* 0000318A */]
fn000031A2:
000031A2 225F movea.l A1, [A7]+
000031A4 205F movea.l A0, [A7]+
000031A6 A01F syscall DisposPtr/DisposePtr
000031A8 4EFA FFE0 jmp [PC - 0x20 /* 0000318A */]
fn000031AC:
000031AC 225F movea.l A1, [A7]+
000031AE 201F move.l D0, [A7]+
000031B0 A122 syscall NewHandle, flags=1
000031B2 2E88 move.l [A7], A0
000031B4 4EFA FFD4 jmp [PC - 0x2C /* 0000318A */]
fn000031B8:
000031B8 225F movea.l A1, [A7]+
000031BA 205F movea.l A0, [A7]+
000031BC A023 syscall DisposHandle/DisposeHandle
000031BE 4EFA FFCA jmp [PC - 0x36 /* 0000318A */]
fn000031C2:
000031C2 225F movea.l A1, [A7]+
000031C4 205F movea.l A0, [A7]+
000031C6 A025 syscall GetHandleSize
000031C8 2E80 move.l [A7], D0
000031CA 6A06 bpl +0x8 /* 000031D2 */
000031CC 4297 clr.l [A7]
000031CE 4EFA FFBA jmp [PC - 0x46 /* 0000318A */]
label000031D2:
000031D2 4EFA FFB4 jmp [PC - 0x4C /* 00003188 */]
fn000031D6:
000031D6 225F movea.l A1, [A7]+
000031D8 201F move.l D0, [A7]+
000031DA 205F movea.l A0, [A7]+
000031DC A024 syscall SetHandleSize
000031DE 4EFA FFAA jmp [PC - 0x56 /* 0000318A */]
fn000031E2:
000031E2 225F movea.l A1, [A7]+
000031E4 205F movea.l A0, [A7]+
000031E6 A029 syscall HLock
000031E8 4EFA FFA0 jmp [PC - 0x60 /* 0000318A */]
fn000031EC:
000031EC 225F movea.l A1, [A7]+
000031EE 205F movea.l A0, [A7]+
000031F0 A02A syscall HUnlock
000031F2 4EFA FF96 jmp [PC - 0x6A /* 0000318A */]
fn000031F6:
000031F6 225F movea.l A1, [A7]+
000031F8 205F movea.l A0, [A7]+
000031FA A049 syscall HPurge
000031FC 4EFA FF8C jmp [PC - 0x74 /* 0000318A */]
fn00003200:
00003200 225F movea.l A1, [A7]+
00003202 205F movea.l A0, [A7]+
00003204 A04A syscall HNoPurge
00003206 4EFA FF82 jmp [PC - 0x7E /* 0000318A */]
fn0000320A:
0000320A 221F move.l D1, [A7]+
0000320C 201F move.l D0, [A7]+
0000320E 225F movea.l A1, [A7]+
00003210 205F movea.l A0, [A7]+
00003212 A02E syscall BlockMove/BlockMoveData
00003214 2241 movea.l A1, D1
00003216 4EFA FF72 jmp [PC - 0x8E /* 0000318A */]
fn0000321A:
0000321A 225F movea.l A1, [A7]+
0000321C 205F movea.l A0, [A7]+
0000321E 2F09 move.l -[A7], A1
00003220 A033 syscall VInstall
00003222 3F40 0004 move.w [A7 + 0x4], D0
00003226 4E75 rts
fn00003228:
00003228 225F movea.l A1, [A7]+
0000322A 205F movea.l A0, [A7]+
0000322C 2F09 move.l -[A7], A1
0000322E A034 syscall VRemove
00003230 3F40 0004 move.w [A7 + 0x4], D0
00003234 4E75 rts
fn00003236:
00003236 225F movea.l A1, [A7]+
00003238 121F move.b D1, [A7]+
0000323A 205F movea.l A0, [A7]+
0000323C 7000 moveq.l D0, 0x00
0000323E 1018 move.b D0, [A0]+
00003240 2F09 move.l -[A7], A1
00003242 4A01 tst.b D1
00003244 6704 beq +0x6 /* 0000324A */
00003246 A054 syscall UprString/UprText
00003248 6002 bra +0x4 /* 0000324C */
label0000324A:
0000324A A254 syscall UprString/UprText, flags=2
label0000324C:
0000324C 4E75 rts
fn0000324E:
0000324E 225F movea.l A1, [A7]+
00003250 101F move.b D0, [A7]+
00003252 205F movea.l A0, [A7]+
00003254 6604 bne +0x6 /* 0000325A */
00003256 A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
00003258 6002 bra +0x4 /* 0000325C */
label0000325A:
0000325A A407 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
label0000325C:
0000325C 3E80 move.w [A7], D0
0000325E 4ED1 jmp [A1]
fn00003260:
00003260 4E56 FFCE link A6, -0x0032
00003264 41EE FFCE lea.l A0, [A6 - 0x32]
00003268 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
0000326E 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00003274 4228 001A clr.b [A0 + 0x1A]
00003278 4228 001B clr.b [A0 + 0x1B]
0000327C 42A8 001C clr.l [A0 + 0x1C]
00003280 A000 syscall Open/PBHOpen/HOpen
00003282 226E 0008 movea.l A1, [A6 + 0x8]
00003286 32A8 0018 move.w [A1], [A0 + 0x18]
0000328A 3D40 0012 move.w [A6 + 0x12], D0
0000328E 4E5E unlink A6
00003290 205F movea.l A0, [A7]+
00003292 DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003298 4ED0 jmp [A0]
fn0000329A:
0000329A 4E56 FFCE link A6, -0x0032
0000329E 41EE FFCE lea.l A0, [A6 - 0x32]
000032A2 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000032A8 A001 syscall Close
000032AA 3D40 000A move.w [A6 + 0xA], D0
000032AE 4E5E unlink A6
000032B0 205F movea.l A0, [A7]+
000032B2 548F addq.l A7, 2
000032B4 4ED0 jmp [A0]
fn000032B6:
000032B6 51C1 sf D1
000032B8 6002 bra +0x4 /* 000032BC */
fn000032BA:
000032BA 50C1 st D1
label000032BC:
000032BC 4E56 FFCE link A6, -0x0032
000032C0 41EE FFCE lea.l A0, [A6 - 0x32]
000032C4 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000032CA 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000032D0 226E 000C movea.l A1, [A6 + 0xC]
000032D4 2151 0024 move.l [A0 + 0x24], [A1]
000032D8 4268 002C clr.w [A0 + 0x2C]
000032DC 42A8 002E clr.l [A0 + 0x2E]
000032E0 4A01 tst.b D1
000032E2 6604 bne +0x6 /* 000032E8 */
000032E4 A002 syscall Read
000032E6 6002 bra +0x4 /* 000032EA */
label000032E8:
000032E8 A003 syscall Write
label000032EA:
000032EA 3D40 0012 move.w [A6 + 0x12], D0
000032EE 226E 000C movea.l A1, [A6 + 0xC]
000032F2 22A8 0028 move.l [A1], [A0 + 0x28]
000032F6 4E5E unlink A6
000032F8 225F movea.l A1, [A7]+
000032FA DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003300 4ED1 jmp [A1]
fn00003302:
00003302 4E56 FFC0 link A6, -0x0040
00003306 41EE FFC0 lea.l A0, [A6 - 0x40]
0000330A 216E 0010 0012 move.l [A0 + 0x12], [A6 + 0x10]
00003310 316E 0014 0016 move.w [A0 + 0x16], [A6 + 0x14]
00003316 4268 001C clr.w [A0 + 0x1C]
0000331A A007 syscall GetVolInfo/PBHGetVInfo/HGetVInfo
0000331C 3D40 0016 move.w [A6 + 0x16], D0
00003320 226E 000C movea.l A1, [A6 + 0xC]
00003324 32A8 0016 move.w [A1], [A0 + 0x16]
00003328 2028 0030 move.l D0, [A0 + 0x30]
0000332C E080 asr D0, 8
0000332E E280 asr D0, 1
00003330 C0E8 003E mulu.w D0, [A0 + 0x3E]
00003334 E380 asl D0, 1
00003336 E180 asl D0, 8
00003338 226E 0008 movea.l A1, [A6 + 0x8]
0000333C 2280 move.l [A1], D0
0000333E 4E5E unlink A6
00003340 225F movea.l A1, [A7]+
00003342 DFFC 0000 000E add.l A7, 0xE
00003348 4ED1 jmp [A1]
fn0000334A:
0000334A 4E56 FFB0 link A6, -0x0050
0000334E 41EE FFB0 lea.l A0, [A6 - 0x50]
00003352 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00003358 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
0000335E 4228 001A clr.b [A0 + 0x1A]
00003362 4268 001C clr.w [A0 + 0x1C]
00003366 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003368 3D40 0012 move.w [A6 + 0x12], D0
0000336C 41E8 0020 lea.l A0, [A0 + 0x20]
00003370 226E 0008 movea.l A1, [A6 + 0x8]
00003374 303C 0010 move.w D0, 0x10
00003378 A02E syscall BlockMove/BlockMoveData
0000337A 4E5E unlink A6
0000337C 225F movea.l A1, [A7]+
0000337E DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003384 4ED1 jmp [A1]
fn00003386:
00003386 4E56 FFC0 link A6, -0x0040
0000338A 41EE FFC0 lea.l A0, [A6 - 0x40]
0000338E 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00003394 A014 syscall GetVol/PBHGetVol/HGetVol
00003396 3D40 0010 move.w [A6 + 0x10], D0
0000339A 226E 0008 movea.l A1, [A6 + 0x8]
0000339E 32A8 0016 move.w [A1], [A0 + 0x16]
000033A2 4E5E unlink A6
000033A4 225F movea.l A1, [A7]+
000033A6 508F addq.l A7, 8
000033A8 4ED1 jmp [A1]
fn000033AA:
000033AA 4E56 FFC0 link A6, -0x0040
000033AE 41EE FFC0 lea.l A0, [A6 - 0x40]
000033B2 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000033B8 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000033BE A015 syscall SetVol/PBHSetVol/HSetVol
000033C0 3D40 000E move.w [A6 + 0xE], D0
000033C4 4E5E unlink A6
000033C6 225F movea.l A1, [A7]+
000033C8 5C8F addq.l A7, 6
000033CA 4ED1 jmp [A1]
fn000033CC:
000033CC 4E56 FFC0 link A6, -0x0040
000033D0 41EE FFC0 lea.l A0, [A6 - 0x40]
000033D4 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000033DA 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000033E0 A017 syscall Eject
000033E2 3D40 000E move.w [A6 + 0xE], D0
000033E6 4E5E unlink A6
000033E8 225F movea.l A1, [A7]+
000033EA 5C8F addq.l A7, 6
000033EC 4ED1 jmp [A1]
fn000033EE:
000033EE 4E56 FFB0 link A6, -0x0050
000033F2 41EE FFB0 lea.l A0, [A6 - 0x50]
000033F6 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000033FC 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00003402 4228 001A clr.b [A0 + 0x1A]
00003406 A008 syscall Create/PBHCreate/HCreate
00003408 4A40 tst.w D0
0000340A 6616 bne +0x18 /* 00003422 */
0000340C 4268 001C clr.w [A0 + 0x1C]
00003410 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00003412 2008 move.l D0, A0
00003414 43E8 0020 lea.l A1, [A0 + 0x20]
00003418 22EE 0008 move.l [A1]+, [A6 + 0x8]
0000341C 22AE 000C move.l [A1], [A6 + 0xC]
00003420 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00003422:
00003422 3D40 0016 move.w [A6 + 0x16], D0
00003426 4E5E unlink A6
00003428 225F movea.l A1, [A7]+
0000342A DFFC 0000 000E add.l A7, 0xE
00003430 4ED1 jmp [A1]
fn00003432:
00003432 4E56 FFCE link A6, -0x0032
00003436 41EE FFCE lea.l A0, [A6 - 0x32]
0000343A 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00003440 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00003446 4228 001A clr.b [A0 + 0x1A]
0000344A A009 syscall Delete/PBHDelete/HDelete
0000344C 3D40 000E move.w [A6 + 0xE], D0
00003450 4E5E unlink A6
00003452 225F movea.l A1, [A7]+
00003454 5C8F addq.l A7, 6
00003456 4ED1 jmp [A1]
fn00003458:
00003458 4E56 FFCE link A6, -0x0032
0000345C 41EE FFCE lea.l A0, [A6 - 0x32]
00003460 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00003466 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000346C 4228 001A clr.b [A0 + 0x1A]
00003470 A042 syscall RstFilLock/PBHRstFLock/HRstFLock
00003472 3D40 000E move.w [A6 + 0xE], D0
00003476 4E5E unlink A6
00003478 225F movea.l A1, [A7]+
0000347A 5C8F addq.l A7, 6
0000347C 4ED1 jmp [A1]
fn0000347E:
0000347E 4E56 FFCE link A6, -0x0032
00003482 41EE FFCE lea.l A0, [A6 - 0x32]
00003486 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
0000348C 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00003492 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00003498 A044 syscall SetFPos
0000349A 3D40 0010 move.w [A6 + 0x10], D0
0000349E 4E5E unlink A6
000034A0 225F movea.l A1, [A7]+
000034A2 508F addq.l A7, 8
000034A4 4ED1 jmp [A1]
000034A6 2078 00E4 movea.l A0, [0x000000E4]
000034AA B1F8 02AE cmpa.l A0, [0x000002AE /* ROMBase */]
000034AE 651E bcs +0x20 /* 000034CE */
000034B0 703A moveq.l D0, 0x3A
000034B2 A322 syscall NewHandleClear, flags=3
000034B4 6600 00D2 bne +0xD4 /* 00003588 */
000034B8 A029 syscall HLock
000034BA 21C8 00E4 move.l [0x000000E4], A0
000034BE 2250 movea.l A1, [A0]
000034C0 2378 033C 0034 move.l [A1 + 0x34], [0x0000033C /* IAZNotify */]
000034C6 43FA 0102 lea.l A1, [PC + 0x102 /* 000035CA, value 0x61E42038 */]
000034CA 21C9 033C move.l [0x0000033C /* IAZNotify */], A1
label000034CE:
000034CE 2250 movea.l A1, [A0]
000034D0 4A69 0010 tst.w [A1 + 0x10]
000034D4 6F7E ble +0x80 /* 00003554 */
000034D6 222F 0004 move.l D1, [A7 + 0x4]
000034DA 6B72 bmi +0x74 /* 0000354E */
000034DC 50E9 0039 st [A1 + 0x39]
000034E0 3229 0032 move.w D1, [A1 + 0x32]
000034E4 2408 move.l D2, A0
000034E6 48E7 6000 movem.l -[A7], D1,D2
000034EA A9E1 syscall HandToHand
000034EC 4CDF 0006 movem.l D1,D2, [A7]+
000034F0 4A40 tst.w D0
000034F2 6600 0094 bne +0x96 /* 00003588 */
000034F6 7000 moveq.l D0, 0x00
000034F8 0641 000C addi.w D1, 0xC
000034FC 3001 move.w D0, D1
000034FE A024 syscall SetHandleSize
00003500 6600 0086 bne +0x88 /* 00003588 */
00003504 A029 syscall HLock
00003506 21C8 00E4 move.l [0x000000E4], A0
0000350A 2250 movea.l A1, [A0]
0000350C 2078 027A movea.l A0, [0x0000027A /* SoundDCE */]
00003510 2149 0008 move.l [A0 + 0x8], A1
00003514 2149 000C move.l [A0 + 0xC], A1
00003518 2042 movea.l A0, D2
0000351A 2050 movea.l A0, [A0]
0000351C 1028 0038 move.b D0, [A0 + 0x38]
00003520 8129 0038 or.b [A1 + 0x38], D0
00003524 2042 movea.l A0, D2
00003526 A023 syscall DisposHandle/DisposeHandle
00003528 3341 0032 move.w [A1 + 0x32], D1
0000352C 08A9 0000 0038 bclr.b [A1 + 0x38], 0x0
00003532 6708 beq +0xA /* 0000353C */
00003534 4269 0010 clr.w [A1 + 0x10]
00003538 4EBA 009C jsr [PC + 0x9C /* 000035D6 */]
label0000353C:
0000353C 51E9 0039 sf [A1 + 0x39]
00003540 D2C1 add.w A1, D1
00003542 700C moveq.l D0, 0x0C
00003544 92C0 sub.w A1, D0
00003546 41EF 0004 lea.l A0, [A7 + 0x4]
0000354A A02E syscall BlockMove/BlockMoveData
0000354C 603E bra +0x40 /* 0000358C */
label0000354E:
0000354E 3028 0010 move.w D0, [A0 + 0x10]
00003552 6EFA bgt -0x4 /* 0000354E */
label00003554:
00003554 2049 movea.l A0, A1
00003556 317C 003A 0032 move.w [A0 + 0x32], 0x3A /* ':' */
0000355C 216F 0008 0024 move.l [A0 + 0x24], [A7 + 0x8]
00003562 216F 000C 0020 move.l [A0 + 0x20], [A7 + 0xC]
00003568 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
0000356E 222F 0004 move.l D1, [A7 + 0x4]
00003572 6A04 bpl +0x6 /* 00003578 */
00003574 A003 syscall Write
00003576 600E bra +0x10 /* 00003586 */
label00003578:
00003578 2141 001C move.l [A0 + 0x1C], D1
0000357C 43FA 0058 lea.l A1, [PC + 0x58 /* 000035D6, value 0x48E7E0C0 */]
00003580 2149 000C move.l [A0 + 0xC], A1
00003584 A403 syscall Write, flags=4
label00003586:
00003586 4A40 tst.w D0
label00003588:
00003588 6702 beq +0x4 /* 0000358C */
0000358A 6108 bsr +0xA /* 00003594 */
label0000358C:
0000358C 225F movea.l A1, [A7]+
0000358E DEFC 000C add.w A7, 0xC
00003592 4ED1 jmp [A1]
fn00003594:
00003594 2078 00E4 movea.l A0, [0x000000E4]
00003598 B1F8 02AE cmpa.l A0, [0x000002AE /* ROMBase */]
0000359C 6410 bcc +0x12 /* 000035AE */
0000359E 2250 movea.l A1, [A0]
000035A0 21E9 0034 033C move.l [0x0000033C /* IAZNotify */], [A1 + 0x34]
000035A6 A023 syscall DisposHandle/DisposeHandle
000035A8 31F8 02AE 00E4 move.w [0x000000E4], [0x000002AE /* ROMBase */]
label000035AE:
000035AE 4E75 rts
fn000035B0:
000035B0 4E56 FFE0 link A6, -0x0020
000035B4 41EE FFE0 lea.l A0, [A6 - 0x20]
000035B8 317C FFFC 0018 move.w [A0 + 0x18], 0xFFFC
000035BE A206 syscall KillIO, flags=2
000035C0 4278 0280 clr.w [0x00000280 /* CurPitch */]
000035C4 61CE bsr -0x30 /* 00003594 */
000035C6 4E5E unlink A6
label000035C8:
000035C8 4E75 rts
000035CA 61E4 bsr -0x1A /* 000035B0 */
000035CC 2038 033C move.l D0, [0x0000033C /* IAZNotify */]
000035D0 6FF6 ble -0x8 /* 000035C8 */
000035D2 2040 movea.l A0, D0
000035D4 4ED0 jmp [A0]
fn000035D6:
000035D6 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000035DA 2078 00E4 movea.l A0, [0x000000E4]
000035DE 2050 movea.l A0, [A0]
000035E0 4A28 0039 tst.b [A0 + 0x39]
000035E4 6706 beq +0x8 /* 000035EC */
000035E6 50E8 0038 st [A0 + 0x38]
000035EA 6060 bra +0x62 /* 0000364C */
label000035EC:
000035EC 3028 0032 move.w D0, [A0 + 0x32]
000035F0 2228 001C move.l D1, [A0 + 0x1C]
000035F4 670C beq +0xE /* 00003602 */
000035F6 2241 movea.l A1, D1
000035F8 48E7 8080 movem.l -[A7], D0,A0
000035FC 4E91 jsr [A1]
000035FE 4CDF 0101 movem.l D0,A0, [A7]+
label00003602:
00003602 0C40 003A cmpi.w D0, 0x3A /* ':' */
00003606 6744 beq +0x46 /* 0000364C */
00003608 2248 movea.l A1, A0
0000360A 41E8 003A lea.l A0, [A0 + 0x3A]
0000360E 2358 001C move.l [A1 + 0x1C], [A0]+
00003612 2358 0024 move.l [A1 + 0x24], [A0]+
00003616 2358 0020 move.l [A1 + 0x20], [A0]+
0000361A 337C FFFC 0018 move.w [A1 + 0x18], 0xFFFC
00003620 7246 moveq.l D1, 0x46
00003622 9041 sub.w D0, D1
00003624 6710 beq +0x12 /* 00003636 */
00003626 3200 move.w D1, D0
00003628 2248 movea.l A1, A0
0000362A 92FC 000C sub.w A1, 0xC
0000362E A02E syscall BlockMove/BlockMoveData
00003630 0641 003A addi.w D1, 0x3A /* ':' */
00003634 6002 bra +0x4 /* 00003638 */
label00003636:
00003636 723A moveq.l D1, 0x3A
label00003638:
00003638 2078 00E4 movea.l A0, [0x000000E4]
0000363C 2050 movea.l A0, [A0]
0000363E 3141 0032 move.w [A0 + 0x32], D1
00003642 43FA FF92 lea.l A1, [PC - 0x6E /* 000035D6, value 0x48E7E0C0 */]
00003646 2149 000C move.l [A0 + 0xC], A1
0000364A A403 syscall Write, flags=4
label0000364C:
0000364C 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003650 4E75 rts
00003652 7401 moveq.l D2, 0x01
label00003654:
00003654 205F movea.l A0, [A7]+
00003656 3F02 move.w -[A7], D2
00003658 2F08 move.l -[A7], A0
0000365A ADEA syscall Pack3, auto_pop
fn0000365C:
0000365C 7402 moveq.l D2, 0x02
0000365E 4EFA FFF4 jmp [PC - 0xC /* 00003654 */]
fn00003662:
00003662 206F 0008 movea.l A0, [A7 + 0x8]
00003666 3F3C 0001 move.w -[A7], 0x1
0000366A A9EE syscall Pack7/DecStr68K
0000366C 206F 0004 movea.l A0, [A7 + 0x4]
00003670 2080 move.l [A0], D0
00003672 4EFA 000E jmp [PC + 0xE /* 00003682 */]
00003676 206F 0004 movea.l A0, [A7 + 0x4]
0000367A 202F 0008 move.l D0, [A7 + 0x8]
0000367E 4267 clr.w -[A7]
00003680 A9EE syscall Pack7/DecStr68K
label00003682:
00003682 205F movea.l A0, [A7]+
00003684 504F addq.w A7, 8
00003686 4ED0 jmp [A0]
fn00003688:
00003688 42AF 0010 clr.l [A7 + 0x10]
0000368C 41FA 0008 lea.l A0, [PC + 0x8 /* 00003696, value 0x0 */]
00003690 20AF 0004 move.l [A0], [A7 + 0x4]
00003694 4E75 rts
00003696 0000 0000 ori.b D0, 0x0
fn0000369A:
0000369A 4E75 rts
fn0000369C:
0000369C 205F movea.l A0, [A7]+
0000369E 4E5D unlink A5
000036A0 2F08 move.l -[A7], A0
000036A2 4EBA 0358 jsr [PC + 0x358 /* 000039FC */]
000036A6 4E75 rts
fn000036A8:
000036A8 205F movea.l A0, [A7]+
000036AA 4E55 0000 link A5, 0
000036AE 4ED0 jmp [A0]
fn000036B0:
000036B0 4E56 0000 link A6, 0
000036B4 2C5F movea.l A6, [A7]+
000036B6 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
000036BA 206F 001C movea.l A0, [A7 + 0x1C]
000036BE 4240 clr.w D0
000036C0 1018 move.b D0, [A0]+
000036C2 4241 clr.w D1
label000036C4:
000036C4 226F 0020 movea.l A1, [A7 + 0x20]
000036C8 4242 clr.w D2
000036CA 1419 move.b D2, [A1]+
000036CC B042 cmp.w D0, D2
000036CE 6C04 bge +0x6 /* 000036D4 */
000036D0 4241 clr.w D1
000036D2 6016 bra +0x18 /* 000036EA */
label000036D4:
000036D4 2448 movea.l A2, A0
000036D6 5281 addq.l D1, 1
000036D8 6004 bra +0x6 /* 000036DE */
label000036DA:
000036DA B30A cmpm.b [A1]+, [A2]+
000036DC 6606 bne +0x8 /* 000036E4 */
label000036DE:
000036DE 51CA FFFA dbf D2, -0x8 /* 000036DA */
000036E2 6006 bra +0x8 /* 000036EA */
label000036E4:
000036E4 5288 addq.l A0, 1
000036E6 5340 subq.w D0, 1
000036E8 60DA bra -0x24 /* 000036C4 */
label000036EA:
000036EA 3F41 0022 move.w [A7 + 0x22], D1
000036EE 2F6F 0018 001E move.l [A7 + 0x1E], [A7 + 0x18]
000036F4 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
000036F8 5C8F addq.l A7, 6
000036FA 4E75 rts
000036FC 4E5E unlink A6
000036FE 4E75 rts
00003700 255F 504F move.l [A2 + 0x504F], [A7]+
00003704 5320 subq.b -[A0], 1
00003706 2020 move.l D0, -[A0]
fn00003708:
00003708 4E56 0000 link A6, 0
0000370C 2C5F movea.l A6, [A7]+
0000370E 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00003712 206F 0018 movea.l A0, [A7 + 0x18]
00003716 302F 001C move.w D0, [A7 + 0x1C]
0000371A 6F40 ble +0x42 /* 0000375C */
0000371C 0C40 00FF cmpi.w D0, 0xFF
00003720 6E3A bgt +0x3C /* 0000375C */
00003722 322F 001E move.w D1, [A7 + 0x1E]
00003726 6F34 ble +0x36 /* 0000375C */
00003728 0C41 00FF cmpi.w D1, 0xFF
0000372C 6E2E bgt +0x30 /* 0000375C */
0000372E 5341 subq.w D1, 1
00003730 226F 0020 movea.l A1, [A7 + 0x20]
00003734 4242 clr.w D2
00003736 1419 move.b D2, [A1]+
00003738 9441 sub.w D2, D1
0000373A 9440 sub.w D2, D0
0000373C 6D1E blt +0x20 /* 0000375C */
0000373E D2C1 add.w A1, D1
00003740 10C0 move.b [A0]+, D0
00003742 6002 bra +0x4 /* 00003746 */
label00003744:
00003744 10D9 move.b [A0]+, [A1]+
label00003746:
00003746 51C8 FFFC dbf D0, -0x6 /* 00003744 */
label0000374A:
0000374A 2F6F 0014 0020 move.l [A7 + 0x20], [A7 + 0x14]
00003750 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00003754 DFFC 0000 000C add.l A7, 0xC
0000375A 4E75 rts
label0000375C:
0000375C 4210 clr.b [A0]
0000375E 60EA bra -0x14 /* 0000374A */
00003760 4E5E unlink A6
00003762 4E75 rts
00003764 255F 434F move.l [A2 + 0x434F], [A7]+
00003768 5059 addq.w [A1]+, 8
0000376A 2020 move.l D0, -[A0]
fn0000376C:
0000376C 4E56 0000 link A6, 0
00003770 2C5F movea.l A6, [A7]+
00003772 225F movea.l A1, [A7]+
00003774 301F move.w D0, [A7]+
00003776 321F move.w D1, [A7]+
00003778 205F movea.l A0, [A7]+
0000377A 2F09 move.l -[A7], A1
0000377C 2F03 move.l -[A7], D3
0000377E 0C40 0000 cmpi.w D0, 0x0
00003782 6F30 ble +0x32 /* 000037B4 */
00003784 0C41 0000 cmpi.w D1, 0x0
00003788 6F2A ble +0x2C /* 000037B4 */
0000378A 4242 clr.w D2
0000378C 1410 move.b D2, [A0]
0000378E B441 cmp.w D2, D1
00003790 6D22 blt +0x24 /* 000037B4 */
00003792 3601 move.w D3, D1
00003794 D640 add.w D3, D0
00003796 5343 subq.w D3, 1
00003798 9642 sub.w D3, D2
0000379A 6F06 ble +0x8 /* 000037A2 */
0000379C 5341 subq.w D1, 1
0000379E 1081 move.b [A0], D1
000037A0 6012 bra +0x14 /* 000037B4 */
label000037A2:
000037A2 9440 sub.w D2, D0
000037A4 1082 move.b [A0], D2
000037A6 D0C1 add.w A0, D1
000037A8 2248 movea.l A1, A0
000037AA D2C0 add.w A1, D0
000037AC 6002 bra +0x4 /* 000037B0 */
label000037AE:
000037AE 10D9 move.b [A0]+, [A1]+
label000037B0:
000037B0 5243 addq.w D3, 1
000037B2 6FFA ble -0x4 /* 000037AE */
label000037B4:
000037B4 261F move.l D3, [A7]+
000037B6 4E75 rts
000037B8 4E5E unlink A6
000037BA 4E75 rts
000037BC 255F 4445 move.l [A2 + 0x4445], [A7]+
000037C0 4C20 2020 movem.w D2,A2, -[A0]
fn000037C4:
000037C4 4E56 0000 link A6, 0
000037C8 2C5F movea.l A6, [A7]+
000037CA 221F move.l D1, [A7]+
000037CC 301F move.w D0, [A7]+
000037CE 225F movea.l A1, [A7]+
000037D0 205F movea.l A0, [A7]+
000037D2 2F01 move.l -[A7], D1
000037D4 48E7 1020 movem.l -[A7], D3,A2
000037D8 5340 subq.w D0, 1
000037DA 6D2A blt +0x2C /* 00003806 */
000037DC 4241 clr.w D1
000037DE 1218 move.b D1, [A0]+
000037E0 4242 clr.w D2
000037E2 1411 move.b D2, [A1]
000037E4 B440 cmp.w D2, D0
000037E6 6D1E blt +0x20 /* 00003806 */
000037E8 3601 move.w D3, D1
000037EA D642 add.w D3, D2
000037EC 12C3 move.b [A1]+, D3
000037EE 2449 movea.l A2, A1
000037F0 D4C3 add.w A2, D3
000037F2 D2C2 add.w A1, D2
000037F4 9440 sub.w D2, D0
000037F6 6002 bra +0x4 /* 000037FA */
label000037F8:
000037F8 1521 move.b -[A2], -[A1]
label000037FA:
000037FA 51CA FFFC dbf D2, -0x6 /* 000037F8 */
000037FE 6002 bra +0x4 /* 00003802 */
label00003800:
00003800 12D8 move.b [A1]+, [A0]+
label00003802:
00003802 51C9 FFFC dbf D1, -0x6 /* 00003800 */
label00003806:
00003806 4CDF 0408 movem.l D3,A2, [A7]+
0000380A 4E75 rts
0000380C 4E5E unlink A6
0000380E 4E75 rts
00003810 255F 494E move.l [A2 + 0x494E], [A7]+
00003814 5320 subq.b -[A0], 1
00003816 2020 move.l D0, -[A0]
fn00003818:
00003818 4E56 0000 link A6, 0
0000381C 2C5F movea.l A6, [A7]+
0000381E 2F00 move.l -[A7], D0
00003820 2F01 move.l -[A7], D1
00003822 302F 0010 move.w D0, [A7 + 0x10]
00003826 C1EF 000E muls.w D0, [A7 + 0xE]
0000382A 322F 000C move.w D1, [A7 + 0xC]
0000382E C3EF 0012 muls.w D1, [A7 + 0x12]
00003832 D041 add.w D0, D1
00003834 4840 swap.w D0
00003836 4240 clr.w D0
00003838 322F 0012 move.w D1, [A7 + 0x12]
0000383C C2EF 000E mulu.w D1, [A7 + 0xE]
00003840 D081 add.l D0, D1
00003842 2F40 0010 move.l [A7 + 0x10], D0
00003846 221F move.l D1, [A7]+
00003848 201F move.l D0, [A7]+
0000384A 2F57 0004 move.l [A7 + 0x4], [A7]
0000384E 588F addq.l A7, 4
00003850 4E75 rts
00003852 4E5E unlink A6
00003854 4E75 rts
00003856 2549 5F4D move.l [A2 + 0x5F4D], A1
0000385A 554C subq.w A4, 2
0000385C 3420 move.w D2, -[A0]
fn0000385E:
0000385E 4E56 0000 link A6, 0
00003862 2F00 move.l -[A7], D0
00003864 2F01 move.l -[A7], D1
00003866 202F 0014 move.l D0, [A7 + 0x14]
0000386A 222F 0010 move.l D1, [A7 + 0x10]
0000386E 4EBA 0014 jsr [PC + 0x14 /* 00003884 */]
00003872 2F41 0014 move.l [A7 + 0x14], D1
00003876 221F move.l D1, [A7]+
00003878 201F move.l D0, [A7]+
0000387A 4E5E unlink A6
0000387C 2F57 0004 move.l [A7 + 0x4], [A7]
00003880 588F addq.l A7, 4
00003882 4E75 rts
fn00003884:
00003884 4E56 0000 link A6, 0
00003888 2C5F movea.l A6, [A7]+
0000388A 48E7 3E00 movem.l -[A7], D2,D3,D4,D5,D6
0000388E 2A00 move.l D5, D0
00003890 6A02 bpl +0x4 /* 00003894 */
00003892 4480 neg.l D0
label00003894:
00003894 2C01 move.l D6, D1
00003896 6A02 bpl +0x4 /* 0000389A */
00003898 4481 neg.l D1
label0000389A:
0000389A 2401 move.l D2, D1
0000389C 4842 swap.w D2
0000389E 4A42 tst.w D2
000038A0 661C bne +0x1E /* 000038BE */
000038A2 3600 move.w D3, D0
000038A4 4240 clr.w D0
000038A6 4840 swap.w D0
000038A8 6704 beq +0x6 /* 000038AE */
000038AA 80C1 divu.w D0, D1
000038AC 3400 move.w D2, D0
label000038AE:
000038AE 4842 swap.w D2
000038B0 3003 move.w D0, D3
000038B2 80C1 divu.w D0, D1
000038B4 3400 move.w D2, D0
000038B6 2202 move.l D1, D2
000038B8 4240 clr.w D0
000038BA 4840 swap.w D0
000038BC 601C bra +0x1E /* 000038DA */
label000038BE:
000038BE 2400 move.l D2, D0
000038C0 2601 move.l D3, D1
000038C2 4280 clr.l D0
000038C4 4281 clr.l D1
000038C6 781F moveq.l D4, 0x1F
label000038C8:
000038C8 D482 add.l D2, D2
000038CA D180 addx.l D0, D0
000038CC D281 add.l D1, D1
000038CE B083 cmp.l D0, D3
000038D0 6D04 blt +0x6 /* 000038D6 */
000038D2 9083 sub.l D0, D3
000038D4 5201 addq.b D1, 1
label000038D6:
000038D6 51CC FFF0 dbf D4, -0x12 /* 000038C8 */
label000038DA:
000038DA 4A85 tst.l D5
000038DC 6A02 bpl +0x4 /* 000038E0 */
000038DE 4480 neg.l D0
label000038E0:
000038E0 BB86 xor.l D6, D5
000038E2 6A02 bpl +0x4 /* 000038E6 */
000038E4 4481 neg.l D1
label000038E6:
000038E6 4CDF 007C movem.l D2,D3,D4,D5,D6, [A7]+
000038EA 4E75 rts
000038EC 4E5E unlink A6
000038EE 4E75 rts
000038F0 4944 chk.w D4, D4
000038F2 4956 chk.w D4, [A6]
000038F4 4D4F chk.w D6, A7
000038F6 4420 neg.b -[A0]
fn000038F8:
000038F8 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
000038FC 7201 moveq.l D1, 0x01
000038FE 6006 bra +0x8 /* 00003906 */
fn00003900:
00003900 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
00003904 4241 clr.w D1
label00003906:
00003906 206F 0018 movea.l A0, [A7 + 0x18]
0000390A 226F 0014 movea.l A1, [A7 + 0x14]
0000390E 4240 clr.w D0
00003910 1018 move.b D0, [A0]+
00003912 B019 cmp.b D0, [A1]+
00003914 660E bne +0x10 /* 00003924 */
00003916 6004 bra +0x6 /* 0000391C */
label00003918:
00003918 B308 cmpm.b [A1]+, [A0]+
0000391A 6608 bne +0xA /* 00003924 */
label0000391C:
0000391C 5340 subq.w D0, 1
0000391E 6AF8 bpl -0x6 /* 00003918 */
00003920 0A41 0001 xori.w D1, 0x1
label00003924:
00003924 1F41 001A move.b [A7 + 0x1A], D1
00003928 2F6F 0010 0016 move.l [A7 + 0x16], [A7 + 0x10]
0000392E 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
00003932 5C8F addq.l A7, 6
00003934 4E75 rts
fn00003936:
00003936 48E7 F8E0 movem.l -[A7], D0,D1,D2,D3,D4,A0,A1,A2
0000393A 41EF 0024 lea.l A0, [A7 + 0x24]
0000393E 3010 move.w D0, [A0]
00003940 4250 clr.w [A0]
00003942 3200 move.w D1, D0
00003944 E849 lsr D1.w, 4
00003946 3401 move.w D2, D1
00003948 5242 addq.w D2, 1
0000394A 3602 move.w D3, D2
0000394C E34B lsl D3.w, 1
0000394E 224F movea.l A1, A7
00003950 9EC3 sub.w A7, D3
00003952 244F movea.l A2, A7
00003954 383C 0012 move.w D4, 0x12
label00003958:
00003958 34D9 move.w [A2]+, [A1]+
0000395A 5344 subq.w D4, 1
0000395C 66FA bne -0x4 /* 00003958 */
0000395E 204A movea.l A0, A2
label00003960:
00003960 425A clr.w [A2]+
00003962 5342 subq.w D2, 1
00003964 66FA bne -0x4 /* 00003960 */
00003966 30C3 move.w [A0]+, D3
00003968 4242 clr.w D2
0000396A 0240 000F andi.w D0, 0xF
0000396E 01C2 bset D2, D0
00003970 3082 move.w [A0], D2
00003972 4CDF 071F movem.l D0,D1,D2,D3,D4,A0,A1,A2, [A7]+
00003976 4E75 rts
fn00003978:
00003978 42A7 clr.l -[A7]
0000397A 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
0000397E 41EF 0020 lea.l A0, [A7 + 0x20]
00003982 3018 move.w D0, [A0]+
00003984 D0C0 add.w A0, D0
00003986 2248 movea.l A1, A0
00003988 3219 move.w D1, [A1]+
0000398A D2C1 add.w A1, D1
0000398C 3600 move.w D3, D0
0000398E B240 cmp.w D1, D0
00003990 6C02 bge +0x4 /* 00003994 */
00003992 3601 move.w D3, D1
label00003994:
00003994 E24B lsr D3.w, 1
00003996 6004 bra +0x6 /* 0000399C */
label00003998:
00003998 3420 move.w D2, -[A0]
0000399A 8561 or.w -[A1], D2
label0000399C:
0000399C 5343 subq.w D3, 1
0000399E 6AF8 bpl -0x6 /* 00003998 */
000039A0 9041 sub.w D0, D1
000039A2 6710 beq +0x12 /* 000039B4 */
000039A4 6D0C blt +0xE /* 000039B2 */
000039A6 D240 add.w D1, D0
000039A8 E248 lsr D0.w, 1
label000039AA:
000039AA 3320 move.w -[A1], -[A0]
000039AC 5340 subq.w D0, 1
000039AE 6EFA bgt -0x4 /* 000039AA */
000039B0 6002 bra +0x4 /* 000039B4 */
label000039B2:
000039B2 D2C0 add.w A1, D0
label000039B4:
000039B4 3301 move.w -[A1], D1
000039B6 206F 001C movea.l A0, [A7 + 0x1C]
000039BA 2308 move.l -[A1], A0
000039BC 2F49 0018 move.l [A7 + 0x18], A1
000039C0 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
000039C4 2E5F movea.l A7, [A7]+
000039C6 4E75 rts
fn000039C8:
000039C8 9EFC 0100 sub.w A7, 0x100
000039CC 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
000039D0 302F 0114 move.w D0, [A7 + 0x114]
000039D4 322F 0116 move.w D1, [A7 + 0x116]
000039D8 41EF 0118 lea.l A0, [A7 + 0x118]
000039DC 226F 0110 movea.l A1, [A7 + 0x110]
000039E0 9240 sub.w D1, D0
000039E2 6C08 bge +0xA /* 000039EC */
label000039E4:
000039E4 4260 clr.w -[A0]
000039E6 5441 addq.w D1, 2
000039E8 6BFA bmi -0x4 /* 000039E4 */
000039EA 6002 bra +0x4 /* 000039EE */
label000039EC:
000039EC D0C1 add.w A0, D1
label000039EE:
000039EE 2109 move.l -[A0], A1
000039F0 2F48 0010 move.l [A7 + 0x10], A0
000039F4 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
000039F8 2E5F movea.l A7, [A7]+
000039FA 4E75 rts
fn000039FC:
000039FC 4E56 0000 link A6, 0
00003A00 42AD E56A clr.l [A5 - 0x1A96]
00003A04 422D E564 clr.b [A5 - 0x1A9C]
00003A08 422D E565 clr.b [A5 - 0x1A9B]
00003A0C 42AD E55E clr.l [A5 - 0x1AA2]
00003A10 42AD E55A clr.l [A5 - 0x1AA6]
00003A14 42AD E54E clr.l [A5 - 0x1AB2]
00003A18 4E5E unlink A6
00003A1A 4E75 rts
00003A1C A549 syscall HPurge, flags=5
00003A1E 4E49 trap 9
00003A20 5448 addq.w A0, 2
00003A22 4541 chk.w D2, D1
00003A24 0000 4EF9 ori.b D0, 0xF9
// begin alternate branch 00003A26-00003A2C
fn00003A26:
00003A26 4EF9 0040 000A jmp [0x0040000A]
// end alternate branch 00003A26-00003A2C
fn00003A26: // (misaligned)
00003A28 0040 000A ori.w D0, 0xA /* '\n' */
fn00003A2C:
00003A2C 205F movea.l A0, [A7]+
00003A2E 4217 clr.b [A7]
00003A30 2038 0A7C move.l D0, [0x00000A7C]
00003A34 0280 FFFF FFFE andi.l D0, 0xFFFFFFFE
00003A3A 2240 movea.l A1, D0
00003A3C 2019 move.l D0, [A1]+
00003A3E 0C80 4A61 7946 cmpi.l D0, 0x4A617946 /* 'JayF' */
00003A44 6600 0012 bne +0x14 /* 00003A58 */
00003A48 2019 move.l D0, [A1]+
00003A4A 0C80 4572 664E cmpi.l D0, 0x4572664E /* 'ErfN' */
00003A50 6600 0006 bne +0x8 /* 00003A58 */
00003A54 1EBC 0001 move.b [A7], 0x1
label00003A58:
00003A58 4ED0 jmp [A0]
fn00003A5A:
00003A5A 206F 0004 movea.l A0, [A7 + 0x4]
00003A5E A9F2 syscall Launch/LaunchApplication
00003A60 205F movea.l A0, [A7]+
00003A62 584F addq.w A7, 4
00003A64 4ED0 jmp [A0]
fn00003A66:
00003A66 205F movea.l A0, [A7]+
00003A68 2EB8 0A7C move.l [A7], [0x00000A7C]
00003A6C 4ED0 jmp [A0]
fn00003A6E:
00003A6E 205F movea.l A0, [A7]+
00003A70 201F move.l D0, [A7]+
00003A72 21C0 0A7C move.l [0x00000A7C], D0
00003A76 4ED0 jmp [A0]
fn00003A78:
00003A78 205F movea.l A0, [A7]+
00003A7A 2255 movea.l A1, [A5]
00003A7C 2E91 move.l [A7], [A1]
00003A7E 4ED0 jmp [A0]
fn00003A80:
00003A80 205F movea.l A0, [A7]+
00003A82 2255 movea.l A1, [A5]
00003A84 43E9 FF86 lea.l A1, [A1 - 0x7A]
00003A88 2E89 move.l [A7], A1
00003A8A 4ED0 jmp [A0]
fn00003A8C:
00003A8C 205F movea.l A0, [A7]+
00003A8E 2255 movea.l A1, [A5]
00003A90 43E9 FFF0 lea.l A1, [A1 - 0x10]
00003A94 2E89 move.l [A7], A1
00003A96 4ED0 jmp [A0]
fn00003A98:
00003A98 205F movea.l A0, [A7]+
00003A9A 2255 movea.l A1, [A5]
00003A9C 43E9 FFF8 lea.l A1, [A1 - 0x8]
00003AA0 2E89 move.l [A7], A1
00003AA2 4ED0 jmp [A0]
fn00003AA4:
00003AA4 205F movea.l A0, [A7]+
00003AA6 301F move.w D0, [A7]+
00003AA8 1E80 move.b [A7], D0
00003AAA 4ED0 jmp [A0]
fn00003AAC:
00003AAC 41FA 0008 lea.l A0, [PC + 0x8 /* 00003AB6, value 0x307C000E */]
00003AB0 21C8 0A6C move.l [0x00000A6C /* DeskHook */], A0
00003AB4 4E75 rts
00003AB6 307C 000E movea.w A0, 0xE
00003ABA 4280 clr.l D0
00003ABC A02F syscall PostEvent/PPostEvent
00003ABE 4E75 rts
fn00003AC0:
00003AC0 42B8 0A6C clr.l [0x00000A6C /* DeskHook */]
00003AC4 4E75 rts
fn00003AC6:
00003AC6 08F9 0006 00EF FFFE bset.b [0x00EFFFFE], 0x6
00003ACE 4E75 rts
fn00003AD0:
00003AD0 4E56 0000 link A6, 0
00003AD4 48E7 1F3C movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5
00003AD8 2678 0A78 movea.l A3, [0x00000A78 /* ApplScratch */]
00003ADC 222E 000E move.l D1, [A6 + 0xE]
00003AE0 4A81 tst.l D1
00003AE2 6700 0056 beq +0x58 /* 00003B3A */
00003AE6 2041 movea.l A0, D1
00003AE8 2210 move.l D1, [A0]
00003AEA 0281 00FF FFFF andi.l D1, 0xFFFFFF
00003AF0 6700 0048 beq +0x4A /* 00003B3A */
00003AF4 2241 movea.l A1, D1
00003AF6 286B 000E movea.l A4, [A3 + 0xE]
00003AFA 4A59 tst.w [A1]+
00003AFC 6600 003C bne +0x3E /* 00003B3A */
00003B00 3019 move.w D0, [A1]+
00003B02 0C40 4E71 cmpi.w D0, 0x4E71 /* 'Nq' */
00003B06 6600 0032 bne +0x34 /* 00003B3A */
00003B0A 1410 move.b D2, [A0]
00003B0C 3F02 move.w -[A7], D2
00003B0E 48E7 00C0 movem.l -[A7], A0,A1
00003B12 A029 syscall HLock
00003B14 4CDF 0300 movem.l A0,A1, [A7]+
00003B18 2219 move.l D1, [A1]+
00003B1A 222E 0008 move.l D1, [A6 + 0x8]
00003B1E 4280 clr.l D0
00003B20 302E 000C move.w D0, [A6 + 0xC]
00003B24 2F0E move.l -[A7], A6
00003B26 4E91 jsr [A1]
00003B28 2C5F movea.l A6, [A7]+
00003B2A 341F move.w D2, [A7]+
00003B2C 0802 0007 btst.b D2, 0x7
00003B30 6600 0008 bne +0xA /* 00003B3A */
00003B34 206E 000E movea.l A0, [A6 + 0xE]
00003B38 A02A syscall HUnlock
label00003B3A:
00003B3A 4CDF 3CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A5, [A7]+
00003B3E 4E5E unlink A6
00003B40 205F movea.l A0, [A7]+
00003B42 DFFC 0000 000A add.l A7, 0xA /* '\n' */
00003B48 4ED0 jmp [A0]
00003B4A 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
00003B4E 317C 0001 000A move.w [A0 + 0xA], 0x1
00003B54 08B9 0007 00EF E1FE bclr.b [0x00EFE1FE], 0x7
00003B5C 2678 0A78 movea.l A3, [0x00000A78 /* ApplScratch */]
00003B60 102B 0001 move.b D0, [A3 + 0x1]
00003B64 0C00 0002 cmpi.b D0, 0x2
00003B68 6600 000E bne +0x10 /* 00003B78 */
00003B6C 08B9 0006 00EF FFFE bclr.b [0x00EFFFFE], 0x6
00003B74 6000 000A bra +0xC /* 00003B80 */
label00003B78:
00003B78 08F9 0006 00EF FFFE bset.b [0x00EFFFFE], 0x6
label00003B80:
00003B80 4A13 tst.b [A3]
00003B82 6600 002A bne +0x2C /* 00003BAE */
00003B86 202B 000A move.l D0, [A3 + 0xA]
00003B8A 4A80 tst.l D0
00003B8C 6700 0020 beq +0x22 /* 00003BAE */
00003B90 2040 movea.l A0, D0
00003B92 286B 000E movea.l A4, [A3 + 0xE]
00003B96 4A58 tst.w [A0]+
00003B98 6700 000A beq +0xC /* 00003BA4 */
00003B9C 4EBA 0502 jsr [PC + 0x502 /* 000040A0 */]
00003BA0 6000 0004 bra +0x6 /* 00003BA6 */
label00003BA4:
00003BA4 4E90 jsr [A0]
label00003BA6:
00003BA6 2678 0A78 movea.l A3, [0x00000A78 /* ApplScratch */]
00003BAA 526B 0008 addq.w [A3 + 0x8], 1
label00003BAE:
00003BAE 4CDF 7FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6, [A7]+
00003BB2 4E75 rts
fn00003BB4:
00003BB4 2078 0266 movea.l A0, [0x00000266 /* SoundBase */]
00003BB8 1010 move.b D0, [A0]
00003BBA 7249 moveq.l D1, 0x49
label00003BBC:
00003BBC 1080 move.b [A0], D0
00003BBE 5488 addq.l A0, 2
00003BC0 1080 move.b [A0], D0
00003BC2 5488 addq.l A0, 2
00003BC4 1080 move.b [A0], D0
00003BC6 5488 addq.l A0, 2
00003BC8 1080 move.b [A0], D0
00003BCA 5488 addq.l A0, 2
00003BCC 1080 move.b [A0], D0
00003BCE 5488 addq.l A0, 2
00003BD0 51C9 FFEA dbf D1, -0x18 /* 00003BBC */
00003BD4 4E75 rts
fn00003BD6:
00003BD6 4E56 0000 link A6, 0
00003BDA 206E 0008 movea.l A0, [A6 + 0x8]
00003BDE A025 syscall GetHandleSize
00003BE0 206E 0008 movea.l A0, [A6 + 0x8]
00003BE4 2050 movea.l A0, [A0]
00003BE6 4A80 tst.l D0
00003BE8 6700 000C beq +0xE /* 00003BF6 */
00003BEC 6B00 0008 bmi +0xA /* 00003BF6 */
label00003BF0:
00003BF0 4218 clr.b [A0]+
00003BF2 5340 subq.w D0, 1
00003BF4 66FA bne -0x4 /* 00003BF0 */
label00003BF6:
00003BF6 4E5E unlink A6
00003BF8 205F movea.l A0, [A7]+
00003BFA 588F addq.l A7, 4
00003BFC 4ED0 jmp [A0]
fn00003BFE:
00003BFE 4E56 FFFC link A6, -0x0004
00003C02 48E7 FFFC movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
00003C06 4278 0A60 clr.w [0x00000A60 /* ResErr */]
00003C0A 286E 0010 movea.l A4, [A6 + 0x10]
00003C0E 2654 movea.l A3, [A4]
00003C10 2A13 move.l D5, [A3]
00003C12 204C movea.l A0, A4
00003C14 A025 syscall GetHandleSize
00003C16 2805 move.l D4, D5
00003C18 0684 0000 01A2 addi.l D4, 0x1A2
00003C1E B084 cmp.l D0, D4
00003C20 6C00 001E bge +0x20 /* 00003C40 */
00003C24 204C movea.l A0, A4
00003C26 2004 move.l D0, D4
00003C28 0680 0000 0200 addi.l D0, 0x200
00003C2E A024 syscall SetHandleSize
00003C30 4A40 tst.w D0
00003C32 6700 000C beq +0xE /* 00003C40 */
00003C36 31FC FF94 0A60 move.w [0x00000A60 /* ResErr */], 0xFF94
00003C3C 6000 005E bra +0x60 /* 00003C9C */
label00003C40:
00003C40 206E 0008 movea.l A0, [A6 + 0x8]
00003C44 226E 000C movea.l A1, [A6 + 0xC]
00003C48 383C 00D0 move.w D4, 0xD0
00003C4C 2654 movea.l A3, [A4]
00003C4E D7C5 add.l A3, D5
00003C50 2D4B FFFC move.l [A6 - 0x4], A3
00003C54 425B clr.w [A3]+
label00003C56:
00003C56 3019 move.w D0, [A1]+
00003C58 B058 cmp.w D0, [A0]+
00003C5A 6600 000A bne +0xC /* 00003C66 */
label00003C5E:
00003C5E 5344 subq.w D4, 1
00003C60 66F4 bne -0xA /* 00003C56 */
00003C62 6000 0028 bra +0x2A /* 00003C8C */
label00003C66:
00003C66 244B movea.l A2, A3
00003C68 425B clr.w [A3]+
00003C6A 3604 move.w D3, D4
label00003C6C:
00003C6C 36C0 move.w [A3]+, D0
00003C6E 5344 subq.w D4, 1
00003C70 6700 0008 beq +0xA /* 00003C7A */
00003C74 3019 move.w D0, [A1]+
00003C76 B058 cmp.w D0, [A0]+
00003C78 66F2 bne -0xC /* 00003C6C */
label00003C7A:
00003C7A 3203 move.w D1, D3
00003C7C 9244 sub.w D1, D4
00003C7E 14C1 move.b [A2]+, D1
00003C80 343C 00D0 move.w D2, 0xD0
00003C84 9443 sub.w D2, D3
00003C86 1482 move.b [A2], D2
00003C88 4A44 tst.w D4
00003C8A 66D2 bne -0x2C /* 00003C5E */
label00003C8C:
00003C8C 2454 movea.l A2, [A4]
00003C8E 224B movea.l A1, A3
00003C90 93CA sub.l A1, A2
00003C92 2489 move.l [A2], A1
00003C94 226E FFFC movea.l A1, [A6 - 0x4]
00003C98 97C9 sub.l A3, A1
00003C9A 328B move.w [A1], A3
label00003C9C:
00003C9C 4CDF 3FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
00003CA0 4E5E unlink A6
00003CA2 205F movea.l A0, [A7]+
00003CA4 DFFC 0000 000C add.l A7, 0xC
00003CAA 4ED0 jmp [A0]
fn00003CAC:
00003CAC 4E56 0000 link A6, 0
00003CB0 48E7 FFFC movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
00003CB4 286E 0014 movea.l A4, [A6 + 0x14]
00003CB8 2854 movea.l A4, [A4]
00003CBA 266E 0010 movea.l A3, [A6 + 0x10]
00003CBE 4285 clr.l D5
00003CC0 246E 000C movea.l A2, [A6 + 0xC]
00003CC4 2812 move.l D4, [A2]
00003CC6 D9C4 add.l A4, D4
00003CC8 4283 clr.l D3
00003CCA 361C move.w D3, [A4]+
00003CCC D883 add.l D4, D3
00003CCE 2484 move.l [A2], D4
00003CD0 E24B lsr D3.w, 1
00003CD2 5343 subq.w D3, 1
label00003CD4:
00003CD4 4A43 tst.w D3
00003CD6 6700 0028 beq +0x2A /* 00003D00 */
00003CDA 6B00 0024 bmi +0x26 /* 00003D00 */
00003CDE 4242 clr.w D2
00003CE0 4241 clr.w D1
00003CE2 121C move.b D1, [A4]+
00003CE4 9641 sub.w D3, D1
00003CE6 5343 subq.w D3, 1
00003CE8 141C move.b D2, [A4]+
00003CEA E34A lsl D2.w, 1
00003CEC 244B movea.l A2, A3
00003CEE D4C2 add.w A2, D2
label00003CF0:
00003CF0 34DC move.w [A2]+, [A4]+
00003CF2 3002 move.w D0, D2
00003CF4 E848 lsr D0.w, 4
00003CF6 01C5 bset D5, D0
00003CF8 5442 addq.w D2, 2
00003CFA 5341 subq.w D1, 1
00003CFC 66F2 bne -0xC /* 00003CF0 */
00003CFE 60D4 bra -0x2A /* 00003CD4 */
label00003D00:
00003D00 206E 0008 movea.l A0, [A6 + 0x8]
00003D04 2085 move.l [A0], D5
00003D06 4CDF 3FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
00003D0A 4E5E unlink A6
00003D0C 205F movea.l A0, [A7]+
00003D0E DFFC 0000 0010 add.l A7, 0x10
00003D14 4ED0 jmp [A0]
fn00003D16:
00003D16 4E56 0000 link A6, 0
00003D1A 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00003D1E 206E 0010 movea.l A0, [A6 + 0x10]
00003D22 226E 000C movea.l A1, [A6 + 0xC]
00003D26 4280 clr.l D0
00003D28 7201 moveq.l D1, 0x01
00003D2A 383C 0019 move.w D4, 0x19
label00003D2E:
00003D2E 343C 0004 move.w D2, 0x4
label00003D32:
00003D32 2618 move.l D3, [A0]+
00003D34 2A19 move.l D5, [A1]+
00003D36 0C42 0004 cmpi.w D2, 0x4
00003D3A 6600 000E bne +0x10 /* 00003D4A */
00003D3E 0283 00FF FFFF andi.l D3, 0xFFFFFF
00003D44 0285 00FF FFFF andi.l D5, 0xFFFFFF
label00003D4A:
00003D4A B685 cmp.l D3, D5
00003D4C 6700 0004 beq +0x6 /* 00003D52 */
00003D50 8081 or.l D0, D1
label00003D52:
00003D52 5342 subq.w D2, 1
00003D54 66DC bne -0x22 /* 00003D32 */
00003D56 E389 lsl D1, 1
00003D58 5344 subq.w D4, 1
00003D5A 66D2 bne -0x2C /* 00003D2E */
00003D5C 206E 0008 movea.l A0, [A6 + 0x8]
00003D60 2080 move.l [A0], D0
00003D62 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
00003D66 4E5E unlink A6
00003D68 205F movea.l A0, [A7]+
00003D6A DFFC 0000 000C add.l A7, 0xC
00003D70 4ED0 jmp [A0]
fn00003D72:
00003D72 205F movea.l A0, [A7]+
00003D74 225F movea.l A1, [A7]+
00003D76 303C 000D move.w D0, 0xD /* '\r' */
label00003D7A:
00003D7A 4299 clr.l [A1]+
00003D7C 4299 clr.l [A1]+
00003D7E 4299 clr.l [A1]+
00003D80 4299 clr.l [A1]+
00003D82 4299 clr.l [A1]+
00003D84 4299 clr.l [A1]+
00003D86 4299 clr.l [A1]+
00003D88 4299 clr.l [A1]+
00003D8A 5340 subq.w D0, 1
00003D8C 66EC bne -0x12 /* 00003D7A */
00003D8E 4ED0 jmp [A0]
fn00003D90:
00003D90 201F move.l D0, [A7]+
00003D92 205F movea.l A0, [A7]+
00003D94 225F movea.l A1, [A7]+
00003D96 323C 000D move.w D1, 0xD /* '\r' */
label00003D9A:
00003D9A 20D9 move.l [A0]+, [A1]+
00003D9C 20D9 move.l [A0]+, [A1]+
00003D9E 20D9 move.l [A0]+, [A1]+
00003DA0 20D9 move.l [A0]+, [A1]+
00003DA2 20D9 move.l [A0]+, [A1]+
00003DA4 20D9 move.l [A0]+, [A1]+
00003DA6 20D9 move.l [A0]+, [A1]+
00003DA8 20D9 move.l [A0]+, [A1]+
00003DAA 5341 subq.w D1, 1
00003DAC 66EC bne -0x12 /* 00003D9A */
00003DAE 2F00 move.l -[A7], D0
00003DB0 4E75 rts
fn00003DB2:
00003DB2 201F move.l D0, [A7]+
00003DB4 205F movea.l A0, [A7]+
00003DB6 225F movea.l A1, [A7]+
00003DB8 323C 000E move.w D1, 0xE
label00003DBC:
00003DBC 20D9 move.l [A0]+, [A1]+
00003DBE 20D9 move.l [A0]+, [A1]+
00003DC0 20D9 move.l [A0]+, [A1]+
00003DC2 20D9 move.l [A0]+, [A1]+
00003DC4 20D9 move.l [A0]+, [A1]+
00003DC6 20D9 move.l [A0]+, [A1]+
00003DC8 20D9 move.l [A0]+, [A1]+
00003DCA 20D9 move.l [A0]+, [A1]+
00003DCC 20D9 move.l [A0]+, [A1]+
00003DCE 20D9 move.l [A0]+, [A1]+
00003DD0 20D9 move.l [A0]+, [A1]+
00003DD2 5341 subq.w D1, 1
00003DD4 66E6 bne -0x18 /* 00003DBC */
00003DD6 2F00 move.l -[A7], D0
00003DD8 4E75 rts
fn00003DDA:
00003DDA 226F 0004 movea.l A1, [A7 + 0x4]
00003DDE 206F 0008 movea.l A0, [A7 + 0x8]
00003DE2 3010 move.w D0, [A0]
00003DE4 D068 0004 add.w D0, [A0 + 0x4]
00003DE8 E240 asr D0.w, 1
00003DEA 32C0 move.w [A1]+, D0
00003DEC 3028 0002 move.w D0, [A0 + 0x2]
00003DF0 D068 0006 add.w D0, [A0 + 0x6]
00003DF4 E240 asr D0.w, 1
00003DF6 32C0 move.w [A1]+, D0
00003DF8 205F movea.l A0, [A7]+
00003DFA 508F addq.l A7, 8
00003DFC 4ED0 jmp [A0]
fn00003DFE:
00003DFE 4E56 0000 link A6, 0
00003E02 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
00003E06 222E 000C move.l D1, [A6 + 0xC]
00003E0A 226E 0014 movea.l A1, [A6 + 0x14]
00003E0E 4C91 00F0 movem.w D4,D5,D6,D7, [A1]
00003E12 206E 0010 movea.l A0, [A6 + 0x10]
00003E16 D0FC 01A8 add.w A0, 0x1A8
00003E1A 7400 moveq.l D2, 0x00
00003E1C 7001 moveq.l D0, 0x01
00003E1E 363C 0008 move.w D3, 0x8
label00003E22:
00003E22 0101 btst D1, D0
00003E24 6700 0022 beq +0x24 /* 00003E48 */
00003E28 B868 0004 cmp.w D4, [A0 + 0x4]
00003E2C 6E00 001A bgt +0x1C /* 00003E48 */
00003E30 BC50 cmp.w D6, [A0]
00003E32 6D00 0014 blt +0x16 /* 00003E48 */
00003E36 BA68 0006 cmp.w D5, [A0 + 0x6]
00003E3A 6E00 000C bgt +0xE /* 00003E48 */
00003E3E BE68 0002 cmp.w D7, [A0 + 0x2]
00003E42 6D00 0004 blt +0x6 /* 00003E48 */
00003E46 01C2 bset D2, D0
label00003E48:
00003E48 0181 bclr D1, D0
00003E4A D0C3 add.w A0, D3
00003E4C 5240 addq.w D0, 1
00003E4E 4A81 tst.l D1
00003E50 66D0 bne -0x2E /* 00003E22 */
00003E52 226E 0008 movea.l A1, [A6 + 0x8]
00003E56 2282 move.l [A1], D2
00003E58 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
00003E5C 4E5E unlink A6
00003E5E 205F movea.l A0, [A7]+
00003E60 DFFC 0000 0010 add.l A7, 0x10
00003E66 4ED0 jmp [A0]
fn00003E68:
00003E68 4E56 0000 link A6, 0
00003E6C 48E7 0C00 movem.l -[A7], D4,D5
00003E70 206E 000C movea.l A0, [A6 + 0xC]
00003E74 D0FC 001C add.w A0, 0x1C
00003E78 7400 moveq.l D2, 0x00
00003E7A 7001 moveq.l D0, 0x01
00003E7C 363C 0010 move.w D3, 0x10
label00003E80:
00003E80 4A50 tst.w [A0]
00003E82 6F00 000C ble +0xE /* 00003E90 */
00003E86 4A68 0002 tst.w [A0 + 0x2]
00003E8A 6F00 0004 ble +0x6 /* 00003E90 */
00003E8E 01C2 bset D2, D0
label00003E90:
00003E90 D0C3 add.w A0, D3
00003E92 5240 addq.w D0, 1
00003E94 0C40 0019 cmpi.w D0, 0x19
00003E98 66E6 bne -0x18 /* 00003E80 */
00003E9A 226E 0008 movea.l A1, [A6 + 0x8]
00003E9E 2282 move.l [A1], D2
00003EA0 4CDF 0030 movem.l D4,D5, [A7]+
00003EA4 4E5E unlink A6
00003EA6 205F movea.l A0, [A7]+
00003EA8 508F addq.l A7, 8
00003EAA 4ED0 jmp [A0]
fn00003EAC:
00003EAC 225F movea.l A1, [A7]+
00003EAE 205F movea.l A0, [A7]+
00003EB0 3028 0004 move.w D0, [A0 + 0x4]
00003EB4 9050 sub.w D0, [A0]
00003EB6 3228 0006 move.w D1, [A0 + 0x6]
00003EBA 9268 0002 sub.w D1, [A0 + 0x2]
00003EBE 0641 000F addi.w D1, 0xF
00003EC2 E849 lsr D1.w, 4
00003EC4 E349 lsl D1.w, 1
00003EC6 C2C0 mulu.w D1, D0
00003EC8 2E81 move.l [A7], D1
00003ECA 4ED1 jmp [A1]
fn00003ECC:
00003ECC 225F movea.l A1, [A7]+
00003ECE 205F movea.l A0, [A7]+
00003ED0 3228 0006 move.w D1, [A0 + 0x6]
00003ED4 9268 0002 sub.w D1, [A0 + 0x2]
00003ED8 0641 000F addi.w D1, 0xF
00003EDC E849 lsr D1.w, 4
00003EDE E349 lsl D1.w, 1
00003EE0 3E81 move.w [A7], D1
00003EE2 4ED1 jmp [A1]
fn00003EE4:
00003EE4 4E56 0000 link A6, 0
00003EE8 48E7 0F10 movem.l -[A7], D4,D5,D6,D7,A3
00003EEC 266E 0008 movea.l A3, [A6 + 0x8]
00003EF0 598F subq.l A7, 4
00003EF2 486B 0006 pea.l [A3 + 0x6]
00003EF6 4EBA FFB4 jsr [PC - 0x4C /* 00003EAC */]
00003EFA 201F move.l D0, [A7]+
00003EFC E288 lsr D0, 1
00003EFE 2200 move.l D1, D0
00003F00 0280 0000 000F andi.l D0, 0xF
00003F06 E889 lsr D1, 4
00003F08 282E 000C move.l D4, [A6 + 0xC]
00003F0C 2253 movea.l A1, [A3]
label00003F0E:
00003F0E 4A81 tst.l D1
00003F10 6700 0016 beq +0x18 /* 00003F28 */
00003F14 22C4 move.l [A1]+, D4
00003F16 22C4 move.l [A1]+, D4
00003F18 22C4 move.l [A1]+, D4
00003F1A 22C4 move.l [A1]+, D4
00003F1C 22C4 move.l [A1]+, D4
00003F1E 22C4 move.l [A1]+, D4
00003F20 22C4 move.l [A1]+, D4
00003F22 22C4 move.l [A1]+, D4
00003F24 5341 subq.w D1, 1
00003F26 60E6 bra -0x18 /* 00003F0E */
label00003F28:
00003F28 4A40 tst.w D0
00003F2A 6700 0008 beq +0xA /* 00003F34 */
00003F2E 32C4 move.w [A1]+, D4
00003F30 5340 subq.w D0, 1
00003F32 60F4 bra -0xA /* 00003F28 */
label00003F34:
00003F34 4CDF 08F0 movem.l D4,D5,D6,D7,A3, [A7]+
00003F38 4E5E unlink A6
00003F3A 2057 movea.l A0, [A7]
00003F3C DFFC 0000 000C add.l A7, 0xC
00003F42 4ED0 jmp [A0]
00003F44 205F movea.l A0, [A7]+
00003F46 70FF moveq.l D0, 0xFFFFFFFF
00003F48 2F00 move.l -[A7], D0
00003F4A 6008 bra +0xA /* 00003F54 */
fn00003F4C:
00003F4C 205F movea.l A0, [A7]+
00003F4E 70FF moveq.l D0, 0xFFFFFFFF
00003F50 2F00 move.l -[A7], D0
00003F52 42A7 clr.l -[A7]
label00003F54:
00003F54 2F08 move.l -[A7], A0
00003F56 4E56 FFFA link A6, -0x0006
00003F5A 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00003F5E 2D4F FFFA move.l [A6 - 0x6], A7
00003F62 3A2E 0010 move.w D5, [A6 + 0x10]
00003F66 6F00 0126 ble +0x128 /* 0000408E */
00003F6A 5345 subq.w D5, 1
00003F6C 536E 0012 subq.w [A6 + 0x12], 1
00003F70 6D00 011C blt +0x11E /* 0000408E */
00003F74 302E 0010 move.w D0, [A6 + 0x10]
00003F78 D040 add.w D0, D0
00003F7A 322E 0014 move.w D1, [A6 + 0x14]
00003F7E 9240 sub.w D1, D0
00003F80 3D41 FFFE move.w [A6 - 0x2], D1
00003F84 246E 0018 movea.l A2, [A6 + 0x18]
00003F88 70FF moveq.l D0, 0xFFFFFFFF
00003F8A 362E 0012 move.w D3, [A6 + 0x12]
label00003F8E:
00003F8E 3405 move.w D2, D5
label00003F90:
00003F90 34C0 move.w [A2]+, D0
00003F92 51CA FFFC dbf D2, -0x6 /* 00003F90 */
00003F96 D4C1 add.w A2, D1
00003F98 51CB FFF4 dbf D3, -0xE /* 00003F8E */
00003F9C 302E 000C move.w D0, [A6 + 0xC]
00003FA0 6D18 blt +0x1A /* 00003FBA */
00003FA2 C0EE 0014 mulu.w D0, [A6 + 0x14]
00003FA6 206E 0018 movea.l A0, [A6 + 0x18]
00003FAA D1C0 add.l A0, D0
00003FAC 302E 000E move.w D0, [A6 + 0xE]
00003FB0 3200 move.w D1, D0
00003FB2 E648 lsr D0.w, 3
00003FB4 4641 not.w D1
00003FB6 03B0 0000 bclr [A0 + D0.w], D1
label00003FBA:
00003FBA 2C2E 0008 move.l D6, [A6 + 0x8]
00003FBE 3205 move.w D1, D5
label00003FC0:
00003FC0 3F06 move.w -[A7], D6
00003FC2 51C9 FFFC dbf D1, -0x6 /* 00003FC0 */
00003FC6 206E 001C movea.l A0, [A6 + 0x1C]
00003FCA 246E 0018 movea.l A2, [A6 + 0x18]
label00003FCE:
00003FCE 51C7 sf D7
00003FD0 382E 0012 move.w D4, [A6 + 0x12]
00003FD4 224F movea.l A1, A7
label00003FD6:
00003FD6 2206 move.l D1, D6
00003FD8 3605 move.w D3, D5
label00003FDA:
00003FDA 3212 move.w D1, [A2]
00003FDC 660E bne +0x10 /* 00003FEC */
00003FDE 5448 addq.w A0, 2
00003FE0 5449 addq.w A1, 2
00003FE2 544A addq.w A2, 2
00003FE4 4841 swap.w D1
00003FE6 51CB FFF2 dbf D3, -0x10 /* 00003FDA */
00003FEA 6024 bra +0x26 /* 00004010 */
label00003FEC:
00003FEC 3418 move.w D2, [A0]+
00003FEE C259 and.w D1, [A1]+
00003FF0 8242 or.w D1, D2
00003FF2 6002 bra +0x4 /* 00003FF6 */
label00003FF4:
00003FF4 3200 move.w D1, D0
label00003FF6:
00003FF6 2001 move.l D0, D1
00003FF8 E288 lsr D0, 1
00003FFA C041 and.w D0, D1
00003FFC 8042 or.w D0, D2
00003FFE B041 cmp.w D0, D1
00004000 66F2 bne -0xC /* 00003FF4 */
00004002 B252 cmp.w D1, [A2]
00004004 6702 beq +0x4 /* 00004008 */
00004006 50C7 st D7
label00004008:
00004008 34C1 move.w [A2]+, D1
0000400A 4841 swap.w D1
0000400C 51CB FFCC dbf D3, -0x36 /* 00003FDA */
label00004010:
00004010 2206 move.l D1, D6
00004012 3605 move.w D3, D5
label00004014:
00004014 3222 move.w D1, -[A2]
00004016 660C bne +0xE /* 00004024 */
00004018 5548 subq.w A0, 2
0000401A 5549 subq.w A1, 2
0000401C 4841 swap.w D1
0000401E 51CB FFF4 dbf D3, -0xE /* 00004014 */
00004022 6024 bra +0x26 /* 00004048 */
label00004024:
00004024 3420 move.w D2, -[A0]
00004026 C261 and.w D1, -[A1]
00004028 8242 or.w D1, D2
0000402A 6002 bra +0x4 /* 0000402E */
label0000402C:
0000402C 3200 move.w D1, D0
label0000402E:
0000402E 2001 move.l D0, D1
00004030 E398 rol D0, 1
00004032 C041 and.w D0, D1
00004034 8042 or.w D0, D2
00004036 B041 cmp.w D0, D1
00004038 66F2 bne -0xC /* 0000402C */
0000403A B252 cmp.w D1, [A2]
0000403C 6704 beq +0x6 /* 00004042 */
0000403E 50C7 st D7
00004040 3481 move.w [A2], D1
label00004042:
00004042 4841 swap.w D1
00004044 51CB FFCE dbf D3, -0x34 /* 00004014 */
label00004048:
00004048 D0EE 0016 add.w A0, [A6 + 0x16]
0000404C D4EE 0014 add.w A2, [A6 + 0x14]
00004050 224A movea.l A1, A2
00004052 92EE 0014 sub.w A1, [A6 + 0x14]
00004056 51CC FF7E dbf D4, -0x84 /* 00003FD6 */
0000405A 446E 0016 neg.w [A6 + 0x16]
0000405E 446E 0014 neg.w [A6 + 0x14]
00004062 D0EE 0016 add.w A0, [A6 + 0x16]
00004066 D4EE 0014 add.w A2, [A6 + 0x14]
0000406A 4A07 tst.b D7
0000406C 6600 FF60 bne -0x9E /* 00003FCE */
00004070 4A46 tst.w D6
00004072 6A1A bpl +0x1C /* 0000408E */
00004074 322E FFFE move.w D1, [A6 - 0x2]
00004078 246E 0018 movea.l A2, [A6 + 0x18]
0000407C 362E 0012 move.w D3, [A6 + 0x12]
label00004080:
00004080 3405 move.w D2, D5
label00004082:
00004082 465A not.w [A2]+
00004084 51CA FFFC dbf D2, -0x6 /* 00004082 */
00004088 D4C1 add.w A2, D1
0000408A 51CB FFF4 dbf D3, -0xE /* 00004080 */
label0000408E:
0000408E 2E6E FFFA movea.l A7, [A6 - 0x6]
00004092 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00004096 4E5E unlink A6
00004098 205F movea.l A0, [A7]+
0000409A DEFC 0018 add.w A7, 0x18
0000409E 4ED0 jmp [A0]
fn000040A0:
000040A0 362B 0008 move.w D3, [A3 + 0x8]
000040A4 664C bne +0x4E /* 000040F2 */
000040A6 42AB 0014 clr.l [A3 + 0x14]
000040AA 177C 0001 0026 move.b [A3 + 0x26], 0x1
000040B0 3020 move.w D0, -[A0]
000040B2 322B 0012 move.w D1, [A3 + 0x12]
000040B6 4A41 tst.w D1
000040B8 6B00 0006 bmi +0x8 /* 000040C0 */
000040BC 6600 000A bne +0xC /* 000040C8 */
label000040C0:
000040C0 303C 0001 move.w D0, 0x1
000040C4 6000 000A bra +0xC /* 000040D0 */
label000040C8:
000040C8 B041 cmp.w D0, D1
000040CA 6400 0004 bcc +0x6 /* 000040D0 */
000040CE 3200 move.w D1, D0
label000040D0:
000040D0 E349 lsl D1.w, 1
000040D2 2248 movea.l A1, A0
000040D4 D2C1 add.w A1, D1
000040D6 3211 move.w D1, [A1]
000040D8 D0C1 add.w A0, D1
000040DA 2748 001C move.l [A3 + 0x1C], A0
000040DE 42AB 0020 clr.l [A3 + 0x20]
000040E2 177C 00FF 0024 move.b [A3 + 0x24], 0xFF
000040E8 422B 0025 clr.b [A3 + 0x25]
000040EC 422B 0027 clr.b [A3 + 0x27]
000040F0 600E bra +0x10 /* 00004100 */
label000040F2:
000040F2 0C2B 00FF 0026 cmpi.b [A3 + 0x26], 0xFF
000040F8 6606 bne +0x8 /* 00004100 */
000040FA 4282 clr.l D2
000040FC 6000 0150 bra +0x152 /* 0000424E */
label00004100:
00004100 532B 0026 subq.b [A3 + 0x26], 1
00004104 6600 0134 bne +0x136 /* 0000423A */
00004108 206B 001C movea.l A0, [A3 + 0x1C]
label0000410C:
0000410C 4280 clr.l D0
0000410E 1018 move.b D0, [A0]+
00004110 0C00 00FF cmpi.b D0, 0xFF
00004114 6614 bne +0x16 /* 0000412A */
label00004116:
00004116 177C 00FF 0026 move.b [A3 + 0x26], 0xFF
0000411C 42AB 0018 clr.l [A3 + 0x18]
00004120 42AB 0020 clr.l [A3 + 0x20]
00004124 4282 clr.l D2
00004126 6000 0126 bra +0x128 /* 0000424E */
label0000412A:
0000412A 8000 or.b D0, D0
0000412C 6B3C bmi +0x3E /* 0000416A */
label0000412E:
0000412E 4281 clr.l D1
00004130 1200 move.b D1, D0
00004132 0200 000F andi.b D0, 0xF
00004136 0C40 000C cmpi.w D0, 0xC
0000413A 6604 bne +0x6 /* 00004140 */
0000413C 4282 clr.l D2
0000413E 6018 bra +0x1A /* 00004158 */
label00004140:
00004140 D02B 0027 add.b D0, [A3 + 0x27]
00004144 E548 lsl D0.w, 2
00004146 E849 lsr D1.w, 4
00004148 45FA 014E lea.l A2, [PC + 0x14E /* 00004298, value 0x604B78 '`Kx' */]
0000414C 2432 0000 move.l D2, [A2 + D0.w]
00004150 7807 moveq.l D4, 0x07
00004152 9881 sub.l D4, D1
00004154 6702 beq +0x4 /* 00004158 */
00004156 E8AA lsr D2, D4
label00004158:
00004158 2742 0018 move.l [A3 + 0x18], D2
0000415C 1018 move.b D0, [A0]+
0000415E 1740 0026 move.b [A3 + 0x26], D0
00004162 2748 001C move.l [A3 + 0x1C], A0
00004166 6000 00D2 bra +0xD4 /* 0000423A */
label0000416A:
0000416A 0C00 0080 cmpi.b D0, 0x80
0000416E 660A bne +0xC /* 0000417A */
00004170 5388 subq.l A0, 1
00004172 2818 move.l D4, [A0]+
00004174 2744 0020 move.l [A3 + 0x20], D4
00004178 6092 bra -0x6C /* 0000410C */
label0000417A:
0000417A 0C00 0090 cmpi.b D0, 0x90
0000417E 6608 bne +0xA /* 00004188 */
00004180 42AB 0020 clr.l [A3 + 0x20]
00004184 5288 addq.l A0, 1
00004186 6084 bra -0x7A /* 0000410C */
label00004188:
00004188 0C00 0091 cmpi.b D0, 0x91
0000418C 6608 bne +0xA /* 00004196 */
0000418E 1758 0024 move.b [A3 + 0x24], [A0]+
00004192 6000 FF78 bra -0x86 /* 0000410C */
label00004196:
00004196 0C00 0092 cmpi.b D0, 0x92
0000419A 6608 bne +0xA /* 000041A4 */
0000419C 1758 0025 move.b [A3 + 0x25], [A0]+
000041A0 6000 FF6A bra -0x94 /* 0000410C */
label000041A4:
000041A4 0C00 00A0 cmpi.b D0, 0xA0
000041A8 661E bne +0x20 /* 000041C8 */
label000041AA:
000041AA 4281 clr.l D1
000041AC 322C 0008 move.w D1, [A4 + 0x8]
000041B0 E449 lsr D1.w, 2
000041B2 7055 moveq.l D0, 0x55
000041B4 9041 sub.w D0, D1
000041B6 670C beq +0xE /* 000041C4 */
000041B8 80FC 000C divu.w D0, 0xC
000041BC 2200 move.l D1, D0
000041BE 4841 swap.w D1
000041C0 E908 lsl D0.b, 4
000041C2 8001 or.b D0, D1
label000041C4:
000041C4 6000 FF68 bra -0x96 /* 0000412E */
label000041C8:
000041C8 0C00 00A1 cmpi.b D0, 0xA1
000041CC 6618 bne +0x1A /* 000041E6 */
000041CE 4281 clr.l D1
000041D0 322C 000A move.w D1, [A4 + 0xA]
000041D4 0C41 01FF cmpi.w D1, 0x1FF
000041D8 6F04 ble +0x6 /* 000041DE */
000041DA 323C 01FF move.w D1, 0x1FF
label000041DE:
000041DE E249 lsr D1.w, 1
000041E0 1741 0024 move.b [A3 + 0x24], D1
000041E4 60C4 bra -0x3A /* 000041AA */
label000041E6:
000041E6 0C00 0081 cmpi.b D0, 0x81
000041EA 6618 bne +0x1A /* 00004204 */
000041EC 42AB 0018 clr.l [A3 + 0x18]
000041F0 1758 001A move.b [A3 + 0x1A], [A0]+
000041F4 1758 001B move.b [A3 + 0x1B], [A0]+
000041F8 1758 0026 move.b [A3 + 0x26], [A0]+
000041FC 2748 001C move.l [A3 + 0x1C], A0
00004200 6000 0038 bra +0x3A /* 0000423A */
label00004204:
00004204 0C00 00C0 cmpi.b D0, 0xC0
00004208 660E bne +0x10 /* 00004218 */
0000420A 4281 clr.l D1
0000420C 1210 move.b D1, [A0]
0000420E E349 lsl D1.w, 1
00004210 5388 subq.l A0, 1
00004212 91C1 sub.l A0, D1
00004214 6000 FEF6 bra -0x108 /* 0000410C */
label00004218:
00004218 0C00 0082 cmpi.b D0, 0x82
0000421C 6618 bne +0x1A /* 00004236 */
0000421E 4281 clr.l D1
00004220 322C 0008 move.w D1, [A4 + 0x8]
00004224 82FC 001D divu.w D1, 0x1D
00004228 700B moveq.l D0, 0x0B
0000422A 9041 sub.w D0, D1
0000422C 1740 0027 move.b [A3 + 0x27], D0
00004230 5288 addq.l A0, 1
00004232 6000 FED8 bra -0x126 /* 0000410C */
label00004236:
00004236 6000 FEDE bra -0x120 /* 00004116 */
label0000423A:
0000423A 242B 0018 move.l D2, [A3 + 0x18]
0000423E D4AB 0020 add.l D2, [A3 + 0x20]
00004242 2742 0018 move.l [A3 + 0x18], D2
00004246 1A2B 0025 move.b D5, [A3 + 0x25]
0000424A DB2B 0024 add.b [A3 + 0x24], D5
label0000424E:
0000424E 1A2B 0024 move.b D5, [A3 + 0x24]
00004252 262B 0014 move.l D3, [A3 + 0x14]
00004256 41FA 00A0 lea.l A0, [PC + 0xA0 /* 000042F8, value 0x80838689 */]
0000425A 2C78 0266 movea.l A6, [0x00000266 /* SoundBase */]
0000425E DCFC 0040 add.w A6, 0x40 /* '@' */
00004262 223C 00FF 0000 move.l D1, 0xFF0000
00004268 383C 0002 move.w D4, 0x2
0000426C 2C3C 0000 0152 move.l D6, 0x152
label00004272:
00004272 D682 add.l D3, D2
00004274 2003 move.l D0, D3
00004276 C081 and.l D0, D1
00004278 4840 swap.w D0
0000427A 1230 0000 move.b D1, [A0 + D0.w]
0000427E C205 and.b D1, D5
00004280 1C81 move.b [A6], D1
00004282 548E addq.l A6, 2
00004284 5346 subq.w D6, 1
00004286 66EA bne -0x14 /* 00004272 */
00004288 2C78 0266 movea.l A6, [0x00000266 /* SoundBase */]
0000428C 7C20 moveq.l D6, 0x20
0000428E 5344 subq.w D4, 1
00004290 66E0 bne -0x1E /* 00004272 */
00004292 2743 0014 move.l [A3 + 0x14], D3
00004296 4E75 rts
00004298 0060 4B78 ori.w -[A0], 0x4B78 /* 'Kx' */
0000429C 0066 0550 ori.w -[A6], 0x550
000042A0 006C 1658 0072 ori.w [A4 + 0x72], 0x1658
000042A6 8590 or.l [A0], D2
000042A8 0079 52E0 0080 89C0 ori.w [0x008089C0], 0x52E0
000042B0 0088 2E70 0090 ori.l A0, 0x2E700090
000042B6 4770 0098 chk.w D3, [A0 + D0.w - 0x104]
000042BA DBC0 add.l A5, D0
000042BC 00A1 F2A0 00AB ori.l -[A1], 0xF2A000AB
000042C2 93E8 00B5 sub.l A1, [A0 + 0xB5]
000042C6 C7C0 muls.w D3, D0
000042C8 00C0 ori.? D0, 0xFFFFFFFFFFFFFFFF
000042CA 96F0 00CC sub.w A3, [A0 + D0.w - 0x52]
000042CE 0AA0 00D8 2CB0 xori.l -[A0], 0xD82CB0
000042D4 00E5 ori.? -[A5], 0xFFFFFFFFFFFFFFFF
000042D6 0B20 btst -[A0], D5
000042D8 00F2 A5C0 ori.? [ + <<invalid base displacement size>>], 0xFFFFFFFFFFFFFFFF
000042DC 0101 btst D1, D0
000042DE 1380 0110 move.b [A1 + D0], D0
000042E2 5CE0 sge -[A0]
000042E4 0120 btst -[A0], D0
000042E6 8EE0 divu.w D7, -[A0]
000042E8 0131 B780 btst [ + <<invalid base displacement size>> + A3 * 8], D0
000042EC 0143 bchg D3, D0
000042EE E540 asl D0.w, 2
000042F0 0157 bchg [A7], D0
000042F2 27D0 016B 8F80 8083 8689 move.l [[PC - 0x7080] - 0x7F7C7977], [A0]
000042FC 8C8F or.l D6, A7
000042FE 9295 sub.l D1, [A5]
00004300 989C sub.l D4, [A4]+
00004302 9FA2 sub.l -[A2], D7
00004304 A5A8 syscall 0x0A8, flags=5
00004306 ABAE syscall scIndTab4
00004308 B0B3 B6B9 cmp.l D0, [A3 + A3.w * 8 - 0x71]
0000430C BCBF cmp.l D6, <<invalid special address>>
0000430E C1C4 muls.w D0, D4
00004310 C7CA muls.w D3, A2
00004312 CCCE mulu.w D6, A6
00004314 D1D3 add.l A0, [A3]
00004316 D5D8 add.l A2, [A0]+
00004318 DADC add.w A5, [A4]+
0000431A DEE0 add.w A7, -[A0]
0000431C E2E4 lsr .w -[A4]
0000431E E6E8 EAEC ror .w [A0 - 0x1514]
00004322 EDEF F0F2 F3F5 bfffo D7, [A7 - 0xC0B] {3:D2}
00004328 F6F7 .extension 0x6F7 // unimplemented
0000432A F8F9 .extension 0x8F9 // unimplemented
0000432C FAFB .extension 0xAFB // unimplemented
0000432E FCFC .extension 0xCFC // unimplemented
00004330 FDFE .extension 0xDFE // unimplemented
00004332 FEFF .extension 0xEFF // unimplemented
00004334 FFFF .extension 0xFFF // unimplemented
00004336 FFFF .extension 0xFFF // unimplemented
00004338 FFFF .extension 0xFFF // unimplemented
0000433A FFFF .extension 0xFFF // unimplemented
0000433C FFFF .extension 0xFFF // unimplemented
0000433E FEFE .extension 0xEFE // unimplemented
00004340 FDFC .extension 0xDFC // unimplemented
00004342 FCFB .extension 0xCFB // unimplemented
00004344 FAF9 .extension 0xAF9 // unimplemented
00004346 F8F7 .extension 0x8F7 // unimplemented
00004348 F6F5 .extension 0x6F5 // unimplemented
0000434A F3F2 .extension 0x3F2 // unimplemented
0000434C F0EF .extension 0x0EF // unimplemented
0000434E EDEC EAE8 E6E4 bfffo D6, [A4 - 0x191C] {D3:D0}
00004354 E2E0 lsr .w -[A0]
00004356 DEDC add.w A7, [A4]+
00004358 DAD8 add.w A5, [A0]+
0000435A D5D3 add.l A2, [A3]
0000435C D1CE add.l A0, A6
0000435E CCC9 mulu.w D6, A1
00004360 C7C4 muls.w D3, D4
00004362 C1BF .incomplete
00004364 BCB9 B6B3 B0AE cmp.l D6, [0xB6B3B0AE]
0000436A ABA8 syscall stColorTab
0000436C A5A2 syscall vMWrData, flags=5
0000436E 9F9C sub.l [A4]+, D7
00004370 9895 sub.l D4, [A5]
00004372 928F sub.l D1, A7
00004374 8C89 or.l D6, A1
00004376 8683 or.l D3, D3
00004378 807C 7976 or.w D0, 0x7976 /* 'yv' */
0000437C 7370 moveq.l D1, 0x70
0000437E 6D6A blt +0x6C /* 000043EA */
00004380 6763 beq +0x65 /* 000043E5 */
00004382 605D bra +0x5F /* 000043E1 */
00004384 5A57 addq.w [A7], 5
00004386 5451 addq.w [A1], 2
00004388 4F4C chk.w D7, A4
0000438A 4946 chk.w D4, D6
0000438C 4340 chk.w D1, D0
0000438E 3E3B 3836 move.w D7, [PC + D3 + 0x36]
00004392 3331 2E2C move.w -[A1], [A1 + D2 * 8 + 0x2C]
00004396 2A27 move.l D5, -[A7]
00004398 2523 move.l -[A2], -[A3]
0000439A 211F move.l -[A0], [A7]+
0000439C 1D1B move.b -[A6], [A3]+
0000439E 1917 move.b -[A4], [A7]
000043A0 1513 move.b -[A2], [A3]
000043A2 1210 move.b D1, [A0]
000043A4 0F0D btst A5, D7
000043A6 0C0A 0908 cmpi.b A2, 0x8
000043AA 0706 btst D6, D3
000043AC 0504 btst D4, D2
000043AE 0303 btst D3, D1
000043B0 0201 0100 andi.b D1, 0x0
000043B4 0000 0000 ori.b D0, 0x0
000043B8 0000 0000 ori.b D0, 0x0
000043BC 0000 0101 ori.b D0, 0x1
000043C0 0203 0304 andi.b D3, 0x4
000043C4 0506 btst D6, D2
000043C6 0708 btst A0, D3
000043C8 090A btst A2, D4
000043CA 0C0D 0F10 cmpi.b A5, 0x10
000043CE 1213 move.b D1, [A3]
000043D0 1517 move.b -[A2], [A7]
000043D2 191B move.b -[A4], [A3]+
000043D4 1D1F move.b -[A6], [A7]+
000043D6 2123 move.l -[A0], -[A3]
000043D8 2527 move.l -[A2], -[A7]
000043DA 2A2C 2E31 move.l D5, [A4 + 0x2E31]
000043DE 3336 383B move.w -[A1], [A6 + D3 + 0x3B]
000043E2 3E40 movea.w A7, D0
000043E4 4346 chk.w D1, D6
000043E6 494C chk.w D4, A4
000043E8 4F51 chk.w D7, [A1]
label000043EA:
000043EA 5457 addq.w [A7], 2
000043EC 5A5D addq.w [A5]+, 5
000043EE 6063 bra +0x65 /* 00004453 */
000043F0 676A beq +0x6C /* 0000445C */
000043F2 6D70 blt +0x72 /* 00004464 */
000043F4 7376 moveq.l D1, 0x76
000043F6 797C moveq.l D4, 0x7C
fn000043F8:
000043F8 4E56 0000 link A6, 0
000043FC 302E 0008 move.w D0, [A6 + 0x8]
00004400 5340 subq.w D0, 1
00004402 6706 beq +0x8 /* 0000440A */
00004404 5540 subq.w D0, 2
00004406 670C beq +0xE /* 00004414 */
00004408 6012 bra +0x14 /* 0000441C */
label0000440A:
0000440A 2D7C 4249 5444 000A move.l [A6 + 0xA], 0x42495444 /* 'BITD' */
00004412 6008 bra +0xA /* 0000441C */
label00004414:
00004414 2D7C 5445 5854 000A move.l [A6 + 0xA], 0x54455854 /* 'TEXT' */
label0000441C:
0000441C 4E5E unlink A6
0000441E 205F movea.l A0, [A7]+
00004420 544F addq.w A7, 2
00004422 4ED0 jmp [A0]
00004424 C554 .incomplete
00004426 5950 subq.w [A0], 4
00004428 4552 chk.w D2, [A2]
0000442A 4553 chk.w D2, [A3]
0000442C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000442E-00004434
fn0000442E:
0000442E 4E56 0000 link A6, 0
00004432 2F0C move.l -[A7], A4
// end alternate branch 0000442E-00004434
fn0000442E: // (misaligned)
00004430 0000 2F0C ori.b D0, 0xC
00004434 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
0000443A 42A7 clr.l -[A7]
0000443C 4EBA F628 jsr [PC - 0x9D8 /* 00003A66 */]
00004440 285F movea.l A4, [A7]+
00004442 102C 0E54 move.b D0, [A4 + 0xE54]
00004446 6722 beq +0x24 /* 0000446A */
00004448 42A7 clr.l -[A7]
0000444A 2F2C 0E50 move.l -[A7], [A4 + 0xE50]
0000444E 4EBA ED46 jsr [PC - 0x12BA /* 00003196 */]
00004452 295F 0E4C move.l [A4 + 0xE4C], [A7]+
00004456 4267 clr.w -[A7]
00004458 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
label0000445C:
0000445C 4A5F tst.w [A7]+
0000445E 670A beq +0xC /* 0000446A */
00004460 397C 000D 0014 move.w [A4 + 0x14], 0xD /* '\r' */
// begin alternate branch 00004464-00004472
label00004464:
00004464 0014 422E ori.b [A4], 0x2E /* '.' */
00004468 0008 2F2C ori.b A0, 0x2C /* ',' */
label0000446A: // (misaligned)
0000446C 012C 4EBA btst [A4 + 0x4EBA], D0
00004470 ED72 roxl D2.w, D6
// end alternate branch 00004464-00004472
label00004464: // (misaligned)
00004466 422E 0008 clr.b [A6 + 0x8]
label0000446A:
0000446A 2F2C 012C move.l -[A7], [A4 + 0x12C]
0000446E 4EBA ED72 jsr [PC - 0x128E /* 000031E2 */]
00004472 206C 012C movea.l A0, [A4 + 0x12C]
00004476 2950 0128 move.l [A4 + 0x128], [A0]
0000447A 285F movea.l A4, [A7]+
0000447C 4E5E unlink A6
0000447E 4E75 rts
00004480 C745 exg D3, D5
00004482 5443 addq.w D3, 2
00004484 4C55 4720 movem.l D5,A0,A1,A2,A6, [A5]
00004488 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000448A-00004490
fn0000448A:
0000448A 4E56 0000 link A6, 0
0000448E 2F0C move.l -[A7], A4
// end alternate branch 0000448A-00004490
fn0000448A: // (misaligned)
0000448C 0000 2F0C ori.b D0, 0xC
00004490 42A7 clr.l -[A7]
00004492 4EBA F5D2 jsr [PC - 0xA2E /* 00003A66 */]
00004496 285F movea.l A4, [A7]+
00004498 102C 0E54 move.b D0, [A4 + 0xE54]
0000449C 670E beq +0x10 /* 000044AC */
0000449E 4AAC 0E4C tst.l [A4 + 0xE4C]
000044A2 6708 beq +0xA /* 000044AC */
000044A4 2F2C 0E4C move.l -[A7], [A4 + 0xE4C]
000044A8 4EBA ECF8 jsr [PC - 0x1308 /* 000031A2 */]
label000044AC:
000044AC 42AC 0E4C clr.l [A4 + 0xE4C]
000044B0 2F2C 012C move.l -[A7], [A4 + 0x12C]
000044B4 4EBA ED36 jsr [PC - 0x12CA /* 000031EC */]
000044B8 285F movea.l A4, [A7]+
000044BA 4E5E unlink A6
000044BC 4E75 rts
000044BE C652 and.w D3, [A2]
000044C0 4545 chk.w D2, D5
000044C2 434C chk.w D1, A4
000044C4 5547 subq.w D7, 2
000044C6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000044C8-000044D2
fn000044C8:
000044C8 4E56 0000 link A6, 0
000044CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000044D0 4267 clr.w -[A7]
// end alternate branch 000044C8-000044D2
fn000044C8: // (misaligned)
000044CA 0000 2F2E ori.b D0, 0x2E /* '.' */
000044CE 0008 4267 ori.b A0, 0x67 /* 'g' */
000044D2 4267 clr.w -[A7]
000044D4 4267 clr.w -[A7]
000044D6 4267 clr.w -[A7]
000044D8 A8A7 syscall SetRect
000044DA 4E5E unlink A6
000044DC 2E9F move.l [A7], [A7]+
000044DE 4E75 rts
000044E0 D345 addx.w D1, D5
000044E2 544D addq.w A5, 2
000044E4 5452 addq.w [A2], 2
000044E6 4543 chk.w D2, D3
000044E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000044EA-000044EE
fn000044EA:
000044EA 4E56 FFE0 link A6, -0x0020
// end alternate branch 000044EA-000044EE
fn000044EA: // (misaligned)
000044EC FFE0 .extension 0xFE0 // unimplemented
000044EE 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000044F2 286E 0008 movea.l A4, [A6 + 0x8]
000044F6 42A7 clr.l -[A7]
000044F8 2F2C 0006 move.l -[A7], [A4 + 0x6]
000044FC 4EBA ECC4 jsr [PC - 0x133C /* 000031C2 */]
00004500 281F move.l D4, [A7]+
00004502 42A7 clr.l -[A7]
00004504 486C 0010 pea.l [A4 + 0x10]
00004508 4EBA F9A2 jsr [PC - 0x65E /* 00003EAC */]
0000450C 2E1F move.l D7, [A7]+
0000450E 2F2C 0006 move.l -[A7], [A4 + 0x6]
00004512 2007 move.l D0, D7
00004514 D0BC 0000 0080 add.l D0, 0x80
0000451A 2F00 move.l -[A7], D0
0000451C 4EBA ECB8 jsr [PC - 0x1348 /* 000031D6 */]
00004520 4267 clr.w -[A7]
00004522 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00004526 4A5F tst.w [A7]+
00004528 6670 bne +0x72 /* 0000459A */
0000452A 2007 move.l D0, D7
0000452C 9084 sub.l D0, D4
0000452E D0BC 0000 0080 add.l D0, 0x80
00004534 2D40 FFF0 move.l [A6 - 0x10], D0
00004538 206C 0006 movea.l A0, [A4 + 0x6]
0000453C 2D50 FFE4 move.l [A6 - 0x1C], [A0]
00004540 202E FFF0 move.l D0, [A6 - 0x10]
00004544 D0AE FFE4 add.l D0, [A6 - 0x1C]
00004548 2D40 FFE8 move.l [A6 - 0x18], D0
0000454C 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00004550 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00004554 2F04 move.l -[A7], D4
00004556 4EBA ECB2 jsr [PC - 0x134E /* 0000320A */]
0000455A 266E FFE4 movea.l A3, [A6 - 0x1C]
0000455E 2D6E FFE8 FFE4 move.l [A6 - 0x1C], [A6 - 0x18]
00004564 2D4B FFE8 move.l [A6 - 0x18], A3
00004568 4286 clr.l D6
label0000456A:
0000456A 2006 move.l D0, D6
0000456C 727F moveq.l D1, 0x7F
0000456E D081 add.l D0, D1
00004570 BE80 cmp.l D7, D0
00004572 6D04 blt +0x6 /* 00004578 */
00004574 7A7F moveq.l D5, 0x7F
00004576 6006 bra +0x8 /* 0000457E */
label00004578:
00004578 2007 move.l D0, D7
0000457A 9086 sub.l D0, D6
0000457C 2A00 move.l D5, D0
label0000457E:
0000457E 486E FFE4 pea.l [A6 - 0x1C]
00004582 486E FFE8 pea.l [A6 - 0x18]
00004586 3F05 move.w -[A7], D5
00004588 A8D0 syscall UnpackBits
0000458A DC85 add.l D6, D5
0000458C BE86 cmp.l D7, D6
0000458E 6EDA bgt -0x24 /* 0000456A */
00004590 2F2C 0006 move.l -[A7], [A4 + 0x6]
00004594 2F07 move.l -[A7], D7
00004596 4EBA EC3E jsr [PC - 0x13C2 /* 000031D6 */]
label0000459A:
0000459A 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
0000459E 4E5E unlink A6
000045A0 2E9F move.l [A7], [A7]+
000045A2 4E75 rts
000045A4 D54E addx.w -[A2], -[A6]
000045A6 5041 addq.w D1, 8
000045A8 434B chk.w D1, A3
000045AA 4552 chk.w D2, [A2]
000045AC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000045AE-000045B2
fn000045AE:
000045AE 4E56 FFF4 link A6, -0x000C
// end alternate branch 000045AE-000045B2
fn000045AE: // (misaligned)
000045B0 FFF4 .extension 0xFF4 // unimplemented
000045B2 2F0C move.l -[A7], A4
000045B4 42A7 clr.l -[A7]
000045B6 4EBA F4AE jsr [PC - 0xB52 /* 00003A66 */]
000045BA 205F movea.l A0, [A7]+
000045BC 2068 0128 movea.l A0, [A0 + 0x128]
000045C0 302E 000A move.w D0, [A6 + 0xA]
000045C4 C1FC 0026 muls.w D0, 0x26 /* '&' */
000045C8 49F0 0000 lea.l A4, [A0 + D0.w]
000045CC 4AAC 0006 tst.l [A4 + 0x6]
000045D0 6720 beq +0x22 /* 000045F2 */
000045D2 102E 0008 move.b D0, [A6 + 0x8]
000045D6 6712 beq +0x14 /* 000045EA */
000045D8 4AAC 0002 tst.l [A4 + 0x2]
000045DC 670C beq +0xE /* 000045EA */
000045DE 2F2C 0002 move.l -[A7], [A4 + 0x2]
000045E2 4EBA EBD4 jsr [PC - 0x142C /* 000031B8 */]
000045E6 42AC 0002 clr.l [A4 + 0x2]
label000045EA:
000045EA 2F2C 0006 move.l -[A7], [A4 + 0x6]
000045EE 4EBA EBFC jsr [PC - 0x1404 /* 000031EC */]
label000045F2:
000045F2 285F movea.l A4, [A7]+
000045F4 4E5E unlink A6
000045F6 2E9F move.l [A7], [A7]+
000045F8 4E75 rts
000045FA C652 and.w D3, [A2]
000045FC 4545 chk.w D2, D5
000045FE 4341 chk.w D1, D1
00004600 5354 subq.w [A4], 1
00004602 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004604-00004608
fn00004604:
00004604 4E56 FFEA link A6, -0x0016
// end alternate branch 00004604-00004608
fn00004604: // (misaligned)
00004606 FFEA .extension 0xFEA // unimplemented
00004608 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000460C 42A7 clr.l -[A7]
0000460E 4EBA F456 jsr [PC - 0xBAA /* 00003A66 */]
00004612 205F movea.l A0, [A7]+
00004614 2D48 FFEA move.l [A6 - 0x16], A0
00004618 206E FFEA movea.l A0, [A6 - 0x16]
0000461C 2068 0128 movea.l A0, [A0 + 0x128]
00004620 302E 0008 move.w D0, [A6 + 0x8]
00004624 C1FC 0026 muls.w D0, 0x26 /* '&' */
00004628 41F0 0000 lea.l A0, [A0 + D0.w]
0000462C 2E08 move.l D7, A0
0000462E 2047 movea.l A0, D7
00004630 5C88 addq.l A0, 6
00004632 2648 movea.l A3, A0
00004634 2D4B 000A move.l [A6 + 0xA], A3
00004638 2853 movea.l A4, [A3]
0000463A 200C move.l D0, A4
0000463C 673A beq +0x3C /* 00004678 */
0000463E 2047 movea.l A0, D7
00004640 0C10 0001 cmpi.b [A0], 0x1
00004644 662C bne +0x2E /* 00004672 */
00004646 42A7 clr.l -[A7]
00004648 2F0C move.l -[A7], A4
0000464A 4EBA EB76 jsr [PC - 0x148A /* 000031C2 */]
0000464E 2C1F move.l D6, [A7]+
00004650 42A7 clr.l -[A7]
00004652 486B 000A pea.l [A3 + 0xA]
00004656 4EBA F854 jsr [PC - 0x7AC /* 00003EAC */]
0000465A 2006 move.l D0, D6
0000465C 7210 moveq.l D1, 0x10
0000465E D081 add.l D0, D1
00004660 B09F cmp.l D0, [A7]+
00004662 6E0E bgt +0x10 /* 00004672 */
00004664 2F0C move.l -[A7], A4
00004666 4EBA EB98 jsr [PC - 0x1468 /* 00003200 */]
0000466A 2F07 move.l -[A7], D7
0000466C 4EBA FE7C jsr [PC - 0x184 /* 000044EA */]
00004670 6006 bra +0x8 /* 00004678 */
label00004672:
00004672 2F0C move.l -[A7], A4
00004674 4EBA EB8A jsr [PC - 0x1476 /* 00003200 */]
label00004678:
00004678 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000467C 4E5E unlink A6
0000467E 205F movea.l A0, [A7]+
00004680 544F addq.w A7, 2
00004682 4ED0 jmp [A0]
00004684 C752 .incomplete
00004686 4142 chk.w D0, D2
00004688 4341 chk.w D1, D1
0000468A 5354 subq.w [A4], 1
0000468C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000468E-00004692
fn0000468E:
0000468E 4E56 FFDA link A6, -0x0026
// end alternate branch 0000468E-00004692
fn0000468E: // (misaligned)
00004690 FFDA .extension 0xFDA // unimplemented
00004692 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00004696 206E 000E movea.l A0, [A6 + 0xE]
0000469A 43EE FFF8 lea.l A1, [A6 - 0x8]
0000469E 22D8 move.l [A1]+, [A0]+
000046A0 22D8 move.l [A1]+, [A0]+
000046A2 3C2E 000A move.w D6, [A6 + 0xA]
000046A6 3A2E 0008 move.w D5, [A6 + 0x8]
000046AA 0C46 000F cmpi.w D6, 0xF
000046AE 6F02 ble +0x4 /* 000046B2 */
000046B0 7C08 moveq.l D6, 0x08
label000046B2:
000046B2 3F06 move.w -[A7], D6
000046B4 A89C syscall PenMode
000046B6 41EE FFF0 lea.l A0, [A6 - 0x10]
000046BA 43EE FFF8 lea.l A1, [A6 - 0x8]
000046BE 20D9 move.l [A0]+, [A1]+
000046C0 20D9 move.l [A0]+, [A1]+
000046C2 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
000046C8 6F00 010E ble +0x110 /* 000047D8 */
000046CC 302E 000C move.w D0, [A6 + 0xC]
000046D0 5340 subq.w D0, 1
000046D2 3E00 move.w D7, D0
000046D4 3F07 move.w -[A7], D7
000046D6 3F07 move.w -[A7], D7
000046D8 A89B syscall PenSize
000046DA 302E 0012 move.w D0, [A6 + 0x12]
000046DE 5540 subq.w D0, 2
000046E0 6716 beq +0x18 /* 000046F8 */
000046E2 5340 subq.w D0, 1
000046E4 671C beq +0x1E /* 00004702 */
000046E6 5340 subq.w D0, 1
000046E8 672A beq +0x2C /* 00004714 */
000046EA 5340 subq.w D0, 1
000046EC 6730 beq +0x32 /* 0000471E */
000046EE 5340 subq.w D0, 1
000046F0 6700 0086 beq +0x88 /* 00004778 */
000046F4 6000 00D8 bra +0xDA /* 000047CE */
label000046F8:
000046F8 486E FFF0 pea.l [A6 - 0x10]
000046FC A8A1 syscall FrameRect
000046FE 6000 00CE bra +0xD0 /* 000047CE */
label00004702:
00004702 486E FFF0 pea.l [A6 - 0x10]
00004706 3F3C 0018 move.w -[A7], 0x18
0000470A 3F3C 0018 move.w -[A7], 0x18
0000470E A8B0 syscall FrameRoundRect
00004710 6000 00BC bra +0xBE /* 000047CE */
label00004714:
00004714 486E FFF0 pea.l [A6 - 0x10]
00004718 A8B7 syscall FrameOval
0000471A 6000 00B2 bra +0xB4 /* 000047CE */
label0000471E:
0000471E 2D6E FFF0 FFDA move.l [A6 - 0x26], [A6 - 0x10]
00004724 2D6E FFF4 FFDE move.l [A6 - 0x22], [A6 - 0xC]
0000472A 302E FFE0 move.w D0, [A6 - 0x20]
0000472E 9047 sub.w D0, D7
00004730 3D40 FFE0 move.w [A6 - 0x20], D0
00004734 302E FFDE move.w D0, [A6 - 0x22]
00004738 9047 sub.w D0, D7
0000473A 3D40 FFDE move.w [A6 - 0x22], D0
0000473E 302E FFDE move.w D0, [A6 - 0x22]
00004742 B06E FFDA cmp.w D0, [A6 - 0x26]
00004746 5FC0 sle D0
00004748 322E FFE0 move.w D1, [A6 - 0x20]
0000474C B26E FFDC cmp.w D1, [A6 - 0x24]
00004750 5FC1 sle D1
00004752 8001 or.b D0, D1
00004754 6708 beq +0xA /* 0000475E */
00004756 486E FFF0 pea.l [A6 - 0x10]
0000475A A8A2 syscall PaintRect
0000475C 6014 bra +0x16 /* 00004772 */
label0000475E:
0000475E 3F2E FFDC move.w -[A7], [A6 - 0x24]
00004762 3F2E FFDA move.w -[A7], [A6 - 0x26]
00004766 A893 syscall MoveTo
00004768 3F2E FFE0 move.w -[A7], [A6 - 0x20]
0000476C 3F2E FFDE move.w -[A7], [A6 - 0x22]
00004770 A891 syscall LineTo
label00004772:
00004772 6000 00C6 bra +0xC8 /* 0000483A */
00004776 6056 bra +0x58 /* 000047CE */
label00004778:
00004778 3D6E FFF2 FFDC move.w [A6 - 0x24], [A6 - 0xE]
0000477E 302E FFF4 move.w D0, [A6 - 0xC]
00004782 9047 sub.w D0, D7
00004784 3D40 FFDA move.w [A6 - 0x26], D0
00004788 302E FFF6 move.w D0, [A6 - 0xA]
0000478C 9047 sub.w D0, D7
0000478E 3D40 FFE0 move.w [A6 - 0x20], D0
00004792 3D6E FFF0 FFDE move.w [A6 - 0x22], [A6 - 0x10]
00004798 302E FFDE move.w D0, [A6 - 0x22]
0000479C B06E FFDA cmp.w D0, [A6 - 0x26]
000047A0 5CC0 sge D0
000047A2 322E FFE0 move.w D1, [A6 - 0x20]
000047A6 B26E FFDC cmp.w D1, [A6 - 0x24]
000047AA 5FC1 sle D1
000047AC 8001 or.b D0, D1
000047AE 6708 beq +0xA /* 000047B8 */
000047B0 486E FFF0 pea.l [A6 - 0x10]
000047B4 A8A2 syscall PaintRect
000047B6 6014 bra +0x16 /* 000047CC */
label000047B8:
000047B8 3F2E FFDC move.w -[A7], [A6 - 0x24]
000047BC 3F2E FFDA move.w -[A7], [A6 - 0x26]
000047C0 A893 syscall MoveTo
000047C2 3F2E FFE0 move.w -[A7], [A6 - 0x20]
000047C6 3F2E FFDE move.w -[A7], [A6 - 0x22]
000047CA A891 syscall LineTo
label000047CC:
000047CC 606C bra +0x6E /* 0000483A */
label000047CE:
000047CE 486E FFF0 pea.l [A6 - 0x10]
000047D2 3F07 move.w -[A7], D7
000047D4 3F07 move.w -[A7], D7
000047D6 A8A9 syscall InsetRect
label000047D8:
000047D8 4A45 tst.w D5
000047DA 6F5E ble +0x60 /* 0000483A */
000047DC 0C45 0026 cmpi.w D5, 0x26 /* '&' */
000047E0 6F16 ble +0x18 /* 000047F8 */
000047E2 42A7 clr.l -[A7]
000047E4 3F3C 0010 move.w -[A7], 0x10
000047E8 A9B8 syscall GetPattern
000047EA 285F movea.l A4, [A7]+
000047EC 2054 movea.l A0, [A4]
000047EE 43EE FFE8 lea.l A1, [A6 - 0x18]
000047F2 22D8 move.l [A1]+, [A0]+
000047F4 22D8 move.l [A1]+, [A0]+
000047F6 600C bra +0xE /* 00004804 */
label000047F8:
000047F8 486E FFE8 pea.l [A6 - 0x18]
000047FC 4267 clr.w -[A7]
000047FE 3F05 move.w -[A7], D5
00004800 4EBA E93E jsr [PC - 0x16C2 /* 00003140 */]
label00004804:
00004804 486E FFE8 pea.l [A6 - 0x18]
00004808 A89D syscall PenPat
0000480A 302E 0012 move.w D0, [A6 + 0x12]
0000480E 5540 subq.w D0, 2
00004810 670A beq +0xC /* 0000481C */
00004812 5340 subq.w D0, 1
00004814 670E beq +0x10 /* 00004824 */
00004816 5340 subq.w D0, 1
00004818 671A beq +0x1C /* 00004834 */
0000481A 601E bra +0x20 /* 0000483A */
label0000481C:
0000481C 486E FFF0 pea.l [A6 - 0x10]
00004820 A8A2 syscall PaintRect
00004822 6016 bra +0x18 /* 0000483A */
label00004824:
00004824 486E FFF0 pea.l [A6 - 0x10]
00004828 3F3C 0010 move.w -[A7], 0x10
0000482C 3F3C 0010 move.w -[A7], 0x10
00004830 A8B1 syscall PaintRoundRect
00004832 6006 bra +0x8 /* 0000483A */
label00004834:
00004834 486E FFF0 pea.l [A6 - 0x10]
00004838 A8B8 syscall PaintOval
label0000483A:
0000483A A89E syscall PenNormal
0000483C 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00004840 4E5E unlink A6
00004842 205F movea.l A0, [A7]+
00004844 DEFC 000C add.w A7, 0xC
00004848 4ED0 jmp [A0]
0000484A C452 and.w D2, [A2]
0000484C 4157 chk.w D0, [A7]
0000484E 5448 addq.w A0, 2
00004850 494E chk.w D4, A6
00004852 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004854-00004858
fn00004854:
00004854 4E56 FDFC link A6, -0x0204
// end alternate branch 00004854-00004858
fn00004854: // (misaligned)
00004856 FDFC .extension 0xDFC // unimplemented
00004858 206E 000A movea.l A0, [A6 + 0xA]
0000485C 43EE FF00 lea.l A1, [A6 - 0x100]
00004860 7040 moveq.l D0, 0x40
label00004862:
00004862 22D8 move.l [A1]+, [A0]+
00004864 5340 subq.w D0, 1
00004866 6EFA bgt -0x4 /* 00004862 */
00004868 4A6E 0008 tst.w [A6 + 0x8]
0000486C 6724 beq +0x26 /* 00004892 */
0000486E 4267 clr.w -[A7]
00004870 41EE FDFE lea.l A0, [A6 - 0x202]
00004874 2F08 move.l -[A7], A0
00004876 486E FEFE pea.l [A6 - 0x102]
0000487A 4EBA EB0A jsr [PC - 0x14F6 /* 00003386 */]
0000487E 3D5F FDFC move.w [A6 - 0x204], [A7]+
00004882 4267 clr.w -[A7]
00004884 42A7 clr.l -[A7]
00004886 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000488A 4EBA EB1E jsr [PC - 0x14E2 /* 000033AA */]
0000488E 3D5F FDFC move.w [A6 - 0x204], [A7]+
label00004892:
00004892 4267 clr.w -[A7]
00004894 486E FF00 pea.l [A6 - 0x100]
00004898 A997 syscall OpenResFile
0000489A 3D5F 000E move.w [A6 + 0xE], [A7]+
0000489E 4A6E 0008 tst.w [A6 + 0x8]
000048A2 6714 beq +0x16 /* 000048B8 */
000048A4 4267 clr.w -[A7]
000048A6 41EE FDFE lea.l A0, [A6 - 0x202]
000048AA 2F08 move.l -[A7], A0
000048AC 3F2E FEFE move.w -[A7], [A6 - 0x102]
000048B0 4EBA EAF8 jsr [PC - 0x1508 /* 000033AA */]
000048B4 3D5F FDFC move.w [A6 - 0x204], [A7]+
label000048B8:
000048B8 4E5E unlink A6
000048BA 205F movea.l A0, [A7]+
000048BC 5C4F addq.w A7, 6
000048BE 4ED0 jmp [A0]
000048C0 CA4F and.w D5, A7
000048C2 5045 addq.w D5, 8
000048C4 4E52 4553 link A2, -0xFFFFBAAD
000048C8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000048CA-000048CE
fn000048CA:
000048CA 4E56 FFFE link A6, -0x0002
// end alternate branch 000048CA-000048CE
fn000048CA: // (misaligned)
000048CC FFFE .extension 0xFFE // unimplemented
000048CE 2F07 move.l -[A7], D7
000048D0 4267 clr.w -[A7]
000048D2 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000048D6 4A5F tst.w [A7]+
000048D8 56C0 sne D0
000048DA 4400 neg.b D0
000048DC 1E00 move.b D7, D0
000048DE 1007 move.b D0, D7
000048E0 670E beq +0x10 /* 000048F0 */
000048E2 42A7 clr.l -[A7]
000048E4 4EBA F180 jsr [PC - 0xE80 /* 00003A66 */]
000048E8 205F movea.l A0, [A7]+
000048EA 316E 0008 0014 move.w [A0 + 0x14], [A6 + 0x8]
label000048F0:
000048F0 1D47 000A move.b [A6 + 0xA], D7
000048F4 2E1F move.l D7, [A7]+
000048F6 4E5E unlink A6
000048F8 205F movea.l A0, [A7]+
000048FA 544F addq.w A7, 2
000048FC 4ED0 jmp [A0]
000048FE D041 add.w D0, D1
00004900 4E49 trap 9
00004902 4343 chk.w D1, D3
00004904 4845 swap.w D5
00004906 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004908-0000490E
fn00004908:
00004908 4E56 0000 link A6, 0
0000490C 2F0C move.l -[A7], A4
// end alternate branch 00004908-0000490E
fn00004908: // (misaligned)
0000490A 0000 2F0C ori.b D0, 0xC
0000490E 42A7 clr.l -[A7]
00004910 4EBA F154 jsr [PC - 0xEAC /* 00003A66 */]
00004914 205F movea.l A0, [A7]+
00004916 49E8 0B18 lea.l A4, [A0 + 0xB18]
0000491A 4AAC 0004 tst.l [A4 + 0x4]
0000491E 6708 beq +0xA /* 00004928 */
00004920 2F2C 0004 move.l -[A7], [A4 + 0x4]
00004924 4EBA E8C6 jsr [PC - 0x173A /* 000031EC */]
label00004928:
00004928 285F movea.l A4, [A7]+
0000492A 4E5E unlink A6
0000492C 4E75 rts
0000492E C652 and.w D3, [A2]
00004930 4545 chk.w D2, D5
00004932 534F subq.w A7, 1
00004934 554E subq.w A6, 2
00004936 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004938-00004942
fn00004938:
00004938 4E56 0000 link A6, 0
0000493C 48E7 0018 movem.l -[A7], A3,A4
00004940 42A7 clr.l -[A7]
// end alternate branch 00004938-00004942
fn00004938: // (misaligned)
0000493A 0000 48E7 ori.b D0, 0xE7
0000493E 0018 42A7 ori.b [A0]+, 0xA7
00004942 4EBA F122 jsr [PC - 0xEDE /* 00003A66 */]
00004946 265F movea.l A3, [A7]+
00004948 102B 0016 move.b D0, [A3 + 0x16]
0000494C 6718 beq +0x1A /* 00004966 */
0000494E 49EB 0B18 lea.l A4, [A3 + 0xB18]
00004952 18BC 0001 move.b [A4], 0x1
00004956 4EBA F25C jsr [PC - 0xDA4 /* 00003BB4 */]
0000495A 4EBA FFAC jsr [PC - 0x54 /* 00004908 */]
0000495E 426C 0002 clr.w [A4 + 0x2]
00004962 42AC 000A clr.l [A4 + 0xA]
label00004966:
00004966 4CDF 1800 movem.l A3,A4, [A7]+
0000496A 4E5E unlink A6
0000496C 4E75 rts
0000496E D348 addx.w -[A1], -[A0]
00004970 5554 subq.w [A4], 2
00004972 5550 subq.w [A0], 2
00004974 2020 move.l D0, -[A0]
00004976 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004978-00004982
fn00004978:
00004978 4E56 0000 link A6, 0
0000497C 1F3C 0001 move.b -[A7], 0x1
00004980 A99B syscall SetResLoad
// end alternate branch 00004978-00004982
fn00004978: // (misaligned)
0000497A 0000 1F3C ori.b D0, 0x3C /* '<' */
0000497E 0001 A99B ori.b D1, 0x9B
00004982 4AAE 0008 tst.l [A6 + 0x8]
00004986 6720 beq +0x22 /* 000049A8 */
00004988 42A7 clr.l -[A7]
0000498A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000498E 4EBA E832 jsr [PC - 0x17CE /* 000031C2 */]
00004992 4A9F tst.l [A7]+
00004994 6612 bne +0x14 /* 000049A8 */
00004996 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000499A A9A2 syscall LoadResource
0000499C 2F2E 0008 move.l -[A7], [A6 + 0x8]
000049A0 4267 clr.w -[A7]
000049A2 42A7 clr.l -[A7]
000049A4 4EBA F12A jsr [PC - 0xED6 /* 00003AD0 */]
label000049A8:
000049A8 4E5E unlink A6
000049AA 2E9F move.l [A7], [A7]+
000049AC 4E75 rts
000049AE C348 exg A1, A0
000049B0 4543 chk.w D2, D3
000049B2 4B4D chk.w D5, A5
000049B4 5953 subq.w [A3], 4
000049B6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000049B8-000049C2
fn000049B8:
000049B8 4E56 0000 link A6, 0
000049BC 102E 0008 move.b D0, [A6 + 0x8]
000049C0 6708 beq +0xA /* 000049CA */
// end alternate branch 000049B8-000049C2
fn000049B8: // (misaligned)
000049BA 0000 102E ori.b D0, 0x2E /* '.' */
000049BE 0008 6708 ori.b A0, 0x8
000049C2 7001 moveq.l D0, 0x01
000049C4 2D40 000A move.l [A6 + 0xA], D0
000049C8 6004 bra +0x6 /* 000049CE */
label000049CA:
000049CA 42AE 000A clr.l [A6 + 0xA]
label000049CE:
000049CE 4E5E unlink A6
000049D0 205F movea.l A0, [A7]+
000049D2 544F addq.w A7, 2
000049D4 4ED0 jmp [A0]
000049D6 C24F and.w D1, A7
000049D8 4F4C chk.w D7, A4
000049DA 544F addq.w A7, 2
000049DC 4C4F 0000 movem.l <none>, A7
fn000049E0:
000049E0 4E56 FFF2 link A6, -0x000E
000049E4 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000049E8 42A7 clr.l -[A7]
000049EA 4EBA F07A jsr [PC - 0xF86 /* 00003A66 */]
000049EE 265F movea.l A3, [A7]+
000049F0 102B 0016 move.b D0, [A3 + 0x16]
000049F4 0A00 0001 xori.b D0, 0x1
000049F8 6600 00D4 bne +0xD6 /* 00004ACE */
000049FC 206B 089A movea.l A0, [A3 + 0x89A]
00004A00 41E8 028E lea.l A0, [A0 + 0x28E]
00004A04 2E08 move.l D7, A0
00004A06 206B 089A movea.l A0, [A3 + 0x89A]
00004A0A 41E8 04F6 lea.l A0, [A0 + 0x4F6]
00004A0E 2808 move.l D4, A0
00004A10 2047 movea.l A0, D7
00004A12 1028 0001 move.b D0, [A0 + 0x1]
00004A16 4880 ext.w D0
00004A18 3C00 move.w D6, D0
00004A1A 4A46 tst.w D6
00004A1C 6608 bne +0xA /* 00004A26 */
00004A1E 4EBA FF18 jsr [PC - 0xE8 /* 00004938 */]
00004A22 6000 00AA bra +0xAC /* 00004ACE */
label00004A26:
00004A26 49EB 0B18 lea.l A4, [A3 + 0xB18]
00004A2A 4205 clr.b D5
00004A2C BC6C 0002 cmp.w D6, [A4 + 0x2]
00004A30 675C beq +0x5E /* 00004A8E */
00004A32 18BC 0001 move.b [A4], 0x1
00004A36 4EBA FED0 jsr [PC - 0x130 /* 00004908 */]
00004A3A 4267 clr.w -[A7]
00004A3C A99B syscall SetResLoad
00004A3E 42A7 clr.l -[A7]
00004A40 2F3A 009E move.l -[A7], [PC + 0x9E /* 00004AE0, value 0x43534E44 'CSND' */]
00004A44 2006 move.l D0, D6
00004A46 D07C 0200 add.w D0, 0x200
00004A4A 3F00 move.w -[A7], D0
00004A4C A9A0 syscall GetResource
00004A4E 295F 0004 move.l [A4 + 0x4], [A7]+
00004A52 2F2C 0004 move.l -[A7], [A4 + 0x4]
00004A56 4EBA FF20 jsr [PC - 0xE0 /* 00004978 */]
00004A5A 426C 0008 clr.w [A4 + 0x8]
00004A5E 4267 clr.w -[A7]
00004A60 A9AF syscall ResError
00004A62 4A5F tst.w [A7]+
00004A64 56C0 sne D0
00004A66 4AAC 0004 tst.l [A4 + 0x4]
00004A6A 57C1 seq D1
00004A6C 8001 or.b D0, D1
00004A6E 6708 beq +0xA /* 00004A78 */
00004A70 4EBA FEC6 jsr [PC - 0x13A /* 00004938 */]
00004A74 6058 bra +0x5A /* 00004ACE */
00004A76 6016 bra +0x18 /* 00004A8E */
label00004A78:
00004A78 2F2C 0004 move.l -[A7], [A4 + 0x4]
00004A7C 4EBA E764 jsr [PC - 0x189C /* 000031E2 */]
00004A80 206C 0004 movea.l A0, [A4 + 0x4]
00004A84 2950 000A move.l [A4 + 0xA], [A0]
00004A88 3946 0002 move.w [A4 + 0x2], D6
00004A8C 7A01 moveq.l D5, 0x01
label00004A8E:
00004A8E 18BC 0001 move.b [A4], 0x1
00004A92 2044 movea.l A0, D4
00004A94 2247 movea.l A1, D7
00004A96 3028 0006 move.w D0, [A0 + 0x6]
00004A9A B069 0006 cmp.w D0, [A1 + 0x6]
00004A9E 6702 beq +0x4 /* 00004AA2 */
00004AA0 7A01 moveq.l D5, 0x01
label00004AA2:
00004AA2 2047 movea.l A0, D7
00004AA4 3968 0006 0012 move.w [A4 + 0x12], [A0 + 0x6]
00004AAA 2947 000E move.l [A4 + 0xE], D7
00004AAE 1005 move.b D0, D5
00004AB0 671A beq +0x1C /* 00004ACC */
00004AB2 426C 0008 clr.w [A4 + 0x8]
00004AB6 2F2C 0004 move.l -[A7], [A4 + 0x4]
00004ABA 3F3C 0001 move.w -[A7], 0x1
00004ABE 42A7 clr.l -[A7]
00004AC0 1F2B 0018 move.b -[A7], [A3 + 0x18]
00004AC4 4EBA FEF2 jsr [PC - 0x10E /* 000049B8 */]
00004AC8 4EBA F006 jsr [PC - 0xFFA /* 00003AD0 */]
label00004ACC:
00004ACC 4214 clr.b [A4]
label00004ACE:
00004ACE 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00004AD2 4E5E unlink A6
00004AD4 4E75 rts
00004AD6 D34F addx.w -[A1], -[A7]
00004AD8 554E subq.w A6, 2
00004ADA 444C neg.w A4
00004ADC 4F41 chk.w D7, D1
00004ADE 0004 4353 ori.b D4, 0x53 /* 'S' */
00004AE2 4E44 trap 4
fn00004AE4:
00004AE4 4E56 FFEA link A6, -0x0016
00004AE8 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00004AEC 42A7 clr.l -[A7]
00004AEE 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004AF2 4EBA FB10 jsr [PC - 0x4F0 /* 00004604 */]
00004AF6 285F movea.l A4, [A7]+
00004AF8 42AE 000A clr.l [A6 + 0xA]
00004AFC 204C movea.l A0, A4
00004AFE 5888 addq.l A0, 4
00004B00 2D48 FFEA move.l [A6 - 0x16], A0
00004B04 4267 clr.w -[A7]
00004B06 206E FFEA movea.l A0, [A6 - 0x16]
00004B0A 4868 0006 pea.l [A0 + 0x6]
00004B0E A8AE syscall EmptyRect
00004B10 101F move.b D0, [A7]+
00004B12 6678 bne +0x7A /* 00004B8C */
00004B14 42A7 clr.l -[A7]
00004B16 2F14 move.l -[A7], [A4]
00004B18 4EBA E6A8 jsr [PC - 0x1958 /* 000031C2 */]
00004B1C 2C1F move.l D6, [A7]+
00004B1E 42A7 clr.l -[A7]
00004B20 2F06 move.l -[A7], D6
00004B22 4EBA E688 jsr [PC - 0x1978 /* 000031AC */]
00004B26 265F movea.l A3, [A7]+
00004B28 4267 clr.w -[A7]
00004B2A 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00004B2E 4A5F tst.w [A7]+
00004B30 6650 bne +0x52 /* 00004B82 */
00004B32 206E FFEA movea.l A0, [A6 - 0x16]
00004B36 3E28 0004 move.w D7, [A0 + 0x4]
00004B3A 206E FFEA movea.l A0, [A6 - 0x16]
00004B3E 226E FFEA movea.l A1, [A6 - 0x16]
00004B42 3028 000A move.w D0, [A0 + 0xA]
00004B46 9069 0006 sub.w D0, [A1 + 0x6]
00004B4A 3A00 move.w D5, D0
00004B4C 2F14 move.l -[A7], [A4]
00004B4E 4EBA E692 jsr [PC - 0x196E /* 000031E2 */]
00004B52 2F0B move.l -[A7], A3
00004B54 4EBA E68C jsr [PC - 0x1974 /* 000031E2 */]
00004B58 2054 movea.l A0, [A4]
00004B5A 2F10 move.l -[A7], [A0]
00004B5C 2F13 move.l -[A7], [A3]
00004B5E 3F07 move.w -[A7], D7
00004B60 3F07 move.w -[A7], D7
00004B62 3F05 move.w -[A7], D5
00004B64 2007 move.l D0, D7
00004B66 48C0 ext.l D0
00004B68 81FC 0002 divs.w D0, 0x2
00004B6C 3F00 move.w -[A7], D0
00004B6E 4EBA F3DC jsr [PC - 0xC24 /* 00003F4C */]
00004B72 2F14 move.l -[A7], [A4]
00004B74 4EBA E676 jsr [PC - 0x198A /* 000031EC */]
00004B78 2F0B move.l -[A7], A3
00004B7A 4EBA E670 jsr [PC - 0x1990 /* 000031EC */]
00004B7E 2D4B 000A move.l [A6 + 0xA], A3
label00004B82:
00004B82 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004B86 4267 clr.w -[A7]
00004B88 4EBA FA24 jsr [PC - 0x5DC /* 000045AE */]
label00004B8C:
00004B8C 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00004B90 4E5E unlink A6
00004B92 205F movea.l A0, [A7]+
00004B94 544F addq.w A7, 2
00004B96 4ED0 jmp [A0]
00004B98 D245 add.w D1, D5
00004B9A 544D addq.w A5, 2
00004B9C 4154 chk.w D0, [A4]
00004B9E 2020 move.l D0, -[A0]
00004BA0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004BA2-00004BA6
fn00004BA2:
00004BA2 4E56 FFFC link A6, -0x0004
// end alternate branch 00004BA2-00004BA6
fn00004BA2: // (misaligned)
00004BA4 FFFC .extension 0xFFC // unimplemented
00004BA6 48E7 0118 movem.l -[A7], D7,A3,A4
00004BAA 3E2E 0008 move.w D7, [A6 + 0x8]
00004BAE 42A7 clr.l -[A7]
00004BB0 4EBA EEB4 jsr [PC - 0x114C /* 00003A66 */]
00004BB4 285F movea.l A4, [A7]+
00004BB6 206C 0128 movea.l A0, [A4 + 0x128]
00004BBA 2007 move.l D0, D7
00004BBC C1FC 0026 muls.w D0, 0x26 /* '&' */
00004BC0 2670 0002 movea.l A3, [A0 + D0.w + 0x2]
00004BC4 200B move.l D0, A3
00004BC6 6720 beq +0x22 /* 00004BE8 */
00004BC8 4A93 tst.l [A3]
00004BCA 6616 bne +0x18 /* 00004BE2 */
00004BCC 2F0B move.l -[A7], A3
00004BCE 4EBA E5E8 jsr [PC - 0x1A18 /* 000031B8 */]
00004BD2 206C 0128 movea.l A0, [A4 + 0x128]
00004BD6 2007 move.l D0, D7
00004BD8 C1FC 0026 muls.w D0, 0x26 /* '&' */
00004BDC 42B0 0002 clr.l [A0 + D0.w + 0x2]
00004BE0 6006 bra +0x8 /* 00004BE8 */
label00004BE2:
00004BE2 2D4B 000A move.l [A6 + 0xA], A3
00004BE6 6020 bra +0x22 /* 00004C08 */
label00004BE8:
00004BE8 42A7 clr.l -[A7]
00004BEA 3F07 move.w -[A7], D7
00004BEC 4EBA FEF6 jsr [PC - 0x10A /* 00004AE4 */]
00004BF0 265F movea.l A3, [A7]+
00004BF2 200B move.l D0, A3
00004BF4 6712 beq +0x14 /* 00004C08 */
00004BF6 206C 0128 movea.l A0, [A4 + 0x128]
00004BFA 2007 move.l D0, D7
00004BFC C1FC 0026 muls.w D0, 0x26 /* '&' */
00004C00 218B 0002 move.l [A0 + D0.w + 0x2], A3
00004C04 2D4B 000A move.l [A6 + 0xA], A3
label00004C08:
00004C08 4CDF 1880 movem.l D7,A3,A4, [A7]+
00004C0C 4E5E unlink A6
00004C0E 205F movea.l A0, [A7]+
00004C10 544F addq.w A7, 2
00004C12 4ED0 jmp [A0]
00004C14 C745 exg D3, D5
00004C16 544D addq.w A5, 2
00004C18 4154 chk.w D0, [A4]
00004C1A 5445 addq.w D5, 2
00004C1C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004C1E-00004C24
fn00004C1E:
00004C1E 4E56 0000 link A6, 0
00004C22 2F0C move.l -[A7], A4
// end alternate branch 00004C1E-00004C24
fn00004C1E: // (misaligned)
00004C20 0000 2F0C ori.b D0, 0xC
00004C24 42A7 clr.l -[A7]
00004C26 4EBA EE3E jsr [PC - 0x11C2 /* 00003A66 */]
00004C2A 285F movea.l A4, [A7]+
00004C2C 2F2C 012C move.l -[A7], [A4 + 0x12C]
00004C30 4EBA E5B0 jsr [PC - 0x1A50 /* 000031E2 */]
00004C34 206C 012C movea.l A0, [A4 + 0x12C]
00004C38 2950 0128 move.l [A4 + 0x128], [A0]
00004C3C 42A7 clr.l -[A7]
00004C3E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00004C42 4EBA FF5E jsr [PC - 0xA2 /* 00004BA2 */]
00004C46 2D5F 000A move.l [A6 + 0xA], [A7]+
00004C4A 2F2C 012C move.l -[A7], [A4 + 0x12C]
00004C4E 4EBA E59C jsr [PC - 0x1A64 /* 000031EC */]
00004C52 285F movea.l A4, [A7]+
00004C54 4E5E unlink A6
00004C56 205F movea.l A0, [A7]+
00004C58 544F addq.w A7, 2
00004C5A 4ED0 jmp [A0]
00004C5C D657 add.w D3, [A7]
00004C5E 4745 chk.w D3, D5
00004C60 544D addq.w A5, 2
00004C62 4154 chk.w D0, [A4]
00004C64 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004C66-00004C6A
fn00004C66:
00004C66 4E56 FFFE link A6, -0x0002
// end alternate branch 00004C66-00004C6A
fn00004C66: // (misaligned)
00004C68 FFFE .extension 0xFFE // unimplemented
00004C6A 48E7 0108 movem.l -[A7], D7,A4
00004C6E 42A7 clr.l -[A7]
00004C70 4EBA EDF4 jsr [PC - 0x120C /* 00003A66 */]
00004C74 205F movea.l A0, [A7]+
00004C76 49E8 0B84 lea.l A4, [A0 + 0xB84]
00004C7A 4214 clr.b [A4]
00004C7C 422C 0001 clr.b [A4 + 0x1]
00004C80 397C 0001 0002 move.w [A4 + 0x2], 0x1
00004C86 7E01 moveq.l D7, 0x01
00004C88 6010 bra +0x12 /* 00004C9A */
label00004C8A:
00004C8A 2007 move.l D0, D7
00004C8C 5240 addq.w D0, 1
00004C8E 2207 move.l D1, D7
00004C90 C3FC 000C muls.w D1, 0xC
00004C94 3980 10F8 move.w [A4 + D1.w - 0x8], D0
00004C98 5247 addq.w D7, 1
label00004C9A:
00004C9A 0C47 002F cmpi.w D7, 0x2F /* '/' */
00004C9E 6FEA ble -0x14 /* 00004C8A */
00004CA0 426C 0238 clr.w [A4 + 0x238]
00004CA4 4CDF 1080 movem.l D7,A4, [A7]+
00004CA8 4E5E unlink A6
00004CAA 4E75 rts
00004CAC C94E exg A4, A6
00004CAE 4954 chk.w D4, [A4]
00004CB0 434C chk.w D1, A4
00004CB2 5553 subq.w [A3], 2
00004CB4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004CB6-00004CBA
fn00004CB6:
00004CB6 4E56 FFF8 link A6, -0x0008
// end alternate branch 00004CB6-00004CBA
fn00004CB6: // (misaligned)
00004CB8 FFF8 .extension 0xFF8 // unimplemented
00004CBA 48E7 0018 movem.l -[A7], A3,A4
00004CBE 42A7 clr.l -[A7]
00004CC0 4EBA EDA4 jsr [PC - 0x125C /* 00003A66 */]
00004CC4 285F movea.l A4, [A7]+
00004CC6 302E 0008 move.w D0, [A6 + 0x8]
00004CCA C1FC 000C muls.w D0, 0xC
00004CCE 43EC 0B7C lea.l A1, [A4 + 0xB7C]
00004CD2 41F1 0000 lea.l A0, [A1 + D0.w]
00004CD6 2648 movea.l A3, A0
00004CD8 4A6B 0002 tst.w [A3 + 0x2]
00004CDC 6F12 ble +0x14 /* 00004CF0 */
00004CDE 302B 0002 move.w D0, [A3 + 0x2]
00004CE2 C1FC 000C muls.w D0, 0xC
00004CE6 41EC 0B7C lea.l A0, [A4 + 0xB7C]
00004CEA 3193 0000 move.w [A0 + D0.w], [A3]
00004CEE 6006 bra +0x8 /* 00004CF6 */
label00004CF0:
00004CF0 196B 0001 0B84 move.b [A4 + 0xB84], [A3 + 0x1]
label00004CF6:
00004CF6 4A53 tst.w [A3]
00004CF8 6F12 ble +0x14 /* 00004D0C */
00004CFA 3013 move.w D0, [A3]
00004CFC C1FC 000C muls.w D0, 0xC
00004D00 41EC 0B7E lea.l A0, [A4 + 0xB7E]
00004D04 31AB 0002 0000 move.w [A0 + D0.w], [A3 + 0x2]
00004D0A 6006 bra +0x8 /* 00004D12 */
label00004D0C:
00004D0C 196B 0001 0B85 move.b [A4 + 0xB85], [A3 + 0x1]
label00004D12:
00004D12 41EC 0B84 lea.l A0, [A4 + 0xB84]
00004D16 2D48 FFF8 move.l [A6 - 0x8], A0
00004D1A 206E FFF8 movea.l A0, [A6 - 0x8]
00004D1E 36A8 0002 move.w [A3], [A0 + 0x2]
00004D22 206E FFF8 movea.l A0, [A6 - 0x8]
00004D26 316E 0008 0002 move.w [A0 + 0x2], [A6 + 0x8]
00004D2C 4CDF 1800 movem.l A3,A4, [A7]+
00004D30 4E5E unlink A6
00004D32 205F movea.l A0, [A7]+
00004D34 544F addq.w A7, 2
00004D36 4ED0 jmp [A0]
00004D38 C445 and.w D2, D5
00004D3A 4C43 4C55 movem.l D0,D2,D4,D6,A2,A3,A6, D3
00004D3E 5354 subq.w [A4], 1
00004D40 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004D42-00004D46
fn00004D42:
00004D42 4E56 FFFC link A6, -0x0004
// end alternate branch 00004D42-00004D46
fn00004D42: // (misaligned)
00004D44 FFFC .extension 0xFFC // unimplemented
00004D46 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00004D4A 3C2E 0008 move.w D6, [A6 + 0x8]
00004D4E 42A7 clr.l -[A7]
00004D50 4EBA ED14 jsr [PC - 0x12EC /* 00003A66 */]
00004D54 265F movea.l A3, [A7]+
00004D56 2006 move.l D0, D6
00004D58 C1FC 000C muls.w D0, 0xC
00004D5C 43EB 0B7C lea.l A1, [A3 + 0xB7C]
00004D60 41F1 0000 lea.l A0, [A1 + D0.w]
00004D64 2E08 move.l D7, A0
00004D66 49EB 0B84 lea.l A4, [A3 + 0xB84]
00004D6A 4A14 tst.b [A4]
00004D6C 6F10 ble +0x12 /* 00004D7E */
00004D6E 1014 move.b D0, [A4]
00004D70 4880 ext.w D0
00004D72 C1FC 000C muls.w D0, 0xC
00004D76 41EB 0B7E lea.l A0, [A3 + 0xB7E]
00004D7A 3186 0000 move.w [A0 + D0.w], D6
label00004D7E:
00004D7E 1014 move.b D0, [A4]
00004D80 4880 ext.w D0
00004D82 2047 movea.l A0, D7
00004D84 3080 move.w [A0], D0
00004D86 1886 move.b [A4], D6
00004D88 2047 movea.l A0, D7
00004D8A 4268 0002 clr.w [A0 + 0x2]
00004D8E 4A2C 0001 tst.b [A4 + 0x1]
00004D92 6E04 bgt +0x6 /* 00004D98 */
00004D94 1946 0001 move.b [A4 + 0x1], D6
label00004D98:
00004D98 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00004D9C 4E5E unlink A6
00004D9E 205F movea.l A0, [A7]+
00004DA0 544F addq.w A7, 2
00004DA2 4ED0 jmp [A0]
00004DA4 C94E exg A4, A6
00004DA6 5343 subq.w D3, 1
00004DA8 4C55 5354 movem.l D2,D4,D6,A0,A1,A4,A6, [A5]
00004DAC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004DAE-00004DB2
fn00004DAE:
00004DAE 4E56 FFE2 link A6, -0x001E
// end alternate branch 00004DAE-00004DB2
fn00004DAE: // (misaligned)
00004DB0 FFE2 .extension 0xFE2 // unimplemented
00004DB2 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00004DB6 206E 0008 movea.l A0, [A6 + 0x8]
00004DBA 43EE FFF8 lea.l A1, [A6 - 0x8]
00004DBE 22D8 move.l [A1]+, [A0]+
00004DC0 22D8 move.l [A1]+, [A0]+
00004DC2 42A7 clr.l -[A7]
00004DC4 4EBA ECA0 jsr [PC - 0x1360 /* 00003A66 */]
00004DC8 285F movea.l A4, [A7]+
00004DCA 4267 clr.w -[A7]
00004DCC 486E FFF8 pea.l [A6 - 0x8]
00004DD0 A8AE syscall EmptyRect
00004DD2 101F move.b D0, [A7]+
00004DD4 6600 009E bne +0xA0 /* 00004E74 */
00004DD8 4205 clr.b D5
00004DDA 41EE FFEC lea.l A0, [A6 - 0x14]
00004DDE 43EE FFF8 lea.l A1, [A6 - 0x8]
00004DE2 20D9 move.l [A0]+, [A1]+
00004DE4 20D9 move.l [A0]+, [A1]+
label00004DE6:
00004DE6 4205 clr.b D5
00004DE8 102C 0B84 move.b D0, [A4 + 0xB84]
00004DEC 4880 ext.w D0
00004DEE 3E00 move.w D7, D0
label00004DF0:
00004DF0 4A47 tst.w D7
00004DF2 6F50 ble +0x52 /* 00004E44 */
00004DF4 2007 move.l D0, D7
00004DF6 C1FC 000C muls.w D0, 0xC
00004DFA 41EC 0B7C lea.l A0, [A4 + 0xB7C]
00004DFE 3C30 0000 move.w D6, [A0 + D0.w]
00004E02 4267 clr.w -[A7]
00004E04 486E FFEC pea.l [A6 - 0x14]
00004E08 2007 move.l D0, D7
00004E0A C1FC 000C muls.w D0, 0xC
00004E0E 41EC 0B80 lea.l A0, [A4 + 0xB80]
00004E12 4870 0000 pea.l [A0 + D0.w]
00004E16 486E FFE4 pea.l [A6 - 0x1C]
00004E1A A8AA syscall SectRect
00004E1C 101F move.b D0, [A7]+
00004E1E 6720 beq +0x22 /* 00004E40 */
00004E20 486E FFEC pea.l [A6 - 0x14]
00004E24 2007 move.l D0, D7
00004E26 C1FC 000C muls.w D0, 0xC
00004E2A 41EC 0B80 lea.l A0, [A4 + 0xB80]
00004E2E 4870 0000 pea.l [A0 + D0.w]
00004E32 486E FFEC pea.l [A6 - 0x14]
00004E36 A8AB syscall UnionRect
00004E38 3F07 move.w -[A7], D7
00004E3A 4EBA FE7A jsr [PC - 0x186 /* 00004CB6 */]
00004E3E 7A01 moveq.l D5, 0x01
label00004E40:
00004E40 3E06 move.w D7, D6
00004E42 60AC bra -0x52 /* 00004DF0 */
label00004E44:
00004E44 2005 move.l D0, D5
00004E46 0A00 0001 xori.b D0, 0x1
00004E4A 679A beq -0x64 /* 00004DE6 */
00004E4C 3C2C 0B86 move.w D6, [A4 + 0xB86]
00004E50 2006 move.l D0, D6
00004E52 C1FC 000C muls.w D0, 0xC
00004E56 41EC 0B7C lea.l A0, [A4 + 0xB7C]
00004E5A 47F0 0000 lea.l A3, [A0 + D0.w]
00004E5E 3953 0B86 move.w [A4 + 0xB86], [A3]
00004E62 204B movea.l A0, A3
00004E64 5888 addq.l A0, 4
00004E66 43EE FFEC lea.l A1, [A6 - 0x14]
00004E6A 20D9 move.l [A0]+, [A1]+
00004E6C 20D9 move.l [A0]+, [A1]+
00004E6E 3F06 move.w -[A7], D6
00004E70 4EBA FED0 jsr [PC - 0x130 /* 00004D42 */]
label00004E74:
00004E74 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00004E78 4E5E unlink A6
00004E7A 2E9F move.l [A7], [A7]+
00004E7C 4E75 rts
00004E7E D54E addx.w -[A2], -[A6]
00004E80 4946 chk.w D4, D6
00004E82 5953 subq.w [A3], 4
00004E84 4541 chk.w D2, D1
00004E86 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004E88-00004E92
fn00004E88:
00004E88 4E56 0000 link A6, 0
00004E8C 206E 0008 movea.l A0, [A6 + 0x8]
00004E90 4A90 tst.l [A0]
// end alternate branch 00004E88-00004E92
fn00004E88: // (misaligned)
00004E8A 0000 206E ori.b D0, 0x6E /* 'n' */
00004E8E 0008 4A90 ori.b A0, 0x90
00004E92 6710 beq +0x12 /* 00004EA4 */
00004E94 206E 0008 movea.l A0, [A6 + 0x8]
00004E98 2F10 move.l -[A7], [A0]
00004E9A 4EBA E31C jsr [PC - 0x1CE4 /* 000031B8 */]
00004E9E 206E 0008 movea.l A0, [A6 + 0x8]
00004EA2 4290 clr.l [A0]
label00004EA4:
00004EA4 4E5E unlink A6
00004EA6 2E9F move.l [A7], [A7]+
00004EA8 4E75 rts
00004EAA D452 add.w D2, [A2]
00004EAC 4153 chk.w D0, [A3]
00004EAE 4848 pea.l A0
00004EB0 444C neg.w A4
00004EB2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004EB4-00004EBA
fn00004EB4:
00004EB4 4E56 0000 link A6, 0
00004EB8 2F0C move.l -[A7], A4
// end alternate branch 00004EB4-00004EBA
fn00004EB4: // (misaligned)
00004EB6 0000 2F0C ori.b D0, 0xC
00004EBA 42A7 clr.l -[A7]
00004EBC 4EBA EBA8 jsr [PC - 0x1458 /* 00003A66 */]
00004EC0 285F movea.l A4, [A7]+
00004EC2 102C 0E3D move.b D0, [A4 + 0xE3D]
00004EC6 6724 beq +0x26 /* 00004EEC */
00004EC8 102C 0E3C move.b D0, [A4 + 0xE3C]
00004ECC 0A00 0001 xori.b D0, 0x1
00004ED0 6714 beq +0x16 /* 00004EE6 */
00004ED2 2F2C 0E38 move.l -[A7], [A4 + 0xE38]
00004ED6 A873 syscall SetPort
00004ED8 486C 0E3E pea.l [A4 + 0xE3E]
00004EDC A875 syscall SetPBits/SetPortBits
00004EDE 197C 0001 0E3C move.b [A4 + 0xE3C], 0x1
00004EE4 6006 bra +0x8 /* 00004EEC */
label00004EE6:
00004EE6 2F2C 0E38 move.l -[A7], [A4 + 0xE38]
00004EEA A873 syscall SetPort
label00004EEC:
00004EEC 285F movea.l A4, [A7]+
00004EEE 4E5E unlink A6
00004EF0 4E75 rts
00004EF2 C34C exg A1, A4
00004EF4 5547 subq.w D7, 2
00004EF6 4F4E chk.w D7, A6
00004EF8 2020 move.l D0, -[A0]
00004EFA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004EFC-00004F02
fn00004EFC:
00004EFC 4E56 0000 link A6, 0
00004F00 2F0C move.l -[A7], A4
// end alternate branch 00004EFC-00004F02
fn00004EFC: // (misaligned)
00004EFE 0000 2F0C ori.b D0, 0xC
00004F02 42A7 clr.l -[A7]
00004F04 4EBA EB60 jsr [PC - 0x14A0 /* 00003A66 */]
00004F08 285F movea.l A4, [A7]+
00004F0A 102C 0E3D move.b D0, [A4 + 0xE3D]
00004F0E 6706 beq +0x8 /* 00004F16 */
00004F10 2F2C 0DC8 move.l -[A7], [A4 + 0xDC8]
00004F14 A873 syscall SetPort
label00004F16:
00004F16 285F movea.l A4, [A7]+
00004F18 4E5E unlink A6
00004F1A 4E75 rts
00004F1C C34C exg A1, A4
00004F1E 5547 subq.w D7, 2
00004F20 4F46 chk.w D7, D6
00004F22 4620 not.b -[A0]
00004F24 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004F26-00004F2A
fn00004F26:
00004F26 4E56 FFEC link A6, -0x0014
// end alternate branch 00004F26-00004F2A
fn00004F26: // (misaligned)
00004F28 FFEC .extension 0xFEC // unimplemented
00004F2A 48E7 0108 movem.l -[A7], D7,A4
00004F2E 3E2E 000A move.w D7, [A6 + 0xA]
00004F32 42A7 clr.l -[A7]
00004F34 4EBA EB30 jsr [PC - 0x14D0 /* 00003A66 */]
00004F38 285F movea.l A4, [A7]+
00004F3A 3D6E 0008 FFEE move.w [A6 - 0x12], [A6 + 0x8]
00004F40 3D47 FFF0 move.w [A6 - 0x10], D7
00004F44 206C 089A movea.l A0, [A4 + 0x89A]
00004F48 2007 move.l D0, D7
00004F4A E940 asl D0.w, 4
00004F4C 43E8 028E lea.l A1, [A0 + 0x28E]
00004F50 41F1 0000 lea.l A0, [A1 + D0.w]
00004F54 2D48 FFF2 move.l [A6 - 0xE], A0
00004F58 206E FFF2 movea.l A0, [A6 - 0xE]
00004F5C 1028 0001 move.b D0, [A0 + 0x1]
00004F60 4880 ext.w D0
00004F62 3D40 FFEC move.w [A6 - 0x14], D0
00004F66 206C 089A movea.l A0, [A4 + 0x89A]
00004F6A 2007 move.l D0, D7
00004F6C E740 asl D0.w, 3
00004F6E 43E8 042E lea.l A1, [A0 + 0x42E]
00004F72 41F1 0000 lea.l A0, [A1 + D0.w]
00004F76 2D48 FFFC move.l [A6 - 0x4], A0
00004F7A 41EE FFEC lea.l A0, [A6 - 0x14]
00004F7E 2F08 move.l -[A7], A0
00004F80 4EBA 24BA jsr [PC + 0x24BA /* 0000743C */]
00004F84 4CDF 1080 movem.l D7,A4, [A7]+
00004F88 4E5E unlink A6
00004F8A 2E9F move.l [A7], [A7]+
00004F8C 4E75 rts
00004F8E D445 add.w D2, D5
00004F90 4C4C 4143 movem.l D0,D1,D6,A0,A6, A4
00004F94 544F addq.w A7, 2
00004F96 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004F98-00004FA0
fn00004F98:
00004F98 4E56 0000 link A6, 0
00004F9C 48E7 0108 movem.l -[A7], D7,A4
// end alternate branch 00004F98-00004FA0
fn00004F98: // (misaligned)
00004F9A 0000 48E7 ori.b D0, 0xE7
00004F9E 0108 btst A0, D0
00004FA0 3E2E 0008 move.w D7, [A6 + 0x8]
00004FA4 42A7 clr.l -[A7]
00004FA6 4EBA EABE jsr [PC - 0x1542 /* 00003A66 */]
00004FAA 285F movea.l A4, [A7]+
00004FAC 4A47 tst.w D7
00004FAE 5CC0 sge D0
00004FB0 BE6C 0126 cmp.w D7, [A4 + 0x126]
00004FB4 5FC1 sle D1
00004FB6 C001 and.b D0, D1
00004FB8 206C 0128 movea.l A0, [A4 + 0x128]
00004FBC 2207 move.l D1, D7
00004FBE C3FC 0026 muls.w D1, 0x26 /* '&' */
00004FC2 0C30 0001 1000 cmpi.b [A0 + D1.w], 0x1
00004FC8 57C1 seq D1
00004FCA C001 and.b D0, D1
00004FCC 4400 neg.b D0
00004FCE 1D40 000A move.b [A6 + 0xA], D0
00004FD2 4CDF 1080 movem.l D7,A4, [A7]+
00004FD6 4E5E unlink A6
00004FD8 205F movea.l A0, [A7]+
00004FDA 544F addq.w A7, 2
00004FDC 4ED0 jmp [A0]
00004FDE CC45 and.w D6, D5
00004FE0 4741 chk.w D3, D1
00004FE2 4C43 4153 movem.l D0,D1,D4,D6,A0,A6, D3
00004FE6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00004FE8-00004FEE
fn00004FE8:
00004FE8 4E56 0000 link A6, 0
00004FEC 2F0C move.l -[A7], A4
// end alternate branch 00004FE8-00004FEE
fn00004FE8: // (misaligned)
00004FEA 0000 2F0C ori.b D0, 0xC
00004FEE 42A7 clr.l -[A7]
00004FF0 4EBA EA74 jsr [PC - 0x158C /* 00003A66 */]
00004FF4 205F movea.l A0, [A7]+
00004FF6 2068 012C movea.l A0, [A0 + 0x12C]
00004FFA 2050 movea.l A0, [A0]
00004FFC 302E 000C move.w D0, [A6 + 0xC]
00005000 C1FC 0026 muls.w D0, 0x26 /* '&' */
00005004 49F0 0000 lea.l A4, [A0 + D0.w]
00005008 0C14 0001 cmpi.b [A4], 0x1
0000500C 6624 bne +0x26 /* 00005032 */
0000500E 206E 0008 movea.l A0, [A6 + 0x8]
00005012 43EC 0010 lea.l A1, [A4 + 0x10]
00005016 20D9 move.l [A0]+, [A1]+
00005018 20D9 move.l [A0]+, [A1]+
0000501A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000501E 302C 001A move.w D0, [A4 + 0x1A]
00005022 4440 neg.w D0
00005024 3F00 move.w -[A7], D0
00005026 302C 0018 move.w D0, [A4 + 0x18]
0000502A 4440 neg.w D0
0000502C 3F00 move.w -[A7], D0
0000502E A8A8 syscall OffsetRect
00005030 6008 bra +0xA /* 0000503A */
label00005032:
00005032 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005036 4EBA F490 jsr [PC - 0xB70 /* 000044C8 */]
label0000503A:
0000503A 285F movea.l A4, [A7]+
0000503C 4E5E unlink A6
0000503E 205F movea.l A0, [A7]+
00005040 5C4F addq.w A7, 6
00005042 4ED0 jmp [A0]
00005044 C745 exg D3, D5
00005046 5457 addq.w [A7], 2
00005048 424F clr.w A7
0000504A 5820 addq.b -[A0], 4
0000504C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000504E-00005052
fn0000504E:
0000504E 4E56 FFF0 link A6, -0x0010
// end alternate branch 0000504E-00005052
fn0000504E: // (misaligned)
00005050 FFF0 .extension 0xFF0 // unimplemented
00005052 3F2E 000C move.w -[A7], [A6 + 0xC]
00005056 486E FFF0 pea.l [A6 - 0x10]
0000505A 4EBA FF8C jsr [PC - 0x74 /* 00004FE8 */]
0000505E 302E 000C move.w D0, [A6 + 0xC]
00005062 5240 addq.w D0, 1
00005064 3F00 move.w -[A7], D0
00005066 486E FFF8 pea.l [A6 - 0x8]
0000506A 4EBA FF7C jsr [PC - 0x84 /* 00004FE8 */]
0000506E 4267 clr.w -[A7]
00005070 486E FFF0 pea.l [A6 - 0x10]
00005074 A8AE syscall EmptyRect
00005076 101F move.b D0, [A7]+
00005078 670E beq +0x10 /* 00005088 */
0000507A 206E 0008 movea.l A0, [A6 + 0x8]
0000507E 43EE FFF8 lea.l A1, [A6 - 0x8]
00005082 20D9 move.l [A0]+, [A1]+
00005084 20D9 move.l [A0]+, [A1]+
00005086 6028 bra +0x2A /* 000050B0 */
label00005088:
00005088 4267 clr.w -[A7]
0000508A 486E FFF8 pea.l [A6 - 0x8]
0000508E A8AE syscall EmptyRect
00005090 101F move.b D0, [A7]+
00005092 670E beq +0x10 /* 000050A2 */
00005094 206E 0008 movea.l A0, [A6 + 0x8]
00005098 43EE FFF0 lea.l A1, [A6 - 0x10]
0000509C 20D9 move.l [A0]+, [A1]+
0000509E 20D9 move.l [A0]+, [A1]+
000050A0 600E bra +0x10 /* 000050B0 */
label000050A2:
000050A2 486E FFF0 pea.l [A6 - 0x10]
000050A6 486E FFF8 pea.l [A6 - 0x8]
000050AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000050AE A8AB syscall UnionRect
label000050B0:
000050B0 4E5E unlink A6
000050B2 205F movea.l A0, [A7]+
000050B4 5C4F addq.w A7, 6
000050B6 4ED0 jmp [A0]
000050B8 C745 exg D3, D5
000050BA 5442 addq.w D2, 2
000050BC 5245 addq.w D5, 1
000050BE 4354 chk.w D1, [A4]
000050C0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000050C2-000050C6
fn000050C2:
000050C2 4E56 FFE2 link A6, -0x001E
// end alternate branch 000050C2-000050C6
fn000050C2: // (misaligned)
000050C4 FFE2 .extension 0xFE2 // unimplemented
000050C6 48E7 0018 movem.l -[A7], A3,A4
000050CA 206E 0012 movea.l A0, [A6 + 0x12]
000050CE 43EE FFF8 lea.l A1, [A6 - 0x8]
000050D2 22D8 move.l [A1]+, [A0]+
000050D4 22D8 move.l [A1]+, [A0]+
000050D6 206E 000E movea.l A0, [A6 + 0xE]
000050DA 43EE FFEA lea.l A1, [A6 - 0x16]
000050DE 22D8 move.l [A1]+, [A0]+
000050E0 22D8 move.l [A1]+, [A0]+
000050E2 22D8 move.l [A1]+, [A0]+
000050E4 3290 move.w [A1], [A0]
000050E6 266E 000A movea.l A3, [A6 + 0xA]
000050EA 2853 movea.l A4, [A3]
000050EC 200C move.l D0, A4
000050EE 6722 beq +0x24 /* 00005112 */
000050F0 2F0C move.l -[A7], A4
000050F2 4EBA E0EE jsr [PC - 0x1F12 /* 000031E2 */]
000050F6 2754 0004 move.l [A3 + 0x4], [A4]
000050FA 486B 0004 pea.l [A3 + 0x4]
000050FE 486E FFEA pea.l [A6 - 0x16]
00005102 486B 000A pea.l [A3 + 0xA]
00005106 486E FFF8 pea.l [A6 - 0x8]
0000510A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000510E 42A7 clr.l -[A7]
00005110 A8EC syscall CopyBits
label00005112:
00005112 4CDF 1800 movem.l A3,A4, [A7]+
00005116 4E5E unlink A6
00005118 205F movea.l A0, [A7]+
0000511A DEFC 000E add.w A7, 0xE
0000511E 4ED0 jmp [A0]
00005120 C24C and.w D1, A4
00005122 4150 chk.w D0, [A0]
00005124 4341 chk.w D1, D1
00005126 5354 subq.w [A4], 1
00005128 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000512A-0000512E
fn0000512A:
0000512A 4E56 FFDA link A6, -0x0026
// end alternate branch 0000512A-0000512E
fn0000512A: // (misaligned)
0000512C FFDA .extension 0xFDA // unimplemented
0000512E 48E7 0118 movem.l -[A7], D7,A3,A4
00005132 206E 0008 movea.l A0, [A6 + 0x8]
00005136 43EE FFF2 lea.l A1, [A6 - 0xE]
0000513A 22D8 move.l [A1]+, [A0]+
0000513C 22D8 move.l [A1]+, [A0]+
0000513E 22D8 move.l [A1]+, [A0]+
00005140 3290 move.w [A1], [A0]
00005142 1D7C 0001 0010 move.b [A6 + 0x10], 0x1
00005148 206E 000C movea.l A0, [A6 + 0xC]
0000514C 2868 0006 movea.l A4, [A0 + 0x6]
00005150 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005154 486E FFDA pea.l [A6 - 0x26]
00005158 4EBA FEF4 jsr [PC - 0x10C /* 0000504E */]
0000515C 4267 clr.w -[A7]
0000515E 302C 0006 move.w D0, [A4 + 0x6]
00005162 5240 addq.w D0, 1
00005164 3F00 move.w -[A7], D0
00005166 4EBA FE30 jsr [PC - 0x1D0 /* 00004F98 */]
0000516A 101F move.b D0, [A7]+
0000516C 6700 00B2 beq +0xB4 /* 00005220 */
00005170 2F00 move.l -[A7], D0
00005172 4267 clr.w -[A7]
00005174 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005178 4EBA FE1E jsr [PC - 0x1E2 /* 00004F98 */]
0000517C 121F move.b D1, [A7]+
0000517E 201F move.l D0, [A7]+
00005180 C001 and.b D0, D1
00005182 6700 009C beq +0x9E /* 00005220 */
00005186 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000518A 486E FFE2 pea.l [A6 - 0x1E]
0000518E 4EBA FE58 jsr [PC - 0x1A8 /* 00004FE8 */]
00005192 4267 clr.w -[A7]
00005194 486E FFE2 pea.l [A6 - 0x1E]
00005198 486E FFDA pea.l [A6 - 0x26]
0000519C A8A6 syscall EqualRect
0000519E 101F move.b D0, [A7]+
000051A0 0A00 0001 xori.b D0, 0x1
000051A4 6706 beq +0x8 /* 000051AC */
000051A6 422E 0010 clr.b [A6 + 0x10]
000051AA 6074 bra +0x76 /* 00005220 */
label000051AC:
000051AC 42A7 clr.l -[A7]
000051AE 302C 0006 move.w D0, [A4 + 0x6]
000051B2 5240 addq.w D0, 1
000051B4 3F00 move.w -[A7], D0
000051B6 4EBA F44C jsr [PC - 0xBB4 /* 00004604 */]
000051BA 265F movea.l A3, [A7]+
000051BC 42A7 clr.l -[A7]
000051BE 3F2C 0006 move.w -[A7], [A4 + 0x6]
000051C2 4EBA F440 jsr [PC - 0xBC0 /* 00004604 */]
000051C6 2E1F move.l D7, [A7]+
000051C8 2F13 move.l -[A7], [A3]
000051CA 4EBA E016 jsr [PC - 0x1FEA /* 000031E2 */]
000051CE 2047 movea.l A0, D7
000051D0 2F10 move.l -[A7], [A0]
000051D2 4EBA E00E jsr [PC - 0x1FF2 /* 000031E2 */]
000051D6 2053 movea.l A0, [A3]
000051D8 2750 0004 move.l [A3 + 0x4], [A0]
000051DC 2047 movea.l A0, D7
000051DE 2050 movea.l A0, [A0]
000051E0 2247 movea.l A1, D7
000051E2 2350 0004 move.l [A1 + 0x4], [A0]
000051E6 2047 movea.l A0, D7
000051E8 4868 0004 pea.l [A0 + 0x4]
000051EC 486B 0004 pea.l [A3 + 0x4]
000051F0 486E FFF2 pea.l [A6 - 0xE]
000051F4 2047 movea.l A0, D7
000051F6 4868 000A pea.l [A0 + 0xA]
000051FA 486B 000A pea.l [A3 + 0xA]
000051FE 206E 000C movea.l A0, [A6 + 0xC]
00005202 2F28 0010 move.l -[A7], [A0 + 0x10]
00005206 A817 syscall CopyMask
00005208 302C 0006 move.w D0, [A4 + 0x6]
0000520C 5240 addq.w D0, 1
0000520E 3F00 move.w -[A7], D0
00005210 4267 clr.w -[A7]
00005212 4EBA F39A jsr [PC - 0xC66 /* 000045AE */]
00005216 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000521A 4267 clr.w -[A7]
0000521C 4EBA F390 jsr [PC - 0xC70 /* 000045AE */]
label00005220:
00005220 4CDF 1880 movem.l D7,A3,A4, [A7]+
00005224 4E5E unlink A6
00005226 205F movea.l A0, [A7]+
00005228 504F addq.w A7, 8
0000522A 4ED0 jmp [A0]
0000522C C24C and.w D1, A4
0000522E 4150 chk.w D0, [A0]
00005230 4D41 chk.w D6, D1
00005232 534B subq.w A3, 1
00005234 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005236-0000523A
fn00005236:
00005236 4E56 FFC0 link A6, -0x0040
// end alternate branch 00005236-0000523A
fn00005236: // (misaligned)
00005238 FFC0 .extension 0xFC0 // unimplemented
0000523A 48E7 0018 movem.l -[A7], A3,A4
0000523E 206E 0008 movea.l A0, [A6 + 0x8]
00005242 43EE FFF2 lea.l A1, [A6 - 0xE]
00005246 22D8 move.l [A1]+, [A0]+
00005248 22D8 move.l [A1]+, [A0]+
0000524A 22D8 move.l [A1]+, [A0]+
0000524C 3290 move.w [A1], [A0]
0000524E 206E 000C movea.l A0, [A6 + 0xC]
00005252 2868 0006 movea.l A4, [A0 + 0x6]
00005256 42A7 clr.l -[A7]
00005258 4EBA E80C jsr [PC - 0x17F4 /* 00003A66 */]
0000525C 205F movea.l A0, [A7]+
0000525E 2068 0128 movea.l A0, [A0 + 0x128]
00005262 302C 0006 move.w D0, [A4 + 0x6]
00005266 C1FC 0026 muls.w D0, 0x26 /* '&' */
0000526A 43EE FFD8 lea.l A1, [A6 - 0x28]
0000526E 41F0 0006 lea.l A0, [A0 + D0.w + 0x6]
00005272 7004 moveq.l D0, 0x04
label00005274:
00005274 22D8 move.l [A1]+, [A0]+
00005276 5340 subq.w D0, 1
00005278 6EFA bgt -0x4 /* 00005274 */
0000527A 3290 move.w [A1], [A0]
0000527C 42A7 clr.l -[A7]
0000527E 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005282 4EBA F91E jsr [PC - 0x6E2 /* 00004BA2 */]
00005286 2D5F FFD8 move.l [A6 - 0x28], [A7]+
0000528A 42A7 clr.l -[A7]
0000528C 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005290 4EBA F372 jsr [PC - 0xC8E /* 00004604 */]
00005294 265F movea.l A3, [A7]+
00005296 4AAE FFD8 tst.l [A6 - 0x28]
0000529A 56C0 sne D0
0000529C 6768 beq +0x6A /* 00005306 */
0000529E 2F00 move.l -[A7], D0
000052A0 4267 clr.w -[A7]
000052A2 3F2C 0006 move.w -[A7], [A4 + 0x6]
000052A6 4EBA FCF0 jsr [PC - 0x310 /* 00004F98 */]
000052AA 121F move.b D1, [A7]+
000052AC 201F move.l D0, [A7]+
000052AE C001 and.b D0, D1
000052B0 6754 beq +0x56 /* 00005306 */
000052B2 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000052B6 4EBA DF2A jsr [PC - 0x20D6 /* 000031E2 */]
000052BA 2F13 move.l -[A7], [A3]
000052BC 4EBA DF24 jsr [PC - 0x20DC /* 000031E2 */]
000052C0 2053 movea.l A0, [A3]
000052C2 2750 0004 move.l [A3 + 0x4], [A0]
000052C6 206E FFD8 movea.l A0, [A6 - 0x28]
000052CA 2D50 FFDC move.l [A6 - 0x24], [A0]
000052CE 486B 0004 pea.l [A3 + 0x4]
000052D2 486E FFDC pea.l [A6 - 0x24]
000052D6 486E FFF2 pea.l [A6 - 0xE]
000052DA 486B 000A pea.l [A3 + 0xA]
000052DE 486E FFE2 pea.l [A6 - 0x1E]
000052E2 206E 000C movea.l A0, [A6 + 0xC]
000052E6 2F28 0010 move.l -[A7], [A0 + 0x10]
000052EA A817 syscall CopyMask
000052EC 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000052F0 4EBA DEFA jsr [PC - 0x2106 /* 000031EC */]
000052F4 2F2E FFD8 move.l -[A7], [A6 - 0x28]
000052F8 4EBA DEFC jsr [PC - 0x2104 /* 000031F6 */]
000052FC 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005300 4267 clr.w -[A7]
00005302 4EBA F2AA jsr [PC - 0xD56 /* 000045AE */]
label00005306:
00005306 4CDF 1800 movem.l A3,A4, [A7]+
0000530A 4E5E unlink A6
0000530C 205F movea.l A0, [A7]+
0000530E 504F addq.w A7, 8
00005310 4ED0 jmp [A0]
00005312 C24C and.w D1, A4
00005314 4150 chk.w D0, [A0]
00005316 4D41 chk.w D6, D1
00005318 5454 addq.w [A4], 2
0000531A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000531C-00005320
fn0000531C:
0000531C 4E56 FFCC link A6, -0x0034
// end alternate branch 0000531C-00005320
fn0000531C: // (misaligned)
0000531E FFCC .extension 0xFCC // unimplemented
00005320 48E7 0118 movem.l -[A7], D7,A3,A4
00005324 206E 0008 movea.l A0, [A6 + 0x8]
00005328 43EE FFF2 lea.l A1, [A6 - 0xE]
0000532C 22D8 move.l [A1]+, [A0]+
0000532E 22D8 move.l [A1]+, [A0]+
00005330 22D8 move.l [A1]+, [A0]+
00005332 3290 move.w [A1], [A0]
00005334 2E2E 000C move.l D7, [A6 + 0xC]
00005338 2047 movea.l A0, D7
0000533A 2868 0006 movea.l A4, [A0 + 0x6]
0000533E 0C2C 0009 0005 cmpi.b [A4 + 0x5], 0x9 /* '\t' */
00005344 6600 0108 bne +0x10A /* 0000544E */
00005348 207C 0000 028E movea.l A0, 0x28E
0000534E 0C50 7FFF cmpi.w [A0], 0x7FFF
00005352 57C0 seq D0
00005354 6634 bne +0x36 /* 0000538A */
00005356 7202 moveq.l D1, 0x02
00005358 6B18 bmi +0x1A /* 00005372 */
0000535A B27C 000F cmp.w D1, 0xF
0000535E 6E12 bgt +0x14 /* 00005372 */
00005360 204C movea.l A0, A4
00005362 5888 addq.l A0, 4
00005364 3401 move.w D2, D1
00005366 E64A lsr D2.w, 3
00005368 4442 neg.w D2
0000536A 0330 20FF btst [A0 + D2.w - 0x1], D1
0000536E 0A3C 0004 xori.b ccr, 4
label00005372:
00005372 56C1 sne D1
00005374 C001 and.b D0, D1
00005376 6712 beq +0x14 /* 0000538A */
00005378 4267 clr.w -[A7]
0000537A 2F07 move.l -[A7], D7
0000537C 486E FFF2 pea.l [A6 - 0xE]
00005380 4EBA FDA8 jsr [PC - 0x258 /* 0000512A */]
00005384 101F move.b D0, [A7]+
00005386 6600 01E6 bne +0x1E8 /* 0000556E */
label0000538A:
0000538A 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000538E 486E FFCC pea.l [A6 - 0x34]
00005392 4EBA FCBA jsr [PC - 0x346 /* 0000504E */]
00005396 4267 clr.w -[A7]
00005398 302C 0006 move.w D0, [A4 + 0x6]
0000539C 5240 addq.w D0, 1
0000539E 3F00 move.w -[A7], D0
000053A0 4EBA FBF6 jsr [PC - 0x40A /* 00004F98 */]
000053A4 101F move.b D0, [A7]+
000053A6 6750 beq +0x52 /* 000053F8 */
000053A8 302C 0006 move.w D0, [A4 + 0x6]
000053AC 5240 addq.w D0, 1
000053AE 3F00 move.w -[A7], D0
000053B0 486E FFD4 pea.l [A6 - 0x2C]
000053B4 4EBA FC32 jsr [PC - 0x3CE /* 00004FE8 */]
000053B8 486E FFD4 pea.l [A6 - 0x2C]
000053BC 486E FFCC pea.l [A6 - 0x34]
000053C0 2047 movea.l A0, D7
000053C2 2F28 0010 move.l -[A7], [A0 + 0x10]
000053C6 A8FA syscall MapRect
000053C8 42A7 clr.l -[A7]
000053CA 302C 0006 move.w D0, [A4 + 0x6]
000053CE 5240 addq.w D0, 1
000053D0 3F00 move.w -[A7], D0
000053D2 4EBA F230 jsr [PC - 0xDD0 /* 00004604 */]
000053D6 265F movea.l A3, [A7]+
000053D8 486E FFD4 pea.l [A6 - 0x2C]
000053DC 486E FFF2 pea.l [A6 - 0xE]
000053E0 2F0B move.l -[A7], A3
000053E2 3F3C 0003 move.w -[A7], 0x3
000053E6 4EBA FCDA jsr [PC - 0x326 /* 000050C2 */]
000053EA 302C 0006 move.w D0, [A4 + 0x6]
000053EE 5240 addq.w D0, 1
000053F0 3F00 move.w -[A7], D0
000053F2 4267 clr.w -[A7]
000053F4 4EBA F1B8 jsr [PC - 0xE48 /* 000045AE */]
label000053F8:
000053F8 4267 clr.w -[A7]
000053FA 3F2C 0006 move.w -[A7], [A4 + 0x6]
000053FE 4EBA FB98 jsr [PC - 0x468 /* 00004F98 */]
00005402 101F move.b D0, [A7]+
00005404 6744 beq +0x46 /* 0000544A */
00005406 42A7 clr.l -[A7]
00005408 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000540C 4EBA F1F6 jsr [PC - 0xE0A /* 00004604 */]
00005410 265F movea.l A3, [A7]+
00005412 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005416 486E FFD4 pea.l [A6 - 0x2C]
0000541A 4EBA FBCC jsr [PC - 0x434 /* 00004FE8 */]
0000541E 486E FFD4 pea.l [A6 - 0x2C]
00005422 486E FFCC pea.l [A6 - 0x34]
00005426 2047 movea.l A0, D7
00005428 2F28 0010 move.l -[A7], [A0 + 0x10]
0000542C A8FA syscall MapRect
0000542E 486E FFD4 pea.l [A6 - 0x2C]
00005432 486E FFF2 pea.l [A6 - 0xE]
00005436 2F0B move.l -[A7], A3
00005438 3F3C 0001 move.w -[A7], 0x1
0000543C 4EBA FC84 jsr [PC - 0x37C /* 000050C2 */]
00005440 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005444 4267 clr.w -[A7]
00005446 4EBA F166 jsr [PC - 0xE9A /* 000045AE */]
label0000544A:
0000544A 6000 0122 bra +0x124 /* 0000556E */
label0000544E:
0000544E 0C2C 0008 0005 cmpi.b [A4 + 0x5], 0x8
00005454 6600 00DC bne +0xDE /* 00005532 */
00005458 207C 0000 028E movea.l A0, 0x28E
0000545E 0C50 7FFF cmpi.w [A0], 0x7FFF
00005462 57C0 seq D0
00005464 6630 bne +0x32 /* 00005496 */
00005466 7202 moveq.l D1, 0x02
00005468 6B18 bmi +0x1A /* 00005482 */
0000546A B27C 000F cmp.w D1, 0xF
0000546E 6E12 bgt +0x14 /* 00005482 */
00005470 204C movea.l A0, A4
00005472 5888 addq.l A0, 4
00005474 3401 move.w D2, D1
00005476 E64A lsr D2.w, 3
00005478 4442 neg.w D2
0000547A 0330 20FF btst [A0 + D2.w - 0x1], D1
0000547E 0A3C 0004 xori.b ccr, 4
label00005482:
00005482 56C1 sne D1
00005484 C001 and.b D0, D1
00005486 670E beq +0x10 /* 00005496 */
00005488 2F07 move.l -[A7], D7
0000548A 486E FFF2 pea.l [A6 - 0xE]
0000548E 4EBA FDA6 jsr [PC - 0x25A /* 00005236 */]
00005492 6000 00DA bra +0xDC /* 0000556E */
label00005496:
00005496 42A7 clr.l -[A7]
00005498 4EBA E5CC jsr [PC - 0x1A34 /* 00003A66 */]
0000549C 205F movea.l A0, [A7]+
0000549E 2068 0128 movea.l A0, [A0 + 0x128]
000054A2 302C 0006 move.w D0, [A4 + 0x6]
000054A6 C1FC 0026 muls.w D0, 0x26 /* '&' */
000054AA 43EE FFDC lea.l A1, [A6 - 0x24]
000054AE 41F0 0006 lea.l A0, [A0 + D0.w + 0x6]
000054B2 7004 moveq.l D0, 0x04
label000054B4:
000054B4 22D8 move.l [A1]+, [A0]+
000054B6 5340 subq.w D0, 1
000054B8 6EFA bgt -0x4 /* 000054B4 */
000054BA 3290 move.w [A1], [A0]
000054BC 42A7 clr.l -[A7]
000054BE 3F2C 0006 move.w -[A7], [A4 + 0x6]
000054C2 4EBA F6DE jsr [PC - 0x922 /* 00004BA2 */]
000054C6 2D5F FFDC move.l [A6 - 0x24], [A7]+
000054CA 4AAE FFDC tst.l [A6 - 0x24]
000054CE 6728 beq +0x2A /* 000054F8 */
000054D0 2047 movea.l A0, D7
000054D2 2F28 0010 move.l -[A7], [A0 + 0x10]
000054D6 486E FFF2 pea.l [A6 - 0xE]
000054DA 41EE FFDC lea.l A0, [A6 - 0x24]
000054DE 2F08 move.l -[A7], A0
000054E0 3F3C 0003 move.w -[A7], 0x3
000054E4 4EBA FBDC jsr [PC - 0x424 /* 000050C2 */]
000054E8 2F2E FFDC move.l -[A7], [A6 - 0x24]
000054EC 4EBA DCFE jsr [PC - 0x2302 /* 000031EC */]
000054F0 2F2E FFDC move.l -[A7], [A6 - 0x24]
000054F4 4EBA DD00 jsr [PC - 0x2300 /* 000031F6 */]
label000054F8:
000054F8 4267 clr.w -[A7]
000054FA 3F2C 0006 move.w -[A7], [A4 + 0x6]
000054FE 4EBA FA98 jsr [PC - 0x568 /* 00004F98 */]
00005502 101F move.b D0, [A7]+
00005504 672A beq +0x2C /* 00005530 */
00005506 42A7 clr.l -[A7]
00005508 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000550C 4EBA F0F6 jsr [PC - 0xF0A /* 00004604 */]
00005510 265F movea.l A3, [A7]+
00005512 2047 movea.l A0, D7
00005514 2F28 0010 move.l -[A7], [A0 + 0x10]
00005518 486E FFF2 pea.l [A6 - 0xE]
0000551C 2F0B move.l -[A7], A3
0000551E 3F3C 0001 move.w -[A7], 0x1
00005522 4EBA FB9E jsr [PC - 0x462 /* 000050C2 */]
00005526 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000552A 4267 clr.w -[A7]
0000552C 4EBA F080 jsr [PC - 0xF80 /* 000045AE */]
label00005530:
00005530 603C bra +0x3E /* 0000556E */
label00005532:
00005532 4267 clr.w -[A7]
00005534 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005538 4EBA FA5E jsr [PC - 0x5A2 /* 00004F98 */]
0000553C 101F move.b D0, [A7]+
0000553E 672E beq +0x30 /* 0000556E */
00005540 42A7 clr.l -[A7]
00005542 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005546 4EBA F0BC jsr [PC - 0xF44 /* 00004604 */]
0000554A 265F movea.l A3, [A7]+
0000554C 2047 movea.l A0, D7
0000554E 2F28 0010 move.l -[A7], [A0 + 0x10]
00005552 486E FFF2 pea.l [A6 - 0xE]
00005556 2F0B move.l -[A7], A3
00005558 102C 0005 move.b D0, [A4 + 0x5]
0000555C 4880 ext.w D0
0000555E 3F00 move.w -[A7], D0
00005560 4EBA FB60 jsr [PC - 0x4A0 /* 000050C2 */]
00005564 3F2C 0006 move.w -[A7], [A4 + 0x6]
00005568 4267 clr.w -[A7]
0000556A 4EBA F042 jsr [PC - 0xFBE /* 000045AE */]
label0000556E:
0000556E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00005572 4E5E unlink A6
00005574 205F movea.l A0, [A7]+
00005576 504F addq.w A7, 8
00005578 4ED0 jmp [A0]
0000557A C24C and.w D1, A4
0000557C 4150 chk.w D0, [A0]
0000557E 4249 clr.w A1
00005580 544D addq.w A5, 2
00005582 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005584-00005588
fn00005584:
00005584 4E56 FFFC link A6, -0x0004
// end alternate branch 00005584-00005588
fn00005584: // (misaligned)
00005586 FFFC .extension 0xFFC // unimplemented
00005588 42A7 clr.l -[A7]
0000558A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000558E 4EBA F074 jsr [PC - 0xF8C /* 00004604 */]
00005592 2D5F FFFC move.l [A6 - 0x4], [A7]+
00005596 206E FFFC movea.l A0, [A6 - 0x4]
0000559A 2D50 000A move.l [A6 + 0xA], [A0]
0000559E 4E5E unlink A6
000055A0 205F movea.l A0, [A7]+
000055A2 544F addq.w A7, 2
000055A4 4ED0 jmp [A0]
000055A6 C752 .incomplete
000055A8 4142 chk.w D0, D2
000055AA 5445 addq.w D5, 2
000055AC 5854 addq.w [A4], 4
000055AE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000055B0-000055B4
fn000055B0:
000055B0 4E56 FFD4 link A6, -0x002C
// end alternate branch 000055B0-000055B4
fn000055B0: // (misaligned)
000055B2 FFD4 .extension 0xFD4 // unimplemented
000055B4 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000055B8 2E2E 0008 move.l D7, [A6 + 0x8]
000055BC 206E 000C movea.l A0, [A6 + 0xC]
000055C0 2068 0010 movea.l A0, [A0 + 0x10]
000055C4 43EE FFE4 lea.l A1, [A6 - 0x1C]
000055C8 22D8 move.l [A1]+, [A0]+
000055CA 22D8 move.l [A1]+, [A0]+
000055CC 206E 000C movea.l A0, [A6 + 0xC]
000055D0 2868 0006 movea.l A4, [A0 + 0x6]
000055D4 42A7 clr.l -[A7]
000055D6 3F2C 0006 move.w -[A7], [A4 + 0x6]
000055DA 4EBA FFA8 jsr [PC - 0x58 /* 00005584 */]
000055DE 2C1F move.l D6, [A7]+
000055E0 4A86 tst.l D6
000055E2 6604 bne +0x6 /* 000055E8 */
000055E4 6000 013A bra +0x13C /* 00005720 */
label000055E8:
000055E8 42A7 clr.l -[A7]
000055EA 2F06 move.l -[A7], D6
000055EC 4EBA DBD4 jsr [PC - 0x242C /* 000031C2 */]
000055F0 2A1F move.l D5, [A7]+
000055F2 2047 movea.l A0, D7
000055F4 2650 movea.l A3, [A0]
000055F6 41EE FFE4 lea.l A0, [A6 - 0x1C]
000055FA 224B movea.l A1, A3
000055FC 22D8 move.l [A1]+, [A0]+
000055FE 22D8 move.l [A1]+, [A0]+
00005600 204B movea.l A0, A3
00005602 5088 addq.l A0, 8
00005604 43EE FFE4 lea.l A1, [A6 - 0x1C]
00005608 20D9 move.l [A0]+, [A1]+
0000560A 20D9 move.l [A0]+, [A1]+
0000560C 2746 003E move.l [A3 + 0x3E], D6
00005610 3745 003C move.w [A3 + 0x3C], D5
00005614 4267 clr.w -[A7]
00005616 4280 clr.l D0
00005618 302C 0004 move.w D0, [A4 + 0x4]
0000561C 720A moveq.l D1, 0x0A
0000561E E2A8 lsr D0, D1
00005620 C0BC 0000 001F and.l D0, 0x1F
00005626 3F00 move.w -[A7], D0
00005628 4EBA E47A jsr [PC - 0x1B86 /* 00003AA4 */]
0000562C 175F 004C move.b [A3 + 0x4C], [A7]+
00005630 4280 clr.l D0
00005632 302C 0002 move.w D0, [A4 + 0x2]
00005636 EE88 lsr D0, 7
00005638 3740 004A move.w [A3 + 0x4A], D0
0000563C 102C 0005 move.b D0, [A4 + 0x5]
00005640 4880 ext.w D0
00005642 3740 0050 move.w [A3 + 0x50], D0
00005646 42A7 clr.l -[A7]
00005648 4EBA E42E jsr [PC - 0x1BD2 /* 00003A78 */]
0000564C 275F 0052 move.l [A3 + 0x52], [A7]+
00005650 2047 movea.l A0, D7
00005652 2050 movea.l A0, [A0]
00005654 4240 clr.w D0
00005656 1028 004C move.b D0, [A0 + 0x4C]
0000565A 3F00 move.w -[A7], D0
0000565C 3F3C 0002 move.w -[A7], 0x2
00005660 3F3C 0002 move.w -[A7], 0x2
00005664 4EBA E362 jsr [PC - 0x1C9E /* 000039C8 */]
00005668 3F3C 0002 move.w -[A7], 0x2
0000566C 548F addq.l A7, 2
0000566E A888 syscall TextFace
00005670 2047 movea.l A0, D7
00005672 2050 movea.l A0, [A0]
00005674 3F28 004A move.w -[A7], [A0 + 0x4A]
00005678 A887 syscall TextFont
0000567A 2047 movea.l A0, D7
0000567C 2050 movea.l A0, [A0]
0000567E 3F28 0050 move.w -[A7], [A0 + 0x50]
00005682 A88A syscall TextSize
00005684 486E FFEC pea.l [A6 - 0x14]
00005688 A88B syscall GetFontInfo
0000568A 302E FFEE move.w D0, [A6 - 0x12]
0000568E D06E FFEC add.w D0, [A6 - 0x14]
00005692 322E FFF2 move.w D1, [A6 - 0xE]
00005696 D240 add.w D1, D0
00005698 2047 movea.l A0, D7
0000569A 2050 movea.l A0, [A0]
0000569C 3141 0018 move.w [A0 + 0x18], D1
000056A0 2047 movea.l A0, D7
000056A2 2050 movea.l A0, [A0]
000056A4 316E FFEC 001A move.w [A0 + 0x1A], [A6 - 0x14]
000056AA 302E FFF0 move.w D0, [A6 - 0x10]
000056AE D06E FFE6 add.w D0, [A6 - 0x1A]
000056B2 B06E FFEA cmp.w D0, [A6 - 0x16]
000056B6 6E5E bgt +0x60 /* 00005716 */
000056B8 4280 clr.l D0
000056BA 102C 0004 move.b D0, [A4 + 0x4]
000056BE C0BC 0000 0003 and.l D0, 0x3
000056C4 5380 subq.l D0, 1
000056C6 3F00 move.w -[A7], D0
000056C8 2F07 move.l -[A7], D7
000056CA A9DF syscall TESetAlignment/TESetJust
000056CC 2F07 move.l -[A7], D7
000056CE A9D0 syscall TECalText
000056D0 4267 clr.w -[A7]
000056D2 486E FFE4 pea.l [A6 - 0x1C]
000056D6 42A7 clr.l -[A7]
000056D8 4EBA E39E jsr [PC - 0x1C62 /* 00003A78 */]
000056DC 205F movea.l A0, [A7]+
000056DE 4868 0010 pea.l [A0 + 0x10]
000056E2 486E FFDC pea.l [A6 - 0x24]
000056E6 A8AA syscall SectRect
000056E8 101F move.b D0, [A7]+
000056EA 672A beq +0x2C /* 00005716 */
000056EC 42A7 clr.l -[A7]
000056EE 4EBA E388 jsr [PC - 0x1C78 /* 00003A78 */]
000056F2 205F movea.l A0, [A7]+
000056F4 43EE FFD4 lea.l A1, [A6 - 0x2C]
000056F8 41E8 0020 lea.l A0, [A0 + 0x20]
000056FC 22D8 move.l [A1]+, [A0]+
000056FE 22D8 move.l [A1]+, [A0]+
00005700 42A7 clr.l -[A7]
00005702 4EBA E394 jsr [PC - 0x1C6C /* 00003A98 */]
00005706 A87C syscall BackPat
00005708 486E FFDC pea.l [A6 - 0x24]
0000570C 2F07 move.l -[A7], D7
0000570E A9D3 syscall TEUpdate
00005710 486E FFD4 pea.l [A6 - 0x2C]
00005714 A87C syscall BackPat
label00005716:
00005716 3F2C 0006 move.w -[A7], [A4 + 0x6]
0000571A 4267 clr.w -[A7]
0000571C 4EBA EE90 jsr [PC - 0x1170 /* 000045AE */]
label00005720:
00005720 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00005724 4E5E unlink A6
00005726 205F movea.l A0, [A7]+
00005728 504F addq.w A7, 8
0000572A 4ED0 jmp [A0]
0000572C D245 add.w D1, D5
0000572E 4E44 trap 4
00005730 5445 addq.w D5, 2
00005732 5854 addq.w [A4], 4
00005734 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005736-00005744
fn00005736:
00005736 4E56 0000 link A6, 0
0000573A 48E7 0018 movem.l -[A7], A3,A4
0000573E 266E 0008 movea.l A3, [A6 + 0x8]
00005742 42A7 clr.l -[A7]
// end alternate branch 00005736-00005744
fn00005736: // (misaligned)
00005738 0000 48E7 ori.b D0, 0xE7
0000573C 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00005740 0008 42A7 ori.b A0, 0xA7
00005744 4EBA E320 jsr [PC - 0x1CE0 /* 00003A66 */]
00005748 285F movea.l A4, [A7]+
0000574A 302B 0002 move.w D0, [A3 + 0x2]
0000574E 6706 beq +0x8 /* 00005756 */
00005750 5340 subq.w D0, 1
00005752 670E beq +0x10 /* 00005762 */
00005754 601E bra +0x20 /* 00005774 */
label00005756:
00005756 2F0B move.l -[A7], A3
00005758 486C 0E3E pea.l [A4 + 0xE3E]
0000575C 4EBA FBBE jsr [PC - 0x442 /* 0000531C */]
00005760 6012 bra +0x14 /* 00005774 */
label00005762:
00005762 2F0B move.l -[A7], A3
00005764 42A7 clr.l -[A7]
00005766 4EBA E310 jsr [PC - 0x1CF0 /* 00003A78 */]
0000576A 205F movea.l A0, [A7]+
0000576C 4868 0002 pea.l [A0 + 0x2]
00005770 4EBA FBAA jsr [PC - 0x456 /* 0000531C */]
label00005774:
00005774 4CDF 1800 movem.l A3,A4, [A7]+
00005778 4E5E unlink A6
0000577A 2E9F move.l [A7], [A7]+
0000577C 4E75 rts
0000577E CD45 exg D6, D5
00005780 5448 addq.w A0, 2
00005782 424D clr.w A5
00005784 5241 addq.w D1, 1
00005786 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005788-0000579A
fn00005788:
00005788 4E56 0000 link A6, 0
0000578C 48E7 0018 movem.l -[A7], A3,A4
00005790 266E 0008 movea.l A3, [A6 + 0x8]
00005794 302B 0002 move.w D0, [A3 + 0x2]
00005798 6706 beq +0x8 /* 000057A0 */
// end alternate branch 00005788-0000579A
fn00005788: // (misaligned)
0000578A 0000 48E7 ori.b D0, 0xE7
0000578E 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00005792 0008 302B ori.b A0, 0x2B /* '+' */
00005796 0002 6706 ori.b D2, 0x6
0000579A 5340 subq.w D0, 1
0000579C 6736 beq +0x38 /* 000057D4 */
0000579E 605E bra +0x60 /* 000057FE */
label000057A0:
000057A0 4EBA F712 jsr [PC - 0x8EE /* 00004EB4 */]
000057A4 286B 0006 movea.l A4, [A3 + 0x6]
000057A8 102C 0001 move.b D0, [A4 + 0x1]
000057AC 4880 ext.w D0
000057AE 3F00 move.w -[A7], D0
000057B0 2F2B 0010 move.l -[A7], [A3 + 0x10]
000057B4 102C 0004 move.b D0, [A4 + 0x4]
000057B8 4880 ext.w D0
000057BA 3F00 move.w -[A7], D0
000057BC 102C 0005 move.b D0, [A4 + 0x5]
000057C0 4880 ext.w D0
000057C2 5040 addq.w D0, 8
000057C4 3F00 move.w -[A7], D0
000057C6 3F2C 0006 move.w -[A7], [A4 + 0x6]
000057CA 4EBA EEC2 jsr [PC - 0x113E /* 0000468E */]
000057CE 4EBA F72C jsr [PC - 0x8D4 /* 00004EFC */]
000057D2 602A bra +0x2C /* 000057FE */
label000057D4:
000057D4 286B 0006 movea.l A4, [A3 + 0x6]
000057D8 102C 0001 move.b D0, [A4 + 0x1]
000057DC 4880 ext.w D0
000057DE 3F00 move.w -[A7], D0
000057E0 2F2B 0010 move.l -[A7], [A3 + 0x10]
000057E4 102C 0004 move.b D0, [A4 + 0x4]
000057E8 4880 ext.w D0
000057EA 3F00 move.w -[A7], D0
000057EC 102C 0005 move.b D0, [A4 + 0x5]
000057F0 4880 ext.w D0
000057F2 5040 addq.w D0, 8
000057F4 3F00 move.w -[A7], D0
000057F6 3F2C 0006 move.w -[A7], [A4 + 0x6]
000057FA 4EBA EE92 jsr [PC - 0x116E /* 0000468E */]
label000057FE:
000057FE 4CDF 1800 movem.l A3,A4, [A7]+
00005802 4E5E unlink A6
00005804 2E9F move.l [A7], [A7]+
00005806 4E75 rts
00005808 CD45 exg D6, D5
0000580A 5448 addq.w A0, 2
0000580C 5144 subq.w D4, 8
0000580E 4F42 chk.w D7, D2
00005810 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005812-00005820
fn00005812:
00005812 4E56 0000 link A6, 0
00005816 206E 0008 movea.l A0, [A6 + 0x8]
0000581A 3028 0002 move.w D0, [A0 + 0x2]
0000581E 6706 beq +0x8 /* 00005826 */
// end alternate branch 00005812-00005820
fn00005812: // (misaligned)
00005814 0000 206E ori.b D0, 0x6E /* 'n' */
00005818 0008 3028 ori.b A0, 0x28 /* '(' */
0000581C 0002 6706 ori.b D2, 0x6
00005820 5340 subq.w D0, 1
00005822 6720 beq +0x22 /* 00005844 */
00005824 6032 bra +0x34 /* 00005858 */
label00005826:
00005826 4EBA F68C jsr [PC - 0x974 /* 00004EB4 */]
0000582A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000582E 42A7 clr.l -[A7]
00005830 4EBA E234 jsr [PC - 0x1DCC /* 00003A66 */]
00005834 205F movea.l A0, [A7]+
00005836 2F28 0E6C move.l -[A7], [A0 + 0xE6C]
0000583A 4EBA FD74 jsr [PC - 0x28C /* 000055B0 */]
0000583E 4EBA F6BC jsr [PC - 0x944 /* 00004EFC */]
00005842 6014 bra +0x16 /* 00005858 */
label00005844:
00005844 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005848 42A7 clr.l -[A7]
0000584A 4EBA E21A jsr [PC - 0x1DE6 /* 00003A66 */]
0000584E 205F movea.l A0, [A7]+
00005850 2F28 0E6C move.l -[A7], [A0 + 0xE6C]
00005854 4EBA FD5A jsr [PC - 0x2A6 /* 000055B0 */]
label00005858:
00005858 4E5E unlink A6
0000585A 2E9F move.l [A7], [A7]+
0000585C 4E75 rts
0000585E CD45 exg D6, D5
00005860 5448 addq.w A0, 2
00005862 5445 addq.w D5, 2
00005864 5854 addq.w [A4], 4
00005866 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005868-0000586E
fn00005868:
00005868 4E56 0000 link A6, 0
0000586C 2F0C move.l -[A7], A4
// end alternate branch 00005868-0000586E
fn00005868: // (misaligned)
0000586A 0000 2F0C ori.b D0, 0xC
0000586E 286E 0008 movea.l A4, [A6 + 0x8]
00005872 4254 clr.w [A4]
00005874 7004 moveq.l D0, 0x04
00005876 2940 0006 move.l [A4 + 0x6], D0
0000587A 41EC 028E lea.l A0, [A4 + 0x28E]
0000587E 2F08 move.l -[A7], A0
00005880 4EBA E4F0 jsr [PC - 0x1B10 /* 00003D72 */]
00005884 41EC 04F6 lea.l A0, [A4 + 0x4F6]
00005888 2F08 move.l -[A7], A0
0000588A 4EBA E4E6 jsr [PC - 0x1B1A /* 00003D72 */]
0000588E 41EC 0026 lea.l A0, [A4 + 0x26]
00005892 2F08 move.l -[A7], A0
00005894 4EBA E4DC jsr [PC - 0x1B24 /* 00003D72 */]
00005898 42AC 0012 clr.l [A4 + 0x12]
0000589C 42AC 0016 clr.l [A4 + 0x16]
000058A0 422C 001D clr.b [A4 + 0x1D]
000058A4 422C 001B clr.b [A4 + 0x1B]
000058A8 422C 001A clr.b [A4 + 0x1A]
000058AC 285F movea.l A4, [A7]+
000058AE 4E5E unlink A6
000058B0 2E9F move.l [A7], [A7]+
000058B2 4E75 rts
000058B4 D245 add.w D1, D5
000058B6 5345 subq.w D5, 1
000058B8 5444 addq.w D4, 2
000058BA 4543 chk.w D2, D3
000058BC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000058BE-000058C4
fn000058BE:
000058BE 4E56 0000 link A6, 0
000058C2 2F0C move.l -[A7], A4
// end alternate branch 000058BE-000058C4
fn000058BE: // (misaligned)
000058C0 0000 2F0C ori.b D0, 0xC
000058C4 286E 0008 movea.l A4, [A6 + 0x8]
000058C8 2F0C move.l -[A7], A4
000058CA 4EBA FF9C jsr [PC - 0x64 /* 00005868 */]
000058CE 7004 moveq.l D0, 0x04
000058D0 2940 0002 move.l [A4 + 0x2], D0
000058D4 7004 moveq.l D0, 0x04
000058D6 2940 001E move.l [A4 + 0x1E], D0
000058DA 7004 moveq.l D0, 0x04
000058DC 2940 0022 move.l [A4 + 0x22], D0
000058E0 42AC 000A clr.l [A4 + 0xA]
000058E4 285F movea.l A4, [A7]+
000058E6 4E5E unlink A6
000058E8 2E9F move.l [A7], [A7]+
000058EA 4E75 rts
000058EC C94E exg A4, A6
000058EE 4954 chk.w D4, [A4]
000058F0 4445 neg.w D5
000058F2 434B chk.w D1, A3
000058F4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000058F6-000058FC
fn000058F6:
000058F6 4E56 0000 link A6, 0
000058FA 2F0C move.l -[A7], A4
// end alternate branch 000058F6-000058FC
fn000058F6: // (misaligned)
000058F8 0000 2F0C ori.b D0, 0xC
000058FC 286E 0008 movea.l A4, [A6 + 0x8]
00005900 102C 001A move.b D0, [A4 + 0x1A]
00005904 0A00 0001 xori.b D0, 0x1
00005908 6724 beq +0x26 /* 0000592E */
0000590A 42A7 clr.l -[A7]
0000590C 7004 moveq.l D0, 0x04
0000590E 2F00 move.l -[A7], D0
00005910 4EBA D89A jsr [PC - 0x2766 /* 000031AC */]
00005914 295F 0016 move.l [A4 + 0x16], [A7]+
00005918 206C 0016 movea.l A0, [A4 + 0x16]
0000591C 2050 movea.l A0, [A0]
0000591E 7004 moveq.l D0, 0x04
00005920 2080 move.l [A0], D0
00005922 296C 0002 001E move.l [A4 + 0x1E], [A4 + 0x2]
00005928 197C 0001 001A move.b [A4 + 0x1A], 0x1
label0000592E:
0000592E 285F movea.l A4, [A7]+
00005930 4E5E unlink A6
00005932 2E9F move.l [A7], [A7]+
00005934 4E75 rts
00005936 D354 add.w [A4], D1
00005938 4152 chk.w D0, [A2]
0000593A 5452 addq.w [A2], 2
0000593C 4543 chk.w D2, D3
0000593E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005940-00005944
fn00005940:
00005940 4E56 FFFC link A6, -0x0004
// end alternate branch 00005940-00005944
fn00005940: // (misaligned)
00005942 FFFC .extension 0xFFC // unimplemented
00005944 206E 0008 movea.l A0, [A6 + 0x8]
00005948 2050 movea.l A0, [A0]
0000594A 2D50 FFFC move.l [A6 - 0x4], [A0]
0000594E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005952 2F2E FFFC move.l -[A7], [A6 - 0x4]
00005956 4EBA D87E jsr [PC - 0x2782 /* 000031D6 */]
0000595A 4E5E unlink A6
0000595C 2E9F move.l [A7], [A7]+
0000595E 4E75 rts
00005960 D452 add.w D2, [A2]
00005962 494D chk.w D4, A5
00005964 4844 swap.w D4
00005966 4C20 0000 movem.w <none>, -[A0]
fn0000596A:
0000596A 4E56 FFD8 link A6, -0x0028
0000596E 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00005972 286E 0008 movea.l A4, [A6 + 0x8]
00005976 102C 001D move.b D0, [A4 + 0x1D]
0000597A 0A00 0001 xori.b D0, 0x1
0000597E 6700 00F0 beq +0xF2 /* 00005A70 */
00005982 4AAC 000A tst.l [A4 + 0xA]
00005986 6616 bne +0x18 /* 0000599E */
00005988 296C 0016 000A move.l [A4 + 0xA], [A4 + 0x16]
0000598E 42AC 0016 clr.l [A4 + 0x16]
00005992 2F2C 000A move.l -[A7], [A4 + 0xA]
00005996 4EBA FFA8 jsr [PC - 0x58 /* 00005940 */]
0000599A 6000 00CC bra +0xCE /* 00005A68 */
label0000599E:
0000599E 2F2C 000A move.l -[A7], [A4 + 0xA]
000059A2 4EBA FF9C jsr [PC - 0x64 /* 00005940 */]
000059A6 2D6C 001E FFF4 move.l [A6 - 0xC], [A4 + 0x1E]
000059AC 202C 0022 move.l D0, [A4 + 0x22]
000059B0 90AC 001E sub.l D0, [A4 + 0x1E]
000059B4 2C00 move.l D6, D0
000059B6 97CB sub.l A3, A3
000059B8 206C 0016 movea.l A0, [A4 + 0x16]
000059BC 2050 movea.l A0, [A0]
000059BE 2010 move.l D0, [A0]
000059C0 5980 subq.l D0, 4
000059C2 2A00 move.l D5, D0
000059C4 2005 move.l D0, D5
000059C6 9086 sub.l D0, D6
000059C8 2800 move.l D4, D0
000059CA 4A84 tst.l D4
000059CC 6F44 ble +0x46 /* 00005A12 */
000059CE 42A7 clr.l -[A7]
000059D0 2F2C 000A move.l -[A7], [A4 + 0xA]
000059D4 4EBA D7EC jsr [PC - 0x2814 /* 000031C2 */]
000059D8 2E1F move.l D7, [A7]+
000059DA 2F2C 000A move.l -[A7], [A4 + 0xA]
000059DE 2007 move.l D0, D7
000059E0 D084 add.l D0, D4
000059E2 2F00 move.l -[A7], D0
000059E4 4EBA D7F0 jsr [PC - 0x2810 /* 000031D6 */]
000059E8 4267 clr.w -[A7]
000059EA 3F3C 0002 move.w -[A7], 0x2
000059EE 4EBA EEDA jsr [PC - 0x1126 /* 000048CA */]
000059F2 101F move.b D0, [A7]+
000059F4 6712 beq +0x14 /* 00005A08 */
000059F6 197C 0001 001D move.b [A4 + 0x1D], 0x1
000059FC 2F2C 000A move.l -[A7], [A4 + 0xA]
00005A00 2F07 move.l -[A7], D7
00005A02 4EBA D7D2 jsr [PC - 0x282E /* 000031D6 */]
00005A06 6038 bra +0x3A /* 00005A40 */
label00005A08:
00005A08 2F2C 000A move.l -[A7], [A4 + 0xA]
00005A0C 2F07 move.l -[A7], D7
00005A0E 4EBA D7C6 jsr [PC - 0x283A /* 000031D6 */]
label00005A12:
00005A12 2F2C 0016 move.l -[A7], [A4 + 0x16]
00005A16 4EBA D7CA jsr [PC - 0x2836 /* 000031E2 */]
00005A1A 206C 0016 movea.l A0, [A4 + 0x16]
00005A1E 2010 move.l D0, [A0]
00005A20 5880 addq.l D0, 4
00005A22 2D40 FFDC move.l [A6 - 0x24], D0
00005A26 42A7 clr.l -[A7]
00005A28 2F2C 000A move.l -[A7], [A4 + 0xA]
00005A2C 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00005A30 2F0B move.l -[A7], A3
00005A32 2F06 move.l -[A7], D6
00005A34 2F2E FFDC move.l -[A7], [A6 - 0x24]
00005A38 2F05 move.l -[A7], D5
00005A3A A9E0 syscall Munger
00005A3C 2D5F FFF0 move.l [A6 - 0x10], [A7]+
label00005A40:
00005A40 2F2C 0016 move.l -[A7], [A4 + 0x16]
00005A44 4EBA D7A6 jsr [PC - 0x285A /* 000031EC */]
00005A48 486C 0016 pea.l [A4 + 0x16]
00005A4C 4EBA F43A jsr [PC - 0xBC6 /* 00004E88 */]
00005A50 42A7 clr.l -[A7]
00005A52 2F2C 000A move.l -[A7], [A4 + 0xA]
00005A56 4EBA D76A jsr [PC - 0x2896 /* 000031C2 */]
00005A5A 2D5F FFF8 move.l [A6 - 0x8], [A7]+
00005A5E 206C 000A movea.l A0, [A4 + 0xA]
00005A62 2050 movea.l A0, [A0]
00005A64 20AE FFF8 move.l [A0], [A6 - 0x8]
label00005A68:
00005A68 422C 001B clr.b [A4 + 0x1B]
00005A6C 422C 001A clr.b [A4 + 0x1A]
label00005A70:
00005A70 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00005A74 4E5E unlink A6
00005A76 2E9F move.l [A7], [A7]+
00005A78 4E75 rts
00005A7A CD55 .incomplete
00005A7C 4E47 trap 7
00005A7E 5245 addq.w D5, 1
00005A80 4320 .invalid 1, -[A0] // invalid opcode 4 with b == 4
00005A82 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005A84-00005A8A
fn00005A84:
00005A84 4E56 0000 link A6, 0
00005A88 2F0C move.l -[A7], A4
// end alternate branch 00005A84-00005A8A
fn00005A84: // (misaligned)
00005A86 0000 2F0C ori.b D0, 0xC
00005A8A 286E 0008 movea.l A4, [A6 + 0x8]
00005A8E 102C 001A move.b D0, [A4 + 0x1A]
00005A92 6728 beq +0x2A /* 00005ABC */
00005A94 197C 0001 001B move.b [A4 + 0x1B], 0x1
00005A9A 2F2C 0016 move.l -[A7], [A4 + 0x16]
00005A9E 41EC 028E lea.l A0, [A4 + 0x28E]
00005AA2 2F08 move.l -[A7], A0
00005AA4 41EC 04F6 lea.l A0, [A4 + 0x4F6]
00005AA8 2F08 move.l -[A7], A0
00005AAA 4EBA E152 jsr [PC - 0x1EAE /* 00003BFE */]
00005AAE 4267 clr.w -[A7]
00005AB0 A9AF syscall ResError
00005AB2 4A5F tst.w [A7]+
00005AB4 6706 beq +0x8 /* 00005ABC */
00005AB6 197C 0001 001D move.b [A4 + 0x1D], 0x1
label00005ABC:
00005ABC 285F movea.l A4, [A7]+
00005ABE 4E5E unlink A6
00005AC0 2E9F move.l [A7], [A7]+
00005AC2 4E75 rts
00005AC4 D245 add.w D1, D5
00005AC6 4353 chk.w D1, [A3]
00005AC8 4156 chk.w D0, [A6]
00005ACA 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
00005ACC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005ACE-00005AE6
fn00005ACE:
00005ACE 4E56 0000 link A6, 0
00005AD2 206E 0008 movea.l A0, [A6 + 0x8]
00005AD6 41E8 028E lea.l A0, [A0 + 0x28E]
00005ADA 2F08 move.l -[A7], A0
00005ADC 206E 0008 movea.l A0, [A6 + 0x8]
00005AE0 41E8 04F6 lea.l A0, [A0 + 0x4F6]
00005AE4 2F08 move.l -[A7], A0
// end alternate branch 00005ACE-00005AE6
fn00005ACE: // (misaligned)
00005AD0 0000 206E ori.b D0, 0x6E /* 'n' */
00005AD4 0008 41E8 ori.b A0, 0xE8
00005AD8 028E 2F08 206E andi.l A6, 0x2F08206E
00005ADE 0008 41E8 ori.b A0, 0xE8
00005AE2 04F6 2F08 subi.? [A6 + <<invalid base displacement size>> + D2 * 8], 0xFFFFFFFFFFFFFFFF
00005AE6 4EBA E2CA jsr [PC - 0x1D36 /* 00003DB2 */]
00005AEA 4E5E unlink A6
00005AEC 2E9F move.l [A7], [A7]+
00005AEE 4E75 rts
00005AF0 C455 and.w D2, [A5]
00005AF2 424F clr.w A7
00005AF4 5645 addq.w D5, 3
00005AF6 5220 addq.b -[A0], 1
00005AF8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005AFA-00005B00
fn00005AFA:
00005AFA 4E56 0000 link A6, 0
00005AFE 2F0C move.l -[A7], A4
// end alternate branch 00005AFA-00005B00
fn00005AFA: // (misaligned)
00005AFC 0000 2F0C ori.b D0, 0xC
00005B00 286E 0008 movea.l A4, [A6 + 0x8]
00005B04 102C 001B move.b D0, [A4 + 0x1B]
00005B08 6706 beq +0x8 /* 00005B10 */
00005B0A 2F0C move.l -[A7], A4
00005B0C 4EBA FE5C jsr [PC - 0x1A4 /* 0000596A */]
label00005B10:
00005B10 102C 001A move.b D0, [A4 + 0x1A]
00005B14 670C beq +0xE /* 00005B22 */
00005B16 486C 0016 pea.l [A4 + 0x16]
00005B1A 4EBA F36C jsr [PC - 0xC94 /* 00004E88 */]
00005B1E 422C 001A clr.b [A4 + 0x1A]
label00005B22:
00005B22 102C 001D move.b D0, [A4 + 0x1D]
00005B26 670E beq +0x10 /* 00005B36 */
00005B28 42A7 clr.l -[A7]
00005B2A 4EBA DF3A jsr [PC - 0x20C6 /* 00003A66 */]
00005B2E 205F movea.l A0, [A7]+
00005B30 317C 0002 0014 move.w [A0 + 0x14], 0x2
label00005B36:
00005B36 422C 001D clr.b [A4 + 0x1D]
00005B3A 285F movea.l A4, [A7]+
00005B3C 4E5E unlink A6
00005B3E 2E9F move.l [A7], [A7]+
00005B40 4E75 rts
00005B42 C34C exg A1, A4
00005B44 4F53 chk.w D7, [A3]
00005B46 4552 chk.w D2, [A2]
00005B48 4543 chk.w D2, D3
00005B4A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005B4C-00005B52
fn00005B4C:
00005B4C 4E56 0000 link A6, 0
00005B50 2F0C move.l -[A7], A4
// end alternate branch 00005B4C-00005B52
fn00005B4C: // (misaligned)
00005B4E 0000 2F0C ori.b D0, 0xC
00005B52 42A7 clr.l -[A7]
00005B54 4EBA DF10 jsr [PC - 0x20F0 /* 00003A66 */]
00005B58 205F movea.l A0, [A7]+
00005B5A 2868 089A movea.l A4, [A0 + 0x89A]
00005B5E 486C 0016 pea.l [A4 + 0x16]
00005B62 4EBA F324 jsr [PC - 0xCDC /* 00004E88 */]
00005B66 422C 001A clr.b [A4 + 0x1A]
00005B6A 422C 001B clr.b [A4 + 0x1B]
00005B6E 422C 001D clr.b [A4 + 0x1D]
00005B72 285F movea.l A4, [A7]+
00005B74 4E5E unlink A6
00005B76 4E75 rts
00005B78 C142 exg D0, D2
00005B7A 4F52 chk.w D7, [A2]
00005B7C 5452 addq.w [A2], 2
00005B7E 4543 chk.w D2, D3
00005B80 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005B82-00005B88
fn00005B82:
00005B82 4E56 0000 link A6, 0
00005B86 42A7 clr.l -[A7]
// end alternate branch 00005B82-00005B88
fn00005B82: // (misaligned)
00005B84 0000 42A7 ori.b D0, 0xA7
00005B88 4EBA DEDC jsr [PC - 0x2124 /* 00003A66 */]
00005B8C 205F movea.l A0, [A7]+
00005B8E 2F28 089A move.l -[A7], [A0 + 0x89A]
00005B92 4EBA FF66 jsr [PC - 0x9A /* 00005AFA */]
00005B96 4E5E unlink A6
00005B98 4E75 rts
00005B9A C34C exg A1, A4
00005B9C 4F53 chk.w D7, [A3]
00005B9E 4553 chk.w D2, [A3]
00005BA0 5450 addq.w [A0], 2
00005BA2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005BA4-00005BAA
fn00005BA4:
00005BA4 4E56 0000 link A6, 0
00005BA8 2F0C move.l -[A7], A4
// end alternate branch 00005BA4-00005BAA
fn00005BA4: // (misaligned)
00005BA6 0000 2F0C ori.b D0, 0xC
00005BAA 42A7 clr.l -[A7]
00005BAC 4EBA DEB8 jsr [PC - 0x2148 /* 00003A66 */]
00005BB0 285F movea.l A4, [A7]+
00005BB2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005BB6 4EBA FF42 jsr [PC - 0xBE /* 00005AFA */]
00005BBA 206E 0008 movea.l A0, [A6 + 0x8]
00005BBE 226C 089A movea.l A1, [A4 + 0x89A]
00005BC2 2368 000A 000A move.l [A1 + 0xA], [A0 + 0xA]
00005BC8 206C 089A movea.l A0, [A4 + 0x89A]
00005BCC 3F10 move.w -[A7], [A0]
00005BCE 4EBA 1478 jsr [PC + 0x1478 /* 00007048 */]
00005BD2 4267 clr.w -[A7]
00005BD4 2F2C 089A move.l -[A7], [A4 + 0x89A]
00005BD8 4EBA 0046 jsr [PC + 0x46 /* 00005C20 */]
00005BDC 195F 001A move.b [A4 + 0x1A], [A7]+
00005BE0 285F movea.l A4, [A7]+
00005BE2 4E5E unlink A6
00005BE4 2E9F move.l [A7], [A7]+
00005BE6 4E75 rts
00005BE8 C34C exg A1, A4
00005BEA 4F53 chk.w D7, [A3]
00005BEC 544F addq.w A7, 2
00005BEE 5354 subq.w [A4], 1
00005BF0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005BF2-00005BF8
fn00005BF2:
00005BF2 4E56 0000 link A6, 0
00005BF6 2F0C move.l -[A7], A4
// end alternate branch 00005BF2-00005BF8
fn00005BF2: // (misaligned)
00005BF4 0000 2F0C ori.b D0, 0xC
00005BF8 42A7 clr.l -[A7]
00005BFA 4EBA DE6A jsr [PC - 0x2196 /* 00003A66 */]
00005BFE 285F movea.l A4, [A7]+
00005C00 4EBA FF80 jsr [PC - 0x80 /* 00005B82 */]
00005C04 422C 001A clr.b [A4 + 0x1A]
00005C08 2F2C 089A move.l -[A7], [A4 + 0x89A]
00005C0C 4EBA FC5A jsr [PC - 0x3A6 /* 00005868 */]
00005C10 285F movea.l A4, [A7]+
00005C12 4E5E unlink A6
00005C14 4E75 rts
00005C16 D245 add.w D1, D5
00005C18 5345 subq.w D5, 1
00005C1A 5450 addq.w [A0], 2
00005C1C 524F addq.w A7, 1
00005C1E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005C20-00005C2E
fn00005C20:
00005C20 4E56 0000 link A6, 0
00005C24 206E 0008 movea.l A0, [A6 + 0x8]
00005C28 4AA8 000A tst.l [A0 + 0xA]
00005C2C 671C beq +0x1E /* 00005C4A */
// end alternate branch 00005C20-00005C2E
fn00005C20: // (misaligned)
00005C22 0000 206E ori.b D0, 0x6E /* 'n' */
00005C26 0008 4AA8 ori.b A0, 0xA8
00005C2A 000A 671C ori.b A2, 0x1C
00005C2E 206E 0008 movea.l A0, [A6 + 0x8]
00005C32 226E 0008 movea.l A1, [A6 + 0x8]
00005C36 2269 000A movea.l A1, [A1 + 0xA]
00005C3A 2251 movea.l A1, [A1]
00005C3C 2028 0006 move.l D0, [A0 + 0x6]
00005C40 B091 cmp.l D0, [A1]
00005C42 6C06 bge +0x8 /* 00005C4A */
00005C44 422E 000C clr.b [A6 + 0xC]
00005C48 6006 bra +0x8 /* 00005C50 */
label00005C4A:
00005C4A 1D7C 0001 000C move.b [A6 + 0xC], 0x1
label00005C50:
00005C50 4E5E unlink A6
00005C52 2E9F move.l [A7], [A7]+
00005C54 4E75 rts
00005C56 D041 add.w D0, D1
00005C58 5354 subq.w [A4], 1
00005C5A 454E chk.w D2, A6
00005C5C 4420 neg.b -[A0]
00005C5E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005C60-00005C64
fn00005C60:
00005C60 4E56 FFFC link A6, -0x0004
// end alternate branch 00005C60-00005C64
fn00005C60: // (misaligned)
00005C62 FFFC .extension 0xFFC // unimplemented
00005C64 2F0C move.l -[A7], A4
00005C66 286E 000A movea.l A4, [A6 + 0xA]
00005C6A 2F0C move.l -[A7], A4
00005C6C 4EBA FE60 jsr [PC - 0x1A0 /* 00005ACE */]
00005C70 296C 0006 0002 move.l [A4 + 0x2], [A4 + 0x6]
00005C76 4267 clr.w -[A7]
00005C78 2F0C move.l -[A7], A4
00005C7A 4EBA FFA4 jsr [PC - 0x5C /* 00005C20 */]
00005C7E 101F move.b D0, [A7]+
00005C80 0A00 0001 xori.b D0, 0x1
00005C84 6728 beq +0x2A /* 00005CAE */
00005C86 2F2C 000A move.l -[A7], [A4 + 0xA]
00005C8A 41EC 0026 lea.l A0, [A4 + 0x26]
00005C8E 2F08 move.l -[A7], A0
00005C90 486C 0006 pea.l [A4 + 0x6]
00005C94 486C 000E pea.l [A4 + 0xE]
00005C98 4EBA E012 jsr [PC - 0x1FEE /* 00003CAC */]
00005C9C 41EC 0026 lea.l A0, [A4 + 0x26]
00005CA0 2F08 move.l -[A7], A0
00005CA2 41EC 028E lea.l A0, [A4 + 0x28E]
00005CA6 2F08 move.l -[A7], A0
00005CA8 4EBA E0E6 jsr [PC - 0x1F1A /* 00003D90 */]
00005CAC 601E bra +0x20 /* 00005CCC */
label00005CAE:
00005CAE 42AC 000E clr.l [A4 + 0xE]
00005CB2 102E 0008 move.b D0, [A6 + 0x8]
00005CB6 6714 beq +0x16 /* 00005CCC */
00005CB8 41EC 0026 lea.l A0, [A4 + 0x26]
00005CBC 2F08 move.l -[A7], A0
00005CBE 4EBA E0B2 jsr [PC - 0x1F4E /* 00003D72 */]
00005CC2 41EC 028E lea.l A0, [A4 + 0x28E]
00005CC6 2F08 move.l -[A7], A0
00005CC8 4EBA E0A8 jsr [PC - 0x1F58 /* 00003D72 */]
label00005CCC:
00005CCC 3014 move.w D0, [A4]
00005CCE 5240 addq.w D0, 1
00005CD0 3880 move.w [A4], D0
00005CD2 296C 0006 0022 move.l [A4 + 0x22], [A4 + 0x6]
00005CD8 285F movea.l A4, [A7]+
00005CDA 4E5E unlink A6
00005CDC 205F movea.l A0, [A7]+
00005CDE 5C4F addq.w A7, 6
00005CE0 4ED0 jmp [A0]
00005CE2 CC4F and.w D6, A7
00005CE4 4144 chk.w D0, D4
00005CE6 4E58 unlink A0
00005CE8 5446 addq.w D6, 2
00005CEA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005CEC-00005CFA
fn00005CEC:
00005CEC 4E56 0000 link A6, 0
00005CF0 48E7 0018 movem.l -[A7], A3,A4
00005CF4 266E 0008 movea.l A3, [A6 + 0x8]
00005CF8 7004 moveq.l D0, 0x04
// end alternate branch 00005CEC-00005CFA
fn00005CEC: // (misaligned)
00005CEE 0000 48E7 ori.b D0, 0xE7
00005CF2 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00005CF6 0008 7004 ori.b A0, 0x4
00005CFA 2740 0006 move.l [A3 + 0x6], D0
00005CFE 41EB 028E lea.l A0, [A3 + 0x28E]
00005D02 2F08 move.l -[A7], A0
00005D04 4EBA E06C jsr [PC - 0x1F94 /* 00003D72 */]
00005D08 41EB 0026 lea.l A0, [A3 + 0x26]
00005D0C 2F08 move.l -[A7], A0
00005D0E 4EBA E062 jsr [PC - 0x1F9E /* 00003D72 */]
00005D12 49EB 04F6 lea.l A4, [A3 + 0x4F6]
00005D16 426C 0006 clr.w [A4 + 0x6]
00005D1A 276B 0006 0002 move.l [A3 + 0x2], [A3 + 0x6]
00005D20 4267 clr.w -[A7]
00005D22 2F0B move.l -[A7], A3
00005D24 4EBA FEFA jsr [PC - 0x106 /* 00005C20 */]
00005D28 101F move.b D0, [A7]+
00005D2A 0A00 0001 xori.b D0, 0x1
00005D2E 6726 beq +0x28 /* 00005D56 */
00005D30 2F2B 000A move.l -[A7], [A3 + 0xA]
00005D34 41EB 0026 lea.l A0, [A3 + 0x26]
00005D38 2F08 move.l -[A7], A0
00005D3A 486B 0006 pea.l [A3 + 0x6]
00005D3E 486B 000E pea.l [A3 + 0xE]
00005D42 4EBA DF68 jsr [PC - 0x2098 /* 00003CAC */]
00005D46 41EB 0026 lea.l A0, [A3 + 0x26]
00005D4A 2F08 move.l -[A7], A0
00005D4C 41EB 028E lea.l A0, [A3 + 0x28E]
00005D50 2F08 move.l -[A7], A0
00005D52 4EBA E03C jsr [PC - 0x1FC4 /* 00003D90 */]
label00005D56:
00005D56 42A7 clr.l -[A7]
00005D58 4EBA DD0C jsr [PC - 0x22F4 /* 00003A66 */]
00005D5C 205F movea.l A0, [A7]+
00005D5E 4228 001A clr.b [A0 + 0x1A]
00005D62 36BC 0001 move.w [A3], 0x1
00005D66 276B 0006 0022 move.l [A3 + 0x22], [A3 + 0x6]
00005D6C 4CDF 1800 movem.l A3,A4, [A7]+
00005D70 4E5E unlink A6
00005D72 2E9F move.l [A7], [A7]+
00005D74 4E75 rts
00005D76 CC4F and.w D6, A7
00005D78 4F50 chk.w D7, [A0]
00005D7A 4241 clr.w D1
00005D7C 434B chk.w D1, A3
00005D7E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005D80-00005D86
fn00005D80:
00005D80 4E56 0000 link A6, 0
00005D84 2F0C move.l -[A7], A4
// end alternate branch 00005D80-00005D86
fn00005D80: // (misaligned)
00005D82 0000 2F0C ori.b D0, 0xC
00005D86 286E 0008 movea.l A4, [A6 + 0x8]
00005D8A 296C 0006 0002 move.l [A4 + 0x2], [A4 + 0x6]
00005D90 4267 clr.w -[A7]
00005D92 2F0C move.l -[A7], A4
00005D94 4EBA FE8A jsr [PC - 0x176 /* 00005C20 */]
00005D98 101F move.b D0, [A7]+
00005D9A 0A00 0001 xori.b D0, 0x1
00005D9E 671C beq +0x1E /* 00005DBC */
00005DA0 2F2C 000A move.l -[A7], [A4 + 0xA]
00005DA4 41EC 0026 lea.l A0, [A4 + 0x26]
00005DA8 2F08 move.l -[A7], A0
00005DAA 486C 0006 pea.l [A4 + 0x6]
00005DAE 486C 000E pea.l [A4 + 0xE]
00005DB2 4EBA DEF8 jsr [PC - 0x2108 /* 00003CAC */]
00005DB6 296C 0006 0022 move.l [A4 + 0x22], [A4 + 0x6]
label00005DBC:
00005DBC 3014 move.w D0, [A4]
00005DBE 5240 addq.w D0, 1
00005DC0 3880 move.w [A4], D0
00005DC2 285F movea.l A4, [A7]+
00005DC4 4E5E unlink A6
00005DC6 2E9F move.l [A7], [A7]+
00005DC8 4E75 rts
00005DCA D343 addx.w D1, D3
00005DCC 414E chk.w D0, A6
00005DCE 5046 addq.w D6, 8
00005DD0 5241 addq.w D1, 1
00005DD2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005DD4-00005DDA
fn00005DD4:
00005DD4 4E56 0000 link A6, 0
00005DD8 2F0C move.l -[A7], A4
// end alternate branch 00005DD4-00005DDA
fn00005DD4: // (misaligned)
00005DD6 0000 2F0C ori.b D0, 0xC
00005DDA 286E 000A movea.l A4, [A6 + 0xA]
00005DDE 2F0C move.l -[A7], A4
00005DE0 4EBA FA86 jsr [PC - 0x57A /* 00005868 */]
label00005DE4:
00005DE4 302E 0008 move.w D0, [A6 + 0x8]
00005DE8 5340 subq.w D0, 1
00005DEA B054 cmp.w D0, [A4]
00005DEC 6F08 ble +0xA /* 00005DF6 */
00005DEE 2F0C move.l -[A7], A4
00005DF0 4EBA FF8E jsr [PC - 0x72 /* 00005D80 */]
00005DF4 60EE bra -0x10 /* 00005DE4 */
label00005DF6:
00005DF6 41EC 0026 lea.l A0, [A4 + 0x26]
00005DFA 2F08 move.l -[A7], A0
00005DFC 41EC 028E lea.l A0, [A4 + 0x28E]
00005E00 2F08 move.l -[A7], A0
00005E02 4EBA DF8C jsr [PC - 0x2074 /* 00003D90 */]
00005E06 2F0C move.l -[A7], A4
00005E08 4EBA FCC4 jsr [PC - 0x33C /* 00005ACE */]
00005E0C 4A6E 0008 tst.w [A6 + 0x8]
00005E10 6F0A ble +0xC /* 00005E1C */
00005E12 2F0C move.l -[A7], A4
00005E14 1F3C 0001 move.b -[A7], 0x1
00005E18 4EBA FE46 jsr [PC - 0x1BA /* 00005C60 */]
label00005E1C:
00005E1C 285F movea.l A4, [A7]+
00005E1E 4E5E unlink A6
00005E20 205F movea.l A0, [A7]+
00005E22 5C4F addq.w A7, 6
00005E24 4ED0 jmp [A0]
00005E26 C94E exg A4, A6
00005E28 5846 addq.w D6, 4
00005E2A 5241 addq.w D1, 1
00005E2C 4D45 chk.w D6, D5
00005E2E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005E30-00005E36
fn00005E30:
00005E30 4E56 0000 link A6, 0
00005E34 2F0C move.l -[A7], A4
// end alternate branch 00005E30-00005E36
fn00005E30: // (misaligned)
00005E32 0000 2F0C ori.b D0, 0xC
00005E36 42A7 clr.l -[A7]
00005E38 4EBA DC2C jsr [PC - 0x23D4 /* 00003A66 */]
00005E3C 285F movea.l A4, [A7]+
00005E3E 422C 0018 clr.b [A4 + 0x18]
00005E42 2F2C 089A move.l -[A7], [A4 + 0x89A]
00005E46 4EBA FA76 jsr [PC - 0x58A /* 000058BE */]
00005E4A 42AC 0B14 clr.l [A4 + 0xB14]
00005E4E 285F movea.l A4, [A7]+
00005E50 4E5E unlink A6
00005E52 4E75 rts
00005E54 C94E exg A4, A6
00005E56 4954 chk.w D4, [A4]
00005E58 5245 addq.w D5, 1
00005E5A 434F chk.w D1, A7
00005E5C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005E5E-00005E62
fn00005E5E:
00005E5E 4E56 FFF0 link A6, -0x0010
// end alternate branch 00005E5E-00005E62
fn00005E5E: // (misaligned)
00005E60 FFF0 .extension 0xFF0 // unimplemented
00005E62 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00005E66 266E 000C movea.l A3, [A6 + 0xC]
00005E6A 42A7 clr.l -[A7]
00005E6C 4EBA DBF8 jsr [PC - 0x2408 /* 00003A66 */]
00005E70 205F movea.l A0, [A7]+
00005E72 2068 012C movea.l A0, [A0 + 0x12C]
00005E76 2050 movea.l A0, [A0]
00005E78 302B 0006 move.w D0, [A3 + 0x6]
00005E7C C1FC 0026 muls.w D0, 0x26 /* '&' */
00005E80 49F0 0000 lea.l A4, [A0 + D0.w]
00005E84 0C2B 0001 0001 cmpi.b [A3 + 0x1], 0x1
00005E8A 56C0 sne D0
00005E8C 6614 bne +0x16 /* 00005EA2 */
00005E8E 4A6B 000E tst.w [A3 + 0xE]
00005E92 5FC1 sle D1
00005E94 8001 or.b D0, D1
00005E96 660A bne +0xC /* 00005EA2 */
00005E98 4A6B 000C tst.w [A3 + 0xC]
00005E9C 5FC1 sle D1
00005E9E 8001 or.b D0, D1
00005EA0 6726 beq +0x28 /* 00005EC8 */
label00005EA2:
00005EA2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00005EA6 3F2B 000A move.w -[A7], [A3 + 0xA]
00005EAA 3F2B 0008 move.w -[A7], [A3 + 0x8]
00005EAE 302B 000E move.w D0, [A3 + 0xE]
00005EB2 D06B 000A add.w D0, [A3 + 0xA]
00005EB6 3F00 move.w -[A7], D0
00005EB8 302B 000C move.w D0, [A3 + 0xC]
00005EBC D06B 0008 add.w D0, [A3 + 0x8]
00005EC0 3F00 move.w -[A7], D0
00005EC2 A8A7 syscall SetRect
00005EC4 6000 00D4 bra +0xD6 /* 00005F9A */
label00005EC8:
00005EC8 2D6C 0020 FFF4 move.l [A6 - 0xC], [A4 + 0x20]
00005ECE 7002 moveq.l D0, 0x02
00005ED0 6B18 bmi +0x1A /* 00005EEA */
00005ED2 B07C 000F cmp.w D0, 0xF
00005ED6 6E12 bgt +0x14 /* 00005EEA */
00005ED8 204B movea.l A0, A3
00005EDA 5888 addq.l A0, 4
00005EDC 3200 move.w D1, D0
00005EDE E649 lsr D1.w, 3
00005EE0 4441 neg.w D1
00005EE2 0130 10FF btst [A0 + D1.w - 0x1], D0
00005EE6 0A3C 0004 xori.b ccr, 4
label00005EEA:
00005EEA 6622 bne +0x24 /* 00005F0E */
00005EEC 486E FFF8 pea.l [A6 - 0x8]
00005EF0 4267 clr.w -[A7]
00005EF2 4267 clr.w -[A7]
00005EF4 3F2B 000E move.w -[A7], [A3 + 0xE]
00005EF8 3F2B 000C move.w -[A7], [A3 + 0xC]
00005EFC A8A7 syscall SetRect
00005EFE 486E FFF4 pea.l [A6 - 0xC]
00005F02 486C 0010 pea.l [A4 + 0x10]
00005F06 486E FFF8 pea.l [A6 - 0x8]
00005F0A A8F9 syscall MapPt
00005F0C 6044 bra +0x46 /* 00005F52 */
label00005F0E:
00005F0E 0C2B 0009 0005 cmpi.b [A3 + 0x5], 0x9 /* '\t' */
00005F14 670E beq +0x10 /* 00005F24 */
00005F16 41EE FFF8 lea.l A0, [A6 - 0x8]
00005F1A 43EC 0010 lea.l A1, [A4 + 0x10]
00005F1E 20D9 move.l [A0]+, [A1]+
00005F20 20D9 move.l [A0]+, [A1]+
00005F22 6016 bra +0x18 /* 00005F3A */
label00005F24:
00005F24 3F2B 0006 move.w -[A7], [A3 + 0x6]
00005F28 486E FFF8 pea.l [A6 - 0x8]
00005F2C 4EBA F120 jsr [PC - 0xEE0 /* 0000504E */]
00005F30 2F2C 0018 move.l -[A7], [A4 + 0x18]
00005F34 486E FFF4 pea.l [A6 - 0xC]
00005F38 A87F syscall SubPt
label00005F3A:
00005F3A 302E FFFC move.w D0, [A6 - 0x4]
00005F3E 906E FFF8 sub.w D0, [A6 - 0x8]
00005F42 3740 000C move.w [A3 + 0xC], D0
00005F46 302E FFFE move.w D0, [A6 - 0x2]
00005F4A 906E FFFA sub.w D0, [A6 - 0x6]
00005F4E 3740 000E move.w [A3 + 0xE], D0
label00005F52:
00005F52 302B 000A move.w D0, [A3 + 0xA]
00005F56 906E FFF6 sub.w D0, [A6 - 0xA]
00005F5A 3E00 move.w D7, D0
00005F5C 302B 0008 move.w D0, [A3 + 0x8]
00005F60 906E FFF4 sub.w D0, [A6 - 0xC]
00005F64 3C00 move.w D6, D0
00005F66 2007 move.l D0, D7
00005F68 D06E FFFE add.w D0, [A6 - 0x2]
00005F6C 3D40 FFFE move.w [A6 - 0x2], D0
00005F70 2007 move.l D0, D7
00005F72 D06E FFFA add.w D0, [A6 - 0x6]
00005F76 3D40 FFFA move.w [A6 - 0x6], D0
00005F7A 2006 move.l D0, D6
00005F7C D06E FFF8 add.w D0, [A6 - 0x8]
00005F80 3D40 FFF8 move.w [A6 - 0x8], D0
00005F84 2006 move.l D0, D6
00005F86 D06E FFFC add.w D0, [A6 - 0x4]
00005F8A 3D40 FFFC move.w [A6 - 0x4], D0
00005F8E 206E 0008 movea.l A0, [A6 + 0x8]
00005F92 43EE FFF8 lea.l A1, [A6 - 0x8]
00005F96 20D9 move.l [A0]+, [A1]+
00005F98 20D9 move.l [A0]+, [A1]+
label00005F9A:
00005F9A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00005F9E 4E5E unlink A6
00005FA0 205F movea.l A0, [A7]+
00005FA2 504F addq.w A7, 8
00005FA4 4ED0 jmp [A0]
00005FA6 C649 and.w D3, A1
00005FA8 5842 addq.w D2, 4
00005FAA 4F58 chk.w D7, [A0]+
00005FAC 2020 move.l D0, -[A0]
00005FAE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00005FB0-00005FB4
fn00005FB0:
00005FB0 4E56 FFFE link A6, -0x0002
// end alternate branch 00005FB0-00005FB4
fn00005FB0: // (misaligned)
00005FB2 FFFE .extension 0xFFE // unimplemented
00005FB4 2F07 move.l -[A7], D7
00005FB6 7E01 moveq.l D7, 0x01
00005FB8 6044 bra +0x46 /* 00005FFE */
label00005FBA:
00005FBA 3007 move.w D0, D7
00005FBC 6B18 bmi +0x1A /* 00005FD6 */
00005FBE B07C 001F cmp.w D0, 0x1F
00005FC2 6E12 bgt +0x14 /* 00005FD6 */
00005FC4 41EE 000C lea.l A0, [A6 + 0xC]
00005FC8 3200 move.w D1, D0
00005FCA E649 lsr D1.w, 3
00005FCC 4441 neg.w D1
00005FCE 0130 10FF btst [A0 + D1.w - 0x1], D0
00005FD2 0A3C 0004 xori.b ccr, 4
label00005FD6:
00005FD6 6624 bne +0x26 /* 00005FFC */
00005FD8 206E 000C movea.l A0, [A6 + 0xC]
00005FDC 2007 move.l D0, D7
00005FDE E940 asl D0.w, 4
00005FE0 41F0 0000 lea.l A0, [A0 + D0.w]
00005FE4 2F08 move.l -[A7], A0
00005FE6 206E 000C movea.l A0, [A6 + 0xC]
00005FEA 2007 move.l D0, D7
00005FEC E740 asl D0.w, 3
00005FEE 43E8 01A0 lea.l A1, [A0 + 0x1A0]
00005FF2 41F1 0000 lea.l A0, [A1 + D0.w]
00005FF6 2F08 move.l -[A7], A0
00005FF8 4EBA FE64 jsr [PC - 0x19C /* 00005E5E */]
label00005FFC:
00005FFC 5247 addq.w D7, 1
label00005FFE:
00005FFE 0C47 0018 cmpi.w D7, 0x18
00006002 6FB6 ble -0x48 /* 00005FBA */
00006004 2E1F move.l D7, [A7]+
00006006 4E5E unlink A6
00006008 205F movea.l A0, [A7]+
0000600A 504F addq.w A7, 8
0000600C 4ED0 jmp [A0]
0000600E C24F and.w D1, A7
00006010 5853 addq.w [A3], 4
00006012 4346 chk.w D1, D6
00006014 494C chk.w D4, A4
00006016 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006018-0000601C
fn00006018:
00006018 4E56 FFE8 link A6, -0x0018
// end alternate branch 00006018-0000601C
fn00006018: // (misaligned)
0000601A FFE8 .extension 0xFE8 // unimplemented
0000601C 48E7 0108 movem.l -[A7], D7,A4
00006020 42A7 clr.l -[A7]
00006022 4EBA DA42 jsr [PC - 0x25BE /* 00003A66 */]
00006026 285F movea.l A4, [A7]+
00006028 7E18 moveq.l D7, 0x18
0000602A 6042 bra +0x44 /* 0000606E */
label0000602C:
0000602C 3007 move.w D0, D7
0000602E 6B18 bmi +0x1A /* 00006048 */
00006030 B07C 001F cmp.w D0, 0x1F
00006034 6E12 bgt +0x14 /* 00006048 */
00006036 41EE 000C lea.l A0, [A6 + 0xC]
0000603A 3200 move.w D1, D0
0000603C E649 lsr D1.w, 3
0000603E 4441 neg.w D1
00006040 0130 10FF btst [A0 + D1.w - 0x1], D0
00006044 0A3C 0004 xori.b ccr, 4
label00006048:
00006048 6622 bne +0x24 /* 0000606C */
0000604A 4267 clr.w -[A7]
0000604C 2F2E 000C move.l -[A7], [A6 + 0xC]
00006050 206C 089A movea.l A0, [A4 + 0x89A]
00006054 2007 move.l D0, D7
00006056 E740 asl D0.w, 3
00006058 41E8 042E lea.l A0, [A0 + 0x42E]
0000605C 4870 0000 pea.l [A0 + D0.w]
00006060 A8AD syscall PtInRect
00006062 101F move.b D0, [A7]+
00006064 6706 beq +0x8 /* 0000606C */
00006066 3D47 0010 move.w [A6 + 0x10], D7
0000606A 600C bra +0xE /* 00006078 */
label0000606C:
0000606C 5347 subq.w D7, 1
label0000606E:
0000606E 0C47 0001 cmpi.w D7, 0x1
00006072 6CB8 bge -0x46 /* 0000602C */
00006074 426E 0010 clr.w [A6 + 0x10]
label00006078:
00006078 4CDF 1080 movem.l D7,A4, [A7]+
0000607C 4E5E unlink A6
0000607E 205F movea.l A0, [A7]+
00006080 504F addq.w A7, 8
00006082 4ED0 jmp [A0]
00006084 D657 add.w D3, [A7]
00006086 4849 pea.l A1
00006088 5443 addq.w D3, 2
0000608A 4845 swap.w D5
0000608C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000608E-00006092
fn0000608E:
0000608E 4E56 F87E link A6, -0x0782
// end alternate branch 0000608E-00006092
fn0000608E: // (misaligned)
00006090 F87E .extension 0x87E // unimplemented
00006092 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00006096 182E 0008 move.b D4, [A6 + 0x8]
0000609A 42A7 clr.l -[A7]
0000609C 4EBA D9C8 jsr [PC - 0x2638 /* 00003A66 */]
000060A0 265F movea.l A3, [A7]+
000060A2 41EE F88E lea.l A0, [A6 - 0x772]
000060A6 43FA 0286 lea.l A1, [PC + 0x286 /* 0000632E, value 0x0 */]
000060AA 20D9 move.l [A0]+, [A1]+
000060AC 20D9 move.l [A0]+, [A1]+
000060AE 3091 move.w [A0], [A1]
000060B0 42AB 0E70 clr.l [A3 + 0xE70]
000060B4 41EE F8A2 lea.l A0, [A6 - 0x75E]
000060B8 2F08 move.l -[A7], A0
000060BA 4EBA F802 jsr [PC - 0x7FE /* 000058BE */]
000060BE 41EE F8A2 lea.l A0, [A6 - 0x75E]
000060C2 2C08 move.l D6, A0
000060C4 206B 089A movea.l A0, [A3 + 0x89A]
000060C8 2D68 000A F8AC move.l [A6 - 0x754], [A0 + 0xA]
000060CE 4AAE F8AC tst.l [A6 - 0x754]
000060D2 6604 bne +0x6 /* 000060D8 */
000060D4 6000 023E bra +0x240 /* 00006314 */
label000060D8:
000060D8 1004 move.b D0, D4
000060DA 6722 beq +0x24 /* 000060FE */
000060DC 2F06 move.l -[A7], D6
000060DE 4EBA F816 jsr [PC - 0x7EA /* 000058F6 */]
000060E2 41EE FB30 lea.l A0, [A6 - 0x4D0]
000060E6 2F08 move.l -[A7], A0
000060E8 4EBA DC88 jsr [PC - 0x2378 /* 00003D72 */]
000060EC 2F2E F8B8 move.l -[A7], [A6 - 0x748]
000060F0 42A7 clr.l -[A7]
000060F2 2F2E F8AC move.l -[A7], [A6 - 0x754]
000060F6 4EBA D0CA jsr [PC - 0x2F36 /* 000031C2 */]
000060FA 4EBA D0DA jsr [PC - 0x2F26 /* 000031D6 */]
label000060FE:
000060FE 4267 clr.w -[A7]
00006100 2F06 move.l -[A7], D6
00006102 4EBA FB1C jsr [PC - 0x4E4 /* 00005C20 */]
00006106 101F move.b D0, [A7]+
00006108 0A00 0001 xori.b D0, 0x1
0000610C 6700 01F6 beq +0x1F8 /* 00006304 */
00006110 2F06 move.l -[A7], D6
00006112 4EBA FC6C jsr [PC - 0x394 /* 00005D80 */]
00006116 7000 moveq.l D0, 0x00
00006118 6B18 bmi +0x1A /* 00006132 */
0000611A B07C 001F cmp.w D0, 0x1F
0000611E 6E12 bgt +0x14 /* 00006132 */
00006120 41EE F8B4 lea.l A0, [A6 - 0x74C]
00006124 3200 move.w D1, D0
00006126 E649 lsr D1.w, 3
00006128 4441 neg.w D1
0000612A 0130 10FF btst [A0 + D1.w - 0x1], D0
0000612E 0A3C 0004 xori.b ccr, 4
label00006132:
00006132 6600 0092 bne +0x94 /* 000061C6 */
00006136 49EE F8C8 lea.l A4, [A6 - 0x738]
0000613A 4A2C 0001 tst.b [A4 + 0x1]
0000613E 6F00 0086 ble +0x88 /* 000061C6 */
00006142 102C 0001 move.b D0, [A4 + 0x1]
00006146 4880 ext.w D0
00006148 6B18 bmi +0x1A /* 00006162 */
0000614A B07C 004F cmp.w D0, 0x4F /* 'O' */
0000614E 6E12 bgt +0x14 /* 00006162 */
00006150 41EE F898 lea.l A0, [A6 - 0x768]
00006154 3200 move.w D1, D0
00006156 E649 lsr D1.w, 3
00006158 4441 neg.w D1
0000615A 0130 10FF btst [A0 + D1.w - 0x1], D0
0000615E 0A3C 0004 xori.b ccr, 4
label00006162:
00006162 6762 beq +0x64 /* 000061C6 */
00006164 42A7 clr.l -[A7]
00006166 2F3A 01C2 move.l -[A7], [PC + 0x1C2 /* 0000632A, value 0x43534E44 'CSND' */]
0000616A 102C 0001 move.b D0, [A4 + 0x1]
0000616E 4880 ext.w D0
00006170 D07C 0200 add.w D0, 0x200
00006174 3F00 move.w -[A7], D0
00006176 A9A0 syscall GetResource
00006178 2A1F move.l D5, [A7]+
0000617A 4267 clr.w -[A7]
0000617C A9AF syscall ResError
0000617E 4A5F tst.w [A7]+
00006180 660A bne +0xC /* 0000618C */
00006182 2F05 move.l -[A7], D5
00006184 4267 clr.w -[A7]
00006186 42A7 clr.l -[A7]
00006188 4EBA D946 jsr [PC - 0x26BA /* 00003AD0 */]
label0000618C:
0000618C 41EE F898 lea.l A0, [A6 - 0x768]
00006190 7005 moveq.l D0, 0x05
label00006192:
00006192 3F20 move.w -[A7], -[A0]
00006194 5340 subq.w D0, 1
00006196 6EFA bgt -0x4 /* 00006192 */
00006198 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000619C 102C 0001 move.b D0, [A4 + 0x1]
000061A0 4880 ext.w D0
000061A2 3F00 move.w -[A7], D0
000061A4 4EBA D790 jsr [PC - 0x2870 /* 00003936 */]
000061A8 4EBA D7CE jsr [PC - 0x2832 /* 00003978 */]
000061AC 3F3C 000A move.w -[A7], 0xA /* '\n' */
000061B0 4EBA D816 jsr [PC - 0x27EA /* 000039C8 */]
000061B4 3F3C 000A move.w -[A7], 0xA /* '\n' */
000061B8 548F addq.l A7, 2
000061BA 41EE F88E lea.l A0, [A6 - 0x772]
000061BE 7005 moveq.l D0, 0x05
label000061C0:
000061C0 30DF move.w [A0]+, [A7]+
000061C2 5340 subq.w D0, 1
000061C4 6EFA bgt -0x4 /* 000061C0 */
label000061C6:
000061C6 7E01 moveq.l D7, 0x01
000061C8 6036 bra +0x38 /* 00006200 */
label000061CA:
000061CA 2007 move.l D0, D7
000061CC E940 asl D0.w, 4
000061CE 41EE F8C8 lea.l A0, [A6 - 0x738]
000061D2 0C30 0008 0000 cmpi.b [A0 + D0.w], 0x8
000061D8 6624 bne +0x26 /* 000061FE */
000061DA 2F2B 0E70 move.l -[A7], [A3 + 0xE70]
000061DE 3F3C 0004 move.w -[A7], 0x4
000061E2 3F07 move.w -[A7], D7
000061E4 4EBA D750 jsr [PC - 0x28B0 /* 00003936 */]
000061E8 4EBA D78E jsr [PC - 0x2872 /* 00003978 */]
000061EC 3F3C 0004 move.w -[A7], 0x4
000061F0 4EBA D7D6 jsr [PC - 0x282A /* 000039C8 */]
000061F4 3F3C 0004 move.w -[A7], 0x4
000061F8 548F addq.l A7, 2
000061FA 275F 0E70 move.l [A3 + 0xE70], [A7]+
label000061FE:
000061FE 5247 addq.w D7, 1
label00006200:
00006200 0C47 0018 cmpi.w D7, 0x18
00006204 6FC4 ble -0x3A /* 000061CA */
00006206 1004 move.b D0, D4
00006208 6700 00F6 beq +0xF8 /* 00006300 */
0000620C 41EE FB30 lea.l A0, [A6 - 0x4D0]
00006210 2F08 move.l -[A7], A0
00006212 41EE FD98 lea.l A0, [A6 - 0x268]
00006216 2F08 move.l -[A7], A0
00006218 4EBA DB76 jsr [PC - 0x248A /* 00003D90 */]
0000621C 41EE F8C8 lea.l A0, [A6 - 0x738]
00006220 2F08 move.l -[A7], A0
00006222 41EE FB30 lea.l A0, [A6 - 0x4D0]
00006226 2F08 move.l -[A7], A0
00006228 4EBA DB66 jsr [PC - 0x249A /* 00003D90 */]
0000622C 41EE FB30 lea.l A0, [A6 - 0x4D0]
00006230 2F08 move.l -[A7], A0
00006232 486E F882 pea.l [A6 - 0x77E]
00006236 4EBA DC30 jsr [PC - 0x23D0 /* 00003E68 */]
0000623A 4247 clr.w D7
0000623C 6000 00B4 bra +0xB6 /* 000062F2 */
label00006240:
00006240 3007 move.w D0, D7
00006242 6B18 bmi +0x1A /* 0000625C */
00006244 B07C 001F cmp.w D0, 0x1F
00006248 6E12 bgt +0x14 /* 0000625C */
0000624A 41EE F886 lea.l A0, [A6 - 0x77A]
0000624E 3200 move.w D1, D0
00006250 E649 lsr D1.w, 3
00006252 4441 neg.w D1
00006254 0130 10FF btst [A0 + D1.w - 0x1], D0
00006258 0A3C 0004 xori.b ccr, 4
label0000625C:
0000625C 6600 0092 bne +0x94 /* 000062F0 */
00006260 2007 move.l D0, D7
00006262 E940 asl D0.w, 4
00006264 41EE FB30 lea.l A0, [A6 - 0x4D0]
00006268 49F0 0000 lea.l A4, [A0 + D0.w]
0000626C 0C2C 0001 0001 cmpi.b [A4 + 0x1], 0x1
00006272 660C bne +0xE /* 00006280 */
00006274 2D6C 0008 F886 move.l [A6 - 0x77A], [A4 + 0x8]
0000627A 2D6C 000C F88A move.l [A6 - 0x776], [A4 + 0xC]
label00006280:
00006280 302C 000E move.w D0, [A4 + 0xE]
00006284 906C 000A sub.w D0, [A4 + 0xA]
00006288 3940 000E move.w [A4 + 0xE], D0
0000628C 302C 000C move.w D0, [A4 + 0xC]
00006290 906C 0008 sub.w D0, [A4 + 0x8]
00006294 3940 000C move.w [A4 + 0xC], D0
00006298 0C2C 0001 0001 cmpi.b [A4 + 0x1], 0x1
0000629E 6650 bne +0x52 /* 000062F0 */
000062A0 206B 012C movea.l A0, [A3 + 0x12C]
000062A4 2050 movea.l A0, [A0]
000062A6 302C 0006 move.w D0, [A4 + 0x6]
000062AA C1FC 0026 muls.w D0, 0x26 /* '&' */
000062AE 41F0 0000 lea.l A0, [A0 + D0.w]
000062B2 2D48 F87E move.l [A6 - 0x782], A0
000062B6 4280 clr.l D0
000062B8 206E F87E movea.l A0, [A6 - 0x782]
000062BC 1028 0001 move.b D0, [A0 + 0x1]
000062C0 0800 0000 btst.b D0, 0x0
000062C4 670E beq +0x10 /* 000062D4 */
000062C6 486E F886 pea.l [A6 - 0x77A]
000062CA 486C 0008 pea.l [A4 + 0x8]
000062CE 4EBA DB0A jsr [PC - 0x24F6 /* 00003DDA */]
000062D2 601C bra +0x1E /* 000062F0 */
label000062D4:
000062D4 206E F87E movea.l A0, [A6 - 0x782]
000062D8 2968 0020 0008 move.l [A4 + 0x8], [A0 + 0x20]
000062DE 486C 0008 pea.l [A4 + 0x8]
000062E2 206E F87E movea.l A0, [A6 - 0x782]
000062E6 4868 0010 pea.l [A0 + 0x10]
000062EA 486E F886 pea.l [A6 - 0x77A]
000062EE A8F9 syscall MapPt
label000062F0:
000062F0 5247 addq.w D7, 1
label000062F2:
000062F2 0C47 0018 cmpi.w D7, 0x18
000062F6 6F00 FF48 ble -0xB6 /* 00006240 */
000062FA 2F06 move.l -[A7], D6
000062FC 4EBA F786 jsr [PC - 0x87A /* 00005A84 */]
label00006300:
00006300 6000 FDFC bra -0x202 /* 000060FE */
label00006304:
00006304 1004 move.b D0, D4
00006306 670C beq +0xE /* 00006314 */
00006308 206B 089A movea.l A0, [A3 + 0x89A]
0000630C 4250 clr.w [A0]
0000630E 2F06 move.l -[A7], D6
00006310 4EBA F892 jsr [PC - 0x76E /* 00005BA4 */]
label00006314:
00006314 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00006318 4E5E unlink A6
0000631A 205F movea.l A0, [A7]+
0000631C 544F addq.w A7, 2
0000631E 4ED0 jmp [A0]
00006320 D052 add.w D0, [A2]
00006322 454C chk.w D2, A4
00006324 534E subq.w A6, 1
00006326 4420 neg.b -[A0]
00006328 000E 4353 ori.b A6, 0x53 /* 'S' */
0000632C 4E44 trap 4
0000632E 0000 0000 ori.b D0, 0x0
00006332 0000 0000 ori.b D0, 0x0
00006336 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006338-0000633C
fn00006338:
00006338 4E56 FFE4 link A6, -0x001C
// end alternate branch 00006338-0000633C
fn00006338: // (misaligned)
0000633A FFE4 .extension 0xFE4 // unimplemented
0000633C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00006340 206E 000C movea.l A0, [A6 + 0xC]
00006344 43EE FFF8 lea.l A1, [A6 - 0x8]
00006348 22D8 move.l [A1]+, [A0]+
0000634A 22D8 move.l [A1]+, [A0]+
0000634C 42A7 clr.l -[A7]
0000634E 4EBA D716 jsr [PC - 0x28EA /* 00003A66 */]
00006352 285F movea.l A4, [A7]+
00006354 422C 0E3C clr.b [A4 + 0xE3C]
00006358 486C 0DC8 pea.l [A4 + 0xDC8]
0000635C A874 syscall GetPort
0000635E 47EC 0E3E lea.l A3, [A4 + 0xE3E]
00006362 204B movea.l A0, A3
00006364 5C88 addq.l A0, 6
00006366 43EE FFF8 lea.l A1, [A6 - 0x8]
0000636A 20D9 move.l [A0]+, [A1]+
0000636C 20D9 move.l [A0]+, [A1]+
0000636E 4267 clr.w -[A7]
00006370 486E FFF8 pea.l [A6 - 0x8]
00006374 4EBA DB56 jsr [PC - 0x24AA /* 00003ECC */]
00006378 375F 0004 move.w [A3 + 0x4], [A7]+
0000637C 26AC 0E4C move.l [A3], [A4 + 0xE4C]
00006380 486E FFF8 pea.l [A6 - 0x8]
00006384 206C 089A movea.l A0, [A4 + 0x89A]
00006388 41E8 028E lea.l A0, [A0 + 0x28E]
0000638C 2F08 move.l -[A7], A0
0000638E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00006392 3F3C 0004 move.w -[A7], 0x4
00006396 3F3C 0004 move.w -[A7], 0x4
0000639A 4EBA D62C jsr [PC - 0x29D4 /* 000039C8 */]
0000639E 3F3C 0004 move.w -[A7], 0x4
000063A2 548F addq.l A7, 2
000063A4 486E FFF4 pea.l [A6 - 0xC]
000063A8 4EBA DA54 jsr [PC - 0x25AC /* 00003DFE */]
000063AC 102C 001C move.b D0, [A4 + 0x1C]
000063B0 6704 beq +0x6 /* 000063B6 */
000063B2 7CFF moveq.l D6, 0xFFFFFFFF
000063B4 6002 bra +0x4 /* 000063B8 */
label000063B6:
000063B6 4286 clr.l D6
label000063B8:
000063B8 2F06 move.l -[A7], D6
000063BA 486C 0E3E pea.l [A4 + 0xE3E]
000063BE 4EBA DB24 jsr [PC - 0x24DC /* 00003EE4 */]
000063C2 7E01 moveq.l D7, 0x01
000063C4 6028 bra +0x2A /* 000063EE */
label000063C6:
000063C6 3007 move.w D0, D7
000063C8 6B18 bmi +0x1A /* 000063E2 */
000063CA B07C 001F cmp.w D0, 0x1F
000063CE 6E12 bgt +0x14 /* 000063E2 */
000063D0 41EE FFF8 lea.l A0, [A6 - 0x8]
000063D4 3200 move.w D1, D0
000063D6 E649 lsr D1.w, 3
000063D8 4441 neg.w D1
000063DA 0130 10FF btst [A0 + D1.w - 0x1], D0
000063DE 0A3C 0004 xori.b ccr, 4
label000063E2:
000063E2 6608 bne +0xA /* 000063EC */
000063E4 3F07 move.w -[A7], D7
000063E6 4267 clr.w -[A7]
000063E8 4EBA EB3C jsr [PC - 0x14C4 /* 00004F26 */]
label000063EC:
000063EC 5247 addq.w D7, 1
label000063EE:
000063EE 0C47 0018 cmpi.w D7, 0x18
000063F2 6FD2 ble -0x2C /* 000063C6 */
000063F4 102C 0017 move.b D0, [A4 + 0x17]
000063F8 6722 beq +0x24 /* 0000641C */
000063FA 4EBA EAB8 jsr [PC - 0x1548 /* 00004EB4 */]
000063FE 486C 0E3E pea.l [A4 + 0xE3E]
00006402 486C 0E56 pea.l [A4 + 0xE56]
00006406 486E FFF8 pea.l [A6 - 0x8]
0000640A 486E FFF8 pea.l [A6 - 0x8]
0000640E 4267 clr.w -[A7]
00006410 42A7 clr.l -[A7]
00006412 A8EC syscall CopyBits
00006414 2F2C 0DC8 move.l -[A7], [A4 + 0xDC8]
00006418 A873 syscall SetPort
0000641A 6024 bra +0x26 /* 00006440 */
label0000641C:
0000641C 2F2C 0DC8 move.l -[A7], [A4 + 0xDC8]
00006420 A873 syscall SetPort
00006422 486C 0E3E pea.l [A4 + 0xE3E]
00006426 42A7 clr.l -[A7]
00006428 4EBA D64E jsr [PC - 0x29B2 /* 00003A78 */]
0000642C 205F movea.l A0, [A7]+
0000642E 4868 0002 pea.l [A0 + 0x2]
00006432 486E FFF8 pea.l [A6 - 0x8]
00006436 486E FFF8 pea.l [A6 - 0x8]
0000643A 4267 clr.w -[A7]
0000643C 42A7 clr.l -[A7]
0000643E A8EC syscall CopyBits
label00006440:
00006440 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00006444 4E5E unlink A6
00006446 205F movea.l A0, [A7]+
00006448 504F addq.w A7, 8
0000644A 4ED0 jmp [A0]
0000644C D843 add.w D4, D3
0000644E 4C55 5354 movem.l D2,D4,D6,A0,A1,A4,A6, [A5]
00006452 5550 subq.w [A0], 2
00006454 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006456-0000645A
fn00006456:
00006456 4E56 FFDC link A6, -0x0024
// end alternate branch 00006456-0000645A
fn00006456: // (misaligned)
00006458 FFDC .extension 0xFDC // unimplemented
0000645A 48E7 0308 movem.l -[A7], D6,D7,A4
0000645E 206E 000C movea.l A0, [A6 + 0xC]
00006462 43EE FFF8 lea.l A1, [A6 - 0x8]
00006466 22D8 move.l [A1]+, [A0]+
00006468 22D8 move.l [A1]+, [A0]+
0000646A 4267 clr.w -[A7]
0000646C 486E FFF8 pea.l [A6 - 0x8]
00006470 A8AE syscall EmptyRect
00006472 101F move.b D0, [A7]+
00006474 6704 beq +0x6 /* 0000647A */
00006476 6000 00EC bra +0xEE /* 00006564 */
label0000647A:
0000647A 42A7 clr.l -[A7]
0000647C 4EBA D5E8 jsr [PC - 0x2A18 /* 00003A66 */]
00006480 285F movea.l A4, [A7]+
00006482 41EE FFE0 lea.l A0, [A6 - 0x20]
00006486 43EE FFF8 lea.l A1, [A6 - 0x8]
0000648A 20D9 move.l [A0]+, [A1]+
0000648C 20D9 move.l [A0]+, [A1]+
0000648E 4280 clr.l D0
00006490 302E FFE2 move.w D0, [A6 - 0x1E]
00006494 C0BC FFFF FFF0 and.l D0, 0xFFFFFFF0
0000649A 3D40 FFE2 move.w [A6 - 0x1E], D0
0000649E 4267 clr.w -[A7]
000064A0 486E FFE0 pea.l [A6 - 0x20]
000064A4 486C 0008 pea.l [A4 + 0x8]
000064A8 486E FFE8 pea.l [A6 - 0x18]
000064AC A8AA syscall SectRect
000064AE 1C1F move.b D6, [A7]+
000064B0 1006 move.b D0, D6
000064B2 6700 00B0 beq +0xB2 /* 00006564 */
000064B6 42A7 clr.l -[A7]
000064B8 486E FFE8 pea.l [A6 - 0x18]
000064BC 4EBA D9EE jsr [PC - 0x2612 /* 00003EAC */]
000064C0 201F move.l D0, [A7]+
000064C2 B0AC 0E50 cmp.l D0, [A4 + 0xE50]
000064C6 6C20 bge +0x22 /* 000064E8 */
000064C8 486E FFE8 pea.l [A6 - 0x18]
000064CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000064D0 3F3C 0004 move.w -[A7], 0x4
000064D4 3F3C 0004 move.w -[A7], 0x4
000064D8 4EBA D4EE jsr [PC - 0x2B12 /* 000039C8 */]
000064DC 3F3C 0004 move.w -[A7], 0x4
000064E0 548F addq.l A7, 2
000064E2 4EBA FE54 jsr [PC - 0x1AC /* 00006338 */]
000064E6 607C bra +0x7E /* 00006564 */
label000064E8:
000064E8 41EE FFF0 lea.l A0, [A6 - 0x10]
000064EC 43EE FFE8 lea.l A1, [A6 - 0x18]
000064F0 20D9 move.l [A0]+, [A1]+
000064F2 20D9 move.l [A0]+, [A1]+
000064F4 2F2C 0E50 move.l -[A7], [A4 + 0xE50]
000064F8 4267 clr.w -[A7]
000064FA 486E FFE8 pea.l [A6 - 0x18]
000064FE 4EBA D9CC jsr [PC - 0x2634 /* 00003ECC */]
00006502 301F move.w D0, [A7]+
00006504 48C0 ext.l D0
00006506 2F00 move.l -[A7], D0
00006508 4EBA D354 jsr [PC - 0x2CAC /* 0000385E */]
0000650C 201F move.l D0, [A7]+
0000650E 3E00 move.w D7, D0
00006510 2007 move.l D0, D7
00006512 D06E FFF0 add.w D0, [A6 - 0x10]
00006516 3D40 FFF4 move.w [A6 - 0xC], D0
label0000651A:
0000651A 302E FFF0 move.w D0, [A6 - 0x10]
0000651E B06E FFEC cmp.w D0, [A6 - 0x14]
00006522 6C40 bge +0x42 /* 00006564 */
00006524 486E FFF0 pea.l [A6 - 0x10]
00006528 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000652C 3F3C 0004 move.w -[A7], 0x4
00006530 3F3C 0004 move.w -[A7], 0x4
00006534 4EBA D492 jsr [PC - 0x2B6E /* 000039C8 */]
00006538 3F3C 0004 move.w -[A7], 0x4
0000653C 548F addq.l A7, 2
0000653E 4EBA FDF8 jsr [PC - 0x208 /* 00006338 */]
00006542 3D6E FFF4 FFF0 move.w [A6 - 0x10], [A6 - 0xC]
00006548 2007 move.l D0, D7
0000654A D06E FFF0 add.w D0, [A6 - 0x10]
0000654E 3D40 FFF4 move.w [A6 - 0xC], D0
00006552 302E FFF4 move.w D0, [A6 - 0xC]
00006556 B06E FFEC cmp.w D0, [A6 - 0x14]
0000655A 6F06 ble +0x8 /* 00006562 */
0000655C 3D6E FFEC FFF4 move.w [A6 - 0xC], [A6 - 0x14]
label00006562:
00006562 60B6 bra -0x48 /* 0000651A */
label00006564:
00006564 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00006568 4E5E unlink A6
0000656A 205F movea.l A0, [A7]+
0000656C 504F addq.w A7, 8
0000656E 4ED0 jmp [A0]
00006570 C34C exg A1, A4
00006572 5553 subq.w [A3], 2
00006574 5455 addq.w [A5], 2
00006576 5020 addq.b -[A0], 8
00006578 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000657A-0000657E
fn0000657A:
0000657A 4E56 F052 link A6, -0x0FAE
// end alternate branch 0000657A-0000657E
fn0000657A: // (misaligned)
0000657C F052 .extension 0x052 // unimplemented
0000657E 206E 000C movea.l A0, [A6 + 0xC]
00006582 43EE FFF8 lea.l A1, [A6 - 0x8]
00006586 22D8 move.l [A1]+, [A0]+
00006588 22D8 move.l [A1]+, [A0]+
0000658A 42A7 clr.l -[A7]
0000658C 4EBA D4D8 jsr [PC - 0x2B28 /* 00003A66 */]
00006590 205F movea.l A0, [A7]+
00006592 2D48 F052 move.l [A6 - 0xFAE], A0
00006596 41EE F056 lea.l A0, [A6 - 0xFAA]
0000659A 226E F052 movea.l A1, [A6 - 0xFAE]
0000659E 2348 0E4C move.l [A1 + 0xE4C], A0
000065A2 486E FFF8 pea.l [A6 - 0x8]
000065A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000065AA 3F3C 0004 move.w -[A7], 0x4
000065AE 3F3C 0004 move.w -[A7], 0x4
000065B2 4EBA D414 jsr [PC - 0x2BEC /* 000039C8 */]
000065B6 3F3C 0004 move.w -[A7], 0x4
000065BA 548F addq.l A7, 2
000065BC 4EBA FE98 jsr [PC - 0x168 /* 00006456 */]
000065C0 4E5E unlink A6
000065C2 205F movea.l A0, [A7]+
000065C4 504F addq.w A7, 8
000065C6 4ED0 jmp [A0]
000065C8 C455 and.w D2, [A5]
000065CA 434C chk.w D1, A4
000065CC 5547 subq.w D7, 2
000065CE 2020 move.l D0, -[A0]
000065D0 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000065D2-000065D6
fn000065D2:
000065D2 4E56 FFEA link A6, -0x0016
// end alternate branch 000065D2-000065D6
fn000065D2: // (misaligned)
000065D4 FFEA .extension 0xFEA // unimplemented
000065D6 48E7 0018 movem.l -[A7], A3,A4
000065DA 42A7 clr.l -[A7]
000065DC 4EBA D488 jsr [PC - 0x2B78 /* 00003A66 */]
000065E0 285F movea.l A4, [A7]+
000065E2 486E FFFA pea.l [A6 - 0x6]
000065E6 A874 syscall GetPort
000065E8 2F2C 0010 move.l -[A7], [A4 + 0x10]
000065EC A873 syscall SetPort
000065EE 206C 089A movea.l A0, [A4 + 0x89A]
000065F2 41E8 028E lea.l A0, [A0 + 0x28E]
000065F6 2F08 move.l -[A7], A0
000065F8 2F3A 0070 move.l -[A7], [PC + 0x70 /* 0000666A, value 0x1FFFFFE */]
000065FC 4EBA F9B2 jsr [PC - 0x64E /* 00005FB0 */]
00006600 486E FFF6 pea.l [A6 - 0xA]
00006604 A910 syscall GetWMgrPort
00006606 206E FFF6 movea.l A0, [A6 - 0xA]
0000660A 43EE FFEE lea.l A1, [A6 - 0x12]
0000660E 41E8 0010 lea.l A0, [A0 + 0x10]
00006612 22D8 move.l [A1]+, [A0]+
00006614 22D8 move.l [A1]+, [A0]+
00006616 267C 0000 021F movea.l A3, 0x21F
0000661C 4280 clr.l D0
0000661E 1013 move.b D0, [A3]
00006620 0800 0007 btst.b D0, 0x7
00006624 660C bne +0xE /* 00006632 */
00006626 302E FFEE move.w D0, [A6 - 0x12]
0000662A D07C 0014 add.w D0, 0x14
0000662E 3D40 FFEE move.w [A6 - 0x12], D0
label00006632:
00006632 102C 0E54 move.b D0, [A4 + 0xE54]
00006636 670E beq +0x10 /* 00006646 */
00006638 486E FFEE pea.l [A6 - 0x12]
0000663C 2F3A 002C move.l -[A7], [PC + 0x2C /* 0000666A, value 0x1FFFFFE */]
00006640 4EBA FE14 jsr [PC - 0x1EC /* 00006456 */]
00006644 600C bra +0xE /* 00006652 */
label00006646:
00006646 486E FFEE pea.l [A6 - 0x12]
0000664A 2F3A 001E move.l -[A7], [PC + 0x1E /* 0000666A, value 0x1FFFFFE */]
0000664E 4EBA FF2A jsr [PC - 0xD6 /* 0000657A */]
label00006652:
00006652 2F2E FFFA move.l -[A7], [A6 - 0x6]
00006656 A873 syscall SetPort
00006658 4CDF 1800 movem.l A3,A4, [A7]+
0000665C 4E5E unlink A6
0000665E 4E75 rts
00006660 C452 and.w D2, [A2]
00006662 4157 chk.w D0, [A7]
00006664 5550 subq.w [A0], 2
00006666 4441 neg.w D1
00006668 0004 01FF ori.b D4, 0xFF
0000666C FFFE .extension 0xFFE // unimplemented
fn0000666E:
0000666E 4E56 FFF0 link A6, -0x0010
00006672 206E 0008 movea.l A0, [A6 + 0x8]
00006676 43EE FFF8 lea.l A1, [A6 - 0x8]
0000667A 22D8 move.l [A1]+, [A0]+
0000667C 22D8 move.l [A1]+, [A0]+
0000667E 42A7 clr.l -[A7]
00006680 4EBA D3E4 jsr [PC - 0x2C1C /* 00003A66 */]
00006684 205F movea.l A0, [A7]+
00006686 1028 001C move.b D0, [A0 + 0x1C]
0000668A 6712 beq +0x14 /* 0000669E */
0000668C 42A7 clr.l -[A7]
0000668E 4EBA D3FC jsr [PC - 0x2C04 /* 00003A8C */]
00006692 205F movea.l A0, [A7]+
00006694 43EE FFF0 lea.l A1, [A6 - 0x10]
00006698 22D8 move.l [A1]+, [A0]+
0000669A 22D8 move.l [A1]+, [A0]+
0000669C 6010 bra +0x12 /* 000066AE */
label0000669E:
0000669E 42A7 clr.l -[A7]
000066A0 4EBA D3F6 jsr [PC - 0x2C0A /* 00003A98 */]
000066A4 205F movea.l A0, [A7]+
000066A6 43EE FFF0 lea.l A1, [A6 - 0x10]
000066AA 22D8 move.l [A1]+, [A0]+
000066AC 22D8 move.l [A1]+, [A0]+
label000066AE:
000066AE 486E FFF8 pea.l [A6 - 0x8]
000066B2 486E FFF0 pea.l [A6 - 0x10]
000066B6 A8A5 syscall FillRect
000066B8 4E5E unlink A6
000066BA 2E9F move.l [A7], [A7]+
000066BC 4E75 rts
000066BE C649 and.w D3, A1
000066C0 4C4C 4C49 movem.l D0,D3,D6,A2,A3,A6, A4
000066C4 5445 addq.w D5, 2
000066C6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000066C8-000066CC
fn000066C8:
000066C8 4E56 FF90 link A6, -0x0070
// end alternate branch 000066C8-000066CC
fn000066C8: // (misaligned)
000066CA FF90 .extension 0xF90 // unimplemented
000066CC 2F0C move.l -[A7], A4
000066CE 42A7 clr.l -[A7]
000066D0 4EBA D394 jsr [PC - 0x2C6C /* 00003A66 */]
000066D4 285F movea.l A4, [A7]+
000066D6 486E FFFC pea.l [A6 - 0x4]
000066DA A874 syscall GetPort
000066DC 41EE FF90 lea.l A0, [A6 - 0x70]
000066E0 2F08 move.l -[A7], A0
000066E2 A86F syscall OpenPort
000066E4 486C 0E56 pea.l [A4 + 0xE56]
000066E8 A875 syscall SetPBits/SetPortBits
000066EA 0C2C 0001 0B19 cmpi.b [A4 + 0xB19], 0x1
000066F0 6606 bne +0x8 /* 000066F8 */
000066F2 2D6C 0E68 FF92 move.l [A6 - 0x6E], [A4 + 0xE68]
label000066F8:
000066F8 486C 0E5C pea.l [A4 + 0xE5C]
000066FC 4EBA FF70 jsr [PC - 0x90 /* 0000666E */]
00006700 41EE FF90 lea.l A0, [A6 - 0x70]
00006704 2F08 move.l -[A7], A0
00006706 A87D syscall ClosePort
00006708 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000670C A873 syscall SetPort
0000670E 285F movea.l A4, [A7]+
00006710 4E5E unlink A6
00006712 4E75 rts
00006714 CD41 exg D6, D1
00006716 5348 subq.w A0, 1
00006718 5354 subq.w [A4], 1
0000671A 4147 chk.w D0, D7
0000671C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000671E-00006722
fn0000671E:
0000671E 4E56 FFFC link A6, -0x0004
// end alternate branch 0000671E-00006722
fn0000671E: // (misaligned)
00006720 FFFC .extension 0xFFC // unimplemented
00006722 2F0C move.l -[A7], A4
00006724 42A7 clr.l -[A7]
00006726 4EBA D33E jsr [PC - 0x2CC2 /* 00003A66 */]
0000672A 285F movea.l A4, [A7]+
0000672C 486E FFFC pea.l [A6 - 0x4]
00006730 A874 syscall GetPort
00006732 2F2C 0010 move.l -[A7], [A4 + 0x10]
00006736 A873 syscall SetPort
00006738 486C 0008 pea.l [A4 + 0x8]
0000673C 4EBA FF30 jsr [PC - 0xD0 /* 0000666E */]
00006740 2F2E FFFC move.l -[A7], [A6 - 0x4]
00006744 A873 syscall SetPort
00006746 285F movea.l A4, [A7]+
00006748 4E5E unlink A6
0000674A 4E75 rts
0000674C DA41 add.w D5, D1
0000674E 5244 addq.w D4, 1
00006750 4655 not.w [A5]
00006752 5A5A addq.w [A2]+, 5
00006754 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006756-0000675C
fn00006756:
00006756 4E56 0000 link A6, 0
0000675A 42A7 clr.l -[A7]
// end alternate branch 00006756-0000675C
fn00006756: // (misaligned)
00006758 0000 42A7 ori.b D0, 0xA7
0000675C 4EBA D308 jsr [PC - 0x2CF8 /* 00003A66 */]
00006760 205F movea.l A0, [A7]+
00006762 1028 0017 move.b D0, [A0 + 0x17]
00006766 6706 beq +0x8 /* 0000676E */
00006768 4EBA FF5E jsr [PC - 0xA2 /* 000066C8 */]
0000676C 6004 bra +0x6 /* 00006772 */
label0000676E:
0000676E 4EBA FFAE jsr [PC - 0x52 /* 0000671E */]
label00006772:
00006772 4E5E unlink A6
00006774 4E75 rts
00006776 C34C exg A1, A4
00006778 5253 addq.w [A3], 1
0000677A 5441 addq.w D1, 2
0000677C 4745 chk.w D3, D5
0000677E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006780-00006784
fn00006780:
00006780 4E56 F05A link A6, -0x0FA6
// end alternate branch 00006780-00006784
fn00006780: // (misaligned)
00006782 F05A .extension 0x05A // unimplemented
00006784 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00006788 42A7 clr.l -[A7]
0000678A 4EBA D2DA jsr [PC - 0x2D26 /* 00003A66 */]
0000678E 285F movea.l A4, [A7]+
00006790 41EE F060 lea.l A0, [A6 - 0xFA0]
00006794 2948 0E4C move.l [A4 + 0xE4C], A0
00006798 47EC 0B84 lea.l A3, [A4 + 0xB84]
0000679C 1013 move.b D0, [A3]
0000679E 4880 ext.w D0
000067A0 3E00 move.w D7, D0
label000067A2:
000067A2 4A47 tst.w D7
000067A4 6F32 ble +0x34 /* 000067D8 */
000067A6 2007 move.l D0, D7
000067A8 C1FC 000C muls.w D0, 0xC
000067AC 41F3 00F8 lea.l A0, [A3 + D0.w - 0x8]
000067B0 2C08 move.l D6, A0
000067B2 2046 movea.l A0, D6
000067B4 3E10 move.w D7, [A0]
000067B6 2046 movea.l A0, D6
000067B8 4868 0004 pea.l [A0 + 0x4]
000067BC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000067C0 3F3C 0004 move.w -[A7], 0x4
000067C4 3F3C 0004 move.w -[A7], 0x4
000067C8 4EBA D1FE jsr [PC - 0x2E02 /* 000039C8 */]
000067CC 3F3C 0004 move.w -[A7], 0x4
000067D0 548F addq.l A7, 2
000067D2 4EBA FC82 jsr [PC - 0x37E /* 00006456 */]
000067D6 60CA bra -0x34 /* 000067A2 */
label000067D8:
000067D8 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000067DC 4E5E unlink A6
000067DE 2E9F move.l [A7], [A7]+
000067E0 4E75 rts
000067E2 D847 add.w D4, D7
000067E4 434C chk.w D1, A4
000067E6 5547 subq.w D7, 2
000067E8 2020 move.l D0, -[A0]
000067EA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000067EC-000067F0
fn000067EC:
000067EC 4E56 FFF6 link A6, -0x000A
// end alternate branch 000067EC-000067F0
fn000067EC: // (misaligned)
000067EE FFF6 .extension 0xFF6 // unimplemented
000067F0 48E7 0118 movem.l -[A7], D7,A3,A4
000067F4 42A7 clr.l -[A7]
000067F6 4EBA D26E jsr [PC - 0x2D92 /* 00003A66 */]
000067FA 205F movea.l A0, [A7]+
000067FC 2D48 FFF6 move.l [A6 - 0xA], A0
00006800 206E FFF6 movea.l A0, [A6 - 0xA]
00006804 49E8 0B84 lea.l A4, [A0 + 0xB84]
00006808 1014 move.b D0, [A4]
0000680A 4880 ext.w D0
0000680C 3E00 move.w D7, D0
label0000680E:
0000680E 4A47 tst.w D7
00006810 6F2E ble +0x30 /* 00006840 */
00006812 2007 move.l D0, D7
00006814 C1FC 000C muls.w D0, 0xC
00006818 41F4 00F8 lea.l A0, [A4 + D0.w - 0x8]
0000681C 2648 movea.l A3, A0
0000681E 3E13 move.w D7, [A3]
00006820 486B 0004 pea.l [A3 + 0x4]
00006824 2F2E 0008 move.l -[A7], [A6 + 0x8]
00006828 3F3C 0004 move.w -[A7], 0x4
0000682C 3F3C 0004 move.w -[A7], 0x4
00006830 4EBA D196 jsr [PC - 0x2E6A /* 000039C8 */]
00006834 3F3C 0004 move.w -[A7], 0x4
00006838 548F addq.l A7, 2
0000683A 4EBA FC1A jsr [PC - 0x3E6 /* 00006456 */]
0000683E 60CE bra -0x30 /* 0000680E */
label00006840:
00006840 4CDF 1880 movem.l D7,A3,A4, [A7]+
00006844 4E5E unlink A6
00006846 2E9F move.l [A7], [A7]+
00006848 4E75 rts
0000684A D847 add.w D4, D7
0000684C 4E4F trap 15
0000684E 434C chk.w D1, A4
00006850 5547 subq.w D7, 2
00006852 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006854-00006858
fn00006854:
00006854 4E56 FFE4 link A6, -0x001C
// end alternate branch 00006854-00006858
fn00006854: // (misaligned)
00006856 FFE4 .extension 0xFE4 // unimplemented
00006858 48E7 0118 movem.l -[A7], D7,A3,A4
0000685C 42A7 clr.l -[A7]
0000685E 4EBA D206 jsr [PC - 0x2DFA /* 00003A66 */]
00006862 285F movea.l A4, [A7]+
00006864 266C 089A movea.l A3, [A4 + 0x89A]
00006868 41EB 028E lea.l A0, [A3 + 0x28E]
0000686C 2F08 move.l -[A7], A0
0000686E 486E FFF2 pea.l [A6 - 0xE]
00006872 4EBA D5F4 jsr [PC - 0x2A0C /* 00003E68 */]
00006876 41EB 04F6 lea.l A0, [A3 + 0x4F6]
0000687A 2F08 move.l -[A7], A0
0000687C 486E FFF6 pea.l [A6 - 0xA]
00006880 4EBA D5E6 jsr [PC - 0x2A1A /* 00003E68 */]
00006884 202E FFF2 move.l D0, [A6 - 0xE]
00006888 7200 moveq.l D1, 0x00
0000688A B081 cmp.l D0, D1
0000688C 6700 01E6 beq +0x1E8 /* 00006A74 */
00006890 41EB 028E lea.l A0, [A3 + 0x28E]
00006894 2F08 move.l -[A7], A0
00006896 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000689A 3F3C 0004 move.w -[A7], 0x4
0000689E 3F3C 0004 move.w -[A7], 0x4
000068A2 4EBA D124 jsr [PC - 0x2EDC /* 000039C8 */]
000068A6 3F3C 0004 move.w -[A7], 0x4
000068AA 548F addq.l A7, 2
000068AC 4EBA F702 jsr [PC - 0x8FE /* 00005FB0 */]
000068B0 41EB 028E lea.l A0, [A3 + 0x28E]
000068B4 2F08 move.l -[A7], A0
000068B6 41EB 04F6 lea.l A0, [A3 + 0x4F6]
000068BA 2F08 move.l -[A7], A0
000068BC 486E FFFA pea.l [A6 - 0x6]
000068C0 4EBA D454 jsr [PC - 0x2BAC /* 00003D16 */]
000068C4 42AE FFEA clr.l [A6 - 0x16]
000068C8 4EBA E39C jsr [PC - 0x1C64 /* 00004C66 */]
000068CC 7E18 moveq.l D7, 0x18
000068CE 6000 0102 bra +0x104 /* 000069D2 */
label000068D2:
000068D2 3007 move.w D0, D7
000068D4 6B18 bmi +0x1A /* 000068EE */
000068D6 B07C 001F cmp.w D0, 0x1F
000068DA 6E12 bgt +0x14 /* 000068EE */
000068DC 41EE FFFE lea.l A0, [A6 - 0x2]
000068E0 3200 move.w D1, D0
000068E2 E649 lsr D1.w, 3
000068E4 4441 neg.w D1
000068E6 0130 10FF btst [A0 + D1.w - 0x1], D0
000068EA 0A3C 0004 xori.b ccr, 4
label000068EE:
000068EE 6600 00E0 bne +0xE2 /* 000069D0 */
000068F2 3007 move.w D0, D7
000068F4 6B18 bmi +0x1A /* 0000690E */
000068F6 B07C 001F cmp.w D0, 0x1F
000068FA 6E12 bgt +0x14 /* 0000690E */
000068FC 41EE FFF6 lea.l A0, [A6 - 0xA]
00006900 3200 move.w D1, D0
00006902 E649 lsr D1.w, 3
00006904 4441 neg.w D1
00006906 0130 10FF btst [A0 + D1.w - 0x1], D0
0000690A 0A3C 0004 xori.b ccr, 4
label0000690E:
0000690E 6664 bne +0x66 /* 00006974 */
00006910 7001 moveq.l D0, 0x01
00006912 6B24 bmi +0x26 /* 00006938 */
00006914 206C 089A movea.l A0, [A4 + 0x89A]
00006918 2207 move.l D1, D7
0000691A E941 asl D1.w, 4
0000691C B07C 000F cmp.w D0, 0xF
00006920 6E16 bgt +0x18 /* 00006938 */
00006922 43E8 0292 lea.l A1, [A0 + 0x292]
00006926 41F1 1000 lea.l A0, [A1 + D1.w]
0000692A 3200 move.w D1, D0
0000692C E649 lsr D1.w, 3
0000692E 4441 neg.w D1
00006930 0130 10FF btst [A0 + D1.w - 0x1], D0
00006934 0A3C 0004 xori.b ccr, 4
label00006938:
00006938 6626 bne +0x28 /* 00006960 */
0000693A 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000693E 3F3C 0004 move.w -[A7], 0x4
00006942 3F07 move.w -[A7], D7
00006944 4EBA CFF0 jsr [PC - 0x3010 /* 00003936 */]
00006948 4EBA D02E jsr [PC - 0x2FD2 /* 00003978 */]
0000694C 3F3C 0004 move.w -[A7], 0x4
00006950 4EBA D076 jsr [PC - 0x2F8A /* 000039C8 */]
00006954 3F3C 0004 move.w -[A7], 0x4
00006958 548F addq.l A7, 2
0000695A 2D5F FFEA move.l [A6 - 0x16], [A7]+
0000695E 6014 bra +0x16 /* 00006974 */
label00006960:
00006960 206C 089A movea.l A0, [A4 + 0x89A]
00006964 2007 move.l D0, D7
00006966 E740 asl D0.w, 3
00006968 41E8 042E lea.l A0, [A0 + 0x42E]
0000696C 4870 0000 pea.l [A0 + D0.w]
00006970 4EBA E43C jsr [PC - 0x1BC4 /* 00004DAE */]
label00006974:
00006974 3007 move.w D0, D7
00006976 6B18 bmi +0x1A /* 00006990 */
00006978 B07C 001F cmp.w D0, 0x1F
0000697C 6E12 bgt +0x14 /* 00006990 */
0000697E 41EE FFFA lea.l A0, [A6 - 0x6]
00006982 3200 move.w D1, D0
00006984 E649 lsr D1.w, 3
00006986 4441 neg.w D1
00006988 0130 10FF btst [A0 + D1.w - 0x1], D0
0000698C 0A3C 0004 xori.b ccr, 4
label00006990:
00006990 663E bne +0x40 /* 000069D0 */
00006992 7001 moveq.l D0, 0x01
00006994 6B24 bmi +0x26 /* 000069BA */
00006996 206C 089A movea.l A0, [A4 + 0x89A]
0000699A 2207 move.l D1, D7
0000699C E941 asl D1.w, 4
0000699E B07C 000F cmp.w D0, 0xF
000069A2 6E16 bgt +0x18 /* 000069BA */
000069A4 43E8 04FA lea.l A1, [A0 + 0x4FA]
000069A8 41F1 1000 lea.l A0, [A1 + D1.w]
000069AC 3200 move.w D1, D0
000069AE E649 lsr D1.w, 3
000069B0 4441 neg.w D1
000069B2 0130 10FF btst [A0 + D1.w - 0x1], D0
000069B6 0A3C 0004 xori.b ccr, 4
label000069BA:
000069BA 6714 beq +0x16 /* 000069D0 */
000069BC 206C 089A movea.l A0, [A4 + 0x89A]
000069C0 2007 move.l D0, D7
000069C2 E740 asl D0.w, 3
000069C4 41E8 0696 lea.l A0, [A0 + 0x696]
000069C8 4870 0000 pea.l [A0 + D0.w]
000069CC 4EBA E3E0 jsr [PC - 0x1C20 /* 00004DAE */]
label000069D0:
000069D0 5347 subq.w D7, 1
label000069D2:
000069D2 0C47 0001 cmpi.w D7, 0x1
000069D6 6C00 FEFA bge -0x104 /* 000068D2 */
000069DA 202E FFEA move.l D0, [A6 - 0x16]
000069DE 4680 not.l D0
000069E0 C0AE FFF2 and.l D0, [A6 - 0xE]
000069E4 2D40 FFEE move.l [A6 - 0x12], D0
000069E8 102C 0E54 move.b D0, [A4 + 0xE54]
000069EC 671C beq +0x1E /* 00006A0A */
000069EE 2F2E FFEE move.l -[A7], [A6 - 0x12]
000069F2 3F3C 0004 move.w -[A7], 0x4
000069F6 3F3C 0004 move.w -[A7], 0x4
000069FA 4EBA CFCC jsr [PC - 0x3034 /* 000039C8 */]
000069FE 3F3C 0004 move.w -[A7], 0x4
00006A02 548F addq.l A7, 2
00006A04 4EBA FDE6 jsr [PC - 0x21A /* 000067EC */]
00006A08 601A bra +0x1C /* 00006A24 */
label00006A0A:
00006A0A 2F2E FFEE move.l -[A7], [A6 - 0x12]
00006A0E 3F3C 0004 move.w -[A7], 0x4
00006A12 3F3C 0004 move.w -[A7], 0x4
00006A16 4EBA CFB0 jsr [PC - 0x3050 /* 000039C8 */]
00006A1A 3F3C 0004 move.w -[A7], 0x4
00006A1E 548F addq.l A7, 2
00006A20 4EBA FD5E jsr [PC - 0x2A2 /* 00006780 */]
label00006A24:
00006A24 202E FFEA move.l D0, [A6 - 0x16]
00006A28 7200 moveq.l D1, 0x00
00006A2A B081 cmp.l D0, D1
00006A2C 6744 beq +0x46 /* 00006A72 */
00006A2E 7E01 moveq.l D7, 0x01
00006A30 603A bra +0x3C /* 00006A6C */
label00006A32:
00006A32 3007 move.w D0, D7
00006A34 6B18 bmi +0x1A /* 00006A4E */
00006A36 B07C 001F cmp.w D0, 0x1F
00006A3A 6E12 bgt +0x14 /* 00006A4E */
00006A3C 41EE FFEE lea.l A0, [A6 - 0x12]
00006A40 3200 move.w D1, D0
00006A42 E649 lsr D1.w, 3
00006A44 4441 neg.w D1
00006A46 0130 10FF btst [A0 + D1.w - 0x1], D0
00006A4A 0A3C 0004 xori.b ccr, 4
label00006A4E:
00006A4E 661A bne +0x1C /* 00006A6A */
00006A50 206C 089A movea.l A0, [A4 + 0x89A]
00006A54 2007 move.l D0, D7
00006A56 E940 asl D0.w, 4
00006A58 41E8 028E lea.l A0, [A0 + 0x28E]
00006A5C 47F0 0000 lea.l A3, [A0 + D0.w]
00006A60 3F07 move.w -[A7], D7
00006A62 3F3C 0001 move.w -[A7], 0x1
00006A66 4EBA E4BE jsr [PC - 0x1B42 /* 00004F26 */]
label00006A6A:
00006A6A 5247 addq.w D7, 1
label00006A6C:
00006A6C 0C47 0018 cmpi.w D7, 0x18
00006A70 6FC0 ble -0x3E /* 00006A32 */
label00006A72:
00006A72 600E bra +0x10 /* 00006A82 */
label00006A74:
00006A74 202E FFF6 move.l D0, [A6 - 0xA]
00006A78 7200 moveq.l D1, 0x00
00006A7A B081 cmp.l D0, D1
00006A7C 6704 beq +0x6 /* 00006A82 */
00006A7E 4EBA FCD6 jsr [PC - 0x32A /* 00006756 */]
label00006A82:
00006A82 4CDF 1880 movem.l D7,A3,A4, [A7]+
00006A86 4E5E unlink A6
00006A88 4E75 rts
00006A8A D844 add.w D4, D4
00006A8C 4F47 chk.w D7, D7
00006A8E 5241 addq.w D1, 1
00006A90 4655 not.w [A5]
00006A92 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006A94-00006A98
fn00006A94:
00006A94 4E56 FFE0 link A6, -0x0020
// end alternate branch 00006A94-00006A98
fn00006A94: // (misaligned)
00006A96 FFE0 .extension 0xFE0 // unimplemented
00006A98 48E7 0108 movem.l -[A7], D7,A4
00006A9C 206E 000C movea.l A0, [A6 + 0xC]
00006AA0 43EE FFF8 lea.l A1, [A6 - 0x8]
00006AA4 22D8 move.l [A1]+, [A0]+
00006AA6 22D8 move.l [A1]+, [A0]+
00006AA8 42A7 clr.l -[A7]
00006AAA 4EBA CFBA jsr [PC - 0x3046 /* 00003A66 */]
00006AAE 285F movea.l A4, [A7]+
00006AB0 486E FFF8 pea.l [A6 - 0x8]
00006AB4 A87B syscall ClipRect
00006AB6 486E FFF8 pea.l [A6 - 0x8]
00006ABA 206C 089A movea.l A0, [A4 + 0x89A]
00006ABE 41E8 028E lea.l A0, [A0 + 0x28E]
00006AC2 2F08 move.l -[A7], A0
00006AC4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00006AC8 3F3C 0004 move.w -[A7], 0x4
00006ACC 3F3C 0004 move.w -[A7], 0x4
00006AD0 4EBA CEF6 jsr [PC - 0x310A /* 000039C8 */]
00006AD4 3F3C 0004 move.w -[A7], 0x4
00006AD8 548F addq.l A7, 2
00006ADA 486E FFF4 pea.l [A6 - 0xC]
00006ADE 4EBA D31E jsr [PC - 0x2CE2 /* 00003DFE */]
00006AE2 102C 001C move.b D0, [A4 + 0x1C]
00006AE6 6712 beq +0x14 /* 00006AFA */
00006AE8 42A7 clr.l -[A7]
00006AEA 4EBA CFA0 jsr [PC - 0x3060 /* 00003A8C */]
00006AEE 205F movea.l A0, [A7]+
00006AF0 43EE FFE2 lea.l A1, [A6 - 0x1E]
00006AF4 22D8 move.l [A1]+, [A0]+
00006AF6 22D8 move.l [A1]+, [A0]+
00006AF8 6010 bra +0x12 /* 00006B0A */
label00006AFA:
00006AFA 42A7 clr.l -[A7]
00006AFC 4EBA CF9A jsr [PC - 0x3066 /* 00003A98 */]
00006B00 205F movea.l A0, [A7]+
00006B02 43EE FFE2 lea.l A1, [A6 - 0x1E]
00006B06 22D8 move.l [A1]+, [A0]+
00006B08 22D8 move.l [A1]+, [A0]+
label00006B0A:
00006B0A 486E FFF8 pea.l [A6 - 0x8]
00006B0E 486E FFE2 pea.l [A6 - 0x1E]
00006B12 A8A5 syscall FillRect
00006B14 7E01 moveq.l D7, 0x01
00006B16 6028 bra +0x2A /* 00006B40 */
label00006B18:
00006B18 3007 move.w D0, D7
00006B1A 6B18 bmi +0x1A /* 00006B34 */
00006B1C B07C 001F cmp.w D0, 0x1F
00006B20 6E12 bgt +0x14 /* 00006B34 */
00006B22 41EE FFF8 lea.l A0, [A6 - 0x8]
00006B26 3200 move.w D1, D0
00006B28 E649 lsr D1.w, 3
00006B2A 4441 neg.w D1
00006B2C 0130 10FF btst [A0 + D1.w - 0x1], D0
00006B30 0A3C 0004 xori.b ccr, 4
label00006B34:
00006B34 6608 bne +0xA /* 00006B3E */
00006B36 3F07 move.w -[A7], D7
00006B38 4267 clr.w -[A7]
00006B3A 4EBA E3EA jsr [PC - 0x1C16 /* 00004F26 */]
label00006B3E:
00006B3E 5247 addq.w D7, 1
label00006B40:
00006B40 0C47 0018 cmpi.w D7, 0x18
00006B44 6FD2 ble -0x2C /* 00006B18 */
00006B46 4CDF 1080 movem.l D7,A4, [A7]+
00006B4A 4E5E unlink A6
00006B4C 205F movea.l A0, [A7]+
00006B4E 504F addq.w A7, 8
00006B50 4ED0 jmp [A0]
00006B52 C442 and.w D2, D2
00006B54 434C chk.w D1, A4
00006B56 5553 subq.w [A3], 2
00006B58 5455 addq.w [A5], 2
00006B5A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006B5C-00006B60
fn00006B5C:
00006B5C 4E56 FFF6 link A6, -0x000A
// end alternate branch 00006B5C-00006B60
fn00006B5C: // (misaligned)
00006B5E FFF6 .extension 0xFF6 // unimplemented
00006B60 48E7 0118 movem.l -[A7], D7,A3,A4
00006B64 42A7 clr.l -[A7]
00006B66 4EBA CEFE jsr [PC - 0x3102 /* 00003A66 */]
00006B6A 205F movea.l A0, [A7]+
00006B6C 2D48 FFF6 move.l [A6 - 0xA], A0
00006B70 206E FFF6 movea.l A0, [A6 - 0xA]
00006B74 49E8 0B84 lea.l A4, [A0 + 0xB84]
00006B78 1014 move.b D0, [A4]
00006B7A 4880 ext.w D0
00006B7C 3E00 move.w D7, D0
label00006B7E:
00006B7E 4A47 tst.w D7
00006B80 6F2E ble +0x30 /* 00006BB0 */
00006B82 2007 move.l D0, D7
00006B84 C1FC 000C muls.w D0, 0xC
00006B88 41F4 00F8 lea.l A0, [A4 + D0.w - 0x8]
00006B8C 2648 movea.l A3, A0
00006B8E 3E13 move.w D7, [A3]
00006B90 486B 0004 pea.l [A3 + 0x4]
00006B94 2F2E 0008 move.l -[A7], [A6 + 0x8]
00006B98 3F3C 0004 move.w -[A7], 0x4
00006B9C 3F3C 0004 move.w -[A7], 0x4
00006BA0 4EBA CE26 jsr [PC - 0x31DA /* 000039C8 */]
00006BA4 3F3C 0004 move.w -[A7], 0x4
00006BA8 548F addq.l A7, 2
00006BAA 4EBA FEE8 jsr [PC - 0x118 /* 00006A94 */]
00006BAE 60CE bra -0x30 /* 00006B7E */
label00006BB0:
00006BB0 4CDF 1880 movem.l D7,A3,A4, [A7]+
00006BB4 4E5E unlink A6
00006BB6 2E9F move.l [A7], [A7]+
00006BB8 4E75 rts
00006BBA D847 add.w D4, D7
00006BBC 4442 neg.w D2
00006BBE 2020 move.l D0, -[A0]
00006BC0 2020 move.l D0, -[A0]
00006BC2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006BC4-00006BCA
fn00006BC4:
00006BC4 4E56 0000 link A6, 0
00006BC8 2F0C move.l -[A7], A4
// end alternate branch 00006BC4-00006BCA
fn00006BC4: // (misaligned)
00006BC6 0000 2F0C ori.b D0, 0xC
00006BCA 42A7 clr.l -[A7]
00006BCC 4EBA CE98 jsr [PC - 0x3168 /* 00003A66 */]
00006BD0 205F movea.l A0, [A7]+
00006BD2 49E8 0B18 lea.l A4, [A0 + 0xB18]
00006BD6 0C2C 0002 0001 cmpi.b [A4 + 0x1], 0x2
00006BDC 6608 bne +0xA /* 00006BE6 */
00006BDE 197C 0001 0001 move.b [A4 + 0x1], 0x1
00006BE4 6006 bra +0x8 /* 00006BEC */
label00006BE6:
00006BE6 197C 0002 0001 move.b [A4 + 0x1], 0x2
label00006BEC:
00006BEC 285F movea.l A4, [A7]+
00006BEE 4E5E unlink A6
00006BF0 4E75 rts
00006BF2 D357 add.w [A7], D1
00006BF4 4150 chk.w D0, [A0]
00006BF6 4F20 .invalid 7, -[A0] // invalid opcode 4 with b == 4
00006BF8 2020 move.l D0, -[A0]
00006BFA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006BFC-00006C00
fn00006BFC:
00006BFC 4E56 FFF8 link A6, -0x0008
// end alternate branch 00006BFC-00006C00
fn00006BFC: // (misaligned)
00006BFE FFF8 .extension 0xFF8 // unimplemented
00006C00 486E FFF8 pea.l [A6 - 0x8]
00006C04 3F3C 8AD0 move.w -[A7], 0x8AD0
00006C08 3F3C 8AD0 move.w -[A7], 0x8AD0
00006C0C 3F3C 7530 move.w -[A7], 0x7530 /* 'u0' */
00006C10 3F3C 7530 move.w -[A7], 0x7530 /* 'u0' */
00006C14 A8A7 syscall SetRect
00006C16 486E FFF8 pea.l [A6 - 0x8]
00006C1A A87B syscall ClipRect
00006C1C 4E5E unlink A6
00006C1E 4E75 rts
00006C20 C649 and.w D3, A1
00006C22 5843 addq.w D3, 4
00006C24 4C49 5020 movem.l D5,A4,A6, A1
00006C28 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006C2A-00006C2E
fn00006C2A:
00006C2A 4E56 FFDC link A6, -0x0024
// end alternate branch 00006C2A-00006C2E
fn00006C2A: // (misaligned)
00006C2C FFDC .extension 0xFDC // unimplemented
00006C2E 48E7 0118 movem.l -[A7], D7,A3,A4
00006C32 42A7 clr.l -[A7]
00006C34 4EBA CE30 jsr [PC - 0x31D0 /* 00003A66 */]
00006C38 285F movea.l A4, [A7]+
00006C3A 486E FFDC pea.l [A6 - 0x24]
00006C3E A874 syscall GetPort
00006C40 2F2C 0E38 move.l -[A7], [A4 + 0xE38]
00006C44 A873 syscall SetPort
00006C46 41EC 0E3E lea.l A0, [A4 + 0xE3E]
00006C4A 43EC 0E56 lea.l A1, [A4 + 0xE56]
00006C4E 20D9 move.l [A0]+, [A1]+
00006C50 20D9 move.l [A0]+, [A1]+
00006C52 20D9 move.l [A0]+, [A1]+
00006C54 3091 move.w [A0], [A1]
00006C56 0C2C 0001 0B19 cmpi.b [A4 + 0xB19], 0x1
00006C5C 6606 bne +0x8 /* 00006C64 */
00006C5E 296C 0E68 0E3E move.l [A4 + 0xE3E], [A4 + 0xE68]
label00006C64:
00006C64 486C 0E3E pea.l [A4 + 0xE3E]
00006C68 A875 syscall SetPBits/SetPortBits
00006C6A 422C 0E3D clr.b [A4 + 0xE3D]
00006C6E 47EC 013C lea.l A3, [A4 + 0x13C]
00006C72 41EB 028E lea.l A0, [A3 + 0x28E]
00006C76 2F08 move.l -[A7], A0
00006C78 486E FFEE pea.l [A6 - 0x12]
00006C7C 4EBA D1EA jsr [PC - 0x2E16 /* 00003E68 */]
00006C80 41EC 089E lea.l A0, [A4 + 0x89E]
00006C84 2F08 move.l -[A7], A0
00006C86 486E FFF2 pea.l [A6 - 0xE]
00006C8A 4EBA D1DC jsr [PC - 0x2E24 /* 00003E68 */]
00006C8E 202E FFEE move.l D0, [A6 - 0x12]
00006C92 7200 moveq.l D1, 0x00
00006C94 B081 cmp.l D0, D1
00006C96 6700 020C beq +0x20E /* 00006EA4 */
00006C9A 41EB 028E lea.l A0, [A3 + 0x28E]
00006C9E 2F08 move.l -[A7], A0
00006CA0 2F2E FFEE move.l -[A7], [A6 - 0x12]
00006CA4 3F3C 0004 move.w -[A7], 0x4
00006CA8 3F3C 0004 move.w -[A7], 0x4
00006CAC 4EBA CD1A jsr [PC - 0x32E6 /* 000039C8 */]
00006CB0 3F3C 0004 move.w -[A7], 0x4
00006CB4 548F addq.l A7, 2
00006CB6 4EBA F2F8 jsr [PC - 0xD08 /* 00005FB0 */]
00006CBA 41EB 028E lea.l A0, [A3 + 0x28E]
00006CBE 2F08 move.l -[A7], A0
00006CC0 41EC 089E lea.l A0, [A4 + 0x89E]
00006CC4 2F08 move.l -[A7], A0
00006CC6 486E FFF6 pea.l [A6 - 0xA]
00006CCA 4EBA D04A jsr [PC - 0x2FB6 /* 00003D16 */]
00006CCE 42AE FFE6 clr.l [A6 - 0x1A]
00006CD2 4EBA DF92 jsr [PC - 0x206E /* 00004C66 */]
00006CD6 7E18 moveq.l D7, 0x18
00006CD8 6000 00F2 bra +0xF4 /* 00006DCC */
label00006CDC:
00006CDC 3007 move.w D0, D7
00006CDE 6B18 bmi +0x1A /* 00006CF8 */
00006CE0 B07C 001F cmp.w D0, 0x1F
00006CE4 6E12 bgt +0x14 /* 00006CF8 */
00006CE6 41EE FFFA lea.l A0, [A6 - 0x6]
00006CEA 3200 move.w D1, D0
00006CEC E649 lsr D1.w, 3
00006CEE 4441 neg.w D1
00006CF0 0130 10FF btst [A0 + D1.w - 0x1], D0
00006CF4 0A3C 0004 xori.b ccr, 4
label00006CF8:
00006CF8 6600 00D0 bne +0xD2 /* 00006DCA */
00006CFC 3007 move.w D0, D7
00006CFE 6B18 bmi +0x1A /* 00006D18 */
00006D00 B07C 001F cmp.w D0, 0x1F
00006D04 6E12 bgt +0x14 /* 00006D18 */
00006D06 41EE FFF2 lea.l A0, [A6 - 0xE]
00006D0A 3200 move.w D1, D0
00006D0C E649 lsr D1.w, 3
00006D0E 4441 neg.w D1
00006D10 0130 10FF btst [A0 + D1.w - 0x1], D0
00006D14 0A3C 0004 xori.b ccr, 4
label00006D18:
00006D18 665C bne +0x5E /* 00006D76 */
00006D1A 7001 moveq.l D0, 0x01
00006D1C 6B20 bmi +0x22 /* 00006D3E */
00006D1E 2207 move.l D1, D7
00006D20 E941 asl D1.w, 4
00006D22 B07C 000F cmp.w D0, 0xF
00006D26 6E16 bgt +0x18 /* 00006D3E */
00006D28 43EC 03CE lea.l A1, [A4 + 0x3CE]
00006D2C 41F1 1000 lea.l A0, [A1 + D1.w]
00006D30 3200 move.w D1, D0
00006D32 E649 lsr D1.w, 3
00006D34 4441 neg.w D1
00006D36 0130 10FF btst [A0 + D1.w - 0x1], D0
00006D3A 0A3C 0004 xori.b ccr, 4
label00006D3E:
00006D3E 6626 bne +0x28 /* 00006D66 */
00006D40 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00006D44 3F3C 0004 move.w -[A7], 0x4
00006D48 3F07 move.w -[A7], D7
00006D4A 4EBA CBEA jsr [PC - 0x3416 /* 00003936 */]
00006D4E 4EBA CC28 jsr [PC - 0x33D8 /* 00003978 */]
00006D52 3F3C 0004 move.w -[A7], 0x4
00006D56 4EBA CC70 jsr [PC - 0x3390 /* 000039C8 */]
00006D5A 3F3C 0004 move.w -[A7], 0x4
00006D5E 548F addq.l A7, 2
00006D60 2D5F FFE6 move.l [A6 - 0x1A], [A7]+
00006D64 6010 bra +0x12 /* 00006D76 */
label00006D66:
00006D66 2007 move.l D0, D7
00006D68 E740 asl D0.w, 3
00006D6A 41EC 056A lea.l A0, [A4 + 0x56A]
00006D6E 4870 0000 pea.l [A0 + D0.w]
00006D72 4EBA E03A jsr [PC - 0x1FC6 /* 00004DAE */]
label00006D76:
00006D76 3007 move.w D0, D7
00006D78 6B18 bmi +0x1A /* 00006D92 */
00006D7A B07C 001F cmp.w D0, 0x1F
00006D7E 6E12 bgt +0x14 /* 00006D92 */
00006D80 41EE FFF6 lea.l A0, [A6 - 0xA]
00006D84 3200 move.w D1, D0
00006D86 E649 lsr D1.w, 3
00006D88 4441 neg.w D1
00006D8A 0130 10FF btst [A0 + D1.w - 0x1], D0
00006D8E 0A3C 0004 xori.b ccr, 4
label00006D92:
00006D92 6636 bne +0x38 /* 00006DCA */
00006D94 7001 moveq.l D0, 0x01
00006D96 6B20 bmi +0x22 /* 00006DB8 */
00006D98 2207 move.l D1, D7
00006D9A E941 asl D1.w, 4
00006D9C B07C 000F cmp.w D0, 0xF
00006DA0 6E16 bgt +0x18 /* 00006DB8 */
00006DA2 43EC 08A2 lea.l A1, [A4 + 0x8A2]
00006DA6 41F1 1000 lea.l A0, [A1 + D1.w]
00006DAA 3200 move.w D1, D0
00006DAC E649 lsr D1.w, 3
00006DAE 4441 neg.w D1
00006DB0 0130 10FF btst [A0 + D1.w - 0x1], D0
00006DB4 0A3C 0004 xori.b ccr, 4
label00006DB8:
00006DB8 6710 beq +0x12 /* 00006DCA */
00006DBA 2007 move.l D0, D7
00006DBC E740 asl D0.w, 3
00006DBE 41EC 0A3E lea.l A0, [A4 + 0xA3E]
00006DC2 4870 0000 pea.l [A0 + D0.w]
00006DC6 4EBA DFE6 jsr [PC - 0x201A /* 00004DAE */]
label00006DCA:
00006DCA 5347 subq.w D7, 1
label00006DCC:
00006DCC 0C47 0001 cmpi.w D7, 0x1
00006DD0 6C00 FF0A bge -0xF4 /* 00006CDC */
00006DD4 202E FFE6 move.l D0, [A6 - 0x1A]
00006DD8 4680 not.l D0
00006DDA C0AE FFEE and.l D0, [A6 - 0x12]
00006DDE 2D40 FFEA move.l [A6 - 0x16], D0
00006DE2 2F2E FFEA move.l -[A7], [A6 - 0x16]
00006DE6 3F3C 0004 move.w -[A7], 0x4
00006DEA 3F3C 0004 move.w -[A7], 0x4
00006DEE 4EBA CBD8 jsr [PC - 0x3428 /* 000039C8 */]
00006DF2 3F3C 0004 move.w -[A7], 0x4
00006DF6 548F addq.l A7, 2
00006DF8 4EBA FD62 jsr [PC - 0x29E /* 00006B5C */]
00006DFC 4EBA FDFE jsr [PC - 0x202 /* 00006BFC */]
00006E00 202E FFE6 move.l D0, [A6 - 0x1A]
00006E04 7200 moveq.l D1, 0x00
00006E06 B081 cmp.l D0, D1
00006E08 6700 0098 beq +0x9A /* 00006EA2 */
00006E0C 7E01 moveq.l D7, 0x01
00006E0E 6036 bra +0x38 /* 00006E46 */
label00006E10:
00006E10 3007 move.w D0, D7
00006E12 6B18 bmi +0x1A /* 00006E2C */
00006E14 B07C 001F cmp.w D0, 0x1F
00006E18 6E12 bgt +0x14 /* 00006E2C */
00006E1A 41EE FFEA lea.l A0, [A6 - 0x16]
00006E1E 3200 move.w D1, D0
00006E20 E649 lsr D1.w, 3
00006E22 4441 neg.w D1
00006E24 0130 10FF btst [A0 + D1.w - 0x1], D0
00006E28 0A3C 0004 xori.b ccr, 4
label00006E2C:
00006E2C 6616 bne +0x18 /* 00006E44 */
00006E2E 2007 move.l D0, D7
00006E30 E940 asl D0.w, 4
00006E32 41EC 03CA lea.l A0, [A4 + 0x3CA]
00006E36 47F0 0000 lea.l A3, [A0 + D0.w]
00006E3A 3F07 move.w -[A7], D7
00006E3C 3F3C 0001 move.w -[A7], 0x1
00006E40 4EBA E0E4 jsr [PC - 0x1F1C /* 00004F26 */]
label00006E44:
00006E44 5247 addq.w D7, 1
label00006E46:
00006E46 0C47 0018 cmpi.w D7, 0x18
00006E4A 6FC4 ble -0x3A /* 00006E10 */
00006E4C 0C2C 0001 0B19 cmpi.b [A4 + 0xB19], 0x1
00006E52 6608 bne +0xA /* 00006E5C */
00006E54 296C 0E64 0DCE move.l [A4 + 0xDCE], [A4 + 0xE64]
00006E5A 6006 bra +0x8 /* 00006E62 */
label00006E5C:
00006E5C 296C 0E68 0DCE move.l [A4 + 0xDCE], [A4 + 0xE68]
label00006E62:
00006E62 7E01 moveq.l D7, 0x01
00006E64 6036 bra +0x38 /* 00006E9C */
label00006E66:
00006E66 3007 move.w D0, D7
00006E68 6B18 bmi +0x1A /* 00006E82 */
00006E6A B07C 001F cmp.w D0, 0x1F
00006E6E 6E12 bgt +0x14 /* 00006E82 */
00006E70 41EE FFEA lea.l A0, [A6 - 0x16]
00006E74 3200 move.w D1, D0
00006E76 E649 lsr D1.w, 3
00006E78 4441 neg.w D1
00006E7A 0130 10FF btst [A0 + D1.w - 0x1], D0
00006E7E 0A3C 0004 xori.b ccr, 4
label00006E82:
00006E82 6616 bne +0x18 /* 00006E9A */
00006E84 2007 move.l D0, D7
00006E86 E940 asl D0.w, 4
00006E88 41EC 03CA lea.l A0, [A4 + 0x3CA]
00006E8C 47F0 0000 lea.l A3, [A0 + D0.w]
00006E90 3F07 move.w -[A7], D7
00006E92 3F3C 0001 move.w -[A7], 0x1
00006E96 4EBA E08E jsr [PC - 0x1F72 /* 00004F26 */]
label00006E9A:
00006E9A 5247 addq.w D7, 1
label00006E9C:
00006E9C 0C47 0018 cmpi.w D7, 0x18
00006EA0 6FC4 ble -0x3A /* 00006E66 */
label00006EA2:
00006EA2 6026 bra +0x28 /* 00006ECA */
label00006EA4:
00006EA4 41EC 0632 lea.l A0, [A4 + 0x632]
00006EA8 2F08 move.l -[A7], A0
00006EAA 486E FFFA pea.l [A6 - 0x6]
00006EAE 4EBA CFB8 jsr [PC - 0x3048 /* 00003E68 */]
00006EB2 202E FFFA move.l D0, [A6 - 0x6]
00006EB6 7200 moveq.l D1, 0x00
00006EB8 B081 cmp.l D0, D1
00006EBA 670E beq +0x10 /* 00006ECA */
00006EBC 4EBA F898 jsr [PC - 0x768 /* 00006756 */]
00006EC0 4EBA FD02 jsr [PC - 0x2FE /* 00006BC4 */]
00006EC4 4EBA 00F8 jsr [PC + 0xF8 /* 00006FBE */]
00006EC8 6004 bra +0x6 /* 00006ECE */
label00006ECA:
00006ECA 4EBA FCF8 jsr [PC - 0x308 /* 00006BC4 */]
label00006ECE:
00006ECE 47EC 013C lea.l A3, [A4 + 0x13C]
00006ED2 41EB 04F6 lea.l A0, [A3 + 0x4F6]
00006ED6 2F08 move.l -[A7], A0
00006ED8 41EC 089E lea.l A0, [A4 + 0x89E]
00006EDC 2F08 move.l -[A7], A0
00006EDE 4EBA CED2 jsr [PC - 0x312E /* 00003DB2 */]
00006EE2 486C 0E56 pea.l [A4 + 0xE56]
00006EE6 A875 syscall SetPBits/SetPortBits
00006EE8 2F2E FFDC move.l -[A7], [A6 - 0x24]
00006EEC A873 syscall SetPort
00006EEE 4CDF 1880 movem.l D7,A3,A4, [A7]+
00006EF2 4E5E unlink A6
00006EF4 4E75 rts
00006EF6 C442 and.w D2, D2
00006EF8 4752 chk.w D3, [A2]
00006EFA 4146 chk.w D0, D6
00006EFC 5550 subq.w [A0], 2
00006EFE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006F00-00006F04
fn00006F00:
00006F00 4E56 FFFC link A6, -0x0004
// end alternate branch 00006F00-00006F04
fn00006F00: // (misaligned)
00006F02 FFFC .extension 0xFFC // unimplemented
00006F04 2D7C 0000 08CC FFFC move.l [A6 - 0x4], 0x8CC
00006F0C 206E FFFC movea.l A0, [A6 - 0x4]
00006F10 1010 move.b D0, [A0]
00006F12 670C beq +0xE /* 00006F20 */
00006F14 206E 0008 movea.l A0, [A6 + 0x8]
00006F18 10BC 0001 move.b [A0], 0x1
00006F1C A852 syscall HideCursor
00006F1E 6006 bra +0x8 /* 00006F26 */
label00006F20:
00006F20 206E 0008 movea.l A0, [A6 + 0x8]
00006F24 4210 clr.b [A0]
label00006F26:
00006F26 4E5E unlink A6
00006F28 2E9F move.l [A7], [A7]+
00006F2A 4E75 rts
00006F2C D055 add.w D0, [A5]
00006F2E 5348 subq.w A0, 1
00006F30 4355 chk.w D1, [A5]
00006F32 5253 addq.w [A3], 1
00006F34 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006F36-00006F40
fn00006F36:
00006F36 4E56 0000 link A6, 0
00006F3A 206E 0008 movea.l A0, [A6 + 0x8]
00006F3E 1010 move.b D0, [A0]
// end alternate branch 00006F36-00006F40
fn00006F36: // (misaligned)
00006F38 0000 206E ori.b D0, 0x6E /* 'n' */
00006F3C 0008 1010 ori.b A0, 0x10
00006F40 6702 beq +0x4 /* 00006F44 */
00006F42 A853 syscall ShowCursor
label00006F44:
00006F44 4E5E unlink A6
00006F46 2E9F move.l [A7], [A7]+
00006F48 4E75 rts
00006F4A D04F add.w D0, A7
00006F4C 5043 addq.w D3, 8
00006F4E 5552 subq.w [A2], 2
00006F50 5320 subq.b -[A0], 1
00006F52 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006F54-00006F58
fn00006F54:
00006F54 4E56 FFFE link A6, -0x0002
// end alternate branch 00006F54-00006F58
fn00006F54: // (misaligned)
00006F56 FFFE .extension 0xFFE // unimplemented
00006F58 48E7 0018 movem.l -[A7], A3,A4
00006F5C 42A7 clr.l -[A7]
00006F5E 4EBA CB06 jsr [PC - 0x34FA /* 00003A66 */]
00006F62 285F movea.l A4, [A7]+
00006F64 102C 0E55 move.b D0, [A4 + 0xE55]
00006F68 6742 beq +0x44 /* 00006FAC */
00006F6A 4A2C 0B19 tst.b [A4 + 0xB19]
00006F6E 663C bne +0x3E /* 00006FAC */
00006F70 486E FFFF pea.l [A6 - 0x1]
00006F74 4EBA FF8A jsr [PC - 0x76 /* 00006F00 */]
00006F78 2F2C 0E64 move.l -[A7], [A4 + 0xE64]
00006F7C 2F2C 0E68 move.l -[A7], [A4 + 0xE68]
00006F80 2F3C 0000 5580 move.l -[A7], 0x5580
00006F86 4EBA C282 jsr [PC - 0x3D7E /* 0000320A */]
00006F8A 486E FFFF pea.l [A6 - 0x1]
00006F8E 4EBA FFA6 jsr [PC - 0x5A /* 00006F36 */]
00006F92 47EC 013C lea.l A3, [A4 + 0x13C]
00006F96 41EB 04F6 lea.l A0, [A3 + 0x4F6]
00006F9A 2F08 move.l -[A7], A0
00006F9C 41EC 089E lea.l A0, [A4 + 0x89E]
00006FA0 2F08 move.l -[A7], A0
00006FA2 4EBA CE0E jsr [PC - 0x31F2 /* 00003DB2 */]
00006FA6 197C 0001 0B19 move.b [A4 + 0xB19], 0x1
label00006FAC:
00006FAC 4CDF 1800 movem.l A3,A4, [A7]+
00006FB0 4E5E unlink A6
00006FB2 4E75 rts
00006FB4 D354 add.w [A4], D1
00006FB6 4152 chk.w D0, [A2]
00006FB8 5444 addq.w D4, 2
00006FBA 424C clr.w A4
00006FBC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00006FBE-00006FC2
fn00006FBE:
00006FBE 4E56 FFFE link A6, -0x0002
// end alternate branch 00006FBE-00006FC2
fn00006FBE: // (misaligned)
00006FC0 FFFE .extension 0xFFE // unimplemented
00006FC2 2F0C move.l -[A7], A4
00006FC4 42A7 clr.l -[A7]
00006FC6 4EBA CA9E jsr [PC - 0x3562 /* 00003A66 */]
00006FCA 285F movea.l A4, [A7]+
00006FCC 4A2C 0B19 tst.b [A4 + 0xB19]
00006FD0 6738 beq +0x3A /* 0000700A */
00006FD2 486E FFFF pea.l [A6 - 0x1]
00006FD6 4EBA FF28 jsr [PC - 0xD8 /* 00006F00 */]
00006FDA 0C2C 0002 0B19 cmpi.b [A4 + 0xB19], 0x2
00006FE0 6612 bne +0x14 /* 00006FF4 */
00006FE2 2F2C 0E68 move.l -[A7], [A4 + 0xE68]
00006FE6 2F2C 0E64 move.l -[A7], [A4 + 0xE64]
00006FEA 2F3C 0000 5580 move.l -[A7], 0x5580
00006FF0 4EBA C218 jsr [PC - 0x3DE8 /* 0000320A */]
label00006FF4:
00006FF4 422C 0B19 clr.b [A4 + 0xB19]
00006FF8 4EBA CACC jsr [PC - 0x3534 /* 00003AC6 */]
00006FFC 197C 0001 0E3D move.b [A4 + 0xE3D], 0x1
00007002 486E FFFF pea.l [A6 - 0x1]
00007006 4EBA FF2E jsr [PC - 0xD2 /* 00006F36 */]
label0000700A:
0000700A 285F movea.l A4, [A7]+
0000700C 4E5E unlink A6
0000700E 4E75 rts
00007010 D657 add.w D3, [A7]
00007012 4455 neg.w [A5]
00007014 4D50 chk.w D6, [A0]
00007016 4442 neg.w D2
00007018 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000701A-00007022
fn0000701A:
0000701A 4E56 0000 link A6, 0
0000701E 4EBA D9C0 jsr [PC - 0x2640 /* 000049E0 */]
// end alternate branch 0000701A-00007022
fn0000701A: // (misaligned)
0000701C 0000 4EBA ori.b D0, 0xBA
00007020 D9C0 add.l A4, D0
00007022 42A7 clr.l -[A7]
00007024 4EBA CA40 jsr [PC - 0x35C0 /* 00003A66 */]
00007028 205F movea.l A0, [A7]+
0000702A 4A28 0B19 tst.b [A0 + 0xB19]
0000702E 6706 beq +0x8 /* 00007036 */
00007030 4EBA FBF8 jsr [PC - 0x408 /* 00006C2A */]
00007034 6004 bra +0x6 /* 0000703A */
label00007036:
00007036 4EBA F81C jsr [PC - 0x7E4 /* 00006854 */]
label0000703A:
0000703A 4E5E unlink A6
0000703C 4E75 rts
0000703E C44F and.w D2, A7
00007040 4752 chk.w D3, [A2]
00007042 4146 chk.w D0, D6
00007044 5550 subq.w [A0], 2
00007046 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007048-0000704C
fn00007048:
00007048 4E56 FB2C link A6, -0x04D4
// end alternate branch 00007048-0000704C
fn00007048: // (misaligned)
0000704A FB2C .extension 0xB2C // unimplemented
0000704C 48E7 0018 movem.l -[A7], A3,A4
00007050 42A7 clr.l -[A7]
00007052 4EBA CA12 jsr [PC - 0x35EE /* 00003A66 */]
00007056 285F movea.l A4, [A7]+
00007058 486E FB2C pea.l [A6 - 0x4D4]
0000705C A874 syscall GetPort
0000705E 2F2C 0010 move.l -[A7], [A4 + 0x10]
00007062 A873 syscall SetPort
00007064 266C 089A movea.l A3, [A4 + 0x89A]
00007068 41EB 028E lea.l A0, [A3 + 0x28E]
0000706C 2F08 move.l -[A7], A0
0000706E 41EE FB30 lea.l A0, [A6 - 0x4D0]
00007072 2F08 move.l -[A7], A0
00007074 4EBA CD1A jsr [PC - 0x32E6 /* 00003D90 */]
00007078 2F2C 089A move.l -[A7], [A4 + 0x89A]
0000707C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00007080 4EBA ED52 jsr [PC - 0x12AE /* 00005DD4 */]
00007084 4267 clr.w -[A7]
00007086 2F2C 089A move.l -[A7], [A4 + 0x89A]
0000708A 4EBA EB94 jsr [PC - 0x146C /* 00005C20 */]
0000708E 195F 001A move.b [A4 + 0x1A], [A7]+
00007092 41EB 04F6 lea.l A0, [A3 + 0x4F6]
00007096 2F08 move.l -[A7], A0
00007098 41EE FD98 lea.l A0, [A6 - 0x268]
0000709C 2F08 move.l -[A7], A0
0000709E 4EBA CCF0 jsr [PC - 0x3310 /* 00003D90 */]
000070A2 41EE FB30 lea.l A0, [A6 - 0x4D0]
000070A6 2F08 move.l -[A7], A0
000070A8 41EB 04F6 lea.l A0, [A3 + 0x4F6]
000070AC 2F08 move.l -[A7], A0
000070AE 4EBA CCE0 jsr [PC - 0x3320 /* 00003D90 */]
000070B2 2F2E FB2C move.l -[A7], [A6 - 0x4D4]
000070B6 A873 syscall SetPort
000070B8 4CDF 1800 movem.l A3,A4, [A7]+
000070BC 4E5E unlink A6
000070BE 205F movea.l A0, [A7]+
000070C0 544F addq.w A7, 2
000070C2 4ED0 jmp [A0]
000070C4 D657 add.w D3, [A7]
000070C6 474F chk.w D3, A7
000070C8 544F addq.w A7, 2
000070CA 4652 not.w [A2]
000070CC 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000070CE-000070D2
fn000070CE:
000070CE 4E56 FFF2 link A6, -0x000E
// end alternate branch 000070CE-000070D2
fn000070CE: // (misaligned)
000070D0 FFF2 .extension 0xFF2 // unimplemented
000070D2 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000070D6 422E 0008 clr.b [A6 + 0x8]
000070DA 4267 clr.w -[A7]
000070DC 4EBA C94E jsr [PC - 0x36B2 /* 00003A2C */]
000070E0 101F move.b D0, [A7]+
000070E2 6700 0158 beq +0x15A /* 0000723C */
000070E6 42A7 clr.l -[A7]
000070E8 4EBA C97C jsr [PC - 0x3684 /* 00003A66 */]
000070EC 285F movea.l A4, [A7]+
000070EE 102C 0018 move.b D0, [A4 + 0x18]
000070F2 6700 0148 beq +0x14A /* 0000723C */
000070F6 42A7 clr.l -[A7]
000070F8 A975 syscall TickCount
000070FA 302C 001E move.w D0, [A4 + 0x1E]
000070FE 48C0 ext.l D0
00007100 D0AC 0020 add.l D0, [A4 + 0x20]
00007104 B09F cmp.l D0, [A7]+
00007106 6E00 0134 bgt +0x136 /* 0000723C */
0000710A 2A2C 0020 move.l D5, [A4 + 0x20]
0000710E 42A7 clr.l -[A7]
00007110 A975 syscall TickCount
00007112 295F 0020 move.l [A4 + 0x20], [A7]+
00007116 2F2C 089A move.l -[A7], [A4 + 0x89A]
0000711A 4EBA E968 jsr [PC - 0x1698 /* 00005A84 */]
0000711E 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007122 4EBA E9AA jsr [PC - 0x1656 /* 00005ACE */]
00007126 102C 001A move.b D0, [A4 + 0x1A]
0000712A 6716 beq +0x18 /* 00007142 */
0000712C 4EBA EA54 jsr [PC - 0x15AC /* 00005B82 */]
00007130 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007134 4EBA EBB6 jsr [PC - 0x144A /* 00005CEC */]
00007138 197C 0001 001B move.b [A4 + 0x1B], 0x1
0000713E 6000 00DC bra +0xDE /* 0000721C */
label00007142:
00007142 4267 clr.w -[A7]
00007144 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007148 4EBA EAD6 jsr [PC - 0x152A /* 00005C20 */]
0000714C 101F move.b D0, [A7]+
0000714E 6600 00CC bne +0xCE /* 0000721C */
00007152 102C 001D move.b D0, [A4 + 0x1D]
00007156 0A00 0001 xori.b D0, 0x1
0000715A 6600 00B2 bne +0xB4 /* 0000720E */
0000715E 202C 0020 move.l D0, [A4 + 0x20]
00007162 9085 sub.l D0, D5
00007164 2F00 move.l -[A7], D0
00007166 302C 001E move.w D0, [A4 + 0x1E]
0000716A 48C0 ext.l D0
0000716C 2F00 move.l -[A7], D0
0000716E 4EBA C6EE jsr [PC - 0x3912 /* 0000385E */]
00007172 2E1F move.l D7, [A7]+
00007174 0C87 0000 0040 cmpi.l D7, 0x40 /* '@' */
0000717A 6F02 ble +0x4 /* 0000717E */
0000717C 7E40 moveq.l D7, 0x40
label0000717E:
0000717E 0C87 0000 0001 cmpi.l D7, 0x1
00007184 6F00 0088 ble +0x8A /* 0000720E */
00007188 2F2C 089A move.l -[A7], [A4 + 0x89A]
0000718C 4EBA E940 jsr [PC - 0x16C0 /* 00005ACE */]
label00007190:
00007190 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007194 4EBA EBEA jsr [PC - 0x1416 /* 00005D80 */]
00007198 4267 clr.w -[A7]
0000719A 2F2C 089A move.l -[A7], [A4 + 0x89A]
0000719E 4EBA EA80 jsr [PC - 0x1580 /* 00005C20 */]
000071A2 101F move.b D0, [A7]+
000071A4 6652 bne +0x54 /* 000071F8 */
000071A6 5387 subq.l D7, 1
000071A8 266C 089A movea.l A3, [A4 + 0x89A]
000071AC 7C01 moveq.l D6, 0x01
000071AE 600E bra +0x10 /* 000071BE */
label000071B0:
000071B0 2006 move.l D0, D6
000071B2 E940 asl D0.w, 4
000071B4 0C33 0001 0026 cmpi.b [A3 + D0.w + 0x26], 0x1
000071BA 673C beq +0x3E /* 000071F8 */
000071BC 5246 addq.w D6, 1
label000071BE:
000071BE 0C46 0018 cmpi.w D6, 0x18
000071C2 6FEC ble -0x12 /* 000071B0 */
000071C4 41EB 0026 lea.l A0, [A3 + 0x26]
000071C8 2D48 FFF2 move.l [A6 - 0xE], A0
000071CC 206E FFF2 movea.l A0, [A6 - 0xE]
000071D0 4A10 tst.b [A0]
000071D2 6624 bne +0x26 /* 000071F8 */
000071D4 7001 moveq.l D0, 0x01
000071D6 6B1A bmi +0x1C /* 000071F2 */
000071D8 206E FFF2 movea.l A0, [A6 - 0xE]
000071DC B07C 000F cmp.w D0, 0xF
000071E0 6E10 bgt +0x12 /* 000071F2 */
000071E2 5888 addq.l A0, 4
000071E4 3200 move.w D1, D0
000071E6 E649 lsr D1.w, 3
000071E8 4441 neg.w D1
000071EA 0130 10FF btst [A0 + D1.w - 0x1], D0
000071EE 0A3C 0004 xori.b ccr, 4
label000071F2:
000071F2 6704 beq +0x6 /* 000071F8 */
000071F4 4A87 tst.l D7
000071F6 6E98 bgt -0x66 /* 00007190 */
label000071F8:
000071F8 266C 089A movea.l A3, [A4 + 0x89A]
000071FC 41EB 0026 lea.l A0, [A3 + 0x26]
00007200 2F08 move.l -[A7], A0
00007202 41EB 028E lea.l A0, [A3 + 0x28E]
00007206 2F08 move.l -[A7], A0
00007208 4EBA CB86 jsr [PC - 0x347A /* 00003D90 */]
0000720C 600A bra +0xC /* 00007218 */
label0000720E:
0000720E 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007212 4267 clr.w -[A7]
00007214 4EBA EA4A jsr [PC - 0x15B6 /* 00005C60 */]
label00007218:
00007218 422C 001B clr.b [A4 + 0x1B]
label0000721C:
0000721C 4267 clr.w -[A7]
0000721E 2F2C 089A move.l -[A7], [A4 + 0x89A]
00007222 4EBA E9FC jsr [PC - 0x1604 /* 00005C20 */]
00007226 101F move.b D0, [A7]+
00007228 670C beq +0xE /* 00007236 */
0000722A 196C 0019 0018 move.b [A4 + 0x18], [A4 + 0x19]
00007230 197C 0001 001A move.b [A4 + 0x1A], 0x1
label00007236:
00007236 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
label0000723C:
0000723C 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00007240 4E5E unlink A6
00007242 4E75 rts
00007244 D657 add.w D3, [A7]
00007246 5354 subq.w [A4], 1
00007248 4550 chk.w D2, [A0]
0000724A 5052 addq.w [A2], 8
0000724C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000724E-00007252
fn0000724E:
0000724E 4E56 FFF8 link A6, -0x0008
// end alternate branch 0000724E-00007252
fn0000724E: // (misaligned)
00007250 FFF8 .extension 0xFF8 // unimplemented
00007252 48E7 0018 movem.l -[A7], A3,A4
00007256 4267 clr.w -[A7]
00007258 4EBA C7D2 jsr [PC - 0x382E /* 00003A2C */]
0000725C 101F move.b D0, [A7]+
0000725E 6700 009A beq +0x9C /* 000072FA */
00007262 42A7 clr.l -[A7]
00007264 4EBA C800 jsr [PC - 0x3800 /* 00003A66 */]
00007268 285F movea.l A4, [A7]+
0000726A 4267 clr.w -[A7]
0000726C 4EBA D1C0 jsr [PC - 0x2E40 /* 0000442E */]
00007270 101F move.b D0, [A7]+
00007272 0A00 0001 xori.b D0, 0x1
00007276 6600 0082 bne +0x84 /* 000072FA */
0000727A 486E FFFC pea.l [A6 - 0x4]
0000727E A874 syscall GetPort
00007280 2F2C 0010 move.l -[A7], [A4 + 0x10]
00007284 A873 syscall SetPort
00007286 102C 0017 move.b D0, [A4 + 0x17]
0000728A 0A00 0001 xori.b D0, 0x1
0000728E 6712 beq +0x14 /* 000072A2 */
00007290 42A7 clr.l -[A7]
00007292 A8D8 syscall NewRgn
00007294 265F movea.l A3, [A7]+
00007296 2F0B move.l -[A7], A3
00007298 A87A syscall GetClip
0000729A 486C 0008 pea.l [A4 + 0x8]
0000729E A87B syscall ClipRect
000072A0 6004 bra +0x6 /* 000072A6 */
label000072A2:
000072A2 4EBA FCB0 jsr [PC - 0x350 /* 00006F54 */]
label000072A6:
000072A6 4EBA FD72 jsr [PC - 0x28E /* 0000701A */]
000072AA 102C 001B move.b D0, [A4 + 0x1B]
000072AE 670E beq +0x10 /* 000072BE */
000072B0 206C 089A movea.l A0, [A4 + 0x89A]
000072B4 41E8 04F6 lea.l A0, [A0 + 0x4F6]
000072B8 2F08 move.l -[A7], A0
000072BA 4EBA CAB6 jsr [PC - 0x354A /* 00003D72 */]
label000072BE:
000072BE 102C 0017 move.b D0, [A4 + 0x17]
000072C2 0A00 0001 xori.b D0, 0x1
000072C6 6708 beq +0xA /* 000072D0 */
000072C8 2F0B move.l -[A7], A3
000072CA A879 syscall SetClip
000072CC 2F0B move.l -[A7], A3
000072CE A8D9 syscall DisposRgn/DisposeRgn
label000072D0:
000072D0 4EBA D1B8 jsr [PC - 0x2E48 /* 0000448A */]
000072D4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000072D8 A873 syscall SetPort
000072DA 102C 0B18 move.b D0, [A4 + 0xB18]
000072DE 0A00 0001 xori.b D0, 0x1
000072E2 6716 beq +0x18 /* 000072FA */
000072E4 2F2C 0B1C move.l -[A7], [A4 + 0xB1C]
000072E8 3F3C 0002 move.w -[A7], 0x2
000072EC 42A7 clr.l -[A7]
000072EE 1F2C 0018 move.b -[A7], [A4 + 0x18]
000072F2 4EBA D6C4 jsr [PC - 0x293C /* 000049B8 */]
000072F6 4EBA C7D8 jsr [PC - 0x3828 /* 00003AD0 */]
label000072FA:
000072FA 4CDF 1800 movem.l A3,A4, [A7]+
000072FE 4E5E unlink A6
00007300 4E75 rts
00007302 D657 add.w D3, [A7]
00007304 4452 neg.w [A2]
00007306 4157 chk.w D0, [A7]
00007308 4652 not.w [A2]
0000730A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000730C-00007310
fn0000730C:
0000730C 4E56 FD94 link A6, -0x026C
// end alternate branch 0000730C-00007310
fn0000730C: // (misaligned)
0000730E FD94 .extension 0xD94 // unimplemented
00007310 48E7 0018 movem.l -[A7], A3,A4
00007314 42A7 clr.l -[A7]
00007316 4EBA C74E jsr [PC - 0x38B2 /* 00003A66 */]
0000731A 285F movea.l A4, [A7]+
0000731C 206C 089A movea.l A0, [A4 + 0x89A]
00007320 4A50 tst.w [A0]
00007322 6632 bne +0x34 /* 00007356 */
00007324 486E FD94 pea.l [A6 - 0x26C]
00007328 A910 syscall GetWMgrPort
0000732A 206E FD94 movea.l A0, [A6 - 0x26C]
0000732E 43EC 0572 lea.l A1, [A4 + 0x572]
00007332 41E8 0010 lea.l A0, [A0 + 0x10]
00007336 22D8 move.l [A1]+, [A0]+
00007338 22D8 move.l [A1]+, [A0]+
0000733A 47EC 03DA lea.l A3, [A4 + 0x3DA]
0000733E 377C 0001 000E move.w [A3 + 0xE], 0x1
00007344 377C 0001 000C move.w [A3 + 0xC], 0x1
0000734A 177C 0001 0001 move.b [A3 + 0x1], 0x1
00007350 377C 03FF 0006 move.w [A3 + 0x6], 0x3FF
label00007356:
00007356 42A7 clr.l -[A7]
00007358 A975 syscall TickCount
0000735A 295F 0020 move.l [A4 + 0x20], [A7]+
0000735E 197C 0001 0018 move.b [A4 + 0x18], 0x1
00007364 4CDF 1800 movem.l A3,A4, [A7]+
00007368 4E5E unlink A6
0000736A 4E75 rts
0000736C D657 add.w D3, [A7]
0000736E 5354 subq.w [A4], 1
00007370 4152 chk.w D0, [A2]
00007372 5441 addq.w D1, 2
00007374 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007376-0000737C
fn00007376:
00007376 4E56 0000 link A6, 0
0000737A 42A7 clr.l -[A7]
// end alternate branch 00007376-0000737C
fn00007376: // (misaligned)
00007378 0000 42A7 ori.b D0, 0xA7
0000737C 4EBA C6E8 jsr [PC - 0x3918 /* 00003A66 */]
00007380 205F movea.l A0, [A7]+
00007382 4228 0018 clr.b [A0 + 0x18]
00007386 4E5E unlink A6
00007388 4E75 rts
0000738A D657 add.w D3, [A7]
0000738C 5354 subq.w [A4], 1
0000738E 4F50 chk.w D7, [A0]
00007390 414E chk.w D0, A6
00007392 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007394-00007398
fn00007394:
00007394 4E56 FFF8 link A6, -0x0008
// end alternate branch 00007394-00007398
fn00007394: // (misaligned)
00007396 FFF8 .extension 0xFF8 // unimplemented
00007398 4267 clr.w -[A7]
0000739A 4EBA C690 jsr [PC - 0x3970 /* 00003A2C */]
0000739E 101F move.b D0, [A7]+
000073A0 6738 beq +0x3A /* 000073DA */
000073A2 42A7 clr.l -[A7]
000073A4 4EBA C6C0 jsr [PC - 0x3940 /* 00003A66 */]
000073A8 205F movea.l A0, [A7]+
000073AA 2D48 FFF8 move.l [A6 - 0x8], A0
000073AE 4267 clr.w -[A7]
000073B0 4EBA D07C jsr [PC - 0x2F84 /* 0000442E */]
000073B4 101F move.b D0, [A7]+
000073B6 0A00 0001 xori.b D0, 0x1
000073BA 661E bne +0x20 /* 000073DA */
000073BC 486E FFFC pea.l [A6 - 0x4]
000073C0 A874 syscall GetPort
000073C2 206E FFF8 movea.l A0, [A6 - 0x8]
000073C6 2F28 0010 move.l -[A7], [A0 + 0x10]
000073CA A873 syscall SetPort
000073CC 4EBA F204 jsr [PC - 0xDFC /* 000065D2 */]
000073D0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000073D4 A873 syscall SetPort
000073D6 4EBA D0B2 jsr [PC - 0x2F4E /* 0000448A */]
label000073DA:
000073DA 4E5E unlink A6
000073DC 4E75 rts
000073DE D657 add.w D3, [A7]
000073E0 5550 subq.w [A0], 2
000073E2 4441 neg.w D1
000073E4 5445 addq.w D5, 2
000073E6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000073E8-000073EC
fn000073E8:
000073E8 4E56 FFF8 link A6, -0x0008
// end alternate branch 000073E8-000073EC
fn000073E8: // (misaligned)
000073EA FFF8 .extension 0xFF8 // unimplemented
000073EC 4267 clr.w -[A7]
000073EE 4EBA C63C jsr [PC - 0x39C4 /* 00003A2C */]
000073F2 101F move.b D0, [A7]+
000073F4 6738 beq +0x3A /* 0000742E */
000073F6 42A7 clr.l -[A7]
000073F8 4EBA C66C jsr [PC - 0x3994 /* 00003A66 */]
000073FC 205F movea.l A0, [A7]+
000073FE 2D48 FFF8 move.l [A6 - 0x8], A0
00007402 4267 clr.w -[A7]
00007404 4EBA D028 jsr [PC - 0x2FD8 /* 0000442E */]
00007408 101F move.b D0, [A7]+
0000740A 0A00 0001 xori.b D0, 0x1
0000740E 661E bne +0x20 /* 0000742E */
00007410 486E FFFC pea.l [A6 - 0x4]
00007414 A874 syscall GetPort
00007416 206E FFF8 movea.l A0, [A6 - 0x8]
0000741A 2F28 0010 move.l -[A7], [A0 + 0x10]
0000741E A873 syscall SetPort
00007420 4EBA F1B0 jsr [PC - 0xE50 /* 000065D2 */]
00007424 2F2E FFFC move.l -[A7], [A6 - 0x4]
00007428 A873 syscall SetPort
0000742A 4EBA D05E jsr [PC - 0x2FA2 /* 0000448A */]
label0000742E:
0000742E 4E5E unlink A6
00007430 4E75 rts
00007432 D657 add.w D3, [A7]
00007434 5245 addq.w D5, 1
00007436 4745 chk.w D3, D5
00007438 4E20 .invalid // invalid opcode 4
0000743A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000743C-00007446
fn0000743C:
0000743C 4E56 0000 link A6, 0
00007440 206E 0008 movea.l A0, [A6 + 0x8]
00007444 3010 move.w D0, [A0]
// end alternate branch 0000743C-00007446
fn0000743C: // (misaligned)
0000743E 0000 206E ori.b D0, 0x6E /* 'n' */
00007442 0008 3010 ori.b A0, 0x10
00007446 5340 subq.w D0, 1
00007448 6706 beq +0x8 /* 00007450 */
0000744A 5D40 subq.w D0, 6
0000744C 670C beq +0xE /* 0000745A */
0000744E 6014 bra +0x16 /* 00007464 */
label00007450:
00007450 2F2E 0008 move.l -[A7], [A6 + 0x8]
00007454 4EBA E2E0 jsr [PC - 0x1D20 /* 00005736 */]
00007458 6012 bra +0x14 /* 0000746C */
label0000745A:
0000745A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000745E 4EBA E3B2 jsr [PC - 0x1C4E /* 00005812 */]
00007462 6008 bra +0xA /* 0000746C */
label00007464:
00007464 2F2E 0008 move.l -[A7], [A6 + 0x8]
00007468 4EBA E31E jsr [PC - 0x1CE2 /* 00005788 */]
label0000746C:
0000746C 4E5E unlink A6
0000746E 2E9F move.l [A7], [A7]+
00007470 4E75 rts
00007472 C153 .incomplete
00007474 4B41 chk.w D5, D1
00007476 4354 chk.w D1, [A4]
00007478 4F52 chk.w D7, [A2]
0000747A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000747C-00007480
fn0000747C:
0000747C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000747C-00007480
fn0000747C: // (misaligned)
0000747E FFFC .extension 0xFFC // unimplemented
00007480 2F0C move.l -[A7], A4
00007482 42A7 clr.l -[A7]
00007484 4EBA C5E0 jsr [PC - 0x3A20 /* 00003A66 */]
00007488 285F movea.l A4, [A7]+
0000748A 4EBA E9A4 jsr [PC - 0x165C /* 00005E30 */]
0000748E 397C 0004 001E move.w [A4 + 0x1E], 0x4
00007494 486E FFFC pea.l [A6 - 0x4]
00007498 A874 syscall GetPort
0000749A 41EC 0DCC lea.l A0, [A4 + 0xDCC]
0000749E 2948 0E38 move.l [A4 + 0xE38], A0
000074A2 2F2C 0E38 move.l -[A7], [A4 + 0xE38]
000074A6 A86F syscall OpenPort
000074A8 422C 0E3C clr.b [A4 + 0xE3C]
000074AC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000074B0 A873 syscall SetPort
000074B2 42A7 clr.l -[A7]
000074B4 4EBA C5CA jsr [PC - 0x3A36 /* 00003A80 */]
000074B8 205F movea.l A0, [A7]+
000074BA 43EC 0E56 lea.l A1, [A4 + 0xE56]
000074BE 22D8 move.l [A1]+, [A0]+
000074C0 22D8 move.l [A1]+, [A0]+
000074C2 22D8 move.l [A1]+, [A0]+
000074C4 3290 move.w [A1], [A0]
000074C6 296C 0E56 0E64 move.l [A4 + 0xE64], [A4 + 0xE56]
000074CC 202C 0E64 move.l D0, [A4 + 0xE64]
000074D0 90BC 0000 8000 sub.l D0, 0x8000
000074D6 2940 0E68 move.l [A4 + 0xE68], D0
000074DA 285F movea.l A4, [A7]+
000074DC 4E5E unlink A6
000074DE 4E75 rts
000074E0 C94E exg A4, A6
000074E2 4954 chk.w D4, [A4]
000074E4 5354 subq.w [A4], 1
000074E6 4147 chk.w D0, D7
000074E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000074EA-000074EE
fn000074EA:
000074EA 4E56 FFF2 link A6, -0x000E
// end alternate branch 000074EA-000074EE
fn000074EA: // (misaligned)
000074EC FFF2 .extension 0xFF2 // unimplemented
000074EE 48E7 0108 movem.l -[A7], D7,A4
000074F2 4AAE 000A tst.l [A6 + 0xA]
000074F6 673E beq +0x40 /* 00007536 */
000074F8 42A7 clr.l -[A7]
000074FA 4EBA C56A jsr [PC - 0x3A96 /* 00003A66 */]
000074FE 205F movea.l A0, [A7]+
00007500 2D48 FFF4 move.l [A6 - 0xC], A0
00007504 3D6E 0008 FFF2 move.w [A6 - 0xE], [A6 + 0x8]
0000750A 7E01 moveq.l D7, 0x01
0000750C 6022 bra +0x24 /* 00007530 */
label0000750E:
0000750E 206E 000A movea.l A0, [A6 + 0xA]
00007512 2050 movea.l A0, [A0]
00007514 2007 move.l D0, D7
00007516 C1FC 0026 muls.w D0, 0x26 /* '&' */
0000751A 49F0 0000 lea.l A4, [A0 + D0.w]
0000751E 4AAC 0002 tst.l [A4 + 0x2]
00007522 6708 beq +0xA /* 0000752C */
00007524 486C 0002 pea.l [A4 + 0x2]
00007528 4EBA D95E jsr [PC - 0x26A2 /* 00004E88 */]
label0000752C:
0000752C 5247 addq.w D7, 1
0000752E 6906 bvs +0x8 /* 00007536 */
label00007530:
00007530 BE6E FFF2 cmp.w D7, [A6 - 0xE]
00007534 6FD8 ble -0x26 /* 0000750E */
label00007536:
00007536 4CDF 1080 movem.l D7,A4, [A7]+
0000753A 4E5E unlink A6
0000753C 205F movea.l A0, [A7]+
0000753E 5C4F addq.w A7, 6
00007540 4ED0 jmp [A0]
00007542 C34C exg A1, A4
00007544 4F53 chk.w D7, [A3]
00007546 4543 chk.w D2, D3
00007548 4153 chk.w D0, [A3]
0000754A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000754C-00007550
fn0000754C:
0000754C 4E56 FFF6 link A6, -0x000A
// end alternate branch 0000754C-00007550
fn0000754C: // (misaligned)
0000754E FFF6 .extension 0xFF6 // unimplemented
00007550 48E7 0308 movem.l -[A7], D6,D7,A4
00007554 4267 clr.w -[A7]
00007556 A99B syscall SetResLoad
00007558 4267 clr.w -[A7]
0000755A 2F3A 005C move.l -[A7], [PC + 0x5C /* 000075B8, value 0x43534E44 'CSND' */]
0000755E A99C syscall CountResources
00007560 3C1F move.w D6, [A7]+
00007562 3D46 FFF6 move.w [A6 - 0xA], D6
00007566 7E01 moveq.l D7, 0x01
00007568 6030 bra +0x32 /* 0000759A */
label0000756A:
0000756A 42A7 clr.l -[A7]
0000756C 2F3A 004A move.l -[A7], [PC + 0x4A /* 000075B8, value 0x43534E44 'CSND' */]
00007570 3F07 move.w -[A7], D7
00007572 A99D syscall GetIndResource
00007574 285F movea.l A4, [A7]+
00007576 42A7 clr.l -[A7]
00007578 2F0C move.l -[A7], A4
0000757A 4EBA BC46 jsr [PC - 0x43BA /* 000031C2 */]
0000757E 0C9F 0000 0006 cmpi.l [A7]+, 0x6
00007584 6F0C ble +0xE /* 00007592 */
00007586 2F0C move.l -[A7], A4
00007588 3F3C 0003 move.w -[A7], 0x3
0000758C 42A7 clr.l -[A7]
0000758E 4EBA C540 jsr [PC - 0x3AC0 /* 00003AD0 */]
label00007592:
00007592 2F0C move.l -[A7], A4
00007594 A9A3 syscall ReleaseResource
00007596 5247 addq.w D7, 1
00007598 6906 bvs +0x8 /* 000075A0 */
label0000759A:
0000759A BE6E FFF6 cmp.w D7, [A6 - 0xA]
0000759E 6FCA ble -0x34 /* 0000756A */
label000075A0:
000075A0 1F3C 0001 move.b -[A7], 0x1
000075A4 A99B syscall SetResLoad
000075A6 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000075AA 4E5E unlink A6
000075AC 4E75 rts
000075AE C34C exg A1, A4
000075B0 4F53 chk.w D7, [A3]
000075B2 4553 chk.w D2, [A3]
000075B4 4F55 chk.w D7, [A5]
000075B6 0004 4353 ori.b D4, 0x53 /* 'S' */
000075BA 4E44 trap 4
fn000075BC:
000075BC 4E56 FFF8 link A6, -0x0008
000075C0 48E7 0108 movem.l -[A7], D7,A4
000075C4 4AAE 000A tst.l [A6 + 0xA]
000075C8 673A beq +0x3C /* 00007604 */
000075CA 42A7 clr.l -[A7]
000075CC 4EBA C498 jsr [PC - 0x3B68 /* 00003A66 */]
000075D0 205F movea.l A0, [A7]+
000075D2 2D48 FFFA move.l [A6 - 0x6], A0
000075D6 3D6E 0008 FFF8 move.w [A6 - 0x8], [A6 + 0x8]
000075DC 7E01 moveq.l D7, 0x01
000075DE 601E bra +0x20 /* 000075FE */
label000075E0:
000075E0 206E 000A movea.l A0, [A6 + 0xA]
000075E4 2050 movea.l A0, [A0]
000075E6 2007 move.l D0, D7
000075E8 C1FC 0026 muls.w D0, 0x26 /* '&' */
000075EC 49F0 0006 lea.l A4, [A0 + D0.w + 0x6]
000075F0 4A94 tst.l [A4]
000075F2 6706 beq +0x8 /* 000075FA */
000075F4 2F0C move.l -[A7], A4
000075F6 4EBA D890 jsr [PC - 0x2770 /* 00004E88 */]
label000075FA:
000075FA 5247 addq.w D7, 1
000075FC 6906 bvs +0x8 /* 00007604 */
label000075FE:
000075FE BE6E FFF8 cmp.w D7, [A6 - 0x8]
00007602 6FDC ble -0x22 /* 000075E0 */
label00007604:
00007604 4CDF 1080 movem.l D7,A4, [A7]+
00007608 4E5E unlink A6
0000760A 205F movea.l A0, [A7]+
0000760C 5C4F addq.w A7, 6
0000760E 4ED0 jmp [A0]
00007610 D055 add.w D0, [A5]
00007612 5247 addq.w D7, 1
00007614 4543 chk.w D2, D3
00007616 4F52 chk.w D7, [A2]
00007618 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000761A-0000761E
fn0000761A:
0000761A 4E56 FFF8 link A6, -0x0008
// end alternate branch 0000761A-0000761E
fn0000761A: // (misaligned)
0000761C FFF8 .extension 0xFF8 // unimplemented
0000761E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00007622 2A2E 000A move.l D5, [A6 + 0xA]
00007626 42A7 clr.l -[A7]
00007628 4EBA C43C jsr [PC - 0x3BC4 /* 00003A66 */]
0000762C 285F movea.l A4, [A7]+
0000762E 4267 clr.w -[A7]
00007630 486C 0024 pea.l [A4 + 0x24]
00007634 3F2C 0124 move.w -[A7], [A4 + 0x124]
00007638 4EBA D21A jsr [PC - 0x2DE6 /* 00004854 */]
0000763C 3C1F move.w D6, [A7]+
0000763E 3F06 move.w -[A7], D6
00007640 A998 syscall UseResFile
00007642 3E2E 0008 move.w D7, [A6 + 0x8]
00007646 6058 bra +0x5A /* 000076A0 */
label00007648:
00007648 2045 movea.l A0, D5
0000764A 2050 movea.l A0, [A0]
0000764C 2007 move.l D0, D7
0000764E C1FC 0026 muls.w D0, 0x26 /* '&' */
00007652 4A30 0000 tst.b [A0 + D0.w]
00007656 6746 beq +0x48 /* 0000769E */
00007658 42A7 clr.l -[A7]
0000765A 42A7 clr.l -[A7]
0000765C 2045 movea.l A0, D5
0000765E 2050 movea.l A0, [A0]
00007660 2007 move.l D0, D7
00007662 C1FC 0026 muls.w D0, 0x26 /* '&' */
00007666 1230 0000 move.b D1, [A0 + D0.w]
0000766A 4881 ext.w D1
0000766C 3F01 move.w -[A7], D1
0000766E 4EBA CD88 jsr [PC - 0x3278 /* 000043F8 */]
00007672 2007 move.l D0, D7
00007674 D07C 0400 add.w D0, 0x400
00007678 3F00 move.w -[A7], D0
0000767A A9A0 syscall GetResource
0000767C 265F movea.l A3, [A7]+
0000767E 2045 movea.l A0, D5
00007680 2050 movea.l A0, [A0]
00007682 2007 move.l D0, D7
00007684 C1FC 0026 muls.w D0, 0x26 /* '&' */
00007688 218B 0006 move.l [A0 + D0.w + 0x6], A3
0000768C 4267 clr.w -[A7]
0000768E A9AF syscall ResError
00007690 4A5F tst.w [A7]+
00007692 660A bne +0xC /* 0000769E */
00007694 2F0B move.l -[A7], A3
00007696 A992 syscall DetachResource
00007698 2F0B move.l -[A7], A3
0000769A 4EBA BB64 jsr [PC - 0x449C /* 00003200 */]
label0000769E:
0000769E 5347 subq.w D7, 1
label000076A0:
000076A0 0C47 0001 cmpi.w D7, 0x1
000076A4 6CA2 bge -0x5C /* 00007648 */
000076A6 3F06 move.w -[A7], D6
000076A8 A99A syscall CloseResFile
000076AA 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000076AE 4E5E unlink A6
000076B0 205F movea.l A0, [A7]+
000076B2 5C4F addq.w A7, 6
000076B4 4ED0 jmp [A0]
000076B6 CF50 .incomplete
000076B8 454E chk.w D2, A6
000076BA 4341 chk.w D1, D1
000076BC 5354 subq.w [A4], 1
000076BE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000076C0-000076C4
fn000076C0:
000076C0 4E56 FFB6 link A6, -0x004A
// end alternate branch 000076C0-000076C4
fn000076C0: // (misaligned)
000076C2 FFB6 .extension 0xFB6 // unimplemented
000076C4 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000076C8 3C2E 0012 move.w D6, [A6 + 0x12]
000076CC 42A7 clr.l -[A7]
000076CE 4EBA C396 jsr [PC - 0x3C6A /* 00003A66 */]
000076D2 205F movea.l A0, [A7]+
000076D4 2D48 FFB8 move.l [A6 - 0x48], A0
000076D8 4267 clr.w -[A7]
000076DA 3F06 move.w -[A7], D6
000076DC 3F3C 0001 move.w -[A7], 0x1
000076E0 42A7 clr.l -[A7]
000076E2 4EBA BD9A jsr [PC - 0x4266 /* 0000347E */]
000076E6 3E1F move.w D7, [A7]+
000076E8 7004 moveq.l D0, 0x04
000076EA 2D40 FFF8 move.l [A6 - 0x8], D0
000076EE 4267 clr.w -[A7]
000076F0 3F06 move.w -[A7], D6
000076F2 486E FFF8 pea.l [A6 - 0x8]
000076F6 206E FFB8 movea.l A0, [A6 - 0x48]
000076FA 41E8 0B14 lea.l A0, [A0 + 0xB14]
000076FE 2F08 move.l -[A7], A0
00007700 4EBA BBB4 jsr [PC - 0x444C /* 000032B6 */]
00007704 3E1F move.w D7, [A7]+
00007706 7026 moveq.l D0, 0x26
00007708 2D40 FFF8 move.l [A6 - 0x8], D0
0000770C 4267 clr.w -[A7]
0000770E 3F06 move.w -[A7], D6
00007710 486E FFF8 pea.l [A6 - 0x8]
00007714 41EE FFD2 lea.l A0, [A6 - 0x2E]
00007718 2F08 move.l -[A7], A0
0000771A 4EBA BB9A jsr [PC - 0x4466 /* 000032B6 */]
0000771E 3E1F move.w D7, [A7]+
00007720 102E 0008 move.b D0, [A6 + 0x8]
00007724 6710 beq +0x12 /* 00007736 */
00007726 0C6E 8888 FFF6 cmpi.w [A6 - 0xA], 0x8888
0000772C 57C0 seq D0
0000772E 4400 neg.b D0
00007730 1D40 FFBD move.b [A6 - 0x43], D0
00007734 6018 bra +0x1A /* 0000774E */
label00007736:
00007736 1D7C 0001 FFBD move.b [A6 - 0x43], 0x1
0000773C 4AAE 000A tst.l [A6 + 0xA]
00007740 670C beq +0xE /* 0000774E */
00007742 206E 000A movea.l A0, [A6 + 0xA]
00007746 2050 movea.l A0, [A0]
00007748 316E FFF6 003C move.w [A0 + 0x3C], [A6 - 0xA]
label0000774E:
0000774E 206E 000E movea.l A0, [A6 + 0xE]
00007752 30AE FFF4 move.w [A0], [A6 - 0xC]
00007756 206E 000E movea.l A0, [A6 + 0xE]
0000775A 3010 move.w D0, [A0]
0000775C 5240 addq.w D0, 1
0000775E C1FC 0026 muls.w D0, 0x26 /* '&' */
00007762 48C0 ext.l D0
00007764 2D40 FFF8 move.l [A6 - 0x8], D0
00007768 42A7 clr.l -[A7]
0000776A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000776E 4EBA BA3C jsr [PC - 0x45C4 /* 000031AC */]
00007772 265F movea.l A3, [A7]+
00007774 2F0B move.l -[A7], A3
00007776 4EBA BA6A jsr [PC - 0x4596 /* 000031E2 */]
0000777A 2813 move.l D4, [A3]
0000777C 4267 clr.w -[A7]
0000777E 3F06 move.w -[A7], D6
00007780 3F3C 0001 move.w -[A7], 0x1
00007784 7004 moveq.l D0, 0x04
00007786 2F00 move.l -[A7], D0
00007788 4EBA BCF4 jsr [PC - 0x430C /* 0000347E */]
0000778C 3E1F move.w D7, [A7]+
0000778E 4267 clr.w -[A7]
00007790 3F06 move.w -[A7], D6
00007792 486E FFF8 pea.l [A6 - 0x8]
00007796 2F04 move.l -[A7], D4
00007798 4EBA BB1C jsr [PC - 0x44E4 /* 000032B6 */]
0000779C 3E1F move.w D7, [A7]+
0000779E 206E 000E movea.l A0, [A6 + 0xE]
000077A2 3D50 FFB6 move.w [A6 - 0x4A], [A0]
000077A6 7A01 moveq.l D5, 0x01
000077A8 6062 bra +0x64 /* 0000780C */
label000077AA:
000077AA 2044 movea.l A0, D4
000077AC 2005 move.l D0, D5
000077AE C1FC 0026 muls.w D0, 0x26 /* '&' */
000077B2 49F0 0000 lea.l A4, [A0 + D0.w]
000077B6 42AC 0002 clr.l [A4 + 0x2]
000077BA 42AC 0006 clr.l [A4 + 0x6]
000077BE 102E FFBD move.b D0, [A6 - 0x43]
000077C2 671C beq +0x1E /* 000077E0 */
000077C4 0CAC 8000 0001 0020 cmpi.l [A4 + 0x20], 0x80000001
000077CC 6610 bne +0x12 /* 000077DE */
000077CE 4280 clr.l D0
000077D0 102C 0001 move.b D0, [A4 + 0x1]
000077D4 80BC 0000 0001 or.l D0, 0x1
000077DA 1940 0001 move.b [A4 + 0x1], D0
label000077DE:
000077DE 6010 bra +0x12 /* 000077F0 */
label000077E0:
000077E0 4280 clr.l D0
000077E2 102C 0001 move.b D0, [A4 + 0x1]
000077E6 80BC 0000 0001 or.l D0, 0x1
000077EC 1940 0001 move.b [A4 + 0x1], D0
label000077F0:
000077F0 4280 clr.l D0
000077F2 102C 0001 move.b D0, [A4 + 0x1]
000077F6 0800 0000 btst.b D0, 0x0
000077FA 670C beq +0xE /* 00007808 */
000077FC 486C 0010 pea.l [A4 + 0x10]
00007800 486C 0020 pea.l [A4 + 0x20]
00007804 4EBA C5D4 jsr [PC - 0x3A2C /* 00003DDA */]
label00007808:
00007808 5245 addq.w D5, 1
0000780A 6906 bvs +0x8 /* 00007812 */
label0000780C:
0000780C BA6E FFB6 cmp.w D5, [A6 - 0x4A]
00007810 6F98 ble -0x66 /* 000077AA */
label00007812:
00007812 2F0B move.l -[A7], A3
00007814 4EBA B9D6 jsr [PC - 0x462A /* 000031EC */]
00007818 206E 000E movea.l A0, [A6 + 0xE]
0000781C 3010 move.w D0, [A0]
0000781E 5240 addq.w D0, 1
00007820 C1FC 0026 muls.w D0, 0x26 /* '&' */
00007824 5840 addq.w D0, 4
00007826 48C0 ext.l D0
00007828 2D40 FFC6 move.l [A6 - 0x3A], D0
0000782C 4267 clr.w -[A7]
0000782E 3F06 move.w -[A7], D6
00007830 3F3C 0001 move.w -[A7], 0x1
00007834 2F2E FFC6 move.l -[A7], [A6 - 0x3A]
00007838 4EBA BC44 jsr [PC - 0x43BC /* 0000347E */]
0000783C 3E1F move.w D7, [A7]+
0000783E 2D4B 0014 move.l [A6 + 0x14], A3
00007842 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00007846 4E5E unlink A6
00007848 205F movea.l A0, [A7]+
0000784A DEFC 000C add.w A7, 0xC
0000784E 4ED0 jmp [A0]
00007850 C645 and.w D3, D5
00007852 5443 addq.w D3, 2
00007854 4843 swap.w D3
00007856 4153 chk.w D0, [A3]
00007858 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000785A-0000785E
fn0000785A:
0000785A 4E56 FFF6 link A6, -0x000A
// end alternate branch 0000785A-0000785E
fn0000785A: // (misaligned)
0000785C FFF6 .extension 0xFF6 // unimplemented
0000785E 48E7 0108 movem.l -[A7], D7,A4
00007862 42A7 clr.l -[A7]
00007864 4EBA C200 jsr [PC - 0x3E00 /* 00003A66 */]
00007868 285F movea.l A4, [A7]+
0000786A 7004 moveq.l D0, 0x04
0000786C 2D40 FFFC move.l [A6 - 0x4], D0
00007870 4267 clr.w -[A7]
00007872 3F2E 0008 move.w -[A7], [A6 + 0x8]
00007876 486E FFFC pea.l [A6 - 0x4]
0000787A 41EE FFF6 lea.l A0, [A6 - 0xA]
0000787E 2F08 move.l -[A7], A0
00007880 4EBA BA34 jsr [PC - 0x45CC /* 000032B6 */]
00007884 3E1F move.w D7, [A7]+
00007886 7010 moveq.l D0, 0x10
00007888 906E FFF6 sub.w D0, [A6 - 0xA]
0000788C 3940 001E move.w [A4 + 0x1E], D0
00007890 102E FFF8 move.b D0, [A6 - 0x8]
00007894 6708 beq +0xA /* 0000789E */
00007896 197C 0001 001C move.b [A4 + 0x1C], 0x1
0000789C 6004 bra +0x6 /* 000078A2 */
label0000789E:
0000789E 422C 001C clr.b [A4 + 0x1C]
label000078A2:
000078A2 422C 001D clr.b [A4 + 0x1D]
000078A6 197C 0001 0E55 move.b [A4 + 0xE55], 0x1
000078AC 102E FFF9 move.b D0, [A6 - 0x7]
000078B0 4880 ext.w D0
000078B2 0440 0072 subi.w D0, 0x72 /* 'r' */
000078B6 670A beq +0xC /* 000078C2 */
000078B8 5340 subq.w D0, 1
000078BA 670C beq +0xE /* 000078C8 */
000078BC 5340 subq.w D0, 1
000078BE 6710 beq +0x12 /* 000078D0 */
000078C0 6018 bra +0x1A /* 000078DA */
label000078C2:
000078C2 422C 0E55 clr.b [A4 + 0xE55]
000078C6 6012 bra +0x14 /* 000078DA */
label000078C8:
000078C8 197C 0001 001D move.b [A4 + 0x1D], 0x1
000078CE 600A bra +0xC /* 000078DA */
label000078D0:
000078D0 197C 0001 001D move.b [A4 + 0x1D], 0x1
000078D6 422C 0E55 clr.b [A4 + 0xE55]
label000078DA:
000078DA 422C 0E55 clr.b [A4 + 0xE55]
000078DE 4CDF 1080 movem.l D7,A4, [A7]+
000078E2 4E5E unlink A6
000078E4 205F movea.l A0, [A7]+
000078E6 544F addq.w A7, 2
000078E8 4ED0 jmp [A0]
000078EA C645 and.w D3, D5
000078EC 5443 addq.w D3, 2
000078EE 4843 swap.w D3
000078F0 544C addq.w A4, 2
000078F2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000078F4-000078F8
fn000078F4:
000078F4 4E56 FFDE link A6, -0x0022
// end alternate branch 000078F4-000078F8
fn000078F4: // (misaligned)
000078F6 FFDE .extension 0xFDE // unimplemented
000078F8 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000078FC 42A7 clr.l -[A7]
000078FE 4EBA C166 jsr [PC - 0x3E9A /* 00003A66 */]
00007902 205F movea.l A0, [A7]+
00007904 2D48 FFDE move.l [A6 - 0x22], A0
00007908 7008 moveq.l D0, 0x08
0000790A 2D40 FFFC move.l [A6 - 0x4], D0
0000790E 4267 clr.w -[A7]
00007910 3F2E 0008 move.w -[A7], [A6 + 0x8]
00007914 486E FFFC pea.l [A6 - 0x4]
00007918 41EE FFF4 lea.l A0, [A6 - 0xC]
0000791C 2F08 move.l -[A7], A0
0000791E 4EBA B996 jsr [PC - 0x466A /* 000032B6 */]
00007922 3C1F move.w D6, [A7]+
00007924 4A46 tst.w D6
00007926 6668 bne +0x6A /* 00007990 */
00007928 4AAE FFF8 tst.l [A6 - 0x8]
0000792C 6F62 ble +0x64 /* 00007990 */
0000792E 2E2E FFF8 move.l D7, [A6 - 0x8]
00007932 42A7 clr.l -[A7]
00007934 2F07 move.l -[A7], D7
00007936 4EBA B874 jsr [PC - 0x478C /* 000031AC */]
0000793A 285F movea.l A4, [A7]+
0000793C 4267 clr.w -[A7]
0000793E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00007942 4A5F tst.w [A7]+
00007944 6708 beq +0xA /* 0000794E */
00007946 2F0C move.l -[A7], A4
00007948 4EBA B86E jsr [PC - 0x4792 /* 000031B8 */]
0000794C 6038 bra +0x3A /* 00007986 */
label0000794E:
0000794E 2007 move.l D0, D7
00007950 5980 subq.l D0, 4
00007952 2D40 FFFC move.l [A6 - 0x4], D0
00007956 2F0C move.l -[A7], A4
00007958 4EBA B888 jsr [PC - 0x4778 /* 000031E2 */]
0000795C 2014 move.l D0, [A4]
0000795E 5880 addq.l D0, 4
00007960 2A00 move.l D5, D0
00007962 4267 clr.w -[A7]
00007964 3F2E 0008 move.w -[A7], [A6 + 0x8]
00007968 486E FFFC pea.l [A6 - 0x4]
0000796C 2F05 move.l -[A7], D5
0000796E 4EBA B946 jsr [PC - 0x46BA /* 000032B6 */]
00007972 3C1F move.w D6, [A7]+
00007974 2F0C move.l -[A7], A4
00007976 4EBA B874 jsr [PC - 0x478C /* 000031EC */]
0000797A 264C movea.l A3, A4
0000797C 2D4B 000A move.l [A6 + 0xA], A3
00007980 2053 movea.l A0, [A3]
00007982 2087 move.l [A0], D7
00007984 600E bra +0x10 /* 00007994 */
label00007986:
00007986 206E FFDE movea.l A0, [A6 - 0x22]
0000798A 317C 000C 0014 move.w [A0 + 0x14], 0xC
label00007990:
00007990 42AE 000A clr.l [A6 + 0xA]
label00007994:
00007994 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00007998 4E5E unlink A6
0000799A 205F movea.l A0, [A7]+
0000799C 544F addq.w A7, 2
0000799E 4ED0 jmp [A0]
000079A0 C645 and.w D3, D5
000079A2 5443 addq.w D3, 2
000079A4 4853 pea.l [A3]
000079A6 4345 chk.w D1, D5
000079A8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000079AA-000079B0
fn000079AA:
000079AA 4E56 0000 link A6, 0
000079AE 2F0C move.l -[A7], A4
// end alternate branch 000079AA-000079B0
fn000079AA: // (misaligned)
000079AC 0000 2F0C ori.b D0, 0xC
000079B0 42A7 clr.l -[A7]
000079B2 4EBA C0B2 jsr [PC - 0x3F4E /* 00003A66 */]
000079B6 285F movea.l A4, [A7]+
000079B8 4EBA CF7E jsr [PC - 0x3082 /* 00004938 */]
000079BC 4EBA F9B8 jsr [PC - 0x648 /* 00007376 */]
000079C0 4EBA E18A jsr [PC - 0x1E76 /* 00005B4C */]
000079C4 2F2C 0132 move.l -[A7], [A4 + 0x132]
000079C8 3F2C 0130 move.w -[A7], [A4 + 0x130]
000079CC 4EBA FB1C jsr [PC - 0x4E4 /* 000074EA */]
000079D0 4EBA FB7A jsr [PC - 0x486 /* 0000754C */]
000079D4 2F2C 0132 move.l -[A7], [A4 + 0x132]
000079D8 3F2C 0130 move.w -[A7], [A4 + 0x130]
000079DC 4EBA FBDE jsr [PC - 0x422 /* 000075BC */]
000079E0 486C 0132 pea.l [A4 + 0x132]
000079E4 4EBA D4A2 jsr [PC - 0x2B5E /* 00004E88 */]
000079E8 486C 0136 pea.l [A4 + 0x136]
000079EC 4EBA D49A jsr [PC - 0x2B66 /* 00004E88 */]
000079F0 285F movea.l A4, [A7]+
000079F2 4E5E unlink A6
000079F4 4E75 rts
000079F6 D657 add.w D3, [A7]
000079F8 4652 not.w [A2]
000079FA 4545 chk.w D2, D5
000079FC 4649 not.w A1
000079FE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007A00-00007A06
fn00007A00:
00007A00 4E56 0000 link A6, 0
00007A04 42A7 clr.l -[A7]
// end alternate branch 00007A00-00007A06
fn00007A00: // (misaligned)
00007A02 0000 42A7 ori.b D0, 0xA7
00007A06 4EBA C05E jsr [PC - 0x3FA2 /* 00003A66 */]
00007A0A 205F movea.l A0, [A7]+
00007A0C 216E 0008 0146 move.l [A0 + 0x146], [A6 + 0x8]
00007A12 4E5E unlink A6
00007A14 2E9F move.l [A7], [A7]+
00007A16 4E75 rts
00007A18 D657 add.w D3, [A7]
00007A1A 5345 subq.w D5, 1
00007A1C 5453 addq.w [A3], 2
00007A1E 4345 chk.w D1, D5
00007A20 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007A22-00007A26
fn00007A22:
00007A22 4E56 FFFA link A6, -0x0006
// end alternate branch 00007A22-00007A26
fn00007A22: // (misaligned)
00007A24 FFFA .extension 0xFFA // unimplemented
00007A26 48E7 0108 movem.l -[A7], D7,A4
00007A2A 42A7 clr.l -[A7]
00007A2C 4EBA C038 jsr [PC - 0x3FC8 /* 00003A66 */]
00007A30 285F movea.l A4, [A7]+
00007A32 7026 moveq.l D0, 0x26
00007A34 C1FC 0003 muls.w D0, 0x3
00007A38 48C0 ext.l D0
00007A3A 2E00 move.l D7, D0
00007A3C 42A7 clr.l -[A7]
00007A3E 2F07 move.l -[A7], D7
00007A40 4EBA B76A jsr [PC - 0x4896 /* 000031AC */]
00007A44 295F 0132 move.l [A4 + 0x132], [A7]+
00007A48 296C 0132 012C move.l [A4 + 0x12C], [A4 + 0x132]
00007A4E 296C 012C 0B80 move.l [A4 + 0xB80], [A4 + 0x12C]
00007A54 2F2C 012C move.l -[A7], [A4 + 0x12C]
00007A58 4EBA C17C jsr [PC - 0x3E84 /* 00003BD6 */]
00007A5C 397C 0002 0130 move.w [A4 + 0x130], 0x2
00007A62 396C 0130 0126 move.w [A4 + 0x126], [A4 + 0x130]
00007A68 4CDF 1080 movem.l D7,A4, [A7]+
00007A6C 4E5E unlink A6
00007A6E 4E75 rts
00007A70 C94E exg A4, A6
00007A72 4954 chk.w D4, [A4]
00007A74 5448 addq.w A0, 2
00007A76 4543 chk.w D2, D3
00007A78 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007A7A-00007A7E
fn00007A7A:
00007A7A 4E56 FDE2 link A6, -0x021E
// end alternate branch 00007A7A-00007A7E
fn00007A7A: // (misaligned)
00007A7C FDE2 .extension 0xDE2 // unimplemented
00007A7E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00007A82 206E 000E movea.l A0, [A6 + 0xE]
00007A86 43EE FF00 lea.l A1, [A6 - 0x100]
00007A8A 7040 moveq.l D0, 0x40
label00007A8C:
00007A8C 22D8 move.l [A1]+, [A0]+
00007A8E 5340 subq.w D0, 1
00007A90 6EFA bgt -0x4 /* 00007A8C */
00007A92 266E 0008 movea.l A3, [A6 + 0x8]
00007A96 42A7 clr.l -[A7]
00007A98 4EBA BFCC jsr [PC - 0x4034 /* 00003A66 */]
00007A9C 285F movea.l A4, [A7]+
00007A9E 4EBA FF0A jsr [PC - 0xF6 /* 000079AA */]
00007AA2 41EC 0024 lea.l A0, [A4 + 0x24]
00007AA6 43EE FF00 lea.l A1, [A6 - 0x100]
00007AAA 7040 moveq.l D0, 0x40
label00007AAC:
00007AAC 20D9 move.l [A0]+, [A1]+
00007AAE 5340 subq.w D0, 1
00007AB0 6EFA bgt -0x4 /* 00007AAC */
00007AB2 396E 000C 0124 move.w [A4 + 0x124], [A6 + 0xC]
00007AB8 4267 clr.w -[A7]
00007ABA 486C 0024 pea.l [A4 + 0x24]
00007ABE 3F2C 0124 move.w -[A7], [A4 + 0x124]
00007AC2 486E FEE8 pea.l [A6 - 0x118]
00007AC6 4EBA B882 jsr [PC - 0x477E /* 0000334A */]
00007ACA 3E1F move.w D7, [A7]+
00007ACC 41EE FEE8 lea.l A0, [A6 - 0x118]
00007AD0 43FA 016A lea.l A1, [PC + 0x16A /* 00007C3C, value 0x56575343 'VWSC' */]
00007AD4 7003 moveq.l D0, 0x03
label00007AD6:
00007AD6 B109 cmpm.b [A0]+, [A1]+
00007AD8 56C8 FFFC dbne D0, -0x6 /* 00007AD6 */
00007ADC 57C0 seq D0
00007ADE 4400 neg.b D0
00007AE0 1C00 move.b D6, D0
00007AE2 4267 clr.w -[A7]
00007AE4 486C 0024 pea.l [A4 + 0x24]
00007AE8 3F2C 0124 move.w -[A7], [A4 + 0x124]
00007AEC 486E FEFC pea.l [A6 - 0x104]
00007AF0 4EBA B76E jsr [PC - 0x4892 /* 00003260 */]
00007AF4 3E1F move.w D7, [A7]+
00007AF6 4A47 tst.w D7
00007AF8 6600 0122 bne +0x124 /* 00007C1C */
00007AFC 42A7 clr.l -[A7]
00007AFE 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007B02 486C 0130 pea.l [A4 + 0x130]
00007B06 2F0B move.l -[A7], A3
00007B08 1F06 move.b -[A7], D6
00007B0A 4EBA FBB4 jsr [PC - 0x44C /* 000076C0 */]
00007B0E 295F 0132 move.l [A4 + 0x132], [A7]+
00007B12 296C 0132 012C move.l [A4 + 0x12C], [A4 + 0x132]
00007B18 296C 012C 0B80 move.l [A4 + 0xB80], [A4 + 0x12C]
00007B1E 396C 0130 0126 move.w [A4 + 0x126], [A4 + 0x130]
00007B24 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007B28 4EBA FD30 jsr [PC - 0x2D0 /* 0000785A */]
00007B2C 42A7 clr.l -[A7]
00007B2E 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007B32 4EBA FDC0 jsr [PC - 0x240 /* 000078F4 */]
00007B36 295F 0136 move.l [A4 + 0x136], [A7]+
00007B3A 2F2C 0136 move.l -[A7], [A4 + 0x136]
00007B3E 4EBA FEC0 jsr [PC - 0x140 /* 00007A00 */]
00007B42 200B move.l D0, A3
00007B44 6700 00B2 beq +0xB4 /* 00007BF8 */
00007B48 1006 move.b D0, D6
00007B4A 6740 beq +0x42 /* 00007B8C */
00007B4C 2D7C 0000 0100 FEF8 move.l [A6 - 0x108], 0x100
00007B54 4267 clr.w -[A7]
00007B56 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007B5A 486E FEF8 pea.l [A6 - 0x108]
00007B5E 41EE FDE6 lea.l A0, [A6 - 0x21A]
00007B62 2F08 move.l -[A7], A0
00007B64 4EBA B750 jsr [PC - 0x48B0 /* 000032B6 */]
00007B68 3E1F move.w D7, [A7]+
00007B6A 102E FDE6 move.b D0, [A6 - 0x21A]
00007B6E 0240 00FF andi.w D0, 0xFF
00007B72 48C0 ext.l D0
00007B74 2D40 FEF8 move.l [A6 - 0x108], D0
00007B78 41EE FDE6 lea.l A0, [A6 - 0x21A]
00007B7C 2008 move.l D0, A0
00007B7E 5280 addq.l D0, 1
00007B80 2F00 move.l -[A7], D0
00007B82 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00007B86 2F0B move.l -[A7], A3
00007B88 A9CF syscall TESetText
00007B8A 606C bra +0x6E /* 00007BF8 */
label00007B8C:
00007B8C 2053 movea.l A0, [A3]
00007B8E 4AA8 003E tst.l [A0 + 0x3E]
00007B92 6710 beq +0x12 /* 00007BA4 */
00007B94 2053 movea.l A0, [A3]
00007B96 2F28 003E move.l -[A7], [A0 + 0x3E]
00007B9A 4EBA B61C jsr [PC - 0x49E4 /* 000031B8 */]
00007B9E 2053 movea.l A0, [A3]
00007BA0 42A8 003E clr.l [A0 + 0x3E]
label00007BA4:
00007BA4 2053 movea.l A0, [A3]
00007BA6 3028 003C move.w D0, [A0 + 0x3C]
00007BAA 48C0 ext.l D0
00007BAC 2D40 FEF8 move.l [A6 - 0x108], D0
00007BB0 42A7 clr.l -[A7]
00007BB2 2F2E FEF8 move.l -[A7], [A6 - 0x108]
00007BB6 4EBA B5F4 jsr [PC - 0x4A0C /* 000031AC */]
00007BBA 2A1F move.l D5, [A7]+
00007BBC 2053 movea.l A0, [A3]
00007BBE 2145 003E move.l [A0 + 0x3E], D5
00007BC2 4AAE FEF8 tst.l [A6 - 0x108]
00007BC6 6730 beq +0x32 /* 00007BF8 */
00007BC8 2053 movea.l A0, [A3]
00007BCA 2F28 003E move.l -[A7], [A0 + 0x3E]
00007BCE 4EBA B612 jsr [PC - 0x49EE /* 000031E2 */]
00007BD2 4267 clr.w -[A7]
00007BD4 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007BD8 486E FEF8 pea.l [A6 - 0x108]
00007BDC 2053 movea.l A0, [A3]
00007BDE 2068 003E movea.l A0, [A0 + 0x3E]
00007BE2 2F10 move.l -[A7], [A0]
00007BE4 4EBA B6D0 jsr [PC - 0x4930 /* 000032B6 */]
00007BE8 3E1F move.w D7, [A7]+
00007BEA 2053 movea.l A0, [A3]
00007BEC 2F28 003E move.l -[A7], [A0 + 0x3E]
00007BF0 4EBA B5FA jsr [PC - 0x4A06 /* 000031EC */]
00007BF4 2F0B move.l -[A7], A3
00007BF6 A9D0 syscall TECalText
label00007BF8:
00007BF8 4267 clr.w -[A7]
00007BFA 3F2E FEFC move.w -[A7], [A6 - 0x104]
00007BFE 4EBA B69A jsr [PC - 0x4966 /* 0000329A */]
00007C02 3E1F move.w D7, [A7]+
00007C04 2F2C 0132 move.l -[A7], [A4 + 0x132]
00007C08 3F2C 0130 move.w -[A7], [A4 + 0x130]
00007C0C 4EBA FA0C jsr [PC - 0x5F4 /* 0000761A */]
00007C10 1F06 move.b -[A7], D6
00007C12 4EBA E47A jsr [PC - 0x1B86 /* 0000608E */]
00007C16 4EBA DFDA jsr [PC - 0x2026 /* 00005BF2 */]
00007C1A 6008 bra +0xA /* 00007C24 */
label00007C1C:
00007C1C 3947 0014 move.w [A4 + 0x14], D7
00007C20 4EBA FE00 jsr [PC - 0x200 /* 00007A22 */]
label00007C24:
00007C24 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00007C28 4E5E unlink A6
00007C2A 205F movea.l A0, [A7]+
00007C2C DEFC 000A add.w A7, 0xA /* '\n' */
00007C30 4ED0 jmp [A0]
00007C32 D657 add.w D3, [A7]
00007C34 4C4F 4144 movem.l D2,D6,A0,A6, A7
00007C38 4649 not.w A1
00007C3A 0004 5657 ori.b D4, 0x57 /* 'W' */
00007C3E 5343 subq.w D3, 1
fn00007C40:
00007C40 4E56 FFF2 link A6, -0x000E
00007C44 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00007C48 42A7 clr.l -[A7]
00007C4A 4EBA BE1A jsr [PC - 0x41E6 /* 00003A66 */]
00007C4E 285F movea.l A4, [A7]+
00007C50 2E3C 0000 0220 move.l D7, 0x220
00007C56 2047 movea.l A0, D7
00007C58 4250 clr.w [A0]
00007C5A 28BC 4A61 7946 move.l [A4], 0x4A617946 /* 'JayF' */
00007C60 297C 4572 664E 0004 move.l [A4 + 0x4], 0x4572664E /* 'ErfN' */
00007C68 426C 0014 clr.w [A4 + 0x14]
00007C6C 4EBA FDB4 jsr [PC - 0x24C /* 00007A22 */]
00007C70 42AC 0136 clr.l [A4 + 0x136]
00007C74 4AAE 000C tst.l [A6 + 0xC]
00007C78 57C0 seq D0
00007C7A 4400 neg.b D0
00007C7C 1940 0017 move.b [A4 + 0x17], D0
00007C80 102C 0017 move.b D0, [A4 + 0x17]
00007C84 6708 beq +0xA /* 00007C8E */
00007C86 486C 0010 pea.l [A4 + 0x10]
00007C8A A910 syscall GetWMgrPort
00007C8C 6006 bra +0x8 /* 00007C94 */
label00007C8E:
00007C8E 296E 000C 0010 move.l [A4 + 0x10], [A6 + 0xC]
label00007C94:
00007C94 206C 0010 movea.l A0, [A4 + 0x10]
00007C98 224C movea.l A1, A4
00007C9A 5089 addq.l A1, 8
00007C9C 41E8 0010 lea.l A0, [A0 + 0x10]
00007CA0 22D8 move.l [A1]+, [A0]+
00007CA2 22D8 move.l [A1]+, [A0]+
00007CA4 4AAE 0008 tst.l [A6 + 0x8]
00007CA8 56C0 sne D0
00007CAA 4400 neg.b D0
00007CAC 1940 0E54 move.b [A4 + 0xE54], D0
00007CB0 197C 0001 0E3D move.b [A4 + 0xE3D], 0x1
00007CB6 102C 0E54 move.b D0, [A4 + 0xE54]
00007CBA 6708 beq +0xA /* 00007CC4 */
00007CBC 296E 0008 0E50 move.l [A4 + 0xE50], [A6 + 0x8]
00007CC2 6008 bra +0xA /* 00007CCC */
label00007CC4:
00007CC4 297C 0000 0FA0 0E50 move.l [A4 + 0xE50], 0xFA0
label00007CCC:
00007CCC 422C 0019 clr.b [A4 + 0x19]
00007CD0 422C 001C clr.b [A4 + 0x1C]
00007CD4 41EC 013C lea.l A0, [A4 + 0x13C]
00007CD8 2948 089A move.l [A4 + 0x89A], A0
00007CDC 196E 0010 0016 move.b [A4 + 0x16], [A6 + 0x10]
00007CE2 422C 0E55 clr.b [A4 + 0xE55]
00007CE6 102C 0016 move.b D0, [A4 + 0x16]
00007CEA 6760 beq +0x62 /* 00007D4C */
00007CEC 4267 clr.w -[A7]
00007CEE 487A 009E pea.l [PC + 0x9E /* 00007D8E, value 0x6536F75, pstring "Sounds" */]
00007CF2 A997 syscall OpenResFile
00007CF4 395F 013A move.w [A4 + 0x13A], [A7]+
00007CF8 2C3C 0000 0A78 move.l D6, 0xA78 /* '\nx' */
00007CFE 41EC 0B18 lea.l A0, [A4 + 0xB18]
00007D02 2246 movea.l A1, D6
00007D04 2288 move.l [A1], A0
00007D06 47EC 0B18 lea.l A3, [A4 + 0xB18]
00007D0A 4EBA BEA8 jsr [PC - 0x4158 /* 00003BB4 */]
00007D0E 16BC 0001 move.b [A3], 0x1
00007D12 426B 0002 clr.w [A3 + 0x2]
00007D16 422B 0001 clr.b [A3 + 0x1]
00007D1A 42AB 0004 clr.l [A3 + 0x4]
00007D1E 42AB 000A clr.l [A3 + 0xA]
00007D22 47EC 0B06 lea.l A3, [A4 + 0xB06]
00007D26 377C 0001 0004 move.w [A3 + 0x4], 0x1
00007D2C 41FA BE1C lea.l A0, [PC - 0x41E4 /* 00003B4A, value 0x48E7FFFE */]
00007D30 2748 0006 move.l [A3 + 0x6], A0
00007D34 377C 0001 000A move.w [A3 + 0xA], 0x1
00007D3A 426B 000C clr.w [A3 + 0xC]
00007D3E 4267 clr.w -[A7]
00007D40 41EC 0B06 lea.l A0, [A4 + 0xB06]
00007D44 2F08 move.l -[A7], A0
00007D46 4EBA B4D2 jsr [PC - 0x4B2E /* 0000321A */]
00007D4A 381F move.w D4, [A7]+
label00007D4C:
00007D4C 4EBA F72E jsr [PC - 0x8D2 /* 0000747C */]
00007D50 42A7 clr.l -[A7]
00007D52 486C 0008 pea.l [A4 + 0x8]
00007D56 486C 0008 pea.l [A4 + 0x8]
00007D5A A9D2 syscall TENew
00007D5C 295F 0E6C move.l [A4 + 0xE6C], [A7]+
00007D60 42A7 clr.l -[A7]
00007D62 2F3A 0026 move.l -[A7], [PC + 0x26 /* 00007D8A, value 0x50415423 'PAT#' */]
00007D66 4267 clr.w -[A7]
00007D68 A9A0 syscall GetResource
00007D6A 2A1F move.l D5, [A7]+
00007D6C 2F05 move.l -[A7], D5
00007D6E 4EBA B490 jsr [PC - 0x4B70 /* 00003200 */]
00007D72 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00007D76 4E5E unlink A6
00007D78 205F movea.l A0, [A7]+
00007D7A DEFC 000A add.w A7, 0xA /* '\n' */
00007D7E 4ED0 jmp [A0]
00007D80 D657 add.w D3, [A7]
00007D82 494E chk.w D4, A6
00007D84 4954 chk.w D4, [A4]
00007D86 2020 move.l D0, -[A0]
00007D88 000C 5041 ori.b A4, 0x41 /* 'A' */
00007D8C 5423 addq.b -[A3], 2
00007D8E 0653 6F75 addi.w [A3], 0x6F75 /* 'ou' */
00007D92 6E64 bgt +0x66 /* 00007DF8 */
00007D94 7300 moveq.l D1, 0x00
fn00007D96:
00007D96 4E56 FFFE link A6, -0x0002
00007D9A 48E7 0108 movem.l -[A7], D7,A4
00007D9E 42A7 clr.l -[A7]
00007DA0 4EBA BCC4 jsr [PC - 0x433C /* 00003A66 */]
00007DA4 285F movea.l A4, [A7]+
00007DA6 4EBA FC02 jsr [PC - 0x3FE /* 000079AA */]
00007DAA 102C 0016 move.b D0, [A4 + 0x16]
00007DAE 6714 beq +0x16 /* 00007DC4 */
00007DB0 4267 clr.w -[A7]
00007DB2 41EC 0B06 lea.l A0, [A4 + 0xB06]
00007DB6 2F08 move.l -[A7], A0
00007DB8 4EBA B46E jsr [PC - 0x4B92 /* 00003228 */]
00007DBC 3E1F move.w D7, [A7]+
00007DBE 2F2C 0E6C move.l -[A7], [A4 + 0xE6C]
00007DC2 A9CD syscall TEDispose
label00007DC4:
00007DC4 4CDF 1080 movem.l D7,A4, [A7]+
00007DC8 4E5E unlink A6
00007DCA 4E75 rts
00007DCC D657 add.w D3, [A7]
00007DCE 434C chk.w D1, A4
00007DD0 4F53 chk.w D7, [A3]
00007DD2 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
00007DD4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007DD6-00007DDA
fn00007DD6:
00007DD6 4E56 FEFC link A6, -0x0104
// end alternate branch 00007DD6-00007DDA
fn00007DD6: // (misaligned)
00007DD8 FEFC .extension 0xEFC // unimplemented
00007DDA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00007DDE 3A2E 0008 move.w D5, [A6 + 0x8]
00007DE2 422E FF00 clr.b [A6 - 0x100]
00007DE6 206E 000A movea.l A0, [A6 + 0xA]
00007DEA 2850 movea.l A4, [A0]
00007DEC 2005 move.l D0, D5
00007DEE 5240 addq.w D0, 1
00007DF0 B06C 005E cmp.w D0, [A4 + 0x5E]
00007DF4 6E74 bgt +0x76 /* 00007E6A */
00007DF6 2005 move.l D0, D5
label00007DF8:
00007DF8 E340 asl D0.w, 1
00007DFA 3C34 0060 move.w D6, [A4 + D0.w + 0x60]
00007DFE 2005 move.l D0, D5
00007E00 5240 addq.w D0, 1
00007E02 E340 asl D0.w, 1
00007E04 2206 move.l D1, D6
00007E06 5241 addq.w D1, 1
00007E08 3434 0060 move.w D2, [A4 + D0.w + 0x60]
00007E0C 9441 sub.w D2, D1
00007E0E 3E02 move.w D7, D2
00007E10 2005 move.l D0, D5
00007E12 5240 addq.w D0, 1
00007E14 B06C 005E cmp.w D0, [A4 + 0x5E]
00007E18 57C0 seq D0
00007E1A 661C bne +0x1E /* 00007E38 */
00007E1C 206C 003E movea.l A0, [A4 + 0x3E]
00007E20 322C 003C move.w D1, [A4 + 0x3C]
00007E24 48C1 ext.l D1
00007E26 D290 add.l D1, [A0]
00007E28 5381 subq.l D1, 1
00007E2A 2041 movea.l A0, D1
00007E2C 0C10 000D cmpi.b [A0], 0xD /* '\r' */
00007E30 56C1 sne D1
00007E32 C001 and.b D0, D1
00007E34 6702 beq +0x4 /* 00007E38 */
00007E36 5247 addq.w D7, 1
label00007E38:
00007E38 0C47 00FF cmpi.w D7, 0xFF
00007E3C 6F04 ble +0x6 /* 00007E42 */
00007E3E 3E3C 00FF move.w D7, 0xFF
label00007E42:
00007E42 48C6 ext.l D6
00007E44 206C 003E movea.l A0, [A4 + 0x3E]
00007E48 2010 move.l D0, [A0]
00007E4A D086 add.l D0, D6
00007E4C 2F00 move.l -[A7], D0
00007E4E 41EE FF00 lea.l A0, [A6 - 0x100]
00007E52 2008 move.l D0, A0
00007E54 5280 addq.l D0, 1
00007E56 2F00 move.l -[A7], D0
00007E58 48C7 ext.l D7
00007E5A 2F07 move.l -[A7], D7
00007E5C 4EBA B3AC jsr [PC - 0x4C54 /* 0000320A */]
00007E60 7000 moveq.l D0, 0x00
00007E62 41EE FF00 lea.l A0, [A6 - 0x100]
00007E66 1187 0000 move.b [A0 + D0.w], D7
label00007E6A:
00007E6A 206E 000E movea.l A0, [A6 + 0xE]
00007E6E 43EE FF00 lea.l A1, [A6 - 0x100]
00007E72 7040 moveq.l D0, 0x40
label00007E74:
00007E74 20D9 move.l [A0]+, [A1]+
00007E76 5340 subq.w D0, 1
00007E78 6EFA bgt -0x4 /* 00007E74 */
00007E7A 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00007E7E 4E5E unlink A6
00007E80 205F movea.l A0, [A7]+
00007E82 5C4F addq.w A7, 6
00007E84 4ED0 jmp [A0]
00007E86 D657 add.w D3, [A7]
00007E88 4745 chk.w D3, D5
00007E8A 544C addq.w A4, 2
00007E8C 494E chk.w D4, A6
00007E8E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007E90-00007E96
fn00007E90:
00007E90 4E56 0000 link A6, 0
00007E94 42A7 clr.l -[A7]
// end alternate branch 00007E90-00007E96
fn00007E90: // (misaligned)
00007E92 0000 42A7 ori.b D0, 0xA7
00007E96 4EBA BBCE jsr [PC - 0x4432 /* 00003A66 */]
00007E9A 205F movea.l A0, [A7]+
00007E9C 1028 0018 move.b D0, [A0 + 0x18]
00007EA0 0A00 0001 xori.b D0, 0x1
00007EA4 1D40 0008 move.b [A6 + 0x8], D0
00007EA8 4E5E unlink A6
00007EAA 4E75 rts
00007EAC D657 add.w D3, [A7]
00007EAE 414E chk.w D0, A6
00007EB0 494D chk.w D4, A5
00007EB2 5354 subq.w [A4], 1
00007EB4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00007EB6-00007EBC
fn00007EB6:
00007EB6 4E56 0000 link A6, 0
00007EBA 42A7 clr.l -[A7]
// end alternate branch 00007EB6-00007EBC
fn00007EB6: // (misaligned)
00007EB8 0000 42A7 ori.b D0, 0xA7
00007EBC 4EBA BBA8 jsr [PC - 0x4458 /* 00003A66 */]
00007EC0 205F movea.l A0, [A7]+
00007EC2 3D68 013C 0008 move.w [A6 + 0x8], [A0 + 0x13C]
00007EC8 4E5E unlink A6
00007ECA 4E75 rts
00007ECC D657 add.w D3, [A7]
00007ECE 4652 not.w [A2]
00007ED0 414D chk.w D0, A5
00007ED2 4543 chk.w D2, D3
00007ED4 0000 265F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00007ED6-00007ED8
fn00007ED6:
00007ED6 265F movea.l A3, [A7]+
// end alternate branch 00007ED6-00007ED8
fn00007ED6: // (misaligned)
00007ED8 225F movea.l A1, [A7]+
00007EDA 4E91 jsr [A1]
00007EDC 4ED3 jmp [A3]
fn00007EDE:
00007EDE 225F movea.l A1, [A7]+
00007EE0 0838 0007 021F btst.b [0x0000021F /* AlarmState */], 0x7
00007EE6 6700 002E beq +0x30 /* 00007F16 */
00007EEA 08F8 0000 021F bset.b [0x0000021F /* AlarmState */], 0x0
00007EF0 2038 0200 move.l D0, [0x00000200 /* SPAlarm */]
label00007EF4:
00007EF4 B0B8 020C cmp.l D0, [0x0000020C /* Time */]
00007EF8 6E00 000E bgt +0x10 /* 00007F08 */
00007EFC 0680 0001 5180 addi.l D0, 0x15180
00007F02 21C0 0200 move.l [0x00000200 /* SPAlarm */], D0
00007F06 60EC bra -0x12 /* 00007EF4 */
label00007F08:
00007F08 207C 0000 01F8 movea.l A0, 0x1F8
00007F0E 70FF moveq.l D0, 0xFFFFFFFF
00007F10 A038 syscall WriteParam
00007F12 4257 clr.w [A7]
00007F14 6004 bra +0x6 /* 00007F1A */
label00007F16:
00007F16 3EBC 0100 move.w [A7], 0x100
label00007F1A:
00007F1A 4ED1 jmp [A1]