you're probably better off using a master code for the pointer part,
Code:
580F0000 02251AA8
580F1000 00000030
580F1000 00000078
580F1000 00000028
780F0000 00000188 - finds address of the value through pointer
then use the code for the "math" section of the check.
Code:
940EF100 00000000 - adds 0 to register F and stores it to E
580E1000 00000000 - stores value at address E into E
C044E400 00000045 - compares E to see if its less than or equal to 0x45 <-- my opinion is to just use less than, if it is equal, it will also trigger....
620F0000 00000000 00000045
20000000
so far, it looks good, have you tried this yet?