I've been modeling my pattern finder after the version posted here written in C. (Sorry I don't have a link the thread, but it's here: http://tanaris4.ampaste.net/f26f65cab )
Basically It's not ever returning the correct offset and I'm COMPLETELY stumped as to why. I'm using the PatternMaker IDA plugin to actually pull the patterns/masks from the mac wow executable. Then of course I simple execute dumpOffsets and the data returned is never correct, generally just 0x0. It doesn't find them in memory and I'm not sure why.
Sorry it's in objective-C, but I don't think anyone should have any issues taking a look at it (as it's basically C). Ignore the memory reading parts to memoryChunk, there shouldn't be any issues there.
OffsetController.m - pocketgnome - Project Hosting on Google Code
Thanks in advance, and sorry it's messy, I'll clean it up when it actually works.