#define FUNC_IsLineOfSightClear 0x56A490
bool CFunctions::IsLineOfSightClear(CVector *vecStart, CVector *vecEnd, bool bCheckBuildings, bool bCheckVehicles, bool bCheckPeds, bool bCheckObjects, bool bCheckDummies, bool bSeeThroughStuff, bool bIgnoreSomeObjectsForCamera)
{
DWORD dwFunc = FUNC_IsLineOfSightClear;
bool bReturn = false;
__asm
{
push bIgnoreSomeObjectsForCamera
push bSeeThroughStuff
push bCheckDummies
push bCheckObjects
push bCheckPeds
push bCheckVehicles
push bCheckBuildings
push vecEnd
push vecStart
call dwFunc
mov bReturn, al
add esp, 0x24
}
return bReturn;
}