`isDarkEnoughToSpawn` is the deobfuscated name. You'll need to use the obfuscated function name for it to work correctly, though I have no idea how you would do that for mixins.
Ah, I didn't know that. That would've been nice to know a while back, I suppose. I remember that it would have been useful... though I can't remember why.