Hello and welcome.
In this lesson we are going to create an external kitchen in order to cook.
Next in the kitchen you will need to have your grimy routine which you have any earlier lesson and also
the cell kitchen which you created out on the grimy 14.
In addition to that you also need to download this file the protein file for these notes in 0 9.
A stand against it so you can downvote all this from the resource section for this lesson after downloading
your standard key Gen 0 9 x in a cage Enzi put it in your fasten projects folder and X and zip it.
Thereafter you may delete the zip file.
Now you have a new folder called Zero and then a.
Just open it and inside you will find the key template us in which we already covered.
Now you listen before we modify this make a copy.
And then rename is to Gen
cache Track B protein because we are going to create a key gen for 2014.
That's why we call it key Gen creamy 14.
Now the next thing we want to do is to look at the code the lines a section we generate in the C rookie.
So let's open this if you know ISIS you've already read G
now we were it and just type any name
and any serial number
and you will get uh error message.
So the past is we are using the same method to create DSA.
So no listing for the user when you call click follow from and if you scroll up you will see this gem.
And for that.
If you look here you will see there is a call to get local time
so local time his uh him that he is using this API to create this hierarchy and we see all this in uh
nicely formatted like this.
You can actually use the plugin X analyzer.
All right.
So what I did was I selected all this right click this and go to s in the riser and nice selection and
then again this analyzer analyze function.
Then you forget all this is easily.
So this function gets to look local time and then after that I stress the various uh parameter from
the visa system time system time to the structure is uh saves the local time and you can see from here
it is uh selecting the various uh part of the system time for the CV to a different registers here and
here and here is true right.
So that's not easy.
So we'll hear the call get local time again.
Let's put a big point here and then quick run we need to close this was a English check in and try a
different name this time.
Again let us try different you.
So um let's play a different game maybe we call it uh my
English check.
All right.
So now it stops here at our break point and we can analyze this as press f it then that it call the
function press f it again.
And now it is going to strike the uh something from this address and CV to x.
So to see what this is we can rightly and for low income GBP minus two a C and then we go here BBB money
to see is no value in 0 7.
Yeah.
So what is 0 7 here.
So we go to uh browser do for a hex to decimal and with the K on the first result.
0 7 E4.
See what we get.
Convert.
So we get 20 20 which is a year.
So now we know that uh this uh this instruction strikes a year from sys time and senses it in he X..
Now what does this do.
So to finally find out why this is we can actually run press F
and I.
This line he seems to at 42 to be x.
So what is 42.
So we go right here and 13 for me to forty two is one two three four.
That means he s One two three four to the year 2 0 2 0.
From here we get the year C in the x and then we from here we take one two three four add it to the
year 2 0 2 0 and what over here.
What is this do.
Let's press f it was impressive.
You copy the value from here in the easy ex ante and take a look here he says is fall and then you can
examine this.
He is rightly and go to following them BBB minus 2.
And you will see 0 4 swear.
And over here also same issue is 4 so 4 seems to suggest it is the April the month of April 4 so April
is 26 and I know what happened here.
So let's press have it and see it yes.
Yes.
He's aiming at 10 so 10 is the month had a date so to all to all.
Yes.
Then you add one two three four to the year to two a year and then for a start in.
Yes foist a month.
And then they start a date which is 10 of April.
So from here you know that all these lines.
The one in January part of this Hiroki from here onwards this few lines before you call are in preparation
for calling getting local time and then once he local time is called All the lines here are to extract
that data from the result of get local time which is LP system time.
So a good place to extract the instruction is from here to here.
So we hand it over the instruction from here to here and then we can use the uh plugins and access it.
Uh copy to us and so that you reached your keyboard.
So once we've got this to keyboard we can paste from the keyboard to unlock that.
So let's open the notepad and base everything in the back.
So yeah copy it up from here to here.
Right.
So now we are ready to use our uh template.
So we'll go through a the Jen open this and this is the key Jen has got a place where you can base your
code here to here.
Right.
This is we paste we look with yours and replace and we're here.
So all this can be replaced we could.
So let's remove this and take our uh I spotted lines.
Copy designs and paste between these two lines or here and we tidy up a bit less tidy a bit.
Now here we need to delete the pointer quotation because it doesn't work in person.
Just delete all the PTA
and here when you call a function it should be in brackets square brackets
and the rest.
One more here
and here.
Hey.
Here.
OK.
So.
And then.
Oh here we are going to strike the values in here x.
Easy X and edicts.
So in order to do that we have to push in reverse order.
So here you push.
Yes.
Here we push.
Easy x.
And here you see X and here.
No need to cheat to five parameters.
And if you recall from the uh if you recall from the uh silky Jane if you were to type anything here
you January straight the first four characters first four.
So from here.
You should use four because four here Mr. U S right in the first four characters so we can leave this
as it is.
No need to change.
So that's it.
So now we can test if we confront compile no errors then we can go and test it up.
We will move to a new for the whole new folder a is this folder so we copy the part and basic here right
click into time here.
This is a program we want to test kitchen.
So we test key chain.
Yeah.
Correct me 14 press delegate presenter.
So now we just test
how we can do three to five four dash for this 10.
So now we need to compare this with our safety and our safety.
Jen gives us do 3 2 5 4 4 1 0.
We time that.
So we need to get this take is dish.
Yes this dash in this dash.
So to do that we just go back to what could go to the format specify and did it this dash and this Dash.
And we compile one more time and we run again and we enter the name Simone.
And we got it correct.
Time.
I do 3 2 5 4 4 1 0.
That starts with another name.
How about this.
Alice So Alice who in January this year a key.
So let's try.
Alice.
Yeah.
Yeah I see.
And Trina.
Ellie.
3 2 5 4 4 1 0.
Yes.
So you have created your own extra Nike jet.
All right.
So this is a simple example of how you can use the analysis of the code to determine where to copy and
how to Pasi to your team to your Fossum here and how to make the necessary changes too.
And also here to make this the necessary changes.
So hope you get an idea of how to place in the kitchen.
Thank you for watching.
Now see you in the next hour.