//n-=-offset-of-list.-x-=-amount-of-commands.
//list-of-alternating-ids-and-offsets,-starting-at-n-=-id.
--mov-edx,[4a5ad8]
--add-edx,[4a5ae0]
--mov-ecx,[edx+1]
--sub-ecx,20
--mov-edx,[4a5ad8] ;-these-first-two-lines-needed?
--add-edx,[4a5ae0]
--mov-eax,[edx+2]
--sub-eax,20
--imul-eax,eax,5f
--add-ecx,eax
--mov-edx,[4a5ad8] ;-needed?
--add-edx,[4a5ae0]
--mov-eax,[edx+3]
--sub-eax,20
--imul-eax,eax,24c1
--add-ecx,eax ;-id,-tween-0-and-d38bf.
--xor-edx,edx ;-initiate-the-loop
A-cmp-ecx,[edx*8+n] ;-is-the-id-=-to-the-command-id?
--je-[edx*8+n+4] ;-if-so,-jump-to-command-offset
--cmp-edx,x ;-is-edx-equal-to-amount-of-commands?
--inc-edx
--jne-A ;-if-not,-repeat-the-loop
--inc-[4a5ae0] ;-get-past-the-<,-and-then-jump-to-the-end.
--jmp-E
//functions-here,-but-without-the-identifying-bit
DIAGNOSTICS:
--Size---MUCH-better
--Speed---MUCH-faster
Good idea, eh?
Bye now.