Implement Malbolge's "crazy" operator
C (gcc), 99 98 96 bytes


Saved a byte thanks to ceilingcat; golfing 19683 to L'䳣'.
Saved two bytes; golfing 108609 to L''.




M,a,l,b,o;L(g,e){for(o=b=L'䳣',l=0;o/=2.4;b/=3)M=g/b,g%=b,a=e/b,e%=b,l+=b*(L''&gt;&gt;M+6*a+M&amp;3);g=l;}


Try it online!