1 00:00:00,790 --> 00:00:07,470 Well coming into this lesson we are going to crack this survey less openly. 2 00:00:07,580 --> 00:00:09,180 The FCC fined e.g. 3 00:00:13,720 --> 00:00:16,300 and we are now had to break point. 4 00:00:18,010 --> 00:00:20,700 So let's see what happens. 5 00:00:20,810 --> 00:00:35,770 We run meaning we know opens a weekly and the message box pops up to show you the same message that 6 00:00:35,770 --> 00:00:39,010 is shown in the main window. 7 00:00:39,070 --> 00:00:40,620 OK. 8 00:00:41,210 --> 00:00:53,460 So now observe carefully when the program starts it automatically knows that he has 11 days so think 9 00:00:53,460 --> 00:00:54,800 for a moment. 10 00:00:54,930 --> 00:00:56,560 How does it know. 11 00:00:56,640 --> 00:01:10,200 It has 11 days he has to perform check a check of the date and also some calculation to see how many 12 00:01:10,200 --> 00:01:18,640 days are left before the message is showing so let's restart this program. 13 00:01:18,680 --> 00:01:29,150 So now we had the entry point again and we can press trace anything over oh we can keep pressing it 14 00:01:30,050 --> 00:01:36,860 and do the program is running so any program is running. 15 00:01:37,620 --> 00:01:43,090 We lose control the pass message will not be shown. 16 00:01:43,230 --> 00:01:49,410 So let's see an email over and now we still pass. 17 00:01:49,770 --> 00:01:52,670 Now it is safe to run east state. 18 00:01:52,810 --> 00:01:54,370 So now the message to be shown. 19 00:01:54,370 --> 00:01:58,450 Which means that we are not in control of the program anymore. 20 00:01:58,450 --> 00:02:05,660 It is in the running state so at this point in time observe that this is the last call. 21 00:02:05,660 --> 00:02:09,410 There was me just prior to the dialog box being shown. 22 00:02:09,410 --> 00:02:17,890 So it is a good place to put a breakpoint so that we can step into it and a nice run. 23 00:02:17,900 --> 00:02:20,450 So now let's restart. 24 00:02:20,650 --> 00:02:22,200 We are at a great entry point. 25 00:02:23,630 --> 00:02:26,260 Run to the breakpoint. 26 00:02:26,360 --> 00:02:28,840 So now we either breakpoint and be set. 27 00:02:29,270 --> 00:02:33,930 Press F seven to enter it and now press f it 28 00:02:36,770 --> 00:02:48,970 observe what happens here we create the dialog parameters then here we shall we know through enough 29 00:02:48,970 --> 00:02:51,210 to the issues. 30 00:02:51,490 --> 00:02:57,030 I'm just pressing F it and then we're here days. 31 00:02:57,090 --> 00:03:05,540 Call call and get local time so the local time also includes the local date. 32 00:03:05,710 --> 00:03:10,190 They did that is start on your busy after day. 33 00:03:10,420 --> 00:03:18,040 It seems to move some parameters around and here a move something too easy. 34 00:03:19,360 --> 00:03:25,590 No some kind of calculation to minus some values from easy. 35 00:03:25,800 --> 00:03:37,300 If yes and then next nine days a variable the result of the calculation store in E6 is now moved to 36 00:03:38,140 --> 00:03:46,390 this variable and this address so this suggests that this is the variable that keeps track of how many 37 00:03:46,390 --> 00:03:52,100 days remaining and then easy ice will be the days remaining. 38 00:03:53,120 --> 00:03:55,100 So what do you think. 39 00:03:55,100 --> 00:04:01,510 How should we fashion this program so we should pack easy ice. 40 00:04:01,550 --> 00:04:09,860 We got easy answers we move into this variable and this address location so to pack is variable. 41 00:04:09,880 --> 00:04:12,640 We can go up here. 42 00:04:12,640 --> 00:04:19,030 This is a place where the value of ICAC is set before it is being minus to calculate these remaining 43 00:04:20,040 --> 00:04:24,430 so a good way to pressure is to move a big number into easy. 44 00:04:24,700 --> 00:04:35,720 So at a moment when he's moved east yes and then yes yes is subtracted by the value he X so if move 45 00:04:35,720 --> 00:04:37,000 a big value into it. 46 00:04:37,020 --> 00:04:44,210 Yes yes yes we'll eventually be safe into this variable and we have a big number. 47 00:04:44,330 --> 00:04:47,590 So let's try to patch it here. 48 00:04:47,600 --> 00:04:56,000 Never really and we are going to move a big number yes and check this for now. 49 00:04:56,320 --> 00:04:59,180 Just move a big number is your eyes ever. 50 00:04:59,270 --> 00:05:02,180 This is a big number. 51 00:05:02,680 --> 00:05:10,600 FFP is in hexadecimal when converted in decimal it is two hundred and fifty five. 52 00:05:10,600 --> 00:05:20,890 So now you want to check to see whether the size allows for us to assemble here changes and he says 53 00:05:20,900 --> 00:05:22,330 is Russia is the same size. 54 00:05:23,000 --> 00:05:27,490 So we can safely assembly here without affecting the next line. 55 00:05:27,830 --> 00:05:43,770 So okay Glenn Close so Nova assembly we can pass you file batch on page FA then give him union they 56 00:05:44,030 --> 00:05:52,210 pay me for a dash patch please save one passion plane. 57 00:05:53,080 --> 00:06:05,080 Now we can open the cash file to test it click and run and you have to it six days remaining above to 58 00:06:05,260 --> 00:06:05,560 it. 59 00:06:05,580 --> 00:06:11,380 This is the spirit remaining so this is how we can extend it beyond 30 days. 60 00:06:11,380 --> 00:06:13,180 Thank you for watching.