-- Search for specific values in memoryprint(YELLOW.."Scanning for int32 value: 12345..."..RESET)-- Convert int to bytes (little-endian)localvalue=12345localb1=value&0xFFlocalb2=(value>>8)&0xFFlocalb3=(value>>16)&0xFFlocalb4=(value>>24)&0xFFlocalpattern=string.char(b1,b2,b3,b4)localresults=Memory.scan(pattern)print(GREEN.."Found "..#results.." matches:"..RESET)fori,resultinipairs(results)doprint(string.format(" [%d] %s + 0x%x (addr: 0x%x)",i,result.library,result.offset,Module.find(result.library)+result.offset))end