All pastes #728126 Raw Edit

Stuff

public cpp v1 · immutable
·published 2007-10-06 18:37 UTC
rendered paste body
int EnumVisibleObjects( int (__cdecl* Callback)( WGUID wGuid, DWORD dwFilter ), DWORD dwFilter ){	DWORD dwEntry = *(DWORD*)( ( (DWORD)CurMgr + 0xA8 ) + 4 );	while( dwEntry )	{		WGUID wGuid( *(DWORD*)( dwEntry + 0x30 ), *(DWORD*)( dwEntry + 0x34 ) );				if( !Callback( wGuid, dwFilter ) )			return 0;		dwEntry = *(DWORD*)( *(DWORD*)( (DWORD)CurMgr + 0xA4 ) + dwEntry + 0x4 );	}	return 1;}