This was a first: I just fixed a Go implementation of this `gslame` function by using int32 rather than int. Turns out the old C/C++ implementation relies on integer overflows. https://github.com/openspy/openspy-core/blob/5993df54c6b289361228920fa0db7209aed4cfe5/code/core/OS/gamespy/gamespy.cpp#L4