https://decomp.me/scratch/WASEq
Relocs should not be applied to 0 in %xmm0.
Problematic regex / code:
# Example %edi,0
# Example movb $0x0,0x0
if not addr_imm:
addr_imm = re.search(r"(?:0x)?(?<![1-9])0$", args)
Just testing on regex101, adding \b to the beginning of the regex prevents capturing the 0 in %xmm0. https://regex101.com/r/UWEmrC/1
Not sure if this would cause any issues?