Exemplo n.º 1
0
VOID ChangeGUIType_Set(DWORD This, DWORD EDX, DWORD unknow, int from, int to)
{
	const char* type = (const char*)&GetGUIVar_Value(This, from);
	if (type) {
		const char* pos = strchr(type, '_');
		if (pos) {
			SetGUIType(This, EDX, to, pos+1, unknow);
		}
	}
}
Exemplo n.º 2
0
VOID ChangeGUIType_Set(DWORD This, DWORD EDX, DWORD unknow, int from, int to, size_t offset)
{
	char* type = (char*)&GetGUIVar_Value(This, from);
	if ((type != NULL) && (BLZSStrLen(type) > offset))
		SetGUIType(This, EDX, to, type+offset, unknow);
}